Jump to content

where do the scripts run from?


Recommended Posts

I have a workflow in Alfred which writes a new text file.

 

RUN SCRIPT (/usr/bin/perl)

open( FILE, '>raischedule.txt' );
print "hello!;
close( FILE );

Now, if I had made a file program.pl that contained this code, and I ran it from the terminal, the file raischedule.txt would be created in the same folder that program.pl was in.  But in Alfred, this does not occur.  So where is it?

Link to comment

I have a workflow in Alfred which writes a new text file.

 

RUN SCRIPT (/usr/bin/perl)

open( FILE, '>raischedule.txt' );
print "hello!;
close( FILE );

Now, if I had made a file program.pl that contained this code, and I ran it from the terminal, the file raischedule.txt would be created in the same folder that program.pl was in.  But in Alfred, this does not occur.  So where is it?

 

Alfred runs scripts from their respective workflow folder. You can view the workflow folder for a specific workflow by right clicking on it in the Workflow list and selecting "Show in Finder".

 

Cheers,

Andrew

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...