Jump to content

sphardy

Member
  • Posts

    84
  • Joined

  • Last visited

Reputation Activity

  1. Like
    sphardy got a reaction from arsenty in markdown to evernote service   
    Hi - I wanted to try to make at least one significant contribution to the beta, so here's a workflow that allows you to send selected markdown formatted text to Evernote via a hotkey.
     
    Not all my own work I'm sorry to say, but a flow I've wanted for a while and only investigated properly recently. (I spend a lot of time taking notes and writing up reports. Markdown support in Evernote would be ideal, but until then - Alfred comes to the rescue)
     
    It requires the installation of multimarkdown - available here: http://fletcherpenney.net/multimarkdown
    It reuses a script available here: http://nsuserview.kopischke.net/post/6223792409/i-can-has-some-markdown
     
     

     
    Evernote note title, notebook and tags can all be specified via markdown metadata. All other text is then imported to Evernote as HTML. 
     
    Workflow available to download here: http://d.pr/f/2pUe
     
    Updated: Corrected issue with non-escaped double quotes
  2. Like
    sphardy got a reaction from jdkram in markdown to evernote service   
    Hi - I wanted to try to make at least one significant contribution to the beta, so here's a workflow that allows you to send selected markdown formatted text to Evernote via a hotkey.
     
    Not all my own work I'm sorry to say, but a flow I've wanted for a while and only investigated properly recently. (I spend a lot of time taking notes and writing up reports. Markdown support in Evernote would be ideal, but until then - Alfred comes to the rescue)
     
    It requires the installation of multimarkdown - available here: http://fletcherpenney.net/multimarkdown
    It reuses a script available here: http://nsuserview.kopischke.net/post/6223792409/i-can-has-some-markdown
     
     

     
    Evernote note title, notebook and tags can all be specified via markdown metadata. All other text is then imported to Evernote as HTML. 
     
    Workflow available to download here: http://d.pr/f/2pUe
     
    Updated: Corrected issue with non-escaped double quotes
  3. Like
    sphardy reacted to ClintonStrong in Copy Files to Clipboard   
    This is a file action to copy one or more files to the clipboard, so you can paste them into another app. Sphardy requested this in the Beta Discussion forum, and I was also wanting a similar feature, so I went ahead and put this together.
     
    Updated Oct 26, 2013: Fix for Mavericks.
     
    Download
  4. Like
    sphardy got a reaction from ClintonStrong in Alfred Applescript Dictionary installed multiple times   
    ta da!!
     

     
    Seems to be similar issue that causes apps to be listed multiple times in the "Open with..." menu - fixed by:
    /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
  5. Like
    sphardy reacted to jdfwarrior in Browse specified folder in Alfred triggered by keyword   
    If I'm understanding correctly, yes it COULD be done.
     
    Using a keyword input, make that run execute a "Run AppleScript" action that would: tell application "Alfred 2" to search "<enter your path here>".
    That would kick Alfred back into browse mode of that folder. From there you could use the file/folder actions to open, reveal in Finder, etc.
     
    Does that makes sense?
  6. Like
    sphardy got a reaction from Andrew in Alfred Applescript Dictionary installed multiple times   
    ta da!!
     

     
    Seems to be similar issue that causes apps to be listed multiple times in the "Open with..." menu - fixed by:
    /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
  7. Like
    sphardy reacted to jdfwarrior in Alfred vs Global Hotkeys for switching frequently used apps   
    I use Opt+<num> to do several of mine. So you could do..
     
    Opt+1 = Sublime
    Opt+2 = Postbox
    Opt+3 = Chrome
    Opt+4 = Terminal
  8. Like
    sphardy reacted to Tyler Eich in Ellipsis in the middle of long file names in file navigation (e.g. Lorem ip…it amet)   
    In Finder, if a file name is longer than the column containing it, it is truncated with a '…' in the middle, so you can see the file extension and other important data found at the end of the name.

    Alfred puts the ellipsis at the end of the column, so I can't tell whether I'm looking at com.runningwithcrayons.Alfred or com.runningwithcrayons.Alfred-2

    Just a suggestion
  9. Like
    sphardy got a reaction from jarhead in markdown to evernote service   
    Hi - I wanted to try to make at least one significant contribution to the beta, so here's a workflow that allows you to send selected markdown formatted text to Evernote via a hotkey.
     
    Not all my own work I'm sorry to say, but a flow I've wanted for a while and only investigated properly recently. (I spend a lot of time taking notes and writing up reports. Markdown support in Evernote would be ideal, but until then - Alfred comes to the rescue)
     
    It requires the installation of multimarkdown - available here: http://fletcherpenney.net/multimarkdown
    It reuses a script available here: http://nsuserview.kopischke.net/post/6223792409/i-can-has-some-markdown
     
     

     
    Evernote note title, notebook and tags can all be specified via markdown metadata. All other text is then imported to Evernote as HTML. 
     
    Workflow available to download here: http://d.pr/f/2pUe
     
    Updated: Corrected issue with non-escaped double quotes
  10. Like
    sphardy reacted to jdfwarrior in Lock keyboard so I can clean it.   
    The 'Shutdown' keyword can do this
  11. Like
    sphardy reacted to jdfwarrior in Recent Documents   
    Recent Documents Workflow
     
    This workflow gives you quick access to documents launched through Alfred.
     
    Download
  12. Like
    sphardy got a reaction from CarlosNZ in Workflow Folders   
    In which case, being able to copy and paste objects between flows would be highly desirable
  13. Like
    sphardy reacted to canadaduane in Dropbox Short Links Workflow   
    Ok, I figured it out. The API library was asking for a "media" link in the case of direct URLs, and directories are not considered "media". 
     
    The latest at http://db.tt/A3eZqMAr should fix it.
     
    Duane
  14. Like
    sphardy reacted to Andrew in iTunes Mini Player & Volume Control   
    I've just replied in that thread - check out the new iTunes workflow action object, you can now assign global hotkeys to iTunes volume in a workflow
  15. Like
    sphardy reacted to Alfred J. Kwak in Controlling volume in iTunes mini player   
    I use the mini player all day to listen to music.
      Because I use apples AirPlay technology, it is not possible to control the volume over the media keys on my keyboard (this only changes the volume of the inside speakers).   It would be great if the mini player would get a volume control, so I don't have to open iTunes every time, to change it.   I have done a quick concept how I could imagine implementing it.
    Cause mini player only uses the enter key to navigate, it would be simple to use the left and right arrow keys to control the volume. Either just when you have selected the volume field, or everywhere.   What do you guys think about this idea?    
  16. Like
    sphardy got a reaction from Alfred J. Kwak in iTunes Mini Player & Volume Control   
    Have installed the b112 release which enables the iTunes mini player. Is there any means to control the iTunes volume within the mini player?
     
    I realise I can change my master volume via the keyboard media keys; I'm looking to be able to control iTunes volume separately.
  17. Like
    sphardy reacted to bevesce in Tagging files with openmeta [ideas?]   
    Tagging files with Alfred and Openmeta. 
     
    Download:
    https://github.com/bevesce/Tags/raw/master/Tags.alfredworkflow
     
    Source:
    https://github.com/bevesce/Tags
     
     
    Usage
     
    Tagging
    Find file(s) with Alfred, run *Select files to tag* file action, type tags. 
     
    Showing tags
    Find file, run *Show tags* file action. 
     
    Searching
    Search for files tagged with given tag using tags keyword. 
     
    Requirements
    - Openmeta cli is in /usr/bin
     
     

     
  18. Like
    sphardy reacted to canadaduane in Dropbox Short Links Workflow   
    Good call. I hadn't noticed that the underlying dropbox-api library didn't offer support for this. I fixed it and sent a pull request to the original library.
     
    In the meantime, the workflow has been updated and re-downloading the link above should give you a version that supports getting links for folders as well.
     
    Duane
  19. Like
    sphardy reacted to canadaduane in Dropbox Short Links Workflow   
    For any file in your Dropbox folder, this workflow shows the dropbox short link URL (e.g. http://db.tt/1LkWGVJF) and copies the link to the clipboard (Cmd+Shift+D):
     
    1. Select a file in Finder (must be a file within your Dropbox folder, e.g. ~/Dropbox/Photos/MyPhoto1.jpg)
    2. Press Command+Shift+D
    3. Authorize the workflow to use the Dropbox API (only if this is the first time)
    4. The shortened link pops up and is copied to the clipboard.
     
    It uses OAuth in the background to connect to Dropbox so you can authorize the Alfred 2 Workflow without storing passwords insecurely. For those who are interested, it starts a Ruby-based local web server using Sinatra which is then opened in the default browser. You can authorize the Dropbox app in your browser, and then the local server shuts itself down. Once authenticated, you don't need to do this step again.
     
    Once connected via OAuth, this workflow has the potential to do a lot of things with Dropbox, but currently only queries the dropbox service for shortened URLs. This method (using OAuth/dropbox) has the advantage that any file in your Dropbox folder can be shared, not just those in the "public" directory (a deprecated method of accessing dropbox files).
     
    The downloadable workflow itself is here (on dropbox, naturally):
     
    http://db.tt/1LkWGVJF http://db.tt/A3eZqMAr (new version, fixes direct linking to folders)   And the github repository is here: https://github.com/canadaduane/alfred2-dropbox   Duane
  20. Like
    sphardy got a reaction from CarlosNZ in DeskDrawer (Keep the clutter off your Desktop!) [Updated to 1.5]   
    Permissions!
     
    Checked out Time & Date code which was identical, but that function worked fine. So had to be a difference between setups for the 2 move scripts. The one in DeskDrawer was not executable so was never being run.
     
    Fixed the permissions and now all works 
     
    BTW: Suggest you add a message when testing for and finding an empty return (eg when pressing escape instead of selecting a folder); else you get a notification with no contents
  21. Like
    sphardy reacted to untidey in Multi-stage Keyboard Shortcuts   
    I would love to see Alfred learn about multi-stage keyboard shortcuts as seen in text editors like Sublime Text 2 and some keyboard shortcut utilities. Standard chordal shortcuts get heavily overloaded and difficult to remember fast. Multi-stage shortcuts allow you to define shortcuts as a series of discrete keypresses and overload them like so:
     
    Command-k, m (Press 'Command-k', release, press 'm')
    Command-k, n (Press 'Command-k', release, press 'n')
    Command-k, s, a (Press 'Command-k', release, press 's', release, press 'a') [Just as an example]
     
    Shortcuts like this are much easier to remember than increasingly arcane chordal shortcuts. To overload 'Command-k' using chordal shortcuts you have to do this:
     
    Command-k
    Command-Option-k
    Command-Control-k
    Command-Control-Option-Shift-k
    etc
  22. Like
    sphardy got a reaction from CarlosNZ in DeskDrawer (Keep the clutter off your Desktop!) [Updated to 1.5]   
    Hi Carl - great idea; I can see this becoming a part of my daily flow as I already do similar but manually using standard Alfred file actions. Good template too for how to create a pretty comprehensive flow too.
     
    My primary request would be the customisation of the DeskDrawer folder. The current location is not indexed by Alfred and so the contents won't show in regular searches - while I can update Alfred's search scope, I'd rather not have to, plus I could also host the folder via Dropbox to sync the data between machines.
     
    In the short term, I guess I just need to update the includes.sh file and  "deskdrawer="$CDWD/DeskDrawer" variable to manually change location?
     
    EDIT: Found that changing $deskdrawer works if I manually create the deskdrawer folder - the check for the folder existing, and creating if not, it needs to be updated. Otherwise seems to work fine
     
    Thanks again - great flow
  23. Like
    sphardy reacted to CarlosNZ in DeskDrawer (Keep the clutter off your Desktop!) [Updated to 1.5]   
    NOTE: This workflow has not been updated to work with Alfred 3.0 and above, and is known to cause issues. Use at your own risk.
     
    ----
     
    Keep all the miscellaneous crap off your Desktop by sweeping everything into a "DeskDrawer" folder, which is easily accessible from our good friend Alfred.
     
    Download DeskDrawer v1.5
    [updated 25 March 2014]
     
    Okay, the idea is not completely original — I've used apps like DesktopTidy and Unclutter to achieve this, but it's amazing how simple it is to replicate the basic concept with an Alfred workflow.
     

    This is your "DeskDrawer" in Alfred (keyword "drawer", default hotkey Shift-Cmd-D). From there you can:
    search the list (just start typing) open an item (select it) move it back to your Desktop (option-select) reveal it in DeskDrawer/Finder (cmd-select) browse/open it in Alfred (ctrl-select) for further action. Move item to the Trash (fn-select) [NEW in 1.3] There is a file action, "Move to DeskDrawer" (as well as the  keyword "move") for quickly flicking items into the Drawer. There is also the keyword "sweep" to scoop all your Desktop items into DeskDrawer in one hit. And finally, "deskrestore" will dump the contents of your DeskDrawer back on the Desktop in all its messy glory.
     
    You can also undo your last file/folder movement with the "unmove" keyword. [New in v1.5]
     
    And now you can protect certain items on your Desktop from being moved during a sweep, with either the File Action "Protect from DeskDrawer Sweep" or the keyword "protect". (Reverse this with the File Action "UnProtect from DeskDrawer Sweep" or keyword "unprotect".) [New in v1.5]
     
    And finally, for full documentation, use the keyword "deskdrawer help". [New in v1.5]
     
    I don't about the rest of you, but I like to keep my Desktop as clutter-free as possible (unlike my IRL desktop! ), so having this capability in Alfred is great.
     
    Let me know what you think, or any bugs you find.
     
    Features I'd still like to add:
    The ability to "protect" certain files from the "sweep" and "deskrestore" actions. [DONE in v1.5] Be able to specify the location of your DeskDrawer folder. [DONE in v1.2] Any requests?  
    UPDATE:  1 April 2013 - v1.3
    New action: "fn-select" item to Trash it. Consolidated and tidied up workflow setup panel. Support for Alleyoop auto-updater Minor cosmetic tweaks. UPDATE: 2 April 2013 - v1.4
    New keyword: "move" — moves selected items to Drawer (same as the file action, but you just enter it in Alfred's main window — some people seem to prefer this approach.) UPDATE: 25 March 2014 - v1.5
    New icon for DeskDrawer folder (to fit in with OS X custom folder look). DeskDrawer is now allowed on the Desktop itself. “Undo” function to reverse the last “Move” to DeskDrawer or Sweep. “Protect” specified Desktop items from being moved to the DeskDrawer during Sweeps. Fix for XML-illegal characters in filenames. More icons. Removed AlleyOop updater support. Default DeskDrawer location is now Home folder. Local documentation (keyword: deskdrawer help) Miscellaneous minor tweaks and fixes.
  24. Like
    sphardy got a reaction from Tyler Eich in Descriptive Name for Custom Call Actions in main Alfred window   
    Hello
     
    First post - have tried to ensure I'm not duplicating.
     
    I have created a workflow for a custom contacts action - specifically to use Skype to call phone numbers leveraging a script I already had. All works just fine however when I open a contact in Alfred I see the following options when highlighting a phone number:
     

     
    I'd very much like to be able to define the "Perform custom action" in some way so that it is clear what the action is which is how Alfred v1 worked as shown here:
     

     
    Ideally I'd like to be able to define a name/description for the custom action within contacts custom action settings. This could then also be used to address a similar issue when using URL passing as a custom action.
     
    eg if I use URL passing ( skype:{query}?call ) to achieve the same function, I see the following when highlighting a phone number:
     

     
    I'd rather be able to define the "Pass to URL scheme" text so that the action being taken is unambiguous. An additional "Description" field in the Custom Actions section of Contacts could be used in both cases
     
    Hope this makes sense
     
    /sphardy
  25. Like
    sphardy got a reaction from CarlosNZ in Descriptive Name for Custom Call Actions in main Alfred window   
    In playing with Custom Contact Actions could I also suggest the addition of supporting multiple custom actions per contact field. 
     
    Currently it appears only one custom action per field is possible - eg when I assign my Skype workflow to the phone field, the phone field is no longer an available option when defining a new custom action.
     
    Scenarios where this would be very useful:
     
    1. Option to select "skype" or "send to iphone" workflows when highlighting a phone number
    2. Selection of which email client to use when highlighting an email address (I use 2 email clients to separate business & private email)
     
    ///sphardy
×
×
  • Create New...