Jump to content

script filter query question


Recommended Posts

I am using php and making a script filter to run script to create an empty file on desktop

 

eg. ddd abcdef

 

it will create an empty file called 'abcdef.txt' on my desktop.

 

however, if I type 'abcdef' slowly, it will create 'ab.txt', 'abcde.txt', and 'abcdef.txt'  on my desktop.

 

how could I make sure it run script when I finish typing?

 

is it possible to do like 'ddd "abcdef"' to make sure it does not create 'ab.txt' etc?

 

 

Thanks for help in advanced.

 

 

Link to comment

I am using php and making a script filter to run script to create an empty file on desktop

 

eg. ddd abcdef

 

it will create an empty file called 'abcdef.txt' on my desktop.

 

however, if I type 'abcdef' slowly, it will create 'ab.txt', 'abcde.txt', and 'abcdef.txt'  on my desktop.

 

how could I make sure it run script when I finish typing?

 

is it possible to do like 'ddd "abcdef"' to make sure it does not create 'ab.txt' etc?

 

 

Thanks for help in advanced.

 

A script filter is more designed for live feedback into Alfred and is called as you type. You would be better using a keyword to script. Take a look at the Workflow Templates > Essentials > Keyword to Script :)

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...