Jump to content

jopemachine

Member
  • Posts

    37
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by jopemachine

  1. [23:08:51.148] ERROR: Searchio![Script Filter] Code 1: 🍺 23:08:51 workflow.go:304: --------- Searchio!/2.0.1 (AwGo/0.14.0) ---------- 23:08:51 search.go:127: loading search from /Users/igyubong/Library/Application Support/Alfred/Workflow Data/net.deanishe.alfred-searchio/searches/google-en.json ... 23:08:51 feedback.go:453: Sent 1 result(s) to Alfred 23:08:51 workflow.go:352: [ERROR] open /Users/igyubong/Library/Application Support/Alfred/Workflow Data/net.deanishe.alfred-searchio/searches/google-en.json: no such file or directory 23:08:51 workflow.go:380: ------------------- 487.492µs ------------------- [23:08:51.149] Searchio![Script Filter] { "variables": { "AW_SESSION_ID": "1591U496NSC2DXF0AIPDY700" }, "items": [ { "title": "open /Users/igyubong/Library/Application Support/Alfred/Workflow Data/net.deanishe.alfred-searchio/searches/google-en.json: no such file or directory", "valid": false, "icon": { "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns" } } ] Thank you for creating a great workflow. But when I try to any command, I get above error message. I have `~/Library/Application Support/Alfred 3/Workflow Data/net.deanishe.alfred-searchio` path, but empty directory. And I also have /Users/igyubong/Library/Application Support/Alfred/Workflow Data/net.deanishe.alfred-searchio which is empty. Did I skip some procedure?
  2. I think some image file has invalid characters for json (like double quotes). I resolved double quotes issue and uploaded it to 0.8.1 May I ask you to check it? I don't know if json has an invalid special symbol other than double quote, but if there is one, it will still cause the same error.
  3. Thanks for reporting a bug. Could you give me more hint by sending me some debug info? I think I need to look into your htmlCacheLog.json to resolve the issue. You can send the file to below email. (gravityc95@gmail.com)
  4. It seems that doesn't work. I've left my error log. (Error log of `ym next`) ERROR: Youtube Music Chrome Controls[Run NSAppleScript] { NSAppleScriptErrorAppName = "Google Chrome"; NSAppleScriptErrorBriefMessage = "AppleScript\Ub97c \Ud1b5\Ud55c \Uc790\Ubc14\Uc2a4\Ud06c\Ub9bd\Ud2b8 \Uc2e4\Ud589 \Uae30\Ub2a5\Uc774 \Uaebc\Uc838 \Uc788\Uc2b5\Ub2c8\Ub2e4. \Uc774 \Uae30\Ub2a5\Uc744 \Uc0ac\Uc6a9\Ud558\Ub3c4\Ub85d \Uc124\Uc815\Ud558\Ub824\Uba74 \Uba54\Ub274 \Ubc14\Uc5d0\Uc11c \Ubcf4\Uae30 > \Uac1c\Ubc1c\Uc790 > Apple Events\Uc758 \Uc790\Ubc14\Uc2a4\Ud06c\Ub9bd\Ud2b8 \Ud5c8\Uc6a9\Uc73c\Ub85c \Uc774\Ub3d9\Ud558\Uc138\Uc694. \Uc790\Uc138\Ud55c \Ub0b4\Uc6a9\Uc740 \Ub2e4\Uc74c \Ud398\Uc774\Uc9c0\Uc5d0\Uc11c \Ud655\Uc778\Ud558\Uc138\Uc694. https://support.google.com/chrome/?p=applescript"; NSAppleScriptErrorMessage = "Google Chrome got an error: AppleScript\Ub97c \Ud1b5\Ud55c \Uc790\Ubc14\Uc2a4\Ud06c\Ub9bd\Ud2b8 \Uc2e4\Ud589 \Uae30\Ub2a5\Uc774 \Uaebc\Uc838 \Uc788\Uc2b5\Ub2c8\Ub2e4. \Uc774 \Uae30\Ub2a5\Uc744 \Uc0ac\Uc6a9\Ud558\Ub3c4\Ub85d \Uc124\Uc815\Ud558\Ub824\Uba74 \Uba54\Ub274 \Ubc14\Uc5d0\Uc11c \Ubcf4\Uae30 > \Uac1c\Ubc1c\Uc790 > Apple Events\Uc758 \Uc790\Ubc14\Uc2a4\Ud06c\Ub9bd\Ud2b8 \Ud5c8\Uc6a9\Uc73c\Ub85c \Uc774\Ub3d9\Ud558\Uc138\Uc694. \Uc790\Uc138\Ud55c \Ub0b4\Uc6a9\Uc740 \Ub2e4\Uc74c \Ud398\Uc774\Uc9c0\Uc5d0\Uc11c \Ud655\Uc778\Ud558\Uc138\Uc694. https://support.google.com/chrome/?p=applescript"; NSAppleScriptErrorNumber = 12; NSAppleScriptErrorRange = "NSRange: {382, 84}"; }
  5. 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.
  6. 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.
  7. If you wanna just download workflow file (without going through npm), you can download it through packal. Note that you still need to install Node to use this package. The workflow file is a little heavy, so I don't upload it here. http://www.packal.org/workflow/alfred-evernote-workflow
  8. Hi everyone, I've made some simple workflow searching chatting room of Kakaotalk. You can download and try it on below repository. https://github.com/jopemachine/alfred-kakaotalk-workflow
  9. Hi everyone, Let me introduce evernote workflow that I use. I made this workflow for adding some features that I wanted at first, and I share this with you because I think it would be much better to use it together. You can check it on below repository including demo. Repo: https://github.com/jopemachine/alfred-evernote-workflow And as for how to install, please refer the README.md of above repository. Feature * Fast search using * Preview feature using caching. * You can change your search details. Prerequisite * Evernote Client on macOS (None App-store version) * Node JS How to use ### en Switch to Evernote App. ### en > authtoken { Argument } Argument: {`Your api key`} This command is required only for the initial authentication process. This command save the token value obtained from gettoken to a file. ### en > gettoken This command is required only for the initial authentication process. The command opens Chrome to the Evernote site. When you log in to the site and press the authentication button, `oauthToken` is printed in json format. Pass the value as a argument in the authoken command. ### en > help Open Github link to view README.md. ### en > sync Sync Evernote Client. ### en > savecache Alfred-evernote-workflow use html cache to enable note preview feature. This command save html caches of all of notes from your Evernote client. When the command is running, you are not able to run note searches with the `ens` command. In this case, the `ens` command displays the number of notes that are cached to show you progress. If caching is not done properly for some reason, you can use `en > clearcache` and this command to perform initial caching. After initial caching, the cache will be updated automatically. ### en > clearcache Delete all of your html caches. If you delete all the cache and use the `ens`, you are likely to be caught in the sdk's api call limit. ### en > clearlog Clean all command logs ### entodo Search only for notes that have check boxes. ### encl Adds the text from the clipboard to the Evernote as a new note. ### enclo Adds the text from the clipboard to the Evernote as a new note and Open the note. ### enc { Argument } Argument: {`note content`} Create note by text. ### enct Argument: {`note title to create`} Search tag name and create note by the selected tag and note content if you want. ### enu { Argument } Argument: {`url to search with`} If no argument exist, search for all notes with source URL. Search Notes by url. ### ens { Argument } Argument: {`content to search`} Search the Evernote's notes. If no argument exist, search for the most recent notes (may vary depending on options) To change the search option, see the topic *Options.* * #### *Shift key* + <kbd>Enter</kbd> You can invoke the Quicklook by pressing the shift key for the `ens` search results. Quicklook displays the note in html format. * #### *Fn key* + <kbd>Enter</kbd> You can view the source URL for that note by pressing the Fn key for the search results in theens. And you can open the source URL by chrome by entering the item. If the note does not contain a sourceURL, you will receive an error notification. ### enn { Argument } Argument: {`content to search`} Search the Evernote's notes in your Trash bin. Note that the enter action for this command is to open the cache of the note in the Chrome browser. (Not your Evernote client) ### ent { Argument } Argument: {`tag name`} Search Evernote's tag. You can filter notes by entering on that tag. If no argument exist, search for all tags. If you select the tag, the notes with the tag will be searched. You can search these notes just like the `ens` command. * #### *Command key* + <kbd>Enter</kbd> By pressing the command key and pressing the entry, you can open the window for notes with that tag. ### enr { Argument } Argument: {`content to search`} Search only for notes that have reminder. ### enb { Argument } Argument: {`notebook name`} Search notes by Notebook. If you select the notebook, the notes in that notebook will be searched. If no argument exist, search for all notebooks. You can search these notes again. ### enf { Argument } 1st Argument: {`file extension`} 2nd Argument: {`content to search`} Search for notes with attachments of a specific extension. Example: ``` // Search for pdf files with compiler in file name enf pdf compiler ``` ### enl Check your command usage log. By selecting the corresponding log, you can execute the command. The maximum number of logs to be stored can be specified in Options. This command displays the same command only once. enl supported commands : `ens`, `ent`, `enf`, `enr`, `enb`, `enu`, `noteopen`, `en > sync`, `entodo` ### enx { Argument } Argument: {`content to search`} Export the retrieved note to your Desktop path as html.
×
×
  • Create New...