Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

chrislee8

macrumors regular
Original poster
Jul 26, 2004
102
0
NY, NY
hi all,

1. how do i test if jre and jdk are installed?

2. how do I find out battery info from applescript. it is a powerbook g4.

thanks
 

iSee

macrumors 68040
Oct 25, 2004
3,540
272
Ahh, I hate to interrupt your...er...conversation, but I did run across this script a few days ago:
http://homepage.mac.com/jonn8/as/html/Battery_Info.html
It did not work on my MBP, however. At its core is a call to ioreg, which did not seem to be returning the expected info. The requirements did list Powerbooks and iBooks, but not MBPs, so it will probably work for you.

Hope this helps... Now you can get back to talking to, um, each other... :D
 

chrislee8

macrumors regular
Original poster
Jul 26, 2004
102
0
NY, NY
iSee said:
Ahh, I hate to interrupt your...er...conversation, but I did run across this script a few days ago:
http://homepage.mac.com/jonn8/as/html/Battery_Info.html
It did not work on my MBP, however. At its core is a call to ioreg, which did not seem to be returning the expected info. The requirements did list Powerbooks and iBooks, but not MBPs, so it will probably work for you.

Hope this helps... Now you can get back to talking to, um, each other... :D

Thanks. I don't have to talk to myself now. :p
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.