|
|
10.3: Restore the Key Caps application via AppleScript
Here's an addition to the script which should quit the KeyboardViewerServer Process when the window is closed. For this to work, the app must be saved as "stay open". One caveat, for some reason when the app quits itself (which it doesn't do very well) it must first be activated (very annoying but it's done automatically and I can't figure out a fix right now), also, for the actual "Quitting" to take place, you need to click on another app (any other app, even the Desktop). Once you do this, the icon will be removed form the Dock etc. Give it a try and you'll see what I mean. I know this is ugly script but I just threw it together real quick and don't have time to tinker with it now. Had I been able to figure this out in the first place I would've just included it in the original hint submission.
So here goes, just paste this extra code at the very end of the script (after the last end tell) and save it as an app with "stay open" checked.
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|