Applescript for beginners

I wanted to know how many people are begginers for applescript. I am trying to figure what i should make on applescript that is easy for begginers any ideas?

thanx,
Roxy12145 :cool:

Hi Roxy,

iTunes is kind of well scripted except for a few shortcomings. You could make a series of easy iTunes scripts that you can run with the function keys. If you are in full screen mode and wanted to hear a song, you could just hit a function key that plays a song, switches playlists, pause, skip tracks, etc. This is good especially if your playing a game.

gl,

Hi Kel,

Thank you for the idea on doing itunes shortcuts i might try to learn how to do that thanks a lot.

thanx,
Roxy12145

Welcome to AppleScript, Roxy. :slight_smile:

Another direction you could try is scripting a good text editor, such as Tex-Edit Plus or TextWrangler. Both are eminently scriptable - with the added bonus that they’re recordable (as is Finder, too). So if you’re looking for some clues about how to do something, you can simply record your actions - and that should produce a script to get you started.

Hi Roxy

In my opinion olaying with AS is sure a interesting thing.
Just try to play with it, like:


tell application "Finder"
display dialog "My name is Roxy"
say "my name is roxy" using "Zarvox"
end tell

OR


tell application "Finder"
set myName to "Roxy"
display dialog "My name is " & myName
say "my name is " & myName using "Zarvox"
end tell

Thanks
Rajeev

Hi Roxy

Another good way to start is to write a script that copies/moves/deletes/renames files. That way you can make a custom backup script that copies just the files you want, and renames them with date suffixes etc. It’s done in the Finder, so as mentioned above, you can use AppleScript’s ‘record’ feature to help get you started.

Matthew (another AppleScript newbie!)

Model: iMac G5 2Ghz
AppleScript: 1.10.3
Browser: Safari 417.8
Operating System: Mac OS X (10.4)