some questions.

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

  1. chrislee8
    Expand Collapse
    macrumors regular

    Joined:
    Jul 26, 2004
    Location:
    NY, NY
    #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. chrislee8
    Expand Collapse
    thread starter macrumors regular

    Joined:
    Jul 26, 2004
    Location:
    NY, NY
  3. chrislee8
    Expand Collapse
    thread starter macrumors regular

    Joined:
    Jul 26, 2004
    Location:
    NY, NY
    #3
    thank you chris.
     
  4. chrislee8
    Expand Collapse
    thread starter macrumors regular

    Joined:
    Jul 26, 2004
    Location:
    NY, NY
    #4
    you are welcome.
     
  5. iSee
    Expand Collapse
    macrumors 68040

    iSee

    Joined:
    Oct 25, 2004
    #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. chrislee8
    Expand Collapse
    thread starter macrumors regular

    Joined:
    Jul 26, 2004
    Location:
    NY, NY
    #6
    Thanks. I don't have to talk to myself now. :p
     

Share This Page