• 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
performance of shell scripts and apple scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

performance of shell scripts and apple scripts


  • Subject: performance of shell scripts and apple scripts
  • From: "leo" <email@hidden>
  • Date: Thu, 11 Dec 2003 14:45:02 +1100

hi there

i'm using an shellscript to "rycycle delete" files. the script includes some
applescript to updare the finder. the complete script looks like:

#!/bin/sh
mv $@ ~/.Trash/
osascript -e \
'tell application "Finder"
update trash
open trash
close front window
end tell
return

my question now is: would it be better to have the whole stuff as an
applescript?

i probably should add: the script is invoked by emacs and i guess, emacs
command invocation always goes through a shell.

thanks, leo
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: do shell script
  • Next by Date: Re: Panther and AppleScript property not retained - why?
  • Previous by thread: Re: do shell script
  • Next by thread: SnapShot
  • Index(es):
    • Date
    • Thread