DHH Posted June 10, 2020 Share Posted June 10, 2020 On 2/1/2020 at 8:02 AM, TheLittleDuddas said: Can we get the append script fixed? Looks like it literally just needs the Alfred Application changed to Alfred 4 instead of 3. I can't get the script to open in my version of Script Debugger. I am having the same/similar issue when using "enn". The debugger error is: ERROR: Evernote[Script Filter] Code 1: 0:48: execution error: mkdir: /Users/xxx/Library/Application Support/Alfred 3/Workflow Data: No such file or directory (1) And my Alfred is installed here: /Users/xxx/Library/Application Support/Alfred Link to comment
finn-matti Posted July 4, 2020 Share Posted July 4, 2020 Is this still actively maintained? I can't seem to get fallback results to work. Evernote is configured as one of the fallback results providers, however when I press return to search for the term with evernote alfred's search box simply closes and nothing happens. Link to comment
goetzchr Posted July 4, 2020 Share Posted July 4, 2020 Hi all, I have also a problem using the workflow: [16:02:06.391] Logging Started... [16:02:12.148] Evernote[Script Filter] Queuing argument '' [16:02:12.590] Evernote[Script Filter] Script with argv '(null)' finished [16:02:12.594] ERROR: Evernote[Script Filter] Code 1: 0:90: execution error: mkdir: /Users/cgoetz/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory (1) any suggestions? Christian Link to comment
Carlos-Sz Posted July 8, 2020 Author Share Posted July 8, 2020 I can't tell for sure, but considering I got an error in another workflow maybe I'll need to update it due Alfred latest changes... However, I can't do it right now. finn-matti 1 Link to comment
Scarlett Chen Posted July 15, 2020 Share Posted July 15, 2020 On 2/4/2020 at 11:21 PM, TAYAD said: 我修改了一下v9b4,适用于Alfred 4 + 印象笔记(MAS版)的,你可以试试 I have modified the workflow for alfred 4 + yinxiang. 下载 download 链接: 百度盘 密码:90t0 Cool! Finally solved my problem! Thank you so much! Link to comment
cme4ever Posted August 3, 2020 Share Posted August 3, 2020 Hi.. the image clipboard can't be used to create a note. The clipboard text is perfectly working for me. I copied image in my clipboard. and run evernote command "enn" with clipboard image copy for create new note. but, nothing happened - no error messages, no note creation. Link to comment
Luddite Posted August 7, 2020 Share Posted August 7, 2020 I'm still getting around Alfred, but anyone tell me if it is possible to tweak this workflow so that I can search Evernote notes from Alfred browser, without having to open Evernote? Anyone, huge thanks to @Carlos-Sz for taking your time to craft this powerful workflow. Link to comment
jopemachine Posted August 7, 2020 Share Posted August 7, 2020 (edited) 7 hours ago, Luddite said: I'm still getting around Alfred, but anyone tell me if it is possible to tweak this workflow so that I can search Evernote notes from Alfred browser, without having to open Evernote? Anyone, huge thanks to @Carlos-Sz for taking your time to craft this powerful workflow. Well, I haven't been able to find the proper method to tweak this workflow. (With just Evernote's note link, quicklook cannot render html) So, I created new workflow to able to using preview feature.. I hope this helps. Edited August 7, 2020 by jopemachine Link to comment
jopemachine Posted August 7, 2020 Share Posted August 7, 2020 (edited) On 8/3/2020 at 10:45 AM, cme4ever said: Hi.. the image clipboard can't be used to create a note. The clipboard text is perfectly working for me. I copied image in my clipboard. and run evernote command "enn" with clipboard image copy for create new note. but, nothing happened - no error messages, no note creation. on run argv tell application "Evernote" activate -- delay considering time taken to turn on the Evernote delay 1.3 tell application "System Events" -- new note (Command + N) key code {55, 45} delay 0.6 -- press tab key key code 48 end tell end tell tell application "Alfred 4" -- show clipboard search "clipboard" tell application "System Events" tell process "Alfred" -- enter clipboard delay 0.05 key code 76 -- select last item delay 0.05 key code 125 -- press the last item delay 0.05 key code 76 end tell end tell end tell end run How about trying this? I just typed some script using system events. This script make a new note with copied files in clipboard. You can invoke above script with some keyword. (osascript <script file name>.scpt) I hope this helps. Edited September 7, 2020 by jopemachine Link to comment
max.r.rothman Posted September 6, 2020 Share Posted September 6, 2020 (edited) The quicklook feature appears to be broken. Typing "ens", highlighting a note, holding shift, then pressing enter causes the following error to be written to the debug console: [22:50:09.357] ERROR: Evernote[Run Script] 152:154: execution error: The variable ql is not defined. (-2753) EDIT: upon further investigation the error appears to be coming from the "⇧" path of the "ens" script filter, which is a run script action with the osascript: Quote run script "en_open.scpt" with parameters {"{query}"-ql} which is clearly a typo. I tried making the obvious changes (e.g. putting "-ql" inside the quotes) but I couldn't even find anything in "en_open.scpt" that looks like it'd do quicklook, though I'm not super familiar with applescript so I could be missing something. Edited September 7, 2020 by max.r.rothman Did more research, added more info Link to comment
cme4ever Posted September 12, 2020 Share Posted September 12, 2020 I kind of stuck with having right title in my evernote using this workflow. Can you do me a favor? what's wrong? enn #Important !Today :My Title This is my note body ==> this command made my note having "My Title This is my note body" for note title. I want to have only "My Title" for note title and the rest of them for evernote body. Evernote Note I wish to create with this work flow. Title: My Title Reminder: Today Tag: Important Note Body: This is my note body Link to comment
cme4ever Posted September 12, 2020 Share Posted September 12, 2020 On 8/8/2020 at 5:44 AM, jopemachine said: on run argv tell application "Evernote" activate -- delay considering time taken to turn on the Evernote delay 1.3 tell application "System Events" -- new note (Command + N) key code {55, 45} delay 0.6 -- press tab key key code 48 end tell end tell tell application "Alfred 4" -- show clipboard search "clipboard" tell application "System Events" tell process "Alfred" -- enter clipboard delay 0.05 key code 76 -- select last item delay 0.05 key code 125 -- press the last item delay 0.05 key code 76 end tell end tell end tell end run How about trying this? I just typed some script using system events. This script make a new note with copied files in clipboard. You can invoke above script with some keyword. (osascript <script file name>.scpt) I hope this helps. On 8/8/2020 at 5:44 AM, jopemachine said: on run argv tell application "Evernote" activate -- delay considering time taken to turn on the Evernote delay 1.3 tell application "System Events" -- new note (Command + N) key code {55, 45} delay 0.6 -- press tab key key code 48 end tell end tell tell application "Alfred 4" -- show clipboard search "clipboard" tell application "System Events" tell process "Alfred" -- enter clipboard delay 0.05 key code 76 -- select last item delay 0.05 key code 125 -- press the last item delay 0.05 key code 76 end tell end tell end tell end run How about trying this? I just typed some script using system events. This script make a new note with copied files in clipboard. You can invoke above script with some keyword. (osascript <script file name>.scpt) I hope this helps. I have run this script in terminal.. nothing getting better. Link to comment
cme4ever Posted September 12, 2020 Share Posted September 12, 2020 On 6/18/2019 at 6:36 PM, Jonah said: Hey Carlos, it seems the clipboard image can't be used to create a note. The clipboard text is fine though. Hi Jonah.. did you have any chance to work that out - clipboard image working.. Link to comment
theob Posted September 17, 2020 Share Posted September 17, 2020 Hi Folks! This is a wonderful workflow, thank you for sharing! I just have one question. When I open alfred and begin my search by typing "ens" or "ent" Evernote immediately opens and I have to open alfred a second time to repeat "ens/t" + my search query. Is this normal? I'd love to be able to open alfred type "ent + query" select my query and have evernote launch and open that note when I hit enter. Link to comment
Gregory Jones Posted October 7, 2020 Share Posted October 7, 2020 Evernote desktop app has been updated today, and I think this workflow doesn't find any search result anymore. Link to comment
Vero Posted October 7, 2020 Share Posted October 7, 2020 @Gregory Jones I use this workflow pretty much daily, and I've checked for updates and it still works on the latest version of Evernote (7.14) on Catalina. Could you please ensure that you're using Evernote from Evernote.com (not the Mac App Store version) and that you're using the Evernote Workflow 9 beta 4, from the very top of the first post in this thread? If you're still having issues, please pop up the debugger and give more details as to what error messages you're seeing? https://www.alfredapp.com/help/workflows/advanced/debugger/ Let me know how you get on Link to comment
ifihlshfhsfgje Posted October 7, 2020 Share Posted October 7, 2020 2 hours ago, Vero said: @Gregory Jones I use this workflow pretty much daily, and I've checked for updates and it still works on the latest version of Evernote (7.14) on Catalina. Could you please ensure that you're using Evernote from Evernote.com (not the Mac App Store version) and that you're using the Evernote Workflow 9 beta 4, from the very top of the first post in this thread? If you're still having issues, please pop up the debugger and give more details as to what error messages you're seeing? https://www.alfredapp.com/help/workflows/advanced/debugger/ Let me know how you get on Evernote 10 was released earlier today. Its moved over to use Electron, so it wouldn't surprise me if earlier workflows don't work with it. Link to comment
finn-matti Posted October 8, 2020 Share Posted October 8, 2020 My understanding is that Evernote 10 has atm no applescript capabilities. In other words the workflow won't work with this version. However they also released a legacy version which seems to be working with this workflow and can be installed alongside Evernote Version 10. Link to comment
Gregory Jones Posted October 8, 2020 Share Posted October 8, 2020 14 hours ago, ifihlshfhsfgje said: Evernote 10 was released earlier today. Its moved over to use Electron, so it wouldn't surprise me if earlier workflows don't work with it. Yes, I agree with that. They released v10. @Vero Link to comment
Vero Posted October 8, 2020 Share Posted October 8, 2020 @finn-matti @Gregory Jones @ifihlshfhsfgje I'm truly sorry to hear that they've switched to Electron for future development. I'm not sure how receptive they are to feedback and feature suggestions, but if there's no support for working with external input at this stage (via AppleScript or otherwise), I would encourage you to make your voices heard either in their forums or by email. Thanks for bringing this up, and fingers crossed they listen to their community. Link to comment
Gregory Jones Posted October 8, 2020 Share Posted October 8, 2020 16 minutes ago, Vero said: @finn-matti @Gregory Jones @ifihlshfhsfgje I'm truly sorry to hear that they've switched to Electron for future development. I'm not sure how receptive they are to feedback and feature suggestions, but if there's no support for working with external input at this stage (via AppleScript or otherwise), I would encourage you to make your voices heard either in their forums or by email. Thanks for bringing this up, and fingers crossed they listen to their community. In this case you should reconsider to put Evernote workflow to your workflows page. Link to comment
Vero Posted October 8, 2020 Share Posted October 8, 2020 @Gregory Jones We found out a few hours ago that Evernote is changing, and I'll be attempting to get in touch with them to find out more, so please hold your horses. Cheers, Vero Link to comment
ifihlshfhsfgje Posted October 8, 2020 Share Posted October 8, 2020 The reasons for moving over to Electron are, to be fair, pretty sound from a corporate strategic point of view, but there are major downsides for users in the short-term. Personally I doubt we'll see Applescipt again. I think their preference is for everyone to use their various online routes of getting stuff into Evernote, which is how their web clipper and Outlook integrations work. Whether this would open the door to future Alfred workflows I have no idea. Link to comment
finn-matti Posted October 8, 2020 Share Posted October 8, 2020 1 hour ago, ifihlshfhsfgje said: Personally I doubt we'll see Applescipt again. Maybe there is hope: Quote But please be aware that there are a handful of features—such as AppleScript, import folders, and the ability to edit note creation dates—that are not yet available. "not yet". From the announcement in evernote's blog. Link to comment
Vero Posted October 8, 2020 Share Posted October 8, 2020 Just now, finn-matti said: "not yet". From the announcement in evernote's blog. Indeed, the fact that they specifically single out AppleScript as one of the features they're conscious users will be looking for gives me at least some hope. I've contacted Evernote (through standard channels, we don't have any special contacts there), so for those who love this workflow and would like to continue using it with future iterations of Evernote, make yourself heard too 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