Re: Finderscript works on 10.5, but not on 10.4?
Re: Finderscript works on 10.5, but not on 10.4?
- Subject: Re: Finderscript works on 10.5, but not on 10.4?
- From: has <email@hidden>
- Date: Mon, 7 Jan 2008 19:54:12 +0000
On 7 Jan 2008, at 19:39, Jacco Rens wrote:
I'm writing an AppleScript that loops for a given time, to put some
load on a host for stress testing, and a small part gives an error
on 10.4 about folder class could not be made.
Any insight what I might be doing wrong here?
Dunno, but here's a cleaner version of your original code to try:
tell application "Finder"
set f to make new folder at desktop with properties {name:"Test"}
repeat with i from 1 to 100
make new folder at f with properties {name:"folder" & i}
open result
end repeat
end tell
Oh, and don't forget that the script will always error on line 2 if
there's already an item named "test" on the desktop.
has
--
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org
_______________________________________________
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