Applescript grammar
Applescript grammar
- Subject: Applescript grammar
- From: Peter Baxter <email@hidden>
- Date: Sun, 17 Jun 2007 21:31:12 +1000
Hi people.
I'v got bad grammar and can't speak applespeak.
Part of a much larger script would run much faster if i could exclude files that have already been operated on. To do this, I wish to compare two folders: those that have been altered, and those in the original folder.
Parts of the script work like this:
tell application "Finder" activate select Finder window 1 set target of Finder window 1 to folder "Preview Folder" of folder "ReportSetup" of folder "LocalReports" of folder "Applications" of startup disk set myPreviews to every file in the front window end tell if myChoice is "Year 7" then select Finder window 1 set target of Finder window 1 to folder "7" of folder "PRINT_DOCUMENTS" of folder "Ararat Community College Quick Vic" of disk "Untitled" etc
set thisList to every file in the front window that not (exists of myPreviews)
This is the offending instruction The objection is that the argument is illogical. What should I say to get the comparison?
Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read. - Groucho Marx
Peter Baxter
|
_______________________________________________
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