• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Somewhat OT but related- Perl Scripts in Script Menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Somewhat OT but related- Perl Scripts in Script Menu


  • Subject: Re: Somewhat OT but related- Perl Scripts in Script Menu
  • From: Jason Bourque <email@hidden>
  • Date: Tue, 16 Apr 2002 09:00:01 -0400

Can someone check to see if the below this works? Try to run the changed
Perl script from the script menu.

I don't have a perl script that does anything.


Thanks,

Jason Bourque
Co-Director Boston AppleScript Users Group




set lPerlFile to alias "PowerBook
Docs:Users:jasonbou:Library:Scripts:Perl:Hello World.pl"

-- Get the unix-style path to the file/folder.
set lPerlFilePOSIX to POSIX path of lPerlFile

-- Make the Perl Script Executable.
do shell script "chmod 755 \"" & lPerlFilePOSIX & "\""



On 4/16/02 7:32 AM, "Jason Bourque" <email@hidden> wrote:

> Perl scripts must be made executable or something from the command line or
> they won't run.
>
> I haven't done this but I want to make a droplet that will do this.
>
> Let me know if you need some help.
>
>
> Thanks,
>
> Jason Bourque
> Co-Director Boston AppleScript Users Group
>
>
>
>
> On 4/15/02 10:32 PM, "Ric Phillips" <email@hidden> wrote:
>
>> On 12/4/02 5:46 AM, "Jesse Shanks" <email@hidden> wrote:
>>
>> No, I haven't tried it, but why don't you just put the PERL script in an AS
>> wrapper - just a few lines to call the PS and exit - and pop that in your
>> script menu - can't see why it wouldn't work.
>>
>>
>> Ric Phillips
>>
>> Faculty Web Coordinator
>> Faculty of Humanities and Social Sciences
>> Latrobe University
> _______________________________________________
> applescript-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/applescript-users
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Somewhat OT but related- Perl Scripts in Script Menu (From: Jason Bourque <email@hidden>)

  • Prev by Date: Re: When a String is not equal to a String
  • Next by Date: Re: When a String is not equal to a String
  • Previous by thread: Re: Somewhat OT but related- Perl Scripts in Script Menu
  • Next by thread: Finding Terminology Conflicts
  • Index(es):
    • Date
    • Thread