Jump to content

nitingoyal

Member
  • Posts

    41
  • Joined

  • Last visited

Reputation Activity

  1. Like
    nitingoyal got a reaction from cands in Search in MailMate from Alfred   
    Here is a simple workflow to search for messages in MailMate.
     

     
    Overview:
    It will show the result in MailMate.
     
    You can download the workflow from here.
  2. Like
    nitingoyal got a reaction from Andrew in Add support for mailmate email client   
    Benny from MailMate made the script for me. Works as expected.
    Path of the file should be "~/Library/Application Support/Alfred 2/Plugins/Email/MailMate.applescript"
    Here is the script:
    -- Send an email with an attachment on url_encode(theText) return do shell script "printf " & quoted form of theText & " | xxd -u -plain | sed 's/\\(..\\)/%\\1/g' | tr -d '\\n'" end url_encode on create_mailto(_subject, _body, _attachments, _email, _name) set _to to _email if (_name is not "") then set _to to _name & " <" & _email & ">" end if set _mailto to "mailto:?to=" & url_encode(_to) & "&subject=" & url_encode(_subject) & "&body=" & url_encode(_body) repeat with _attachment in _attachments set _filePath to POSIX path of _attachment set _mailto to _mailto & "&attachment-url=file://" & url_encode(_filePath) end repeat return _mailto end create_mailto on send_email_with_attachment(ename, eemail, esubject, ebody, eattachment) set _mailto to create_mailto(esubject, ebody, eattachment, eemail, ename) tell application "MailMate" open location _mailto with trust activate end tell end send_email_with_attachment or you can download the file from here.
  3. Like
    nitingoyal got a reaction from CarlosNZ in DeskDrawer (Keep the clutter off your Desktop!) [Updated to 1.5]   
    Great workflow @CarlosNZ. DeskDrawer works fine on my 10.8.2. installed via AlfPT
  4. Like
    nitingoyal 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.
  5. Like
    nitingoyal reacted to palobo in Mail Actions Workflow [Updated v0.7]   
    Introducing Mail Actions

     
    Go crazy minimal with Mail.app and still stay functional thanks to the power of Alfred 2 Workflows. See it in Action here

    Features
    Use Alfred to:
    Navigate Mailboxes from Alfred.
    Drill down to the Mailbox you want and action the result. Move/Copy selected emails with Alfred.
    Type a few keywords to choose the desired folder. ↩ to move, ⌥+↩ to copy. Optimisations
    In order to limit the overhead of always having to query and generate a list of all Mailboxes, the workflow store the information in a plist file that is updated every 7 days. The file is located at:
    ~/Library/Application Support/Alfred 2/Workflow Data/com.palobo.mailactions/mbCache.plist Installation
    Download and import or alternatively use AlfPT.

    Usage
    Keywords
    mm - Move the selected messages to the chosen folder; mm - With ⌥ as modifier copies the messages rather than moving mg - Go To the chosen folder. mgu - Show list of mailboxes with unread messages
    minfo - Choose to view either Info & Usage or Change Log. Tries to use Marked otherwise it will use your default app for .md files. Hotkeys
    ⇧⌘A - Toggle script to Move/Copy messages ⇧⌘Z - Toggle script to Go To Mailbox; ⇧⌘R - Mark every unread message in current mailbox as read; ⇧⌘D - Delete every message in current mailbox!! (USe with caution) ⌘U - Show list of mailboxes with unread messages  
    Todo
    Implement an action to update the cache on demand; Add history feature, showing list of last X used mailboxes for quick access; Filter list of mailboxes with unread mail; Integrate other useful workflows such as send to evernote/taskpaper etc.; Changelog
    23-04-2013FIXED: Code optimisation by Carlos-SZ. Results are now limited to 20 mailboxes at a time. XML Encoding has also been optimised (Initial work by Carlos-Sz, improved by Ursan Razvan). 04-02-2013FIXED: Unread count was getting stored with folder list and not being updated on each run;
    NEW: Hotkey to mark all messages (unread messages in current mailbox) as read;
    NEW: Hotkey to delete every message in current mailbox (useful for me anyway)
     
    NEW: Keyword/Hotkey to show list of mailboxes with unread messages
    03-02-2013Now shows unread count next to mailboxes that have unread emails. 29-01-2013Added Support for Local Mailboxes Added a new Action to view Info & Usage or Change Log 28-01-2013Fixed small encoding bug where special characters weren't encoded thus forming invalid XML. 27-01-2013Fixed wrong information in the Go To action (Thanks CarlosNZ); Uploaded to AlfPT (Forgot to do that initially)
×
×
  • Create New...