Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Also with Quicksilver + AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Also with Quicksilver + AppleScript
Authored by: gullevek on Jul 15, '05 10:37:35AM

I think I read this here, but I can't find it in the archives. Perhaps it was some place else.
Anyway, for ths you need Quicksilver and this little apple script:

tell application "ScreenSaverEngine"
activate
end tell

1) Save that in an applescript somewhere.
2) Then open the Quicksilver preferences and go to Triggers.
3) Add a new trigger by clicking on the plus Icon
4) Type in the name of your script and select it (you might need to rerun your indexing for quicksilver so it gets the script)
5) You can now add any keyboard shortcut you like (I have ctrl+cmd+L).

Thats it, now you can lock your screen with a shortcut.

But I agree having a hot corner is the quickesway. :)



[ Reply to This | # ]
Also with Quicksilver + AppleScript
Authored by: DocMan on Jul 15, '05 11:55:01AM

Couldn't you just set up the same keyboard shortcut through the keyboard preference panel? Just save your script as an app.

Doc



[ Reply to This | # ]
Also with Quicksilver + AppleScript
Authored by: mingking on Jul 15, '05 12:36:45PM

Unless I'm missing something about what you're saying, you can't set Keyboard Preferences to launch an app. You can only set it to execute a menu item by name of an already running app.

I guess the third-party guys are happy with the current state, but it seems that Apple already has a nice GUI for assigning keystrokes globally or per Application, but the implementation is pretty weak. When they first introduced it I thought they were going to make it a full blown centralized keystroke assignment/action customization system, but instead you've got a hodgepodge of things like Keyboard Prefs bindings (weak), the global AppleScript menu (can do just about anything, but no keyboard assignments), and Automator workflows (good for adding contextual menus, but again, no keyboard assignments). All of these should interoperate better.



[ Reply to This | # ]
Also with Quicksilver + AppleScript
Authored by: DocMan on Jul 18, '05 12:54:13PM

Enable the Script menu, and make sure that your applescript is in the menu. Then Keyboard shortcuts can launch the app.

I'll admit I haven't tried this, but it should work.

Doc



[ Reply to This | # ]
Also with Quicksilver + AppleScript
Authored by: gullevek on Jul 17, '05 09:18:09AM

I don't know. For me it always has side effects. I set a zoom global shortcut, but instead of zooming only the front window, like the menu point does when going throught the menu, it zooms all windows.
So I don't even bother with these settings anymore.



[ Reply to This | # ]
Quicksilver defualts
Authored by: dudemac on Jul 15, '05 12:32:39PM

Ok, I don't know why this hasn't been mentioned yet, but if you have Quicksilver installed one of the default apple script actions is "Fast Logout" as in fast user switch to the login screen. So in less than four key strokes my computer is locked at the login screen and all my programs stay running. Plus its more secure than the screen saver.

I can't recommend enough the Quicksilver program. It saves me so much time and I am constantly learning of new functionality. I hardly use the finder or spotlight, but I use QS all the time.



[ Reply to This | # ]
Quicksilver defualts
Authored by: gullevek on Jul 17, '05 09:15:34AM

same here. I never use spotlight, because I know where my stuff is and for starting programs QS is just 1000 times faster. plus it lets my type in stuff and doesn't need to search an endless time.



[ Reply to This | # ]
Quicksilver defualts
Authored by: gullevek on Jul 17, '05 09:21:43AM

Why should fast logout be more secure than a screensaver? If I turn of fast user switching and I lock my PC with the screensaver than only I can access it and nobody can login with some other account that might be there.



[ Reply to This | # ]
Quicksilver defualts
Authored by: seamus on Aug 18, '05 12:29:34AM

I agree. Quicksilver is probably the most useful app around. I've solved this issue for myself by having it the launch the Screen Saver Engine by typing "SS".

---
Seamus



[ Reply to This | # ]
Also with Quicksilver + AppleScript
Authored by: KenaiTheMacFan on Oct 23, '05 05:10:14PM

Couldn't you launch the script with One Key or Spark or some other keyboard file-launching utility? I have One Key and Quicksilver but I have never even opened Quicksilver.

---
Ian



[ Reply to This | # ]