Go Back   The macosxhints Forums > OS X Help Requests > System



Reply
 
Thread Tools Rate Thread Display Modes
Old 10-16-2002, 10:52 PM   #1
jmb
Triple-A Player
 
Join Date: Jan 2002
Posts: 92
Command-Tab Freedom!

You may have noticed that, as of Jaguar, the Dock is extremely greedy about the command-tab key combination. I recently posted a hint about freeing up command-tab for use with Keyboard Maestro (or any other app that might need it) by killing the Dock. See this hint for more information.

The main problem with this approach was that the Finder wasn't very happy without the Dock - on bootup or login, it would just beep when I tried to click things on the desktop. The way around this was to launch the Dock (I had it in a DragThing dock, so I didn't have to use the Finder). Once it was launched, you could kill it and all would be fine. The problem was that this was pretty inconvenient, and I wanted to automate it.

To get around this problem, I moved the Dock to my /Applications/Utilities folder, then set it as the first item on my Login items list. I then wrote the following AppleScript:

tell application "Dock"
quit
end tell

I saved this as a compiled script, then set it as the last item on my Login items list. Now when I login in, the Dock launches briefly and then the script kills it. All is now well. I've tested it, and it works.

Good luck,

jmb
jmb is offline   Reply With Quote
Old 10-17-2002, 04:24 PM   #2
AHunter3
Hall of Famer
 
Join Date: Jan 2002
Location: New York City
Posts: 3,032
So Apple has made it just a little harder to run OS X without the Dock, huh?



More charming things to look forward to if and when I ever upgrade from 10.1.5 to Jag.

Thanks for the workaround tip. I'll remember that.
AHunter3 is offline   Reply With Quote
Old 11-13-2002, 02:04 AM   #3
edalzell
MVP
 
Join Date: Nov 2002
Location: Vancouver
Posts: 1,390
Nope

I get "Connection Invalid" when I run the script.
edalzell is offline   Reply With Quote
Old 11-13-2002, 09:25 AM   #4
baryonyx
Major Leaguer
 
Join Date: Jan 2002
Location: Bethesda, MD
Posts: 300
On the other hand, one could always set the keyboard command in Keyboard Maestro to option-tab and not go through all that trouble...
baryonyx is offline   Reply With Quote
Old 11-13-2002, 12:37 PM   #5
AHunter3
Hall of Famer
 
Join Date: Jan 2002
Location: New York City
Posts: 3,032
FileMaker gets Command-Tab and nothing will be allowed to take it away.

No docks. Absolutely no docks. I'll use 10.1.5 until hell freezes over if there's no way to run Dockless under Jag and whatever comes after it.
AHunter3 is offline   Reply With Quote
Old 11-13-2002, 01:42 PM   #6
baryonyx
Major Leaguer
 
Join Date: Jan 2002
Location: Bethesda, MD
Posts: 300
You'd think OS X and FileMaker would play nice considering they're both developed by the same company (spin-off or not).
baryonyx is offline   Reply With Quote
Old 11-16-2002, 10:13 PM   #7
AHunter3
Hall of Famer
 
Join Date: Jan 2002
Location: New York City
Posts: 3,032
Would I be correct in assuming that one could still disable the Dock, launch it momentarily at startup (manually or as part of Startup Items), then process-kill it successfully, even if the abovementioned AppleScript doesn't do the job?
AHunter3 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 10:00 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.