mareoraft Posted December 17, 2013 Share Posted December 17, 2013 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
Andrew Posted December 17, 2013 Share Posted December 17, 2013 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
mareoraft Posted December 20, 2013 Author Share Posted December 20, 2013 Thanks! And apparently Alfred does not search there because when I conducted the file search on my computer I could not find the file. Anyways, really great software!! Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now