some questions.

Discussion in 'Mac Programming' started by chrislee8, Jun 1, 2006.

  1. macrumors regular

    #1
    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
     
  2. macrumors regular

    #2
    1. java -version

    2. find out yourself.
     
  3. macrumors regular

    #3
    thank you chris.
     
  4. macrumors regular

    #4
    you are welcome.
     
  5. macrumors 68040

    iSee

    #5
    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
     
  6. macrumors regular

    #6
    Thanks. I don't have to talk to myself now. :p
     

Share This Page