Re: How to build valid folder path
Re: How to build valid folder path
- Subject: Re: How to build valid folder path
- From: mark <email@hidden>
- Date: Wed, 17 Dec 2003 12:22:43 -0800
doing an "alias loc" was the trick!
Thanks!
Mark
>
At 10:36 AM -0800 17/12/03, Mark Dawson wrote:
>
> 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
>
>
Logically, you would move to an alias:
>
>
tell app "Finder" to move theItem to alias loc
>
>
or
>
>
set loc to loc as alias
>
tell app "Finder" to move theItem to loc
>
>
Emmanuel
_______________________________________________
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.