What type a folders name?

I have script:


tell application "Finder"
	
	set path1 to (choose folder with prompt "choose folder:")
	set path2 to path1 as string
  set epsfile to path2 & "test2"
		
	tell application "QuarkXPress Passport™ 4.11"
		activate
		
		tell front document
			tell current page
				save in epsfile EPS format Mac color EPS data binary EPS with replacing
			end tell
			end tell
		close front document saving no
	end tell
	
end tell

It work propely on MacOS 9.2.
On OS X it don`t work.
Error message is: Can’t make some data into the expected type
And highlight line:


save in epsfile EPS format Mac color EPS data binary EPS with replacing

It work on OS X when I it modyfie line:


set path2 to path1 as string

to


set path2 to "HD:testfolder:"

I think problem is in ‘path2’ variable type.
But I no idea what. :-((
I search in BBS postes but i dont find any solution.

Anybody Idea? Help me.

sorry my english - is not perfect :slight_smile:
/MARK/