Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • IIRC ORA France is working on an as yet unpublished title on AS that is supposed to fill in the kind of documentation gap you are referring to. It might be worth following what comes of it, the mothership does occasionally translate books from the "little ones" into English.

    --

    -- Robin Berjon [berjon.com]

  • I also found the file reference syntax very confusing and irritating. But then I discovered the POSIX keyword. With it, I can refer to files by their UNIX path - the way I am familiar with.
    E.g. (calling AppleScript from a shell script):
    echo "set ofile to POSIX file \"$audiofile\"
              say \"$message\" saving to ofile"
      | /usr/bin/osascript
  • This is why I wrote Mac::Glue. :-) It still isn't perfect ... you still have to deal with the shortcomings in the respective applications, of course, and other things inherent to Apple events, and AppleScript apart from its syntax. But at least you can avoid most of the syntax.

    Coming soong to Mac OS X ... maybe next couple of months.
  • But...but...but...it can do SOAP and look up stock prices. That's useful for programmers, isn't it. I've worked with Mac's on and off for over 12 years and have still been waiting to find a good reason to use AS. Also, I agree, finding a good source of documentation is painful, especially on the Apple site. Digging for documentation usually tells me I'm using the wrong tool.