Jump to content

CarlosNZ

Member
  • Posts

    392
  • Joined

  • Last visited

  • Days Won

    11

Reputation Activity

  1. Like
    CarlosNZ reacted to gvantaass in EggTimer v2 [updated to 2.0 final]   
    I dunno if you want to update the Packal web page for Egg Tiimer 2, but (after a Nuke) it works on 10.10 which makes me a VERY happy camper. Thank yo for a pretty awesome workflow.
  2. Like
    CarlosNZ reacted to mescalito in Simple word count worlkflow   
    I've made a small modification to the workflow in order to allow an optional argument so that you get the world  count our of what you type in alfred:
     
    wc "HI" will count HI
     
    https://dl.dropboxusercontent.com/u/51604079/Word%20Count.alfredworkflow
  3. Like
    CarlosNZ reacted to rice.shawn in Packal Updater   
    Finally here: Update your workflows with the Packal Updater.
     
    There is a longer explanation on the Packal page, so just check that one out, but I'll give you a short version here.
     
    The updater will upgrade any workflows that you have downloaded from Packal when an upgrade becomes available. It cannot upgrade any workflows that you did not download from Packal.
     
    When you launch it the first time, head over to the settings and configure how you want it to work. If you write workflows, then put in the name that you most often use. If you have a Packal account, put that name in there too. If you do those two things, then the updater won't try to upgrade your workflows. If there are workflows that you do not want to update if, say, you've modified them, then Blacklist them in the appropriate place, and the updater will ignore those workflows. 
     
    If you're running Mavericks (or, theoretically, Yosemite), then you'll have access to a nifty little GUI. If you're not, then, well, you don't, but you can still configure and do everything from Alfred itself. See the animated screenshots below for a quick demo of both.
     
    Three other notes:
     
    (1) The Updater Workflow uses the Alfred Bundler, which has been receiving an overhaul. If you run into some trouble with it, then just go ahead and delete your bundler directory, and it will re-install itself. A newer version of the bundler should be coming out soon that will make some great fixes, but you needn't worry about that because the bundler will update itself.
     
    (2) The Updater can send information to Packal about what workflows you have installed, enabled, and downloaded from Packal. It'll try to do this once a week if you do not disable the feature. It is anonymous reporting in that there is no way for me to figure out who you are from the data. Here's the command that I use to generate your unique identifier:
    ioreg -rd1 -c IOPlatformExpertDevice | awk '/IOPlatformUUID/ { split($0, line, "\""); printf("%s\n", line[4]); }' If you just plug that into a terminal, then you'll probably see something akin to:
      .
     
    (3) The Updater keeps backups of the workflows you've updated, so, if anything breaks, just open the backups folder and double-click the most recent version of the workflow to restore.
     
    Anyway, go grab it from Packal, and start updating.
     
    (And, as always, I think I've removed all the bugs, but, as I release this into the wild, I expect to find more. Just report them here.)
     
    Lastly, the updater can update itself according to my tests. Cool, right?
     
    Demo — Packal "GUI"
     

     
     
    Demo — Packal Script Filter Interface
     

  4. Like
    CarlosNZ reacted to Carlos-Sz in List Hidden Files in Alfred [Version 2.0]   
    Version 2.0 is out:
    List hidden folders Show hidden folders content when pressing return key Show file/folder icon Back button to return to the initial folder Requires Alfred 2.3 or later  
     
    Download Now
  5. Like
    CarlosNZ reacted to rice.shawn in Packal: Workflow and Theme Repository   
    RSS feed for new workflows: http://www.packal.org/new-workflows.xml
  6. Like
    CarlosNZ reacted to Carlos-Sz in Recent Items 4.3 beta 2 for Alfred 4: Finder Recent Items   
    Recent Items 4.0 is out:
    Up to 2 custom categories (keyword recpref) Downloads category Keyword for each category Hotkey for each category Multiple files in Add to Favorites file action Changed Auto-path to Default Folder (keyworod df) Changed Just Now category to Now Added Help (keyword rechelp) Update to Alfred 2.3 features Several internal improvements Download
    Version 4.0 Release date: 10 May 2014 Requires Alfred 2.3 or later Download now
  7. Like
    CarlosNZ reacted to dfay in Case Converter (including Title Case) - now working on MacOS 12.3   
    Updated March 26, 2022 to use Python 3 for MacOS 12.3 
     
    Now featuring Universal Action triggers and hotkeys for the following five actions:
     
    Uppercase
    Lowercase
    Capitalize - capitalizes all words (e.g. Posting A New Topic In Share Your Workflows)
    Title Case - capitalizes word except for "the", "in", "of" etc. according to American English title conventions (e.g. Posting a New Topic in Share Your Workflows)
    Sentence Case - capitalizes only the first letter of the first word & converts the rest to lower case
     
    All of these are set to Copy to Clipboard and Paste by default.
     
    There's also a script filter cc which lets you view the query converted and select your choice (like the Code Case workflow).
     
    You can also connect a hot key directly to the cc script filter directly to view the output options without typing the cc command and pasting your text.
     

     
    Download:
     
    https://www.dropbox.com/s/8fydkkef1t699et/Case Converter 3.alfredworkflow?dl=0
     
    NB This is a new link and will download as a new workflow - you'll need to migrate any hotkeys and delete or disable the older version.
     
    Here's the old Python 2 version in case anyone wants it:
     
    https://www.dropbox.com/s/3k2lh21g5wnqrkp/Case Converter 2.alfredworkflow?dl=0
     
    The original version is described below and still available, if anyone prefers it.
     
    Workflow Version:
     
    This workflow converts the case of the text on the clipboard.
     
    http://dfay.fastmail.fm/alfred/Case%20Converter.alfredworkflow
     
    There are two workflows which display the following five options:
     
    Uppercase
    Lowercase
    Capitalize - capitalizes all words (e.g. Posting A New Topic In Share Your Workflows)
    Title Case - capitalizes word except for "the", "in", "of" etc. according to American English title conventions (e.g. Posting a New Topic in Share Your Workflows)
    Sentence Case - capitalizes only the first letter of the first word & converts the rest to lower case
     
    The keyword case will transform the text on the clipboard without pasting the result.
    The keyword casep will transform the text on the clipboard and paste (using Applescript System Events)
     
    Hotkey Version:
     
    Here is a version for use with hotkeys which will operate on the active selection in OS X and paste it with the converted text.  These all have a half second delay prior to pasting, which is necessary for Applescript to be able to paste.
     
    http://dfay.fastmail.fm/alfred/Case%20Hotkeys.alfredworkflow
     
    Notes and Revision History:
     
    These use the Title Case perl script found at https://raw.github.com/ap/titlecase/master/titlecase .
     
    If you manage academic citations with BibDesk, Zotero, Papers, Mendeley, etc., Title Case conversion is especially useful for cleaning up downloaded citations.
     
    Updated May 3, 2013 with nicer colored icon thanks to mjv ( http://www.alfredforum.com/user/4384-mjv/ )
     
    Updated February 5, 2014 to handle Sentence Case and to add a second keyword to paste after conversion.
     
    Updated May 20, 2014 with hotkeys
  8. Like
    CarlosNZ reacted to ramiro.araujo in Type (not paste) Clipboard Workflow   
    Type Clipboard Workflow for Alfred App
    Simple workflow to write the clipboard content in those situations where ⌘ → V doesn't work, typically in non Cocoa application dialogs. It has happened to me in older Flash versions, Intellij IDEA and a few others. You have to go and paste with right clicking the mouse or pad... Atrocious!!

    Setup
    After installing the workflow you have to setup the default keyboard shortcut, since Alfred does not auto-import keyboard shortcuts on workflows. I use ⇧⌃⌥⌘ → V, since I don't use it that often.
    Alternatively, you can trigger the typing with the typeclipboard keyword.

    Usage
    Just trigger the shortcut or keyword to type the clipboard content. There's a character cap of 500 characters, to avoid accidents, since the typing takes time depending on the length of the text. If you hit the cap, you'll hear a classic error sound.

    Installation
    Download the alfred-type-clipboard.alfredworkflow and import to Alfred 2.
     
    Source Code
    Clone or Fork the Workflow: https://github.com/ramiroaraujo/alfred-type-clipboard-workflow

    Changelog
    2014-02-04 - Released
  9. Like
    CarlosNZ reacted to rastapete in Dial with your iPhone from Alfred [updated to v1.41a]   
    Thanks Carlos. Manually creating the folder then running setup worked.
  10. Like
    CarlosNZ reacted to mwaterfall in Quick Ref - Quickly reference files (e.g. cheat sheets) using quick look   
    Alfred 2 workflow for quickly referencing files (e.g. cheat sheets, PDFs, web links, etc) using quick look.
     
    It loads things quicker than if they were searched and opened in Preview, and you can dismiss them easily with the space bar.
     
    Download
      View source on GitHub  
  11. Like
    CarlosNZ reacted to deanishe in Fuzzy Folders   
    Fuzzy search across folder subtrees.
     
    Update 10/09/2016:
    Added Alfred 3 support and removed Alfred 2 support. Added ability to self-update.  
    Update 10/04/2014:
    Added support for glob-style excludes. Unfortunately, these have to be added manually to the settings file at the moment. Update 05/04/2014:
    Now supports searching files as well as/instead of folders You can now adjust the minimum query length to improve search performance.

    This Workflow provides partial matching of path components, allowing you to drill down into your filesystem with a space-separated query. Each "word" of the query will be matched against the components of a directory or file's path, so a three-word query will only match at least three levels down from the specified root directory.

    You can use a File Action to intiate a fuzzy search on a folder or to assign a keyword to perform a fuzzy search on that folder.

    Download

    Get the Workflow from GitHub or Packal.

    Commands
    fuzzy — List your Fuzzy Folders ↩ — Edit Fuzzy Folder settings ⌘+↩ — Start a Fuzzy Folder search with the associated keyword ⌥+↩ — Delete the keyword–Fuzzy Folder combination fzyup — Recreate the Script Filters from your saved configuration (useful after an update) fzyhelp — Open the help file in your browser Settings

    You can specify these settings globally as defaults for all Fuzzy Folders or on a per-folder basis. For ad-hoc searches via the Fuzzy Search Here file action, the default settings always apply.

    Use keyword fuzzy to view and edit settings.
    Minimum query length — The last "word" of a query must be this long to trigger a search. Default is 1, but increase this number if the search is too slow. This is very often the case if you're searching a large subtree and/or also choose to search files. Search scope — Choose to search only for folders, files or both. Note: In most cases, searches including files are significantly slower. Consider increasing the minimum query length to speed up slow searches. File Actions
    Fuzzy Search Here — Fuzzy search this folder Add Fuzzy Folder — Set a keyword for this folder for faster fuzzy searching Search result actions
    ↩ — Open folder in Finder ⌘+↩ — Browse folder in Alfred Bugs, questions, feedback

    You can open an issue on GitHub, or post in this thread.

    Licensing, other stuff

    This Workflow is made available under the MIT Licence.

    The icon was made by Jono Hunt.

    It uses docopt and Alfred-Workflow.
  12. Like
    CarlosNZ reacted to paulw in Dial with your iPhone from Alfred [updated to v1.41a]   
    Thanks for this workflow!
     
    I had some trouble with it: When I pasted my API key into the window from "dial setup", it got registered as "Button returned: OK, apikey". I had to manually edit the api_key file to remove it. Do you think something changed in recent upgrades to Alfred or Mavericks? I'm on Alfred 2.2 and OS 10.9.2
  13. Like
    CarlosNZ reacted to hboon in Workflow to Capture Thoughts and Ideas to a Text File Without Disrupting Your Flow   
    I created this workflow recently and wrote about it at Alfred Workflow to Capture Thoughts and Ideas to a Text File Without Disrupting Your Flow.
     
    From the README:
     
    This workflow for Alfred captures what you type and appends it to a text file of your choice. It’s very useful to capture quickly any thoughts or tasks that surface while you’re working and don't want to be distracted.
     
    1. Double click the downloaded Capture to text.aflredworkflow file in Finder to install.
    2. Double click the Run Script action and replace the file name ~/Desktop/cap.txt in the Script with your preferred file path. The file will be automatically created when the workflow runs if it doesn't exist.
    3. Click Save.
     
    To use it, type capture, hit return and then any text and hit return again, and your input text will be appended to the text file. Go through the text file in batches when you are ready.
     
    Download link: http://motionobj.com/blog/alfred-workflow-to-capture-thoughts-and-ideas-to-a-text-file-without-disrupting-your-flow/
  14. Like
    CarlosNZ reacted to Carlos-Sz in List Hidden Files in Alfred [Version 2.0]   
    Overview

    List hidden files in Alfred from Finder current window or from a select folder in Alfred File Browser (File Action).

    The workflow does not change Finder files visibility. It will only list those hidden files in Alfred itself.

    If there isn't any Finder window then the workflow will list hidden files from the user home folder.



    Usage

    Keyword
    Open a Finder window and go to the folder you want Show Alfred and type the keyword hidden or use the hotkey You can filter by typing part of the filename Press Return key to open the file in the default text Editor or, if it is a folder, to see its content File Action
    Open Alfred File Browser Select a folder Select List Hidden Files action You can filter by typing part of the filename Press Return key to open the file in the default text Editor Download
    Release date: 13 May 2014 Made on OSX 10.9.2 Requires Alfred 2.3 or later Download Now What's new
    List hidden folders Show hidden folders content when pressing return key Show file/folder icon Back button to return to the initial folder Requires Alfred 2.3 or later
  15. Like
    CarlosNZ reacted to gammawert in Bananas   
    i've been trying a LOT of themes and always came back to the standard alfred theme.
    this is the first time a theme convinces me despite of the size of the font that i changed.
    thanks for sharing!
  16. Like
    CarlosNZ got a reaction from nm1 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.
  17. Like
    CarlosNZ got a reaction from sternennacht in Bananas   
    I've been trawling the net for popular colour palette sets and trying to build Alfred themes out of them. I thought this one turned out quite nice:
     

    Download: Bananas theme
  18. Like
    CarlosNZ reacted to palobo in Spotlight Comments With Ease   
    Workflow Description
     
    With this little workflow, you can select a bunch of files, trigger the workflow (hotkey or keyword) and type in the comments you’d like to add. The extension allows for a default action when encountering existing spotlight comments, as well as interactive mode and parameter options (more on that later).
     
     
    Installation and Setup
     
    Download and import. As for setup, there isn’t much to it. Simply define what your desired default action should be when encountering existing comments. Change property defaultOverwrite : "append"  accordingly. Possible options are append, replace and interactive.
     
     
    Extension Usage
     
    Triggering the extension and entering text without any of the following parameters will default the the behaviour discussed above, with the exception of delete of course.
    -d — Will remove any spotlight comment from the selected files;
    -a — Will append to existing comments;
    -r — Will replace existing comments;
    -i — Will function interactively allowing you to decide on a file by file basis. It will display the existing comment to facilitate your decision too
    There is no need to leave any space after the parameter but you can do so if you prefer (it will be stripped from the begging)
     
  19. Like
    CarlosNZ reacted to mate in Typeface Restrictions?   
    I'm hacking some Theme files by editing them using a text editor. I can change the font but it seems to be restricted to the typefaces that come with OSX. If I choose any of the typefaces listed here it works, but any others seem to cause the theme to display in Helvetica. Is this on purpose? Am I missing something? It doesn't appear to be due to mis-spelt typeface names or a space in the name.
  20. Like
    CarlosNZ reacted to 2pilvic in DeskDrawer (Keep the clutter off your Desktop!) [Updated to 1.5]   
    thank you, very good
  21. Like
    CarlosNZ reacted to paulw in Dial iPhone using Command-C.app   
    I started using the clipboard-sharing app Command-C and, since it has a url scheme, decided I'd like to use it and Alfred to send dial-able phone numbers to my iPhone.
     
    This version draws on CarlosNZ’s workflow for structure and adapts the ruby script format-us-phone.rb in the Alfred workflow "Funnel" by ctwise.
     
    The script does not filter out phone numbers with letters in them, because it turns out, the iPhone interprets letters in phone numbers correctly.
      Note that you'll have to edit the script at this line (near the bottom):   device = "Someone%27s%20iPhone"  
    and replace "Someone%27s%20iPhone" with the name of your device in double quotes (can be an iOS device or another Mac with Command-C running on it).
      Please feel free to improve on this workflow!   Download here.     Edits: 3/26/2014: updated to one single ruby script in the workflow, rather than calling a separate .rb file 3/25/2014: updated to avoid needing to use the clipboard
  22. Like
    CarlosNZ reacted to Andrew in Notification center word wrapping   
    Alfred actually has very little control over this, so it may just be a quirk of Notification Centre with the image to the right hand side.
     
    I'll move this to "noted" and if I get a moment, see if there is anything I can do to avoid this situation!
     
    Cheers,
    Andrew
  23. Like
    CarlosNZ reacted to CarlosNZ in Time Machine Exclusions [v1.0]   
    This workflow allows you to exclude specific files or folders from Time Machine backups. For regular, permanent exclusions, you can always use the Time Machine Preference Panel, but this is intended for specific, incidental items, or just convenience. For example, if you have a 2GB video file on your Desktop that you intend to delete in a few days, it doesn’t make sense to waste Time Machine space on that. So exclude it. Here’s how:
     
    Usage:
    The workflow will mark your excluded items with a Finder colour label to make it easy to identify them. So the first thing you must do before using it is specify a colour. (I didn’t want to set a default since people may be already using that colour for something.) Use the Alfred keyword timemachine set colour and select one of the colour labels from the list.

    Then, to start excluding files and folders, simply select the items you want to exclude and either:
    invoke the Alfred File Action “Exclude from Time Machine Backups” (can work on Finder or Alfred selections), or use the Alfred keyword exclude to act on the current Finder selection, or use the hotkey (initially Ctrl-Shift-X). You should then receive a notification and the items will be labelled your chosen colour:


    To undo exclusions, just reverse the operation with the keyword include, hotkey (Ctrl-Shift-I) or File Action “Include in Time Machine backups”.
     
    And that’s it. I hope you find the workflow useful.

    Under the Hood
    The workflow utilises the built-in command line program “tmutil”, which was introduced in OS X 10.8 Mountain Lion, which means the workflow won’t work in earlier OSes I’m afraid. For more technical info about tmutil, please see Apple's Developer Reference.

    A Note on Mavericks Tags
    This workflow uses legacy “simple” Finder colour labels rather than the more sophisticated tagging system introduced in OS X 10.9 Mavericks. Consequently, it only allows for one colour label per file/folder. If you have a more complex tagging system involving labelling items with more than one colour label simultaneously, I suggest you avoid using it for now. Hopefully I will update it at some point to work with the new system, but there’s quite a bit more complexity in that so I’ll need to do some more research. Please let me know if this is important to you and I’ll get onto it.
     
    Download Time Machine Exclusions v1.0 [20 March 2014]
  24. Like
    CarlosNZ got a reaction from arsenty in Time Machine Exclusions [v1.0]   
    This workflow allows you to exclude specific files or folders from Time Machine backups. For regular, permanent exclusions, you can always use the Time Machine Preference Panel, but this is intended for specific, incidental items, or just convenience. For example, if you have a 2GB video file on your Desktop that you intend to delete in a few days, it doesn’t make sense to waste Time Machine space on that. So exclude it. Here’s how:
     
    Usage:
    The workflow will mark your excluded items with a Finder colour label to make it easy to identify them. So the first thing you must do before using it is specify a colour. (I didn’t want to set a default since people may be already using that colour for something.) Use the Alfred keyword timemachine set colour and select one of the colour labels from the list.

    Then, to start excluding files and folders, simply select the items you want to exclude and either:
    invoke the Alfred File Action “Exclude from Time Machine Backups” (can work on Finder or Alfred selections), or use the Alfred keyword exclude to act on the current Finder selection, or use the hotkey (initially Ctrl-Shift-X). You should then receive a notification and the items will be labelled your chosen colour:


    To undo exclusions, just reverse the operation with the keyword include, hotkey (Ctrl-Shift-I) or File Action “Include in Time Machine backups”.
     
    And that’s it. I hope you find the workflow useful.

    Under the Hood
    The workflow utilises the built-in command line program “tmutil”, which was introduced in OS X 10.8 Mountain Lion, which means the workflow won’t work in earlier OSes I’m afraid. For more technical info about tmutil, please see Apple's Developer Reference.

    A Note on Mavericks Tags
    This workflow uses legacy “simple” Finder colour labels rather than the more sophisticated tagging system introduced in OS X 10.9 Mavericks. Consequently, it only allows for one colour label per file/folder. If you have a more complex tagging system involving labelling items with more than one colour label simultaneously, I suggest you avoid using it for now. Hopefully I will update it at some point to work with the new system, but there’s quite a bit more complexity in that so I’ll need to do some more research. Please let me know if this is important to you and I’ll get onto it.
     
    Download Time Machine Exclusions v1.0 [20 March 2014]
  25. Like
    CarlosNZ got a reaction from idea4IT in Pocket for Alfred   
    One question -- what order are the results showing up in? They don't seem to be either chronological or alphabetical.
×
×
  • Create New...