• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to build valid folder path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: How to build valid folder path (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: How to build valid folder path
  • Next by Date: Re: [OT] Verification required for ... protected by 0Spam.com.
  • Previous by thread: Re: How to build valid folder path
  • Next by thread: Re: How to build valid folder path
  • Index(es):
    • Date
    • Thread