Now This Is A Handy App!!!

Discussion in 'Mac Programming' started by allbrokeup, Mar 19, 2008.

  1. allbrokeup
    Expand Collapse
    macrumors 6502

    Joined:
    Mar 6, 2008
    Location:
    Melbourne, Australia
    #1
    You know on Windows 2000 and higher, how you enter a keyboard combo and it locks your computer..Mac OS X can now do that too.

    The app I have just created is entitled "Locked" and it does the following

    The included face-less app, called Selector, displays a Bevel with Options to Lock, Turn off Bevel and Close Options.

    The actual "Locked" application, Pulls up a full screen window with the Leopard Aurora, and a Window modeled on the Login Screen, requiring the User Account Password and Name to return to the Desktop.

    Post back on my idea, and give me feedback on how it is going. I am going to venture in further, to make it auto-detect any User Passwords and Names and require them without prior Hard-Coding. Any suggestions on that???????

    allbrokeup.
     
  2. mr.stinki
    Expand Collapse
    macrumors 6502

    Joined:
    Jan 25, 2008
    #2
    I really like it!! I like the idea of this more than the default option for entering password when waking from sleep!!

    Also, can you make it so we can change the background/ use a .qtz file for out BG?
     
  3. Trip.Tucker
    Expand Collapse
    Guest

    Joined:
    Mar 13, 2008
    #3
    ...or you could just enable it with Keychain. In Keychain, select Preferences, then Show Status in Menu Bar which displays a black padlock symbol. Click on the padlock and select Lock Screen. A shortcut key sequence can also be created in Sys. Prefs. Far more elegant.
     
  4. CaptainZap
    Expand Collapse
    macrumors regular

    Joined:
    Jan 17, 2007
    #4
    How would you go about adding a key sequence for it??
     
  5. GirthP
    Expand Collapse
    macrumors regular

    Joined:
    Oct 1, 2007
    #6
    or you could actually write the app for the rest of us :rolleyes:
     
  6. Monkaaay
    Expand Collapse
    macrumors 6502

    Monkaaay

    Joined:
    Jun 19, 2006
    Location:
    Richmond, VA
  7. Mactropolis
    Expand Collapse
    macrumors newbie

    Mactropolis

    Joined:
    Nov 24, 2007
    #8
    allbrokeup... excellent idea.

    Would like to test it out and perhaps even do a little review on my site. I could see an app like that coming in handy!
     
  8. lazydog
    Expand Collapse
    macrumors 6502a

    Joined:
    Sep 3, 2005
    Location:
    Cramlington, UK
    #9
    Maybe it's just me, but I don't get what's so great about this app. So it locks the screen and then you have to enter a password to unlock it. Is that it?

    b e n
     
  9. Krevnik
    Expand Collapse
    macrumors 68030

    Krevnik

    Joined:
    Sep 8, 2003
    #10
    While one can 'just' use fast user switching, what the Windows world has had for awhile is the Windows-L combo. Locks your computer really quickly. Now, I don't care if someone can login using their account, but I do like the quickness of it.

    On my own systems, I use Lock My Mac, and leave it in the dock.
     
  10. lazydog
    Expand Collapse
    macrumors 6502a

    Joined:
    Sep 3, 2005
    Location:
    Cramlington, UK
    #11
    Ah right. Haven't used Windows for a long time! But can't you achieve the same thing with Screen Saver configured to use a hot corner and password?

    b e n
     
  11. killmoms
    Expand Collapse
    macrumors 68040

    killmoms

    Joined:
    Jun 23, 2003
    Location:
    Washington, DC
    #12
    Quoted for extreme truth. Simple, effective, built-in.
     
  12. Jiddick ExRex
    Expand Collapse
    macrumors 65816

    Jiddick ExRex

    Joined:
    May 14, 2006
    Location:
    Roskilde, DK
    #13
    While this seems like a look-and-feel app that does the same thing as going to the login window or open screensaver while needing a password to get back in, I thought I just wanted to throw these out there:
    Dockables combined with Quicksilver or Launchbar are much more versatile and has the same functionality as the famous Windows-L combo.
     
  13. Mernak
    Expand Collapse
    macrumors 6502

    Joined:
    Apr 9, 2006
    Location:
    Kirkland, WA
    #14
    Have you tried bypassing the lock using Apple+option+escape and force quitting it? Just interested if that would work, since it is just a normal app, and only trying to fool people into thinking that it is locked.
     
  14. Krevnik
    Expand Collapse
    macrumors 68030

    Krevnik

    Joined:
    Sep 8, 2003
    #15
    Yes, except as I said, I like the lock going to the login window better. :p
     
  15. Jeremy1026
    Expand Collapse
    macrumors 68020

    Jeremy1026

    Joined:
    Nov 3, 2007
    #16
    The only problem is, what if you accidentally hit that hotcorner, it could become bothersome quickly. I have 3 of my 4 corners hot cornered (expose, spaces, and sleep display) and I find that 1 out of every 5 times or so I accidently go too far and activate the corner. Especially when using spotlight, or when trying to change from the iTunes miniplayer to full window (its in the bottom left hand corner)
     
  16. jeremy.king
    Expand Collapse
    macrumors 603

    jeremy.king

    Joined:
    Jul 23, 2002
    Location:
    Fuquay Varina, NC
    #17
    Yep. To make it better, save the following Applescript code as a script in /Library/Scripts (I call it Lock) and then assign a keyboard shortcut (Trigger) in Quicksilver to execute this script. I use Command+Option+L

    Code:
    do shell script "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend"
    
    Be sure to include Scripts in your catalog and rescan to see your new script.

    Who needs an app?
     
  17. Krevnik
    Expand Collapse
    macrumors 68030

    Krevnik

    Joined:
    Sep 8, 2003
    #18
    Script + Quicksilver != App? Eh?

    I don't use Quicksilver, so using that to create the trigger still requires me to add an app to my system either way.
     
  18. Nutter
    Expand Collapse
    macrumors 6502

    Joined:
    Mar 31, 2005
    Location:
    London, England
    #19
    But if all you need is a trigger, isn't it better to use a general purpose app, rather than to create one specifically for the purpose?
     
  19. allbrokeup
    Expand Collapse
    thread starter macrumors 6502

    Joined:
    Mar 6, 2008
    Location:
    Melbourne, Australia
    #20
    Experimenting with the Shell Script in version 2 to be public (version one is for me :D) I have tied in the Shell Script with my iFaceless 2.0 to open up the app. iFaceless is set at 0.1 opacity and Locks when Command+Option+L is pressed. It calls the Shell Script, suspending the User (or so I gathered :D). There is also a Volume Bezel in the Launcher that sets the system volume so you don't have to unlock to Change the iTunes Volume either, although I think I may axe that upon release.

    Let me know what you think.

    allbrokeup.
     
  20. allbrokeup
    Expand Collapse
    thread starter macrumors 6502

    Joined:
    Mar 6, 2008
    Location:
    Melbourne, Australia
    #21
    Version 2, entitled 'Lock 2' just hit intense testing stage. Expect a full Release soon on a Soon-to-Be 'Google Code' page. will post URL.

    allbrokeup.
     
  21. allbrokeup
    Expand Collapse
    thread starter macrumors 6502

    Joined:
    Mar 6, 2008
    Location:
    Melbourne, Australia
    #22
    Update 2 - Someone asked whether it would force quit. Sadly no, I made it Quit Finder through an AppleScript and relaunch it upon Unlock. You cant Quit it via Cmd+Q either! :D

    allbrokeup.
     
  22. allbrokeup
    Expand Collapse
    thread starter macrumors 6502

    Joined:
    Mar 6, 2008
    Location:
    Melbourne, Australia
    #23
    Update 3 - Somebody asked about Quartz Backgrounds, It uses an 'Aurora.qtz' File in the Resources Package installed into ~/Library. Simply rename a custom .qtz to 'Aurora.qtz' and drag it into the mentioned folder. It will show up as the Background.

    allbrokeup.
     
  23. jeremy.king
    Expand Collapse
    macrumors 603

    jeremy.king

    Joined:
    Jul 23, 2002
    Location:
    Fuquay Varina, NC
    #24
    You should give it a try, you won't use your Mac the same.
     

Share This Page