How to build valid folder path
How to build valid folder path
- Subject: How to build valid folder path
- From: Mark Dawson <email@hidden>
- Date: Wed, 17 Dec 2003 10:36:24 -0800
I want to copy a file into a folder, using the "move" command.
However, I'm having trouble getting the right type for the "to" piece
I'm doing a "move theItem to loc"
I'm setting loc to be: set loc to (startPath & bundleName &
":Contents:") as string
If I manually type in the path, everything works. However, if I use
"loc" or "loc as string", I get an error, "Finder can't handle objects
of this type". As best as I can tell, a display dialog of "loc" before
this call shows the exact same path that I manually typed in, so it
seems to be built correctly.
What could I be doing wrong?
Thanks!
mark
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.