View Full Version : desktop alias for logoff, shutdown
BabaG
May 2, 2008, 07:13 PM
how do i make these?
thanks,
BabaG
HLdan
May 2, 2008, 07:35 PM
Try this application called Dockables. They are alias's for the dock to do what you are looking for.
http://www.apple.com/downloads/macosx/system_disk_utilities/dockables.html
or
http://getdockables.com/
BabaG
May 2, 2008, 09:17 PM
thanks HLdan. that's pretty close. would still like to know
how to make a desktop alias, though.
HLdan
May 2, 2008, 10:26 PM
thanks HLdan. that's pretty close. would still like to know
how to make a desktop alias, though.
Each one of the dockable icons can be dragged right to the desktop from the folder. They're not required to be ran from the Dock. It really won't matter but if you'd rather have an alias to the application just right-click on the icon and create an alias to it for the desktop.
BabaG
May 2, 2008, 11:03 PM
thanks again, HLdan. i actually know how to make an application
alias. it's how to make one for shutdown and logoff i was wondering
about. are those actions considered apps? if so, where do they reside?
i just figured there would be a simpler way than adding software.
HLdan
May 3, 2008, 12:07 AM
thanks again, HLdan. i actually know how to make an application
alias. it's how to make one for shutdown and logoff i was wondering
about. are those actions considered apps? if so, where do they reside?
i just figured there would be a simpler way than adding software.
In this case Apple doesn't make the OS so you can create alias's for shutdown and logoff you will have to use 3rd party software. The dockables apps are more like widgets. Once you download them all of them are inside one big folder containing one for sleep, shutdown, logout etc...You just drag and drop the whole folder into your Applications folder. Drag any one of them to the desktop or just create alias's for each. Most people I've seen on this forum use dockables. It's much easier than modifying the system and at least it's free. :)
BabaG
May 3, 2008, 07:32 PM
thanks again, HLdan.
so, just to be clear, there's no command line shutdown or logoff
and/or no way to put an alias on the desktop that references it?
BabaG
HLdan
May 3, 2008, 11:44 PM
thanks again, HLdan.
so, just to be clear, there's no command line shutdown or logoff
and/or no way to put an alias on the desktop that references it?
BabaG
Correct.
BabaG
May 4, 2008, 12:28 AM
bummer, but thanks. good to know.
pjrobertson
May 4, 2008, 05:06 AM
Correct.
I think there are a few ways...
Here's a terminal script for logging off:
http://www.macosxhints.com/article.php?story=20031102031045417
There's the "shutdown -h" command that can be used to shutdown from terminal (you need to use sudo at the start then enter your password though)
Another lock screen applescript:
Open script editor and save it as an 'application' on your desktop.
set normalCommand to "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend"
set theQuestion to "Do you really want to lock the screen?"
set theAnswer to button returned of (display dialog theQuestion buttons {"OK", "Cancel"} default button "Cancel" with icon note)
if theAnswer is "OK" then
do shell script normalCommand
end if
Just google something like 'shutdown shell script mac
Edit: Just use Quicksilver's scripts , they work great :D
See the attached files. You'll need to open them in Script Editor and save them as apps...I think
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.