How do you Enable/Disable a user's ScreenSaver and set it's time

How do you Enable/Disable a user's ScreenSaver and set it's "Start Screen Saver" time.
I am writting an application in java which uses JNI and a screen saver to lock users out of the computer unless they enter the correct username and password.
If they enter the correct password I need to Enable the ScreenSaver at a specific about of time (time can be changed remotely) so I can "log out" the user.
I need to disable the screen saver after the screen saver runs so that it doesn't run while the java login program is running.
I have this working already on Windows XP but can't find any way to program this on Mac OS X.
Thank you for any help!

http://forums.macosxhints.com/showthread.php?t=61525
Disable
defaults -currentHost write com.apple.screensaver idleTime 0
Enable for 180 seconds
defaults -currentHost write com.apple.screensaver idleTime 180

Similar Messages

  • HT1212 how do you enable your ipod when its diabled and wont connect to itunes to fix it?

    i recently tried to login to my ipod and it disabled me completely from it. The last time i tried to login in it showed a message "iPod is disabled connect to iTunes" so naturally i went to connect to itunes to fix this. Then ITunes showed a message that it cannot be connect to my ipod because their is a passcode and i have to login first on the ipod to get to the itunes.. im so confused and frustrated someone please help!!

    Disabled
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • How do you enable a DRWTSN32 user.dmp under Java console ?

    I'm experiencing an exception violation in a C module invoked from a Java class. The Java console shows the stack and all, but I need the user.dmp from DRWTSN32 and one is not being generated. I have initialized DRWTSN32 -i and have set my appropriate settings under DRWTSN32 and have also disabled the Java console, but I'm still not getting the nofification alert (from DRWTSN32) and no user.dmp. I'm running Windows NT with JRE 1.3.1.
    Any idea how I can get the user.dmp generated ?

    Actually, the C module is abending. The Java console provides:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x96434ae
    Function name=chekmod along with the library dll name and the stack trace.
    So what I need to determine is how to get the user.dmp that should occur from DRWTSN32.
    I've even disabled the java console, but I still get the stack trace and no user.dmp.

  • How do you recover from catastrophic change of PC and iPhone at same time?

    Long Story:
    1) Upgraded from iP3G to iP4 last year, kept both. iP4 synched regularly. 3G in storage.
    2) Synching PC died (motherboard) but have HDD.
    3) LOST iP4 in mountains.
    4) Got new PC.
    5) Reactivated 3G.
    Now I'm trying to figure out what files to put where from old HDD to new PC to get contacts/data/settings/SMS/photos, etc? I have it all on the old HDD and it is in an enclosure. I just need to know what key files I need, where they are on the old HDD and where to put them on the new. (Both old and new PC's are running Win7 Ult.)

    Thanks, Eric-
    Not a great option at this point, b/c I'm using this as an opportunity to rearrange the file structure of my stuff, using libraries differently and the like, and I've already moved some things. I found the below post on another thread helpful, except...
    Computer crashed, moved iPad to new PC...
    When I go to Edit>Preferences>Devices, it lists the backup I want to restore from, but it has the same name as the current backup. When I right click on the iPhone under Devices and go to the Restore from Backup Wizard, it only lists the current backup.
    So here's what I tried:
    0) Went to Users>Me>AppData>Roaming>Apple Computer> MobileSync
    1) I created a folder called "Temp"
    2) I copied the current backup folder to Temp
    3) In the Backup folder, I opened the folder containing the current backup and deleted the whole thing, emptying that folder.
    4) I copied the entire contents of the desired backup into the newly emptied folder.
    5) But now it doesn't give me the option to restore.
    6) So I undid the changes and got back to square 1.
    So my current question is how can I get it to restore from an alternate backup, especially since the two phones had the same name so the backups have the same name?

  • HT4061 How do you enable phone?

    How do you enable phone my kids pushed the wrong code to many times?

    Follow the instructions in this support document http://support.apple.com/kb/ht1212

  • How do you selectively disable users validated by nt domain?

    We are validating our sw vpn users on our 3030 via nt domain. Therefore there are no individual userids.
    How can we selectively disable certain users? e.g. A few office workers not allowed to come in from home.
    If this were Windows / RAS we could uncheck the dialin box on their user profile - is there some similar setting within Windows for sw VPN users?
    Or even better, are these domain authenticated users authenticated against any particular nt group, from which we could then remove them?

    With NT Domain Authentication, what you are trying is not possible. What you need to do is to configure the concentrator to use Radius. You could refer to http://www.cisco.com/warp/public/471/cisco_vpn_msradius.html and http://www.cisco.com/warp/public/471/vpn3k_ias.html for more configuration information.

  • How do you enable 'Create Content' button on 'Add Content' page?

    How do you enable ‘Create Content’ button on ‘Add Content’ page?
    There is new functionality to a ‘Layout’ type personalization page like ‘Sales Dashboard’.
    Bug 4503123 INCONSISTENT WAY OF ADDING USER-DEFINED REGIONS ON WYSIWYG PAGE:
    There’s no way to add custom content to a configurable page.
    Add a “Create Content” button and let the user create a piece of content that extends to a region he creates.
    It says: Fixed->11.5.10.3CU
    In Oracle® Application Framework Personalization Guide Release 11i Part No. B25439-02 it says:
    p 4-5
    If you personalize a non-configurable page (a page that does not have the necessary metadata to personalize its layout) or when you run your application in Accessibility mode (profile option Self Service Accessibility Features (ICX_ACCESSIBILITY_FEATURES) is set to Standard Accessibility), you will not see the Page Layout Personalization page, as shown below. Instead, you will see the Page Hierarchy Personalization page, page 4-12, where you can perform the same personalization functions, using a descriptive tabular user interface.
    It tried this and can’t get it to display.
    Has anyone run accross this before?

    user587952,
    Can you describe your issue in detail forgetting those references for the time being. What exactly are you trying to do?
    Check this from the dev guide:
    In order to be able to take full advantage of page layout personalization capabilities, it is important when you create your configurable page, to use flexibleLayout and flexibleContent regions at all levels when you create the page hierarchy structure under your page layout region. In Oracle Applications, this is required, as it is the coding standard.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How do i enable/disable call waiting option in iphone5

    How to enable/disable call waiting option in iphone5. setting --> phone does not show up call waiting / call forwarding options

    I've gone through your message completely, if you do not have the Call Waiting option under Settings > iPhone it means your carrier does not let you access that feature on the phone. Contact them and see if they have dialing codes to turn it off and back on.

  • I have a Verizon IPhone 4 and i can't figure out how to get my ringtones from an app to my iTunes account, it doesn't have a tab for Ringtones! I have tried unplugging it and checking if would show up but it didn't, how do you enable the ringtone folder?

    I have a verizon IPhone and i can't figure out how to get my ringtones from the app to iTunes, my account doesn't have a ringtone section in the liRingtone Folder?brary, how do you enable the ringtone folder?

    Edit > Preferences.  Select the check box for Ringtones, this will add them to the listing in iTunes. 
    Not sure that really answers your question though.

  • How can you enable back the Android native Menu button in AIR 2.7?

    I've noticed in AIR 2.7 for Android, that now the bottom icons in Android 3.0 Honeycomb are hidden (replaced by small dots) in AIR 2.7, whereas in AIR 2.6 they were always visible. That's cool. Since the bottom bar can never be hidden in Android 3, at least now those icons are less visible (unless you intentionally touch the bottom bar, then the icons show up for a few seconds).
    BUT I also noticed in AIR 2.7 compiled apps, the native "Menu" icon is not visible anymore, even after touching the bottom bar. In AIR 2.6 you could see and press that button (which can be captured from AIR so you can show a custom settings menu or whatever).
    So, quoting the subject --> How can you enable back the Android native Menu button in AIR 2.7?

    There is a work around and a reason for the menu issue.  Honeycomb doesn't natively support a menu softkey, it is only to support old apps comiled in phone API levels.  If you compile a Honeycomb app in 2.7 or 3.0, it is expected you manage the settings within the larger tablet UI framework.  See below link for more info and work around. 
    http://forums.adobe.com/message/3964792#3964792

  • When setting up a new ipad how do you know what your user name is?

    When setting up a new ipad how do you know what your user name is?

    How to set up Apple ID
    http://support.apple.com/kb/ht2731

  • HT1414 how do you reset my ipod touch..daughter try passcode too many times now its disabled

    how do you reset my ipod touch..daughter try passcode too many times now its disabled

    Passcode Locked or Disabled
    If nothing else will let you unlock the device - after so many unsuccessful attempts will be locked out - You have to restore the device within iTunes. You want to use the same computer that you always sync with so that you can restore your app data and settings. You can restore with any other computer, but you will lose everything on the Device.
    Instructions can be found here.
    http://support.apple.com/kb/ht1808

  • How do you enable plugins in safari settings on iphone 4s ?

    How do you enable plugins in safari settings on iphone 4s ? Latest version
    Anable to find enable plugins box to tick in settings.Not in same location as previous version of softwear.
    Any answers?

    I encountered the same problem in my iPhone 4S. You can try this. Remove the plugins that you have installed, sync your iPhone, and then restart. You'll be able to watch vedios using safari.

  • Misplaced my ipad mini  now i have found it . how do i enable it . i turned it on and the message read disabled try again in 22,809,570 minutes.  really.

    misplaced my ipad mini , now i have found it how do i enable it . i turned it on and the message read ipad is disabled try again in 22,809.566 minutes , really

    Restore it.

  • How do you enable cookies on an iPhone 4s?

    How do you enable cookies on an iPhone 4s?

    Thanks.  I saw that after I posted my message.  We got it working.  Need a tee time so thanks for the help!

Maybe you are looking for

  • ITunes 8 won't recognize iPhone

    I'm experiencing this issue on 2 separate computers. When I was prompted to install iTunes 8, I downloaded and installed. During the installation, an error box popped up saying that the iPod service wouldn't be installed. Of course, once installed, t

  • I have problem after cleaning LCD on my SP U200

    Hi, I have the following problem with my U200. I routinely clean my monitor using foam LCD cleaner. But because of some reason the foam got inside the monitor, seems that it is between the trubrit and the LCD. Because of experience I believe that it

  • Problem in translation

    dear all my friends i have create a smart form in English language and  i translate it to Arabic language both  work correctly but  when i print the form in Arabic  the Arabic words appear correctly but if it include English statement like  " i go to

  • Post Mapping Process Execution

    Hi, I have a post mapping process for a mapping. The post mapping process gets executed even when the mapping results in an error. I wanted to know is there any parameter that needs to be set so that post mapping process would be executed only on suc

  • I got my iphone 5c from like 4 month ago and the last two days the battery lose charge from 100% to 80% while 30 minut without even using it

    i got my iphone 5c from like 4 month ago and the last two days the battery lose charge from 100% to 80% while 30 minut without even using it