Jump to content

franzheidl

Member
  • Posts

    53
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by franzheidl

  1. Just released an Open with Visual Studio Code workflow to work with Microsoft's shiny new editor. Use keyword vscode to open the current Finder files/selection in Visual Studio Code or enter a path like vscode ~/Documents/myfile.txt to open myfile.txt ('~' will be expanded). You can also search for files and folder using vscode* [searchterm]. Also works as a file/folder action. Github: https://github.com/franzheidl/alfred-workflows Download: http://cl.ly/apWC
  2. Just added an option to copy the path(s) of the current document(s) or Finder item(s) as a properly encoded file url. Also changed the hfs option to use '-hfs' (incl. the leading hyphen), and updated the icons. GitHub: https://github.com/franzheidl/copy-paths-to-clipboard Download: http://cl.ly/YX1Q
  3. Just pushed an Open With Atom Workflow to be used with Github's new text editor (currently in beta): Use keyword atom to open the current Finder files/selection in Atom or enter a path like atom ~/Documents/myfile.txt to open myfile.txt ('~' will be expanded). Also works as a file/folder action. You can also search for files to open with atom* [filename]. Github: https://github.com/franzheidl/alfred-workflows Download: http://cl.ly/U8wv
  4. Just pushed an Open With Brackets Workflow: Use keyword brackets to open the current Finder files/selection in Emacs or enter a path like brackets ~/Documents/myfile.txt to open myfile.txt ('~' will be expanded). Also works as a file/folder action. You can also search for files to open with brackets* [filename]. github: https://github.com/franzheidl/alfred-workflows download: Open With Brackets
  5. Thanks to a Pull Request by github user MarchLiu there's now also an Open With Emacs workflow in my github repository at https://github.com/franzheidl/alfred-workflows. Use keyword emacs to open the current Finder files/selection in Emacs or enter a path like emacs ~/Documents/myfile.txt to open myfile.txt ('~' will be expanded). Also works as a file/folder action. You can also search for files to open with emacs* [filename]. github: https://github.com/franzheidl/alfred-workflows download: Open With Emacs
  6. @Januz, much appreciated. So what you're after is 1.) Copy path(s) –– by default POSIX and then 2.) Paste the path and optionally have it converted just before pasting it in? That should be possible, although to me that sounds a bit like an edge/corner case, I usually copy paths for a purpose and already know what format I need them to be. Anyway, the problem is that you either can simply use Cmd-V to paste – then you'd need an additional intermediate step to modify the contents of the clipboard, OR you'd need to use an additional keyword for converting and pasting. The first option doesn't sound too sensible to me, the second should be possible but is a bit of the reverse of what I wanted the workflow to be. To make that possible regardless of what application you want to paste in you'd need Applescript GUI scripting (à la "keystroke "V" using {command down}").
  7. @JolinM, not sure If I fully understand what you're trying to accomplish – POSIX is the default path format anyway? Also not sure why you're getting the newline behaviour (if it is what you're on about), if I run it standalone it works just fine here.
  8. Much appreciated, good to see someone liking Chocolat as much as I do
  9. Just updated the scriptfilter to work with paths containing non-ASCII/Unicode characters. Use quoted option '-q' if you're copying for Terminal, otherwise Terminal won't understand such a path Pull from github or use updated download link above.
  10. Workflow for Alfred 2 to copy the paths of your current files and Documents to the clipboard in a variety of formats: * POSIX or HFS paths * '~/'-shortened POSIX paths * quoted paths * comma- or newline-separated. Works as a scriptfilter that gives you feedback how your paths would be copied: All options (except newline-separation) are available as File Actions also: More details in the README on github. Download: http://cl.ly/YX1Q Github: https://github.com/franzheidl/copy-paths-to-clipboard
  11. Really glad to hear it's helpful to someone, thanks!
  12. Updated Workflow to also open files or folders in Chocolat if user entered a path beginning with '~/'. Use the updated download link above or pull from github.
  13. Updated Workflow to also open files or folders in Sublime Text 2 if user entered a path beginning with '~/'. Use the updated download link above or pull from github.
  14. Updated Workflow to also open files or folders in Textmate if user entered a path beginning with '~/'. Updated Download link above. Or pull from github.
  15. Updated workflow to use "mate" as keyword.
  16. Updated the workflow to use "choc" as keyword (equivalent to Chocolat's CL tool command).
  17. By popular demand I've just changed the keyword to "subl". Pull from github or use updated download link above.
  18. Can anyone confirm if retina-ready icon resources (xyz@2x.png) are actually being used/displayed on Retina displays? Just wondering for lack of any retina MB anywhere near me… Many thanks.
  19. New Tab should be fairly easy to do, if you're not afraid of (or generally opposed to) GUI scripting with AppleScript that is tell application "Terminal" activate tell application "System Events" to tell process "Terminal" to keystroke "t" using command down end tell Should work identically for iTerm as it uses the same shortcut for new Tab. I don't think there's another way since neither Terminal.app nor iTerm directly expose Tabs to AppleScript AFAIK.
  20. Sounded useful enough for me to give it a whirl. Currently on it and looking good so far. There's some other things I'd love to include with the next version of this workflow, so bear with me
  21. Shouldn't be too difficult I think. Will give this a go next week, I'm currently away without my machine. Do you imagine this more like a workflow of its own, an additional keyword/modifier to this one, or even as default behavior in case Finder is not the frontmost application?
  22. Updated that one also according to a pull request by dbingham to my Open With Sublime Text 2 Workflow. Use the updated download links above or pull from github: https://github.com/franzheidl/alfred-workflows
  23. Updated that one also according to a pull request by dbingham to my Open With Sublime Text 2 Workflow. Use the updated download links above or pull from github: https://github.com/franzheidl/alfred-workflows
  24. Just updated my Open With Sublime Text 2 Workflow (that was long hidden away here) by merging in a pull request from dbingham that improved stability and handling of multiple files. The workflow works either by keyword ("subl") on your currently selected Finder items or as a file/folder action. Download: http://cl.ly/PW75 Github: https://github.com/franzheidl/alfred-workflows
  25. Well spotted! This did slip through since it doesn't break the resulting behaviour, except for the double ampersands being piped through to the Terminal. Just fixed this, pull from https://github.com/franzheidl/alfred-workflows.git or use the updated download link: http://cl.ly/NjL6 (also updated the ldownload links in previous posts)
×
×
  • Create New...