performance of shell scripts and apple scripts
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.