Okay I think I have found a way to get the battery status. I checked it on my VM of Windows 7. Your results may vary.
Try shell("WMIC Path Win32_Battery Get Availability”) Line 3 will contain 2 if the battery is charging, 3 if running on battery, and I am going to say 1 if the battery is fully charged. I’ll have to check that later as my battery is currently charging at the moment. Now for the teaching moment: WMIC can give you just about any information you want about the hardware you are running on. Spiceworks Inventory and Helpdesk system makes extensive use of WMIC when querying Windows devices. HTH Bob S > On Feb 23, 2015, at 08:00 , Bob Sneidar <bobsnei...@iotecdigital.com> wrote: > > Also found this but it requires something be installed: > http://www.nirsoft.net/utils/battery_information_view.html > > Bob S > > >> On Feb 23, 2015, at 07:53 , Bob Sneidar <bobsnei...@iotecdigital.com> wrote: >> >> I found this: >> http://www.nextofwindows.com/find-out-how-healthy-your-battery-is-on-your-windows-7-laptop/ >> >> Bob S > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode