• 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: 9.2.2 Update effects on applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 9.2.2 Update effects on applescript


  • Subject: Re: 9.2.2 Update effects on applescript
  • From: Paul Skinner <email@hidden>
  • Date: Tue, 11 Dec 2001 11:46:37 -0500

On Monday, December 10, 2001, at 09:17 PM, email@hidden wrote:

org On Mon, 10 Dec 2001 12:26:46 -0600, "Brandon Carpenter"
<email@hidden> asked,
SNIP
The command 'list folder' takes an alias as its argument.
It looks like you are coercing a string into an alias.
That is not something AppleScript can do, but the Scripting
Additions "Jon's Commands" and "Akua Sweets" can.

I recall being bitten by that; but in 10.1...

set f to choose file
-->alias "OSX:Users:paulskin:Desktop:AsciiSort"
set t to f as text
-->"OSX:Users:paulskin:Desktop:AsciiSort"
t as alias
-->alias "OSX:Users:paulskin:Desktop:AsciiSort"

list folder (path to the scripting additions folder)
-->{"ColorSyncScripting.app", "FontSyncScripting.app", "Image Capture Scripting.app", "StandardAdditions.osax", "URL Access Scripting.app"}
--
Paul Skinner


References: 
 >Re: 9.2.2 Update effects on applescript (From: email@hidden)

  • Prev by Date: Re: 9.2.2 Update effects on applescript
  • Next by Date: RE: Applescript or bust ... ?
  • Previous by thread: Re: 9.2.2 Update effects on applescript
  • Next by thread: Re: 9.2.2 Update effects on applescript
  • Index(es):
    • Date
    • Thread