Rewrite simple Finder tell statement to "do shell script"
Rewrite simple Finder tell statement to "do shell script"
- Subject: Rewrite simple Finder tell statement to "do shell script"
- From: Bert Groeneveld <email@hidden>
- Date: Tue, 11 Sep 2012 11:43:13 +0200
tell application "Finder" move all_foundImageNames to the_CLEANSTART_folder end tell
Hi, can someone help to rewrite above simple Finder tell statement with "do shell script"?
The statement is inside a repeat loop and the variable all_foundImageNames changes through each loop, but is is always a list of 1 or more full paths, for example: {"Macintosh_HD:Applescript:Hoogvliet:Hoogvliet POS Subomgeving:HiRes_Images:10055 Knorr vissaus.jpg"}. The variable the_CLEANSTART_folder is always the same.
Background info: My script already runs fine with the Finder statement, but very, very, very slow, because of talking to a folder in the Finder containing many thousands of files (at least, that is my opinion). I was thinking that replacing the Finder statement with a "do shell script" thing might speed up the sript.
And I don't know how to write that.
Bert.
—
MET VRIENDELIJKE GROET, BERT GROENEVELD
—
RECLAMEBUREAU IVC POSTBUS 573 5140 AN WAALWIJK
[ T ] 0416.673.336
—
|
_______________________________________________
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