Re: 9.2.2 Update effects on applescript
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:16 -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