more about the Finder freeze
more about the Finder freeze
- Subject: more about the Finder freeze
- From: Richard Covert <email@hidden>
- Date: Sun, 25 Apr 2004 23:10:51 -0500
tell app "Finder"
...
...
...
(* now do the rar command such as
rar a -s -v10M -vn $1 *.mp3
*)
set shell_cmd to "cd " & POSIX_Path & ,
" && /usr/local/bin/rar a -s -v10M -vn " & BaseHostName & ,
" SeanHannity_0423_CommericalFree.mp3 2>&1&"
display dialog "shell_cmd is " & shell_cmd
--do shell script shell_cmd
get shell_cmd
end tell
RESULT WINDOW
"cd '/Volumes/Panther Backup/__Radio
Shows/SeanHannity/SeanHannity_0423/rar/' && /usr/local/bin/rar a -s
-v10M -vn SeanHannity_0423 SeanHannity_0423_CommericalFree.mp3 2>&1&"
if i enable the do shell script command above then the Finder freezes
while the UNIX command 'rar' is running. Also, while I can move the
Script Editor window with my script in it I can not modify the file.
The Script Editor's 'Run' button i RED until the UNIX command 'rar'
completes. I know that 'rar' takes several minutes to complete but
should the Finder freeze while it is running??
If I cut & paste the result window into my shell in Terminal I can run
the 'rar' command without the Finder freezing.
_______________________________________________
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.