• 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
Rewrite simple Finder tell statement to "do shell script"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
[ E ] email@hidden

—

WWW.RECLAMEBUREAU-IVC.NL





 _______________________________________________
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: Rewrite simple Finder tell statement to "do shell script"
      • From: Luther Fuller <email@hidden>
    • Re: Rewrite simple Finder tell statement to "do shell script"
      • From: Axel Luttgens <email@hidden>
    • Re: Rewrite simple Finder tell statement to "do shell script"
      • From: Christopher Stone <email@hidden>
    • Re: Rewrite simple Finder tell statement to "do shell script"
      • From: "koenig.yvan" <email@hidden>
  • Prev by Date: Script Debugger Substitutions
  • Next by Date: Re: Rewrite simple Finder tell statement to "do shell script"
  • Previous by thread: Script Debugger Substitutions
  • Next by thread: Re: Rewrite simple Finder tell statement to "do shell script"
  • Index(es):
    • Date
    • Thread