Jump to content

Carlos-Sz

Member
  • Posts

    911
  • Joined

  • Last visited

  • Days Won

    69

Everything posted by Carlos-Sz

  1. @ Trauni Here it is. I’ll add a hotkey so you can also type a new note.
  2. Got it. I’ll fix it as soon as possible.
  3. I put something together here (restart applications so far) but I didn’t have much time for testing.
  4. FYI: Pedro Lobo’s Mail Actions workflow has something like this ready written in AppleScript.
  5. I started the code to create a new note in Evernote: New Note from Clipboard: selecting this will create a text note in Evernote with the Clipboard content (you can optionally type the note title) New Note from Text Selection: for example, you select a text in iWork that you want to add to Evernote. After selecting it, bring Alfred, type evnew keyword and select New Note from Text Selection (you can optionally type the note title). A new note will be created with the text selection. Type the Note: if you have a piece of information that you want to quickly save in Evernote just type something and click Type the Note item and a new note will be created in Evernote. In addition, if the top most app is Safari, Chrome or FireFox the URL will be also saved in the note. I’m still testing these features that’s why I didn’t talk about them yet.
  6. Thank you for your feedback. Great to hear. Search for content can slow down things a bit.
  7. And here is a workflow for CleanMyMac 2: Download Use the keyword uninstall then type the application name.
  8. Great. The workflow only access the internet when making the shortened URL. The Dropbox ID is a local procedure.
  9. Great. I’ll also make some tests. If everything is OK I’ll update the code so the user will set the Public folder (due unusual Dropbox installation, if it is even possible) and a way to reset the settings.
  10. 1. Try download this workflow 2. Install it 3. Select some files within Alfred 3. Bring File Actions Result: The downloaded workflow is not listed along with the ones installed before.
  11. I have uploaded a new version slowing the Dropbox ID checking a bit. Can you please try it? Here It works every time (from Alfred keyword and hotkey). Finally, the notification you got says something went wrong even before zipping files.
  12. I think I can help. Download AppZapper workflow here.
  13. After updating to 2.0.1 (173) File Action from workflows was not listed in File Actions. It happened in my desktop and notebook. In my desktop, I deleted a File Action from a workflow then add it back and the Default Actions list was back to normal. Other topic mentioning the issue here. Note: in my initial post I mentioned Default Actions list (Alfred Preferences) but I think this list does not list workflows file actions.
  14. It seems to be a bug. However, I was able to fix it by deleting a File Action in one of my workflows and then adding it again.
  15. Here is a version to test but first consider: The workflow assumes it is a normal Dropbox installation so the public path would be like "/Users/YourName/Dropbox/Public/". I can make it configurable later after our tests. The workflow will ask for the Dropbox Public folder ID There is no way to edit the ID right now (please type it carefully) Test redundant files first though the workflow does not delete or move the original files Shortened URL is a bit tricky because if the file is synching then it does not exist in Dropbox yet. I found out that some services checks if the file exists before making the URL. The service used in the workflow produced the best results. Download here. Note: hotkey, keyword and File Actions are ready to test.
  16. As soon as you fine tune the workflow post it in the Share your Workflows forum. A clean one, without our discussion here. Again, nice workflow!
  17. Nice workflow. What does MEM: mean in the subtitle? If memory usage it seems not properly converted. Can you add or translate it into MB?
  18. It seems you know a bit of scripting considering you have edited the workflow once. So, you can easily see what is going wrong: open the workflow double click the Script Filter module select all (command+a) and copy open AppleScript Editor paste it find the line with: set query to "{query}" replace "{query}" for something to search for, e.g. “fire" now run it and see the error it shows
  19. That's amazing. I'll surely play around with it. Nice Rating workflow!
  20. Take a look at my Zip Item(s) workflow. It works with files selected both in Finder and Alfred.
  21. I think I know why is stuck on Searching. It seems the workflow is not parsing the returned XML data for Alfred. If a song has “&” for example Alfred will not process it because it is not parsed. Here is a simple code to parse XML I did: property disallowedChars : "&'\"<>" on parseXML(sXML) set theNew to "" repeat with i from 1 to length of sXML if (character i of sXML) is in disallowedChars then if (character i of sXML) is in "&" then set theNew to theNew & "&" else if (character i of sXML) is in "'" then set theNew to theNew & "'" else if (character i of sXML) is in "\"" then set theNew to theNew & """ else if (character i of sXML) is in "<" then set theNew to theNew & "<" else if (character i of sXML) is in ">" then set theNew to theNew & ">" end if else set theNew to theNew & character i of sXML end if end repeat return theNew end parseXML Just an update about my post: I added the procedure above and added two lines (8 and 9 below) in your createitem procedure and things worked a lot better (even with more results): on createItem(uid, arg, title, subtitle, icon) -- recognize file paths for the icon if icon begins with homePath then set icon to POSIX path of icon end if set title to parseXML(title) set subtitle to parseXML(subtitle) return "<item uid='" & uid & "' arg='" & arg & "'> <title>" & title & "</title> <subtitle>" & subtitle & "</subtitle> <icon>" & icon & "</icon> </item>" end createItem
  22. I still have about 100 notes. Most of them vey short. Can you please make an intitle search in my workflow? Open Alfred window and type en intitle:your query Replace your query for something else of course. I’m saying that because my workflow is also searching notes content. @ All I have played around with Evernote and spotlight. Though I see it can be useful for some users the Evernote preview is very limited. It is just a screenshot of part of the note. For me it is barely usable. If I search for content the tiny screenshot can’t show anything that helps identify the note. But as soon as Evernote provides a command to handle preview I’ll surely add the feature. In the meantime, the workflow now always displays a first item that will show the results in Evernote just in case the note title isn’t enough: Download the new version here.
  23. @ all RIght now Evernote does not give too much commands to talk directly to it (in order to make scripts). The intention here is to make use of those commands. So this workflow may work for some users as it is (Evernote running, no preview…) though improvements may come of course. However, if you need spotlight approach there is a great workflow made by Florian. Check it here.
×
×
  • Create New...