• 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: Yvan KOENIG <email@hidden>
  • Date: Wed, 7 Oct 2009 01:36:52 +0200


Le 7 oct. 2009 à 00:54, Brian Christmas a écrit :


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

My own choice would be to use "System Events", not the "Finder" but we are free beeings.
In fact not fully free, insomnia strikes again and I'm not free to sleep :-(

Yvan KOENIG (VALLAURIS, France) mercredi 7 octobre 2009 01:36:45


 _______________________________________________
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: Shane Stanley <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>)
 >Re: script works when reading from DVD but not when reading from hard disk (From: Brian Christmas <email@hidden>)

  • Prev by Date: Re: Get UI Attribute Value
  • Next by Date: 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