Re: perl in script menu (Bug revealed)
Re: perl in script menu (Bug revealed)
- Subject: Re: perl in script menu (Bug revealed)
- From: John Delacour <email@hidden>
- Date: Wed, 4 Sep 2002 08:45:09 +0100
I wrote:
The scripts I was testing were in a folder named "perl scripts" in
~Library/Scripts/.
I guess that everyone who had success with the script had placed it
directly in their Scripts folder _without_ a sub-directory and I now
see that this does work, but if you put the script in a
sub-directory, even though the menu allows you to access and select
the script, it will not run.
The plot thickens! I then realised that that AS scripts I had in the
sub-directory
~/Library/Scripts/TextEdit/
did run, so I moved the perl scripts to this sub-directory and they
ran fine. The next step was clear -- replace the space in "perl
scripts" with an underline and try again. Success! Replace the
space in the dirname and try again. Failure!
So the bug seems to be that a perl (or other?) script will not run if
it is in a sub-directory whose name contains a space.
Enough of all this. I must get to work.
JD
_______________________________________________
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.