on run {input, parameters}
(* Your script goes here *)
tell application "QuicKeys" to activate
do shell script "sleep 3.1"
tell application "System Events"
set visible of application process "QuicKeys" to false
end tell
end run
tell application "QuicKeys" to activate
do shell script "sleep 3.1"
tell application "System Events"
set visible of application process "QuicKeys" to false
end tell
tell application "QuicKeys"
quit
end tell
tell application "Finder"
activate
open application file "QuicKeys.app" of folder "Applications" of startup disk
end tell
If I run the SoftKeys and select the "open AppleScript folder" SoftKey then I see the "play pause stop" icon replace my QuicKeys status icon in the menubar, and no folder opens until I click on the mini-menu in the menubar for QuicKeys and THEN click in the Finder. Only then does my Folder appear.
tell application "QuicKeys"
quit (delay 2)
end tell
--http://macscripter.net/viewtopic.php?id=15240
set myProcesses to {"QuicKeys"} -- The ones to quit. {"QuicKeys", "Safari", "iChat"} -- The ones to quit.
tell application "System Events"
repeat with myProcess in myProcesses
set theID to (unix id of processes whose name is myProcess)
try
-- Should stop the application with no dialogs and no items saved.
do shell script "kill -9 " & theID
end try
end repeat
end tell
tell application "QuicKeys" to activate
Return to QKM General Discussion
Users browsing this forum: No registered users and 5 guests