Jump to content

Script Filter Lag


Recommended Posts

I have a script filter that is running some applescript (osascript searching evernote).  If I just run it in the terminal, a long query takes about .71 sec where as a fast query takes .15 sec.  When I use alfred, it takes about 6 seconds to show results.  I'm not sure if it's because alfred is running it after every keypress, but that's my guess as to why it's taking so long.  Any other ideas?  Could there be a script filter option to only execute after finished typing?  



Link to comment
Share on other sites

You can also increase the speed by compiling the applescript (save it as a .scpt file in AppleScript Editor) and then run that instead. 

on run argv

set first_arg to the first item of argv -- get the first argument

-- Your script

end run
Link to comment
Share on other sites

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