That's how I'm going to work around it. I just thought it'd be cool if there was a way to natively grab certain system info (outside of the network stuff)
Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 <http://www.cfwebtools.com> http://www.cfwebtools.com 402-408-3733 x103 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Rick Winscot Sent: Monday, June 01, 2009 3:02 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] AIR & Computer Locking What are your 'couple ways around this problem.' Are you thinking of using system idle? Is there a direct (easy) way to do this? None that I know of... typically these kinds of operations require a system call which would be OS specific and wouldn't be available to AIR without significant effort. Is there any reason you can't capture that point when the application starts and then re-use it for subsequent notifications? Cheers, Rick Winscot On 6/1/09 3:37 PM, "Jake Churchill" <j...@cfwebtools.com> wrote: Anyone know how to recognize if a computer is locked or not (Windows XP) in AIR? I have an app that runs on the taskbar by the time. It periodically displays notifications which are placed at the bottom right of the screen. I get that position using Screen.mainScreen.visibleBounds. This works just fine when the computer is unlocked. However, when the computer is locked, the visibleBounds does not recognize the existence of the taskbar, so when I unlock the computer, half the notification is below the task bar. I can think of a couple ways around this problem, I just wanted to know if there was an easy way to find out if the computer is currently locked or not. Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com <http://www.cfwebtools.com> 402-408-3733 x103 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.339 / Virus Database: 270.12.48/2148 - Release Date: 06/01/09 06:09:00