• 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: Emmanuel <email@hidden>
  • Date: Wed, 17 Dec 2003 20:11:26 +0100

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.

  • Follow-Ups:
    • Re: How to build valid folder path
      • From: mark <email@hidden>
References: 
 >How to build valid folder path (From: Mark Dawson <email@hidden>)

  • Prev by Date: Re: Sorting IP addresses
  • Next by Date: 24U E-mail OSAX
  • Previous by thread: How to build valid folder path
  • Next by thread: Re: How to build valid folder path
  • Index(es):
    • Date
    • Thread