Jump to content

Carlos-Sz

Member
  • Posts

    911
  • Joined

  • Last visited

  • Days Won

    69

Everything posted by Carlos-Sz

  1. OK. I made a workflow and tested it only with AppleScript Editor. Here is the code that worked: —-The save as dialog uses text as input and UNIX path as far as I can tell set filePath to POSIX path of q as text tell application "System Events" set theApplication to application processes whose frontmost is true set target to item 1 of theApplication set target to a reference to front window of target set target to a reference to front sheet of target delay 0.5 tell target to keystroke "g" using {command down, shift down} -- Activate goto field delay 0.5 tell target set value of text field 1 to filePath delay 0.5 key code 36 -- simulate pressing the Enter key end tell end tell I removed the “try” part of the code to better debug it… Your final code of course may add them back. Finally, you can write AppleScript directly using Language "/usr/bin/osascript”.
  2. 1. I think line 3 should be... set filePath to POSIX file q …without the of 2. Can you please give us a link to download and try the workflow?
  3. Evernote workflow 3.1 is out! See initial post for details and thank you all for your feedback!
  4. Version 2.1 is out NEW: the workflow will ask if you also want to use the shortened URL service for images. If you set to “No” then the regular Dropbox URL will be copied to the clipboard and you can easily use it also in a forum.
  5. There is a different approach for a note search (my workflow uses Evernote commands vs. spotlight) and how to add a new note may be different too (e.g. if you make a note or text selection while your Browser is the top most app the note will also include the URL). Anyway, maybe you should try both and see what fits better in you way of take notes.
  6. I’ll add it for sure. Thanks. Update: File Action added. Download it here.
  7. Markdown to BBCode What’s new? Up to 3 header levels (more than this is not visually relevant when translated to BBCode) Support for multiple links per paragraph Support for header + text style (e.g. bold) Markdow code span will be translated to BBCode text underline: enclose the word with a single backtick e.g. `backtick` Removed unecessary blank lines at the end of the text Support for code block by starting a line with tab (see below) Here is a code block. Start each line of it using a tab Download Download version 1.4 here. PS: post wrote with Byword and converted using Markdown to BBCode workflow
  8. It’s working here. Try to delete the workflow. Restart Alfred. Download and install the workflow again. I agree. Very nice approach.
  9. I didn’t know imgur until the request and it is a very interesting and easy to use image service.
  10. Upload to imgru 1.2 Goal Upload a selected Finder image file to imgru. Triggers Hotkey: select an image file in Finder, hit the hotkey and it will be uploaded and the link copied to the clipboard Keyword: select an image file in Finder, bring Alfred and type upimgur then hit return key and it will be uploaded and the link copied to the clipboard Keyword + option key: select an image file in Finder, bring Alfred, type upimgur, hold the Option key then hit return key and it will be uploaded, the link copied to the clipboard and the URL opened in the default Browser File Action: select an image file in Finder, hit the Alfred File Action hotkey (Cmd+Opt+\), select Upload with imgur Note Workflow requested by dviper48 here. Download version 1.2 (23 Mar 2013) here.
  11. Great to hear and thank you for your feedback. I’ll fix the description and make a new post for it.
  12. Overview The workflow converts a markdown text to a forum BBCode and copy it to the clipboard. Usage Select the text to be converted in your Markdown Editor (such as Byword). Bring Alfred and type the keyword mark then hit Return key. You can also use a hotkey instead of the keyword. Markdown Syntax Headers # Header Level 1 ## Header Level 2 ### Header Level 3 Font Styles *Italic* or _Italic_ **Bold** or __Bold__ ***Italic and Bold*** or ___Italic and Bold___ ~~Strike Through~~ ~~~Underline~~~ LinkMultiple links per line utilizing the following format: [Example](http://www.example.com) ImageMultiple images per line utilizing the following format: ![Example](http://www.example.com/example.png) Image LinkSingle image link (that points to an URL) per line utilizing the following format: [![Example](http://www.example.com/example.png)](http://www.example.com) Unsorted ListUp to 2 levels utilizing one asterisk then a space at the beginning for level 1 and a tab plus an asterisk and a space at the beginning for level 2: * item at level 1 * item at level 2 * another item at level 1 Numeric ListUp to 2 levels utilizing a number followed by a dot and a space at the beginning for level 1 and a tab plus a number followed by a dot and a space at the beginning for level 2: 1. item at level 1 1. item at level 2 2. second item at level 1 Code spanEnclose the words with back ticks e.g. `inline code` Unlike code block you may need to escape a markdown character using a backslash. Code block Type 3 back ticks in the first line alone and another 3 in the last line alone: ``` Code Line 1 Code Line 2 Code Line 3 ``` The workflow will ignore any Markdown syntax within a code block. There is no need to escape a character. Quote Just start a line with a greater-than sign followed by a space as seen below: > quoted text here The workflow also supports multiple lines in a quote. Just add two spaces at the end of the line (in the example below space is represented by "{space}"): > quoted text line 1{space}{space} > quoted text line 2 Horizontal ruleIn a line alone you may type one of the following options: --- - - - *** * * * ___ EscapingTo type a markdown character that is part of a syntax without being recognized as a markdown one type a backslash ("\") in front of it. A link (any kind) requires only a single backslash at the beginning of the link. Download Version: 2.0 Release Date: 04 Mar 2014 OSX 10.9.2 Download Now What's New Up to 2 levels in a simple list Up to 2 levels in a numeric list Support to an image that points to an URL Horizontal rule Strike Through Underline Quote, including multiple lines Improved code span or inline code Support to escaping Added keyword mark Added Help keyword mark? New icon
  13. There are so many great and inspiring workflows but I’d like to mention one of the first I start using: Mail Actions by Pedro Lobo
  14. Upload to imgru workflow Uploads a selected Finder image to imgru and get the URL to the clipboard (optionally open the image). You can trigger by using a hotkey or by using the keyword upimgru (hold option key to also open the file). Download it here.
  15. Thank you. Great to hear it is working now. Thank you for your feedback.
  16. I’m already making some tests. I should have a test version later today. Stay tuned.
  17. Hi Vero. I made some tests (locally, I’m no synching yet) in both my computers but it didn’t happen again. Can you please download this workflow* and see if it works (not only file action but also the workflow itself). I'm asking you this because I had to restart Alfred in both my computers in order to make it work. *workflow forum topic here. Thank you in advance.
  18. Please, quit Alfred then start it again (not only Alfred Preferences window, I mean Alfred itself). Now try the workflow again.
  19. Move to Dropbox 2.0 is out! - Path Finder support - bitty and gooli for shortened URL - step by step preferences (no need to edit workflow or scripts) - improved keyword - file action - and more... See initial post.
  20. For now the workflow will have: - bitly (that requires login and API key but you’ll have stats about your uploaded files) - gooli (that seems to be one of the fastest in my tests) - normal Dropbox URL In the future and if I can fit in AppleScript it is possible to add more services of course.
  21. Great to hear! A new version is coming soon with support for bitly (shortened URL) and Path Finder along with zero script or workflow editing to enter personal information such as bitly login/API key and Dropbox Public folder location. In addition, File Action and better keyword support. It should be ready soon since I’m finishing some tests.
  22. Yes, I think it is possible. I post an updated version as soon as possible.
×
×
  • Create New...