New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Calling Perl Script From AppleScript


Post Reply New Thread Subscribe

 
Thread Tools
ramya_lw

 
Member Since: Nov 29, 2011
Posts: 2
ramya_lw is on a distinguished road

ramya_lw is offline
How to call perl script from Apple Script.

Thanks & Regards,
Ramya
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,662
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
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
Personal Twitter
QUOTE Thanks
ramya_lw

 
Member Since: Nov 29, 2011
Posts: 2
ramya_lw is on a distinguished road

ramya_lw is offline
Hi all,

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

Regards & Thanx,
Ramya.A
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,621
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
This was answered, in your previous post, which was moved to the programming section...


here: Calling Perl Script From AppleScript

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks
cptkrf

 
Member Since: Dec 08, 2009
Location: The same as Sheldon Cooper - East Texas
Posts: 364
cptkrf is a jewel in the roughcptkrf is a jewel in the rough
Mac Specs: MacMini,2013, Intel Core i7, 16gb, 27" Thunderbolt display (Highly recommended!)

cptkrf is offline
Just a question for my edification. If you know Perl, why on earth would you use Applescript?
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,662
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
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
Personal Twitter
QUOTE Thanks
cptkrf

 
Member Since: Dec 08, 2009
Location: The same as Sheldon Cooper - East Texas
Posts: 364
cptkrf is a jewel in the roughcptkrf is a jewel in the rough
Mac Specs: MacMini,2013, Intel Core i7, 16gb, 27" Thunderbolt display (Highly recommended!)

cptkrf is offline
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.
QUOTE Thanks

Post Reply New Thread Subscribe


« best GUI option for my simple needs? | Path for Generic PostScript Printer? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Call a java script file from applescript narayanaraj OS X - Operating System 0 09-21-2011 11:13 AM
Need help running perl script on Mac OS X BGTHEMOGUL OS X - Operating System 6 11-13-2010 12:29 AM
Perl Script Problems marvelaz OS X - Development and Darwin 3 01-18-2010 09:54 PM
Perl script error icue OS X - Development and Darwin 1 09-09-2009 01:39 AM
Can't properly save and use script (Perl) files mscoxoh OS X - Operating System 0 05-09-2008 01:24 PM

All times are GMT -4. The time now is 02:55 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?