Jump to content

FroZen_X

Member
  • Posts

    364
  • Joined

  • Last visited

  • Days Won

    17

Posts posted by FroZen_X

  1. I have several snippet and have found that the usage is not consistent, the main problem I've been seeing is while I continue typing after inserting a snippet keyword only part of the snippet is fully replaced.  For example my keyword is ;cc to insert the word Comcast.  If I'm typing quickly I'll see the following happen ; Comcast where the expansion of the snippet is leaving the semi colon from the keyword behind.

     

    MBP 2.8 i7 16GB ram

    OSX 10.10.5

    Alfred 3 with Power Pack v3 [652]

     

    Let me know what else I can provide you, I'm not seeing any errors in the Console for Alfred.

     

    I'm having the same issue, which is reported. It happens mostly in third party apps. I assume for you too.

    This "bug" doesn't or rarely happens now in OS X native apps.

    Other times it happens more frequently is when the machine is under heavy load.

  2. I deleted the Evernote work flow an reinstalled it a couple of time and at last it stopped asking for Evernote 2. So that fine

    Still can't get it to write titles on new notes though. Very strange and annoying flaw. 

     

    Have you tried copying the file like i wrote here?

     

    Here is a temporary fix.

    Go to: /Users/YOURUSERNAME/Library/Application Support/

     

    And there you paster the file of this zip: https://www.dropbox.com/s/xqchp9uzhfbvtg9/Evernote%20Workflow%20fix.zip?dl=0

     

    Its the old Alfred 2 file its asking for. Somehow the app doesn't update for some. It did for me in the first case and then never again lol

    I'll see if i find another solution, but this one works for now.

     

    Just install the normal 8.991 Workflow version which is on the first page of this thread and copy the file. Then there shoulndt be any problem.

     

    Else you can try the version from here(just keep in mind that the file is needed):

     

    My mistake, the q_workflow had still refers to Alfred 2. Either open it and replace "Alfred 2" with "Alfred 3" and "Alfred-2" with "Alfred-3" or download again from here: https://www.dropbox.com/s/1enxxqddx1t7w8g/Evernote.alfredworkflow?dl=0

     

    Copying the file is a small "hack" as the old en_pref.scpt and q_workflow.scpt have to be debugged again. I couldn't make it work therefore using this fix.

  3. Hello all,

     

    Just got my lovely v3 update of Alfred but I'm now unable to use Smartthings Workflow. I'm going to mimic what this person said because it's the same exact scenario.

     

    "I'm able to authenticate to smartthings and when I'm done I get a message that says:

    Success

    Stopping embedded HTTP server - none.

    After this I can't seem to access any of my devices via the "st" prefix. The device.txt file is also empty.

    I have a v2 hub and am using the latest version of Alfred."

     

    A quick look at Smartthings(https://github.com/PhysicalGraph/SmartThings-Alfred) shows me that you have to change the hardcoded "Alfred 2" paths and

    tell application etc. 

    In the workflow folder:

    alfred/core.py
    

    In the workflow itself(applescript top right):

    set temp to "{query}"
    set temp to do shell script "echo " & quoted form of temp & "| tr -d '\\r\\n' "
    
    if temp is "" then
    	tell application "Alfred 2" to search "st_login "
    else
    	do shell script "python get_endpoints.py"
    end if
    

    Change "Alfred 2" to "Alfred 3".

     

    That's just a quick look, you gotta check what else is there that relates to Alfred 2.

     

    Hope that helps :)

  4. Thanks for that, I've installed it, changed the refs to Alfred 3 and it still won't work properly. I type ENS and it says search Evernote, then I add a space and it says search Google.

     

    I turned on the debug and got this

     

     

    [2016-05-24 13:22:36][ERROR: input.scriptfilter] Code 1: 0:90: execution error: mkdir: /Users/Pat/Library/Application Support/Alfred 2/Workflow Data: No such file or directory (1)

     

    But I've no idea where to change that reference

     

    Cheers

     

    Here is a temporary fix.

    Go to: /Users/YOURUSERNAME/Library/Application Support/

     

    And there you paster the file of this zip: https://www.dropbox.com/s/xqchp9uzhfbvtg9/Evernote%20Workflow%20fix.zip?dl=0

     

    Its the old Alfred 2 file its asking for. Somehow the app doesn't update for some. It did for me in the first case and then never again lol

    I'll see if i find another solution, but this one works for now.

  5.  

    I couldn't find anything wrong in your version. So i checked what i could do here.

     

    I deleted q_workflow in the "workflows" folder:

     

    2zeba89.png

     

    Then i searched on my whole mac and deleted what i could find as "q_workflow" just to make sure nothing interferes and i can replicate the problem again.

    I checked if Alfred 2 was somewhere still...nothing.

    I deleted the Evernote Workflow and anything workflow wise that is related to Evernote. 

     

    After deleting anything that could have done with it and downloading version 8.991 from here again: http://www.alfredforum.com/topic/840-evernote-8991-evernote-606-support-search-create-append-set-reminders-all-within-alfred/page-1

     

    I end up with typing "ens" → Evernote opens → i reopen Alfred and can use it without any issues :/

  6. Is there an action for creating an alias of a file and placing it somewhere? I find that I need to place an alias often on the desktop. Would this be useful to users? Maybe it's already available, and I missed it?

     

    Sam

     

    I personally use Alfreds file search in combination with the "Quick File Search Mode", but i've made you a small workflow that let's you select

    a file/folder to create a alias for and then a folder where you want it to be saved to.

     

    Here you go(I assume you have Alfred 3): https://www.dropbox.com/s/g4clxs0pmy7p14l/Create%20Alias.alfredworkflow?dl=0

     

    33e5v5y.png

  7. Hi

     

    Thanks for the reply.

     

    I checked my workflows folder, there was one other q file in another workflow so I changed the refs in that too. I even searched for invisible files in case one was still there. 

     

    But the results are the same as before

     

    Cheers

     

    That's really weird, after changing "Alfred 2" and "Alfred-2" in en_pref.scpt and q_workflow.scpt it should start working again. It could also happen that it asks you where Alfred 2 is and you just click on Alfred 3.

    Could you export your current Evernote workflow and share it?

  8. Hi

     

    I deleted the workflow from Alfred, installed the one you reference above and tried again with the same result. Alfred 2 is no longer on my machine I had Alfred 3 remove it when I installed that. The debug message remains the same.

     

    Cheers

     

    That Error appears when "q_workflow" still has "Alfred 2" standing somewhere. It could also be that you have another q_workflow that is being used.

    Search in your workflow folder for "q_workflow". 

    Other than that keep in mind that you change also "en_pref.scpt" together with the "q_workflow.scpt".

     

    Conejo23 pointed that here out:

     

     

    Ok, I figured out how to fix it on my computer. Hopefully this will work for you guys. Now, first, I'm brand new to Alfred so I didn't have Alfred 2 on my computer. I installed Alfred 3 fresh, then bought the powerpack.

     

    I found the folder that had the script files. Two of them had references to Alfred 2 instead of Alfred 3. I changed those, saved the files, and now the workflow is working for me.

     

    Find the folder that has this workflow's script files. For me, that was in my user library/application support/alfred 3/alfred.alfredpreferences/workflows, then under that last folder there are folders with long text strings for names. I just searched for one of the script files to find the right one. Then in that script file you'll find two files that need modification: en_pref.scpt and q_workflow.scpt. Search for "Alfred" in those files and you should find two references in each to "Alfred 2". Change the '2' to '3' in each instance, save the file and you're done. At least that's what I did. 

     

    I had the same issues as the last few posters, and now it's working perfectly.   hope this helps those of you who also have this issue.  Many thanks to FroZen_X who helped me troubleshoot this and ultimately figure it out. I'd still be stuck without his or her's generous assistance.

     
  9. Thanks for that, I've installed it, changed the refs to Alfred 3 and it still won't work properly. I type ENS and it says search Evernote, then I add a space and it says search Google.

     

    I turned on the debug and got this

     

     

    [2016-05-24 13:22:36][ERROR: input.scriptfilter] Code 1: 0:90: execution error: mkdir: /Users/Pat/Library/Application Support/Alfred 2/Workflow Data: No such file or directory (1)

     

    But I've no idea where to change that reference

     

    Cheers

     

    My mistake, the q_workflow had still refers to Alfred 2. Either open it and replace "Alfred 2" with "Alfred 3" and "Alfred-2" with "Alfred-3" or download again from here: https://www.dropbox.com/s/1enxxqddx1t7w8g/Evernote.alfredworkflow?dl=0

  10. I found the prefs in my dropbox folder, I forgot I was syncing via Dropbox, but the q_workflow file is not there

     

    I posted a link to download the workflow here: 

     

    Yeah like i said before, you have to change every "Alfred 2" to ""Alfred 3" but i couldn't find the q_workflow.scpt that is most important. Readded and there you go  :)

     

    I uploaded a version that hopefully works for others here: https://www.dropbox.com/s/73dhaz0a0c353qi/Evernote.alfredworkflow?dl=0

    Gonna link to this thread in the other thread.

     
    The q_workflow is included there
  11. Does that actually make it work on Alfred 3? I figured that one would need a lot of work because it messes around with its own info.plist a lot.

    I haven't really got round to updating my workflows for Alfred 3 yet. I'm still digesting the new features and what I can do with them, and pondering how to alter the self-updating mechanism to prevent workflows running under Alfred 2 to update to Alfred-3-only versions.

     

    I just tested it, you also have to change the "workflow.py". There is another "Alfred 2" that has to be changed to "Alfred 3".

    I'm on the way atm, but ill post a pic later :)

     

     

    Thanks! I've installed it and updated ff.py, and I am working on figuring it out now. 

     

     

    To check the help use "fzyhelp". And like i said change "workflow.py" too, forgot that :/

  12. I've asked a couple of times in the forum how you give notes titles, but no answers. I guess it's just not possible. Now another problem rendered the work flow completely useless: after installing Alfred 3 a box comes up (twice!), every time I try to do something, asking me "where Alfred 2" is.

    It's really a pity - Evernote for Alfred would really have been a nice thing if it had worked.

     

    As you have Alfred 3 installed, it asks you where Alfred 2 is as it doesn't exist anymore as i assume. I had it installed before. Point it to Alfred 3, so that 

    your workflow works again.

  13. I was wondering if there's a way to do a search for files by file extension, possibly by using the Json Config utility in Alfred 3, kind of like the search in specific folders workflow that comes with Alfred 3 (I'd input the file extension, and only files of that type would show in the search).

     

    You can already do so, like this "*.pdf" will only show pdf files. Combine that with quick file search :)

    Other than that you can set file filters where you specify your search scope and your file types you want to search for.

  14. Thanks very much!   But no way to use the _path information_ as part of the search?  E.g. "Papers" or "Medieval"?

     

    Fuzzy matching only exists for File and Foldernames yet. Here is a workflow that works the way you want: http://www.alfredforum.com/topic/4042-fuzzy-folders/

     

    If you're under Alfred 3, you have to go to the workflow folder and open "ff.py", replace "Alfred 2" with "Alfred 3" to make it work.

     

    Hope that helps :)

  15. I managed to get pretty close by creating a workflow with keyword `pw` that runs this bash script:

    osascript -e 'open location "x-onepassword-helper://search/{query}"'

    You use it by typing something like "pw twitter". That opens the 1Password mini search and you can then press the right arrow key and hit enter to copy the password.

     

    In Alfred 3 you can easily add this applescript to it, to automate it completely:

    tell application "System Events" to tell process "1Password mini"
    	set frontmost to true
    	key code 124
    	delay 1
    	key code 36
    end tell
    

    The delay has been enough for me all the time :)

     

    Only problem i have is that things like "This is a test" don't work as it has spaces in it :/ no clue what 1password wants instead lol

  16. Hi there,

     

    Is there a way in Alfred to search using path information?  For example, if I want to find this file

    /Documents/Papers/MedievalBasketWeaving/NinnyNumnuts_2009.pdf

    I'd like to search using things like "Medieval Ninny" or "Basket 2009".

     

    This is how "goto anything" seems to work in Sublimetext, and I find it pretty useful.

     

    Thanks for any help and hope I didn't overlook something already in the forum

     

    - Jeff

     

    This doesn't work from what i know. What does work is for instance "Ninny*2009" which would provide you the file.

  17. thanks I knew the buffer but I find it not so useful 

    I have to press three times instead of one ( 1 alt+arrow up 2 tab 3 delete).

     

    Take a look at this thread: http://www.alfredforum.com/topic/7416-delete-file-with-keyword-delete-filename/

     

    You can use the trash workflow and set your download folder as search scope. That should be what you were looking for :)

    Else deanishe explains the way Alfred behaves and why

  18.  

     

     

    Oh, good point, I haven't saved the Trigger behaviour.  :unsure:

     

    Now the home folder (⇧⌘x) opens nearly instantly and opening my download folder (⇧⌘2) is also quicker but still a bit slower (still talking in fraction of a second).

     

     

    If you change your home folder keycombo to ⇧⌘2 is it slower? if not then there is nothing with Alfred. Might be that you have a lot in your downloads folder.

    You could try out opening different folders.

×
×
  • Create New...