Skip to main content
Known Participant
January 16, 2013
Question

Trying to learn Applescript

  • January 16, 2013
  • 1 reply
  • 825 views

I am referencing this 'guide':

Adobe Illustrator CS6 Scripting  Reference: AppleScript

I am trying some of the examples in this guide with my copy of CS6 and have yet to get a single example to do anything.

Clearly I am missing something ridiculously obvious.

Can anybody throw some light on this?

Thanks

Sean

This topic has been closed for replies.

1 reply

Inspiring
January 16, 2013

Adobe provides scripting access in 3 languages… The guides to each of these presume that you have the basic skills in this already… The AI AppleScript guide will teach you little or nothing of AppleScript itself… You are on the mac OS so you can use AppleScript or ExtendScript… There are some good forums for AppleScript. ExtendScript is more commonly used by the folks here…

Known Participant
January 16, 2013

I'll look into ExtendScript. It was more of a puzzle as to why the examples Adobe provided did not work in their application.

Inspiring
January 17, 2013

Oh I don't know the reason for that without examples… I started out scripting with AppleScript and its fine… What you do need to take into consideration is the pros on cons of each given language… This can be pretty confusing when starting out… So heres my brief overview…

AppleScript ( mac ) & Visual Basic ( pc ) offer wider access to your system and it's other applications… While you will get help offered here you may find more and better help elsewhere… certainly with the core code less so with the app itself as all may not use it… Each of these is platform specific…

If your new to scripting then Adobe also offers ExtendScript… this is used more widely here in these forums and is platform agnostic…

Im not trying to push you in any direction but you should do a little studying and determine which suites your needs best…

What is it that you want to automate…? does it use non Adobe apps… what OS does it need to run on… and so on…

Personally I started out using AppleScript but now prefer ExendScript ( not quite as easy but there you go ).

Nothing to stop you learning more than one if need be… once you've got a grip of the basic principles of maths, strings, loops and such theres not a massive difference between them…