Jump to content
jga23

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?  

 

Greg

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...