Results 1 to 2 of 2

Thread: Apple script

  1. #1
    Maximum Bitrate pepsibobby's Avatar
    Join Date
    Dec 2005
    Kaiserslautern Germany

    Apple script

    Okay guys I thought that I would start a thread just for apple script. Alot of people are trying to work with it. I myself are trying to learn how to use it with out much luck. I would appreciate it if people can post apple script files or bits of script in order for some of us to learn. I myself especially wana know how to make buttons that can be moved around to where i want them to be.

  2. #2
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Corning, NY
    Blog Entries

    Moving buttons around the screen

    Following is a script that will move a button named "btnMainOne" on window "Main" in application "Test" to position 30, 10. If you are coding directly in the application, you will not need to use the Tell block.

    You can also find out all of the properties of the button by adding "properties of x" to the script. They will display in the properties window of script editor.

    Matt Neuberg's book "Applescript: The Definitive Guide" is an invaluable resource for AS information.

    tell application "Test"
    set x to button "btnMainOne" of window "Main"
    set position of x to {30, 10}
    end tell
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts