Results 1 to 7 of 7
  1. #1


    Member Since
    Nov 29, 2011
    Posts
    2
    Smile Calling Perl Script From AppleScript
    How to call perl script from Apple Script.

    Thanks & Regards,
    Ramya

  2. #2

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    I think what you're looking for is "do shell script." You can read more about it here. You could use that to invoke the perl interpreter with your script.

    I moved your post to a more appropriate forum - this is more of a development question.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  3. #3


    Member Since
    Nov 29, 2011
    Posts
    2
    Smile Calling Perl Script From AppleScript
    Hi all,

    How to call a perl Script from an AppleScript?
    Pls give your ideas.

    Regards & Thanx,
    Ramya.A

  4. #4

    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,879
    Specs:
    Way... way too many specs to list.
    This was answered, in your previous post, which was moved to the programming section...


    here: http://www.mac-forums.com/forums/os-...ml#post1333253
    mike
    This machine kills fascists
    Got # ? phear the command line!

  5. #5

    cptkrf's Avatar
    Member Since
    Dec 08, 2009
    Location
    The same as Sheldon Cooper - East Texas
    Posts
    453
    Specs:
    iMac 2014 i5 5k 32gb 1tb fusion, second TB display, 2014 MBA
    Just a question for my edification. If you know Perl, why on earth would you use Applescript?

  6. #6

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    OS X integration. There's much more that AppleScript can do that Perl can't when it comes to interacting with applications.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  7. #7

    cptkrf's Avatar
    Member Since
    Dec 08, 2009
    Location
    The same as Sheldon Cooper - East Texas
    Posts
    453
    Specs:
    iMac 2014 i5 5k 32gb 1tb fusion, second TB display, 2014 MBA
    Interesting. I had always assumed that Applescript was a trivial scripting language left over from the ancient System 7 days. Just casually looking at some of it, it appears that the original coders must have come from a LISP environment.

    But, like you said, it appears to be totally oriented toward the connection of different OSX apps and not for stand alone scripts.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need help running perl script on Mac OS X
    By BGTHEMOGUL in forum OS X - Operating System
    Replies: 6
    Last Post: 11-13-2010, 12:29 AM
  2. Perl script
    By Vanya98 in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 04-07-2010, 06:25 PM
  3. Perl Script Problems
    By marvelaz in forum OS X - Development and Darwin
    Replies: 3
    Last Post: 01-18-2010, 09:54 PM
  4. Perl script error
    By icue in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 09-09-2009, 01:39 AM
  5. Can't properly save and use script (Perl) files
    By mscoxoh in forum OS X - Operating System
    Replies: 0
    Last Post: 05-09-2008, 01:24 PM

Posting Permissions

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