OS 10.4.5 breaks script, "startup disk missing value"
OS 10.4.5 breaks script, "startup disk missing value"
- Subject: OS 10.4.5 breaks script, "startup disk missing value"
- From: James Weisbin <email@hidden>
- Date: Wed, 15 Feb 2006 12:29:10 -0500
Since upgrading from 10.4.4 to 10.4.5, this script fails: "startup
disk missing value". Any suggestions?
property extension_list : {"AIFF", "MPG3", "WAVE"}
tell application "Finder"
activate
set name_text to ""
set mycount to 1
set this_folder to choose folder with prompt "Choose a folder to list:"
set the folder_items to (every item of this_folder)
repeat with i from 1 to the count of the folder_items
set this_item to (item i of the folder_items)
if (mycount < 31) then
try
if (the file type of this_item is in the extension_list) then
set this_one to this_item as alias
set name_text to name_text & mycount & (ASCII character 9) & the
name of this_item & (ASCII character 9) & (ASCII character 13)
set mycount to mycount + 1
end if
on error error_message number error_number
end try
end if
end repeat
set the clipboard to «class ktxt» of ((the name_text as text) as
record)
end tell
Jim Weisbin
human
138 5th avenue. 3rd floor, nyc, ny 10011
telephone 212 352 0211
facsimile 212 352 0210
<email@hidden>
http://www.humanworldwide.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden