Author Topic: I think I\'m ready for *gasp* AppleScript  (Read 2911 times)

Offline yelowpunk

  • Poster Child
  • *
  • Posts: 11
    • View Profile
I think I\'m ready for *gasp* AppleScript
« on: February 09, 2003, 11:22:00 PM »
But I might need a halping hand.

The first thing I'd like to learn is how to script actions (like pressing cmd+k, down twice, enter, type login, tab, type password, enter, etc.). Is there any way to record stuff like that? I'm sorry, I've never used AppleScript before. Anyway, anyone got time to kill?

Offline Thomas S. England

  • Super Duper Poster
  • ****
  • Posts: 615
    • View Profile
    • http://englandphoto.com/portfolio/
I think I\'m ready for *gasp* AppleScript
« Reply #1 on: February 10, 2003, 07:22:00 AM »
The most important question first is which OS are you using?

That's because Applescript's ability to record things which was so helpful in OS 9 hardly exists in OS X.

Things are changing, however, for OS X. Apple has a couple of items just out, such as Applescript Studio and GUI Interace. They require that you be completely current in OS X and have installed some extra develop tools. In other words, not quite ready for Primetime or the beginner. Third party methods are beginning to appear.

If you are in OS 9, Oneclick will do all the things you mention, but it will never be active in OS X.

You may want to look at Youpi Key, which is free, or Quickeys.

Actually, I have my best success at scripting by finding scripts already written at various sites online, copying them and putting them to use. I've even learned how to alter them for my machine, largely by trial-and-error.

Apple also offers many pre-written scripts.

Just touching the surface here to get the ball rolling.
Thomas S. England
Decatur GA 30030

Images from Tuscany 2008

Photo Portfolio

Offline bil207

  • TS Addict
  • *****
  • Posts: 965
    • View Profile
I think I\'m ready for *gasp* AppleScript
« Reply #2 on: February 10, 2003, 07:54:00 AM »
Timothy,

  You can find plenty of info on using AppleScript  including an AppleScript language guide  PDF. here.
Bill

Offline Gregg

  • TS Addict
  • *****
  • Posts: 11748
    • View Profile
    • http://
I think I\'m ready for *gasp* AppleScript
« Reply #3 on: February 10, 2003, 08:28:00 PM »
Timothy, you're ready if you can translate this:
1100010101000101110010101000101001010100010101001010
Ya gotta applaud those bunnies for sacrificing their hearing just so some guy in Cupertino can have better TV reception.

Offline yelowpunk

  • Poster Child
  • *
  • Posts: 11
    • View Profile
I think I\'m ready for *gasp* AppleScript
« Reply #4 on: February 10, 2003, 08:35:00 PM »
Well, I'm usually up-to-date on the OS thing, so I have OS 10.2.3 right now... any differences in Apple Script btwn now and OS 8.5? (when the manual you linked to was released)

Offline yelowpunk

  • Poster Child
  • *
  • Posts: 11
    • View Profile
I think I\'m ready for *gasp* AppleScript
« Reply #5 on: February 10, 2003, 08:37:00 PM »
By the way, Gregg, that translates into:

"ÅEÊ?TT"

...I guess it wasn't really anything.

Offline Gregg

  • TS Addict
  • *****
  • Posts: 11748
    • View Profile
    • http://
I think I\'m ready for *gasp* AppleScript
« Reply #6 on: February 11, 2003, 07:44:00 AM »
[Tickled]
Ya gotta applaud those bunnies for sacrificing their hearing just so some guy in Cupertino can have better TV reception.

Offline kelly

  • TS Addict
  • *****
  • Posts: 17035
    • View Profile
    • http://
kelly
Veteran SuperUser