• 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
Finderscript works on 10.5, but not on 10.4?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Finderscript works on 10.5, but not on 10.4?


  • Subject: Finderscript works on 10.5, but not on 10.4?
  • From: Jacco Rens <email@hidden>
  • Date: Mon, 7 Jan 2008 20:39:35 +0100

Hi all,

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?

tell application "Finder"
make new folder at (path to desktop folder) with properties {name:"Test"}
repeat with i from 1 to 100
make new folder at (path to desktop folder) & "Test:" as text with properties {name:"folder" & i}
open ((path to desktop folder) & "Test:" & "folder" & i) as text
set i to i + 1
end repeat
end tell


--
jacco
_______________________________________________
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: Finderscript works on 10.5, but not on 10.4?
      • From: has <email@hidden>
  • Prev by Date: Re: "a reference to"
  • Next by Date: Re: Finderscript works on 10.5, but not on 10.4?
  • Previous by thread: Re: How to select "Copy" from an Application's Edit Menu
  • Next by thread: Re: Finderscript works on 10.5, but not on 10.4?
  • Index(es):
    • Date
    • Thread