• 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: script works when reading from DVD but not when reading from hard disk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: script works when reading from DVD but not when reading from hard disk


  • Subject: Re: script works when reading from DVD but not when reading from hard disk
  • From: Brian Christmas <email@hidden>
  • Date: Wed, 7 Oct 2009 09:54:20 +1100


On 07/10/2009, at 9:34 AM, Brian Christmas wrote:

G'day again

Just in case you're having problems, please note the additions of extra nested brackets, the adding of the word ' file', and the extra 'as text'. 

Closer to your example is

set temp to path to desktop
tell application "Finder" to set aliasToNewFolder to (make new folder at temp with properties {name:(name of (container of file (((temp) & "Untitled 2.pages") as text)) as text)}) as alias

Regards

Santa



On 07/10/2009, at 9:04 AM, Yvan KOENIG wrote:

Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users This email sent to email@hidden
  • Follow-Ups:
    • Re: script works when reading from DVD but not when reading from hard disk
      • From: Yvan KOENIG <email@hidden>
References: 
 >Re: script works when reading from DVD but not when reading from hard disk (From: "Stockly, Ed" <email@hidden>)
 >Re: script works when reading from DVD but not when reading from hard disk (From: Mari Masuda <email@hidden>)
 >Re: script works when reading from DVD but not when reading from hard disk (From: Yvan KOENIG <email@hidden>)
 >Re: script works when reading from DVD but not when reading from hard disk (From: Brian Christmas <email@hidden>)

  • Prev by Date: Re: script works when reading from DVD but not when reading from hard disk
  • Next by Date: [SOLVED] Re: script works when reading from DVD but not when reading from hard disk
  • Previous by thread: Re: script works when reading from DVD but not when reading from hard disk
  • Next by thread: Re: script works when reading from DVD but not when reading from hard disk
  • Index(es):
    • Date
    • Thread