How do I leave all running user applications using ApplesScript?
it's okay ... I think I got my answer:
Tell the application "system events" to set the view of each process {true set for "finder" white_list} Try to see the application process to set "finder" on the name of each process , Whose view is true, with 1 to (number of items in the process_list), I repeat the process_list i_process Set item i If this_process tell not leave tell application Yh_prkriya then finally white_list tell to display dialog repeating end error present application "is an error!" & Amp; Return & amp; Try the default button with 1 icon 0 {{"Skip"} "This script will now stop" button
Comments
Post a Comment