Jump to content

Carlos-Sz

Member
  • Posts

    911
  • Joined

  • Last visited

  • Days Won

    69

Everything posted by Carlos-Sz

  1. That’s not easy… I would display what I can get faster and let a first menu item to lead the user to get more… As I said before we may have to avoid taking over Alfred. @ Shawn “... rewritten Evernote on top of Evernote.”
  2. I quit Dropbox to update it and forgot to run it again… It’s online now. Sorry.
  3. The question that popped in my mind when I was making a progress bar (xCode app) to show a workflow progress was: if I really need all that OSX interface then maybe (I said maybe) I should make an application instead of a workflow… Anyway, I’m still thinking about all those external options.
  4. Thank you for finding the bug. It’s fixed. Link. Why Applescript? Maybe because it was the first language I played with when I started using a Mac.
  5. Alfred 4 Read about the workflow below. Here is an update for Alfred 4: DOWNLOAD NOTE: Right now the workflow does not support URLs with "#" in it. Overview Pinboard workflow is a front end for Pinboard that allows you: search filter by tags add public bookmarks add private bookmarks set a new bookmark as To Read delete a bookmark get the selected text as the bookmark description (see Syntax) interact with: Safari, Google Chrome, Google Chrome Canary, Chromium, Webkit and Firefox First Run Before running the workflow you need to set your Pinboard API Token: To get it go to your Pinboard account and copy the API in Settings>Password. To enter it open Alfred Preferences>Workflows then select Pinboard then, finally, click in Configure Workflow and Variables (as seen below): Usage If you need help show Alfred and type the keyword phelp Search Search will always look for URL, title, description and tags. Basic search show Alfred and type the keyword ps type your query e.g. ps apple Filtering by tags show Alfred and type the keyword ps type a hash sign and select a tag from the list (autocomplete) e.g. ps #tag1 #tag2 : after the colon type your query e.g. ps #tag1 #tag2 :apple Actions return key: open the bookmark option key: delete the bookmark (you may need to manually reload the local cache) Add Public, Private and To Read Bookmarks The workflow will list always two options: Add Public Bookmark to Pinboard Add Private Bookmark to Pinboard Holding Command key will add it as an unread bookmark. Note: make sure your Browser is the front most window then use the keyword pa Note: Firefox may need that you reload the page. Anyway, the workflow always show the URL so you can check if it is right or not. Last Used The workflow also saves the last command (Last Used item) so you can easily replicate. And with a hotkey you can add a bookmark even without any interaction at all. Syntax You can optionally add tags and a custom description. To add tags simply type a hash sign and select it from the list (autocomplete) e.g. pa #tag1 #tag2 : After the colon, as seen above, you can optionally type the bookmark description e.g. pa #tag1 #tag2 :great workflow And in order to get the selected text as the bookmark description type enclosed brackets after the colon e.g. pa [] or pa #tag1 #tag2 :[] To add just a description just type it after the keyword e.g. pa great workflow Hotkeys Search, Add and Last Used have also a hotkey that you can set in Alfred Preferences. Local Bookmark Cache In order to make things a bit faster, the workflow caches all your Pinboard bookmarks and tags. However, due even Pinboard API limitations the workflow will not, for now at least, update the cache automatically. However, if your cache is more than one day older the workflow will let you know. Anyway, you can use the keyword preload to manually update the local cache. Finally, the workflow has an external trigger so you can update the local cache from other application or script. Just use the code below: tell application "Alfred 3" run trigger "reload" in workflow "com.sztoltz.pinboard" with argument "" end tell Download Version 1.5 for Alfred 3 Release date: 08 Jul 2016 Requires Alfred 3 macOS 10.11.5 Download Now What’s New in Version 1.5 (08 Jul 2016)? - Fixed the add new bookmark bug What’s New in Version 1.4 (27 Jun 2016)? - Moved workflow setting to Alfred Preferences - Updated Help (keyword phelp) - NOTE: you have to enter your Pinboard API token again What’s New in Version 1.3 (08 Jun 2016)? - Alfred 3 support What’s New in Version 1.2 (05 Oct 2014)? - Yosemite support What’s New in Version 1.1 (29 May 2014)? - Fixed a description parsing bug thanks to Vítor
  6. Here is a new build that should be close to a final release regarding the Template support. In resume: - the workflow supports templates saved in any notebook - the workflow supports templates saved in a notebook named Template or Templates - if you have such special notebook to store templates then you can optionally indicate in which notebook the new note should be created. To do so, go to Evernote app and add the notebook name after the template title following one of the ways below: Template Title [notebook name here] Template Title (notebook name here) Template Title notebook:notebook name here Template Title @notebook name here Template Title (notebook:notebook name here) Template Title [notebook:notebook name here] - you can now set a hotkey so the workflow will create a new note based on your last used template without any interaction at all - please, read about advanced templates features here Download Now
  7. It does nothing because Satimage392.pkg is from an unidentified developer. You have to right click the file then press option key in order to enable the installation. @ smarg19: maybe you should take a look of the workflow I did in this topic (yet to be released in this forum).
  8. I have just tried and it work find with the current build that you can download here. Note, however: change the template title to Teaching (id_Teaching) Please read details about templates advanced features here. Finally, here is what you have to type in Alfred: ennt Teaching (id_Teaching)|Math|Book|Numbers OK? PS: nice template!
  9. I agree. I try to let things as simple as possible. But, in this workflow an external trigger would be just an option as much as support to Cron. And i don’t want to manually add an external trigger in this workflow after each update.
  10. Yes, it is a very, very special setup but an external trigger would be just another workflow feature that can fit in other setups as well. In fact, any external trigger in any workflow is just a blank paper: the usage is up to the user.
  11. You can also add an External Trigger attached to a reload script as an option to reload. I use IFTTT + Dropbox + Hazel + External trigger to update my Pinboard cache in another workflow. Anyway, I’ll try yours ASAP. By the way, why not an Add to Pinboard function?
  12. Please, try this build. The keyword enn should indicate whether the clipboard content is text or an image. If it finds and image then it will be attached to the note. Append should also work with an image from the clipboard. Please, try this build. keyword ennt for templates added a special Help for templates the ID is completely optional if you want to use ennt % added Last Used Template menu item read more about templates features here
  13. After clicking Edit click on Use Full Editor
  14. The enn % is just a shortcut so you can easily find a template but you don’t have to use it. But if you’d like to use it then you have to do this: - use a notebook named Template or Templates and store your templates there (the ID can indicate the notebook e.g. Template Title (id_notebook name), otherwise the new note will be saved in the default notebook) OR - add an ID to your templates no matter in which notebook they are e.g. Template Title (id_something) Right now, the template will be used to create the new note, meaning: - the new note will have the same template content (though you can create a template with placeholders and fill it directly in Alfred) - the new note will have the same template title - the new note will have the template tags - the new note will be created in the same notebook that the template is unless you have a notebook named Template or Templates then the notebook will be: the default one or the indicated in the template title using the ID e.g. Template Title (id_notebook name) From what I read that’s what a template is all about. A pre-filled note so you can easily replicate it. Maybe I should make a keyword for templates only e.g. ennt to make the new feature streamlined.
  15. Pashua is interesting. It can provide that OSX interface much like a xCode app that we can code. But I’m not sure if they fit the overall Alfred experience. We move the user from Alfred UI to a common OSX UI. This transition that makes me think if this path is the right one.
  16. It is possible indeed. As soon as I have a working build I’ll let you know.
  17. I know you know that. I was kind of thinking out loud. I still have to play with external trigger a bit more. Nice example btw. However, there should be a way to show progress but not taking over Alfred app. In my workflow, the progress is show only if the keyword is typed but it would be nice that once typed I could update the window without reload it or taking over Alfred app. I hope I was clear.
  18. I never thought about Case #2 but Case #1, specially a progress bar, I did. I made an iTunes Playlist to Folder workflow (with mp3 conversion as an option) that can take a lot of time to be completed. Right now the workflow will update its status in the background and every time the workflow is started the user will see the current progress instead of the options to run the workflow (the workflow knows it is running and thus will give the current progress). The progress and all using a plist file. Alfred “search” command does not update itself even if it is visible. If Alfred updates itself when visible then things could be different for a progress and even for a drill-down alike menus. Things would be dynamic. I even made a small xCode application to display the progress but it kind of breaks the Alfred experience somehow. I ended up making a stand alone application to copy some iTunes playlists to a folder (in my case, a SD Card for my car). Anyway, maybe some more advanced features would be nice to consider in a future version of Alfred.
  19. Here is a example on how to set a comment to the selected track: tell application id "com.apple.iTunes" -- iTunes.app set comment of item 1 of selection to "5" end tell
  20. Open Alfred Preferences. Click the Features tab at top bar of the preferences. Now click Default Results at left side bar.
  21. New workflow build (template): template id changed to: (id_some custom name here) enn and a single % sign will bring a list of templates (just a list) that have the id format above: enn % you can use {clipboard} in a template to get the clipboard content you can use {selection} in a template to get the text selection Download Evernote 8.82
  22. Right now the delimiter is the pipe: | The pipe is used in the note template in a numeric order. If you need, for example, two fields then the note template should have a |1 and a |2 somewhere in the template. When using Alfred you have to know the template title (an unique name) then you can write this: enn template name |field one |field two or without space: enn template name|field one|field two I have just tested the workflow in one template. Send me yours if you can't make it work.
  23. So far I have added 3 ways to work with a template: Usage 1 - Simple Show Alfred Type the keyword enn Highlight New Note from Template and hit return key Select the template from the list A new empty note window will be displayed Usage 2 - Intermediate Show Alfred Type the keyword enn Type the note template title (or a part of it enough to be found. See id suggestion below) Highlight New Note from Template and hit return key A new empty note window will be displayed Usage 3 - Advanced This is to really automate the process. The first step is to create a special template as seen below: The template note title can be anything but if you optionally add an id (as seen above) the workflow will create a new note with the same template title but without the id. This way it will be easier to see what is the template and what is the note created based on it. You can use the id approach in Usage 2 too. Note that the id is like the one above e.g.: (id:cts) In addition to a different title the template can optionally have placeholders so you can fill a note directly from Alfred. Here is an example: enn id:cts |Carlos |000-000 |World Cup Ticket The placeholder |1 will be replaced by Carlos; the |2 by 000-000 and the |3 by World Cup Ticket. I hope I was clear... Download Evernote 8.81
×
×
  • Create New...