Jump to content

twinpeaks

Member
  • Posts

    171
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    twinpeaks reacted to _mk_ in OmniFocus Task Actions [Updated to 3.1]   
    OmniFocus Task Actions Alfred 2 Workflow
     
    Master your OmniFocus tasks from Alfred
     
    Features
     

     
     
    Use Alfred to:
    Search for tasks Search for folders Search for projects Search for contexts Search for perspectives View tasks of a folder View tasks of a project View tasks of a context View tasks of a perspective View Inbox tasks View tasks completed today Act on your tasks:Check/Uncheck Flag/Un-flag Change Project Change context Defer start/due date Append a note Open in OmniFocus Installation
     
    Download and import into Alfred 2.
     
    Usage
     
    Keywords
     
    .of - Show list of available commands  
    Manage your folders
    .offf [part of folder name] - Search for folders ENTER - Show available tasks of selected folder CMD+ENTER - Focus folder in OmniFocus .oftf [folder name] - Show available tasks of folder ENTER - Show task details CMD+ENTER - Focus task in OmniFocus  
    Manage your projects
    .offp [part of project name] - Search for projects ENTER - Show available tasks of selected project CMD+ENTER - Focus project in OmniFocus .oftp [project name] - Show available tasks of project ENTER - Show task details CMD+ENTER - Focus task in OmniFocus  
    Manage your perspectives
    ​.offv [part of perspective name] - search for perspectives ENTER - Show available tasks of selected perspective CMD+ENTER - Open perspective in OmniFocus .oftv [perpective name] - Show tasks of perspective ENTER - Show task details CMD+ENTER - Focus task in OmniFocus  
    ​Manage your contexts
    .offc [part of context name] - Search for contexts ENTER - Show available tasks of selected context CMD+ENTER - Focus context in OmniFocus .oftc [context name] - Show tasks of context ENTER - Show task details CMD+ENTER - Focus task in OmniFocus  
    ​Manage your tasks
     
    .offt [part of task name] - Search for tasks ENTER - Show details of selected task .ofti - Show tasks in Inbox ENTER - Show details of selected task .ofdt - Show tasks completed today ENTER - Show details of selected task  
    Act on your tasks
     
     

     
     
    Settings
    !oftheme - Switch between dark and light theme  
    Hotkeys
    ​SHIFT+CTRL+I - Show tasks in Inbox SHIFT+CTRL+D - Show tasks done today SHIFT+CTRL+T - Search for task SHIFT+CTRL+P - Search for project SHIFT+CTRL+C - Search for context SHIFT+CTRL+V - Search for perspective SHIFT+CTRL+F - Search for folder  
    Changelog
    Version 3.1 (2013-12-26)Fixed "Tasks done today" showing wrong tasks new feature "Search tasks" to find tasks by part of their names Version 3.0 (2013-06-06)complete re-write of the workflow to make it easier to maintain and more reliable workflow now uses a single script filter instead of 8 streamlined scripts and removed duplicate code Version 2.4 (2013-04-23)search for folders show tasks in folder use CMD to focus project, context, folder, perspective in OmniFocus instead of showing the tasks bugfixes Version 2.3 (2013-04-20)fix no results when searching for german umlauts (and maybe other accented characters Version 2.21 (2013-04-20)Bugfixes Version 2.2 (2013-04-20)Bugfixes Hotkey support new task actions:add/append note (thanks to uscmeche) change project change context Version 2.1 (2013-04-18)search for perspectives in context, project and perspective search all contexts/projects/perspectives are shown if no search string is entered the flagged status of a task is visible in all task result views the database is queries instead of the project metadata to find projects to improve performance task details link to project and context view task's start and due date can be deferred from task details view Version 2.0 (2013-04-12)show inbox tasks show tasks completed today new task detail view with all task actions unflag and uncheck tasks support for a dark and light icon theme new icons Version 1.3 (2013-04-09)actions are prefixed with a dot to move workflow actions to top of search results in Alfred search for contexts show available tasks of a context project search is now case insensitive new icons for contexts/projects task state icons:transparent: normal task orange: due soon red: overdue bugfix: due dates did not show up correctly if a start date was set for a task Version 1.2.1 (2013-04-07)bugfix: tasks did not open in OF if it was not already visible in the current OF viewtasks open in a new OF window now and focus the containing project Version 1.2 (2013-04-07)search for projects show available tasks of a project Version 1.1 (2013-04-04)show start date, due date and context as task subtext added Alleyoop support Version 1.0 (2013-04-03)initial release Plans
    ignore case when searching for projects search tasks by context search tasks by perspective + context search for contexts search for perspectives open tasks in OF in new window rather than using the foremost one query tasks by perspective from database and not from OF window add tasks to OF (not sure about this one as there are already awesome workflows available ) show inbox tasks
  2. Like
    twinpeaks got a reaction from Domenic in Display and calculate with current date and time   
    Whatever PHP error it gives just export that timezone in the 'date' script filter, just place above the one line of code... like so:
    export TZ="America/New_York" ruby date.rb "{query}"
  3. Like
    twinpeaks reacted to Carlos-Sz in Rename 4.0 beta 2 for Alfred 3: Batch Rename files or folders (supports Regular Expression and EXIF date)   
    RIght now it will record everything but there are two things I’m considering: limit to 50 entries and/or a Favorite system.
     
    By the way, I’m already testing Alfred File Action.
  4. Like
    twinpeaks reacted to surrealroad in Reminders   
    This creates a new reminder in Reminders.app
    Download the latest version, for Alfred v3+ and macOS 10.12+
    For older versions, go here.
    Usage
    To use, just type r <some text> into Alfred.
    For example, r check out some of Alfred's other workflows will create a new reminder called "check out some of Alfred's other workflows".
    You can also include times and dates in the text and have Alfred set a reminder for that particular time.
    r this will capture the current application and turn it into a reminder.
    r help will show some built-in examples.

    Dates
    To be reminded at a specific date/time, simply type a date into the command, for example:
    r today release the hamsters into the wild r tomorrow bring about financial ruin upon my enemies r in 5 minutes drop everything r in 2 hours laugh out loud r on 24/12/13 forget everything I know about things in movies r on 12 June 15 come up with some interesting ideas r on 31-12-99 23:22 panic about the millennium bug r at 2pm wait for nothing in particular r next thursday at 15.30 ask some difficult questions
    Priority
    To set the priority of the reminder, either use exclamation marks right at the start or end of the command (! for low priority, !! for medium priority, !!! for high priority), or type the priority right at the end of the command (these can also be abbreviated, for example mp or p lo). For example:
    r !!! in 2 weeks an important meeting r thursday have a banana medium priority r decide what to have for lunch !lo r make a turkey sandwich p3 Lists
    To choose a list to use on a per-reminder basis, type in <list name> list right at the end of the command, for example r Get Santa outfit !2 in Christmas list. If a matching list can't be found, you won't be able to action the command.
    In all other cases, the default Reminders list will be used (typically the first one). If you prefer, you can edit the defaultList variable within the workflow's Arg and Vars node (note that you'll have to edit this each time you upgrade the workflow however).
    Apps
    Get reminded about the app you're using, for example the selected file in Finder, or the current tab in Chrome or Safari.
    To create a reminder about the active app, simply type r this. Or keep typing to set a date, priority or a custom title, for example r this drop some sick beats on Friday !!!.
    The following apps are currently supported:
    Adobe Acrobat (Pro/DX) Chromium Contacts Finder FoldingText Google Chrome Google Chrome Canary Mail Mailplane 3 Microsoft PowerPoint Microsoft Word Safari TextEdit TextMate Vienna WebKit Apps can be added on request. Just raise an issue with the app you use. As long as it's freely available and has AppleScript support, it can be added.
    Getting help
    r help will display the above examples
    All sorts of combinations are possible!
    Configuration
    If you want to change the default reminder list, edit the variables component at the top of the workflow, otherwise it will just use the first one (unless you use "in Y list" at the end).
    External Trigger
    To call the workflow as an external trigger, use applescript such as
    tell application "Alfred 3" to run trigger "remind" in workflow "com.surrealroad.alfred-reminder" with argument "something tomorrow at 5pm"  
     
    Changelog
    v74 (Thursday, 3 August 2017) – Fixed an issue where impartial queries did not get parsed (thanks Nibblesh!)
    v73 (Friday, 21 July 2017) - Added support for Mailplane 3 (thanks devguydavid!), ensure dates are always in the future (thanks saeedmahani!), added external trigger
    v72 (Monday, 6 March 2017) – Quit reminders if needed when complete
    v71 (Saturday, 4 March 2017) – Added built-in help
    v70 (Friday, 3 March 2017) – Added OneUpdater
    v69 (Tuesday, 3 January 2017) – Added support for different lists
    v68 (Friday, 9 December 2016) – Added remaining app handlers, escaped paths
    v67 (Thursday, 8 December 2016) – Added support for app-secific reminders
    v66 (Thursday, 8 December 2016) - Added support for priorities
    v65 (Thursday, 8 December 2016) – Fixed reminders app hanging temporarily after creating a new reminder
    v64 (Wednesday, 7 December 2016) – Rewritten from the ground up in JavaScript for Automation. Now requires Alfred v3+, MacOS Sierra+.
    NEW: Enhanced date/time natural language parsing. Never worry about the correct syntax again!
    NEW: Better messaging about what will happen when actioning the item.
    FIXED: (Hopefully) improved performance.
    Note: there are still several features that have not been carried across to this version. As such, this should be considered a beta version.
    Monday, 24 October 2016 – Add support for Microsoft Word, Adobe Acrobat Pro, OneNote, Powerpoint (Thanks to catgsmith!)
    Friday, 3 June 2016 – Compatbility for users who did not previously have Alfred v2 installed
    Wednesday, 28 October 2015 - attempted fix for reminders not quitting on OS <10.9
    Tuesday, 27 October 2015 - fix for reminders not closing after adding a new reminder
    Thursday, 15 October 2015 – compatibility for OS 10.11 El Capitan (and hopefully future releases)
    Wednesday, 21 January 2015 – added pattern “r in {x} days at {time} to {something}” 
    Thursday, 30 October 2014 – days can now be abbreviated to 3 or more characters (e.g. “tod”, “tomo”, “thurs”, etc.), minutes can be abbreviated to “min” or “mins”, hours can be abbreviated to “hr”; the priority of the reminder can now be specified by “ !” at the end of the query, “ !1”,“ !2”,“ !3” each with increasing priorities
    Wednesday, 22 October 2014 – fixed cache process errors on OS 10.10, workaround for apple bug #18734006 on OS 10.10
    Tuesday, 21 October 2014 – addressed some internal errors (which should also improve performance a little), notifications should now be working on OS 10.10, fixed Mail integration on OS 10.10, Mail integration now takes the most recent message if multiple messages (or a conversation) are selected
    Saturday, 26 July 2014 – Disable showing reminders in OS 10.10 (Yosemite)
    Thursday, 9 January 2014 – Fixed Finder links in OS 10.9
    Saturday, 23 November 2013 – Disable display of existing reminders under OS 10.9
    Friday, 22 November 2013 – Workflow will now display a message if the command is not valid
    Saturday, 2 November 2013 – Fixed an issue that would cause the workflow to crash the first few times it was run; fixed an issue that would prevent update checking to work correctly
    Friday, 1 November 2013 – Fixed an issue where caching reminders would cause update checking to fail
    Wednesday, 23 October 2013 – Increased timeout on OS 10.9, and allowed reminders to be retrieved from the cache while it's running; times specified without am/pm are now assumed to be in 24hour format; corrected an issue where 12 o'clock times were calculated incorrectly; you can now use "noon" and "midnight" to specify time
    Tuesday, 22 October 2013 – Prevent cache processes overlapping; recreate damaged cache file if needed; workaround for OS 10.9 GM2 plist bug
    Wednesday, 9 October 2013 – Added support for Google Chrome Canary; added plain text formats of applescripts; fix for cache process failing for new users
    Monday, 7 October 2013 – Added profiling to rtest; "r" with no arguments is now the same as "r all"
    Friday, 4 October 2013 – Compatbility with OS 10.9 Mavericks GM
    Wednesday, 18 September 2013 – Fix for non-gregorian date format
    Tuesday, 17 September 2013 – Updated q_workflow module to latest version
    Wednesday, 10 July 2013 - Added support for OmniFocus 2, TextMate 2 and FoldingText
    Thursday, 18 April 2013 – Fixed recognition of 10/11/12am/pm times
    Tuesday, 16 April 2013 -- Added support for WebKit Nightly. Monday, 15 April 2013 – Added "r in x days y hours", "r in x hours y minutes", "r today/tomorrow/weekday at time to x" patterns Thursday, 11 April 2013 – Added support for OmniFocus, Vienna, reminder from address book now adds a link to the contact Wednesday, 10 April 2013 – Fix for -609 error (thanks, stevef!) Tuesday, 9 April 2013 – Added "r refresh" keyword to refresh list ("r all" will no longer refresh the list); added "rshow", which will only show options for existing reminders, "radd", which will only show options for adding new reminders; added "rtest" which runs a set of tests to check for potential problems; fixed an issue that would cause workflow to crash (thanks, erist!) Monday, 8 April 2013 – Better compatibility for editing library scripts on other systems; it's now possible to delete reminders by holding down control; fixed a rare issue where the workflow might incorrectly report a new version is available; iconography tweak; added "overdue" keyword; added support for TextMate and TextEdit; allow "r in 1 minute/hour/day" Sunday, 7 April 2013 – Don't mark reminder as complete with option held down; properly escape illegal characters in query; added support for Finder and Chromium Saturday, 6 April 2013 – Added "r this" which captures data from the current application and turns it into a reminder; support for Google Chrome, Safari, and Mail; fixed a regression; support for contacts/address book; added icons from the icon factory; "r all" now refreshes the cache Friday, 5 April 2013 – Show "r all" in help; don't close reminders if its been moved to the foreground; all keywords can now be used to filter displayed reminders; changed the cache duration to 2 hours; subtitle for existing reminders shows more information where possible Thursday, 4 April 2013 – Performance improvements; hold option to view the selected reminder in Reminders.app Wednesday, 3 April 2013 – Fix for "in list" pattern breaking up text; added "r help" examples; don't prompt to create reminder with "all" keyword; checks for newer versions of the workflow Tuesday, 2 April 2013 – If reminders.app is closed, it will stay closed when using this workflow Sunday, 31 March 2013 – Added pattern "r Wednesday something" Wednesday, 27 March 2013 – Renamed workflow to "Reminders"; Use application id instead of name, Alfred now shows existing reminders in his list (selecting one will mark it as complete); keyword is now optional Tuesday, 26 March 2013 – Now sets specified date as the reminder date, rather than due date; added pattern "r something in Y list" Wednesday, 20 March 2013 – You can now use the pattern "r at 1.30 to something"; Alfred will tell you what's going to happen before you press enter; split off code to library file Tuesday, 19 March 2013 – You can now use the pattern "r in X minutes/hours/days something" Sunday, 17 March 2013 – You can now specify a date for the reminder. See the examples above. Acknowledgements
    Date parsing is done via chrono.js
    Uses icons from the Flurry collection by David Lanham / The Icon Factory
    Updates via OneUpdater
     
    Disclaimer
    This workflow is provided as-is, use it at your own risk. I can't take any responsibility for anything bad that happens as a result of using it, including, but not limited to, loss of data, loss of sanity, spontaneous human combustion.
     
    Feedback
    By far the best way to give me feedback is to submit an issue on GitHub. Alternatively, just reply to this post.
  5. Like
    twinpeaks reacted to altryne in Pocket workflow with oAuth login   
    Does this work for anyone at all?
    i've tested it a lot with different users on different macs, and it seemed to work, but when I went through the logs guys here who it didn't work for, I saw bugs I couldn't replicate (or understand)
     
    So, does this code work for anybody exept me and all my 4 macs and 2 users? 
    This will greatly save me some time debugging/rewriting if I know that I'm the only one this works for
  6. Like
    twinpeaks reacted to ClintonStrong in QuickCalc [Updated Apr 17]   
    An alternative calculator for Alfred 2, supporting custom functions and variables, automatic parentheses matching, and percentages. It also supports k, m, and b (or thousand, million, and billion) as suffixes on a number.

    It's essentially a wrapper around bc with a few extras added in.

    Installation

    Simply download the workflow and open the file. You'll need to have the Powerpack to install workflows.
    Default functions

    I've tried to add support for most of the functions from Alfred's advanced calculator.

    Supported functions: sin, cos, tan, log, log2, ln, exp, abs, sqrt, asin, acos, atan, sinh, cosh,tanh, asinh, acosh, atanh, ceil, floor, round, trunc, rint, near, dtor, rtod, pow, logx, mod, min, max.

    Most of these should be similar to the implementation of Alfred's advanced calculator, but there are a few additions:
    pow(x, y) can be used to raise x to the power of y, without the integer limitations of the ^ operator in bc. logx(base, x) lets you get the log of a number with a defined base (log calculates with a base of 10 and log2 with a base of 2). mod(x, y) performs the modulo operation. dtor(d) and rtod® converts between degrees and radians (this is part of Alfred's calculator, but I'm documenting them here since googling them doesn't turn up useful results). Defining custom functions and variables

    After using the workflow at least once, you can find the custom functions/variables file at "~/Library/Application Support/Alfred 2/Workflow Data/com.clintonstrong.QuickCalc/custom.txt"

    Here's an example custom.txt file:
    define f2c(q) { return (q - 32) / 1.8}define c2f(q) { return 1.8 * q + 32}tax = 8.25%vat = 20% In this case, I just defined some functions to convert between celsius and fahrenheit, and set up some variables to use in calculations. It uses the syntax of GNU bc.

    Known bugs and limitations

    When using functions that take multiple arguments, use both a comma and a space to separate the arugments. This is necessary since commas and spaces can be used as thousands separators. For example, use min(5, 10) instead of min(5,10).

    Because percent signs % are used for percentages, you'll need to use the mod function for modulo. For example: mod(10, 3)evaluates to 1.

    Due to limitations with bc, the exponentiation operator (^ or **) doesn't allow numbers to be raised to the power of a float (a number with digits after the decimal place). To get around this, you can use the pow function. For example, pow(2, 2.5) evaluates to 5.6568.

    Percentages don't work as expected within functions. They still get converted (by dividing by 100), but it doesn't work correctly with addition and subtraction (100 + 10% evaluates to 100.10 rather than 110). Percentages should still work fine outside of functions.

    The workflow currently doesn't have support for detecting locales. It expects a period . to be used as a decimal point, with commas, underscores, or spaces as optional thousands separators.

    More info
    bc OS X Manual Page bc programming language on Wikipedia phodd's collection of functions, some of which are used here.  
    Changelog
     
    Apr 17, 2013: Added 'x' for multiplication. Bugfixes. Fix for Ruby 2.0.0/Mavericks.
  7. Like
    twinpeaks reacted to surrealroad in Reminders   
    see the latest version.
  8. Like
    twinpeaks reacted to surrealroad in Reminders   
    The latest version of this workflow will now notify you if there's a newer version available. I would strongly recommend everyone updates to this new version.
  9. Like
    twinpeaks reacted to Wordius in Notes with New Text File with Tag 4.0 (nvALT, direct paste, new file in Finder and more)   
    @twinpeaks: I can certainly understand how useful it is to include a URL when filing snippets of text from web pages and elsewhere.
     
    @Carlos-Sz: And with that, your single, multi-path workflow will replace four of my existing Alfred workflows. Brilliant stuff, and thanks for even entertaining the idea, let alone implementing it. 
  10. Like
    twinpeaks reacted to rice.shawn in Workflows Help Workflow   
    Yes! I'm glad that this bugfix helped everyone (so far).
     
    @greenamit: as twinpeaks and domenic mentioned, many workflows are now using Alleyoop, so you should download that workflow to help with the updates. It's a clever system, although it was designed as a stop-gap measure. There is an unofficial repo in the works (the website is nearly done, and the workflow that accompanies it is also near completion) that will serve to browse, download, install, and update workflows more efficiently.
     
    @domenic: the smaller font is possible, and I'll include it in v1.1. The blacklisting could work too, although that might be a bit more complex based on identifiers and how not enough workflow developers include all the metadata in their workflows (I've just noticed this through the debugging for this script).
     
    Right now, I've been working with creating config files through dialogs to make it easy to do. Right now, I'm just using Applescript dialogs to do it, but they're ugly. I'm considering writing an actual frontend to it via xcode, but I've never done that, so I have no idea how to do it and don't enough time to learn.
     
    I could do it easily with a php web interface, but I can't seem to get the popups to use php (since they don't come from the web server, and I need this to be all offline). If I could figure out a way to get an ajax call on a webpage to execute a script via some post data in the web popup (in automator), then I could do that well, but I haven't figured that out yet. I've recently found out that it's hard to write dynamic web pages when there is no server to serve dynamic webpages. Fun, right?
     
    One possibility that I could do would be to install the file, or perhaps create a symlink, in a place that osx could serve it (/Users/USERNAME/Sites/...), but I can't remember if all recent versions of OS X come with the server automatically enabled with PHP enabled. Does anyone remember if they do? I'm also hesitant to write files outside of the appropriate storage places. Anyone have thoughts on this?
     
    Without something like a dynamic webpage, it would be hard to create an elegant UI to handle blacklisting.
     
    Right now, I'm considering having Alfred run some scripts to generate the HTML files for the Help workflow when necessary and cache them in the appropriate places, but that's not optimal for interaction.
     
    Send me ideas! Also, send me any more feature requests.
     
    Shawn
  11. Like
    twinpeaks reacted to oderwat in Window Arrangement Workflow   
    Well... Alleyoop is cool for Workflows which are "set" ... the "Last changed files" one could make use of it. I consider that if there are more updates coming.
     
    The window arranger is more like a sandbox for people if they want to use it. It was originally meant to start multiple apps by hotkey and arrange them. I am not sure about slate but no windows manger I know can do that. My "frontmost" window manipulation is more for "showing" something.
     
    Slate looks nice but as I wrote, I totally rely on the Custom Snap Areas which only are in better Snap Tool. A feature which is mostly overlooked I guess.
  12. Like
    twinpeaks reacted to Carlos-Sz in Notes with New Text File with Tag 4.0 (nvALT, direct paste, new file in Finder and more)   
    OK.
     
    In the next update, to remove the URL from “Add to Journal” you will have to add @ at the end of the text e.g. my note@
     
    And in order to add a personal note* to a journal entry, it won’t be necessary to start with @ anymore.
  13. Like
    twinpeaks reacted to surrealroad in Reminders   
    You will notice it's still opening (in the background) whilst it's fetching or creating reminders, but it should revert to whatever state it was once it's done.
  14. Like
    twinpeaks got a reaction from surrealroad in Reminders   
    Seriously, I wish I could click the "Like This" button more than once. Gets better every other minute! No need for Reminders.app to stay or even start running is just brilliant, didn't even think that was feasible. Again, thank you!
  15. Like
    twinpeaks reacted to rice.shawn in Workflows Help Workflow   
    And... updated again (v 1.05). This one should fix the ALP errors. Really incomplete workflows might not show up on the list because, well, I haven't figured out a way to write this workflow without relying on the info.plist that defines every workflow...
     
    Let me know if there is a particular one that doesn't show up. And, again, let me know of any errors you encounter. Hopefully that will be none.
  16. Like
    twinpeaks reacted to ddjfreedom in Recent Downloads with Feedback   
    http://d.pr/f/nkhw
     
    Better performance on large number of files. Thanks, Clinton Strong.
  17. Like
    twinpeaks reacted to oderwat in Find files recently changed (similar to Trickster functionality)   
    I often need to do something with my last saved or changed files, like a screenshot or a file I just downloaded with CyberDuck or saved from inside an application.
     
    Normally I use "Trickster" for that task. It which gives me access to files like recently downloaded, saved or edited files in a quick way but I thought it would be cool to have this in Alfred!
     
    After a brief check of existing workflows I could not find any which does the same simple task: List files in the current users home which are modified or created in the last 48 hours. The list is sorted descending by modification time. I also made the result list searchable.
     
    Simply type "last" and it will list the last modified files, you can press space and some letters to filter the results.
     
    You also can press Return to open the file or CMD+Return to Browse to the file with Alfred (and then use File Actions on it).
     
    https://github.com/oderwat/alfredworkflows/blob/master/Last%20changed%20files.alfredworkflow
     
    This workflow uses "workflow class" by David Ferguson (@jdfwarrior) to build the resulting xml data. Besides that it uses a "mdfind" shell command which can be enhanced if you want to change where it searches and what it filters from the results (I filter some filetypes which are unlikely to be interesting for me).
     
    I am supporting Updates by the "Alleyoop" Workflow now (Install that workflow from here: http://www.alfredforum.com/topic/1582-alleyoop-update-alfred-workflows/)   Feel free to comment!   Last Changed: 2013-04-19 19:06   V1.12: With the new Alfred 2 Update it is finally possible to fix the result order in a supported way (I modified workflow.php to support that). V1.11: Yet another method to fix the result order! Added 'Docoments/My Games' to blacklist. V1.10: Added iTunes to Blacklist (and a rather special personal Blacklist)! V1.9: Fixed problem with missing files when they have the same timestamp. V1.8: Updated to the new way Alleyoop works. V1.7: Changed how files are choosen to include files recently created even if they have an old timestamp. Added Microsoft Office Support files to the blacklist. Added Parallels VM Files to the Blacklist. V1.6: Made the found files in the result list draggable! V1.5: Added Alleyoop Support and fixed another bug with listing order (hopefully the last time now). V1.4: Fixed that the "oldest" entry was always displayed on the top (while the others where in descending order) V1.1: I updated the script to exclude some more files (mysql data, files in ~/Library, Safari Bookmarks)
  18. Like
    twinpeaks got a reaction from Callum in Non-script-writer plea for a file navigation finder selection hotkey   
    No prob, a bit hidden but when you have to add so many features some times you have to tuck them away a bit and not display fields exactly as they were in v1. Glad I could help and the problem was easy to solve! No scripts needed.
  19. Like
    twinpeaks reacted to Carlos-Sz in Notes with New Text File with Tag 4.0 (nvALT, direct paste, new file in Finder and more)   
    Version 2.0 is out!
    Journal (add text to a custom text file) Search notes within Alfred nvALT support Alleyoop workflow support See initial post for details.
  20. Like
    twinpeaks got a reaction from jdfwarrior in Open Alfred Preferences Screen with Hotkey?   
    Glad I could help. Just reposting what dferg shared with us at an earlier point. 
  21. Like
    twinpeaks reacted to rice.shawn in Workflows Help Workflow   
    (--- update: currently on version 1.05 -- download links all the same)
     
    So, I have a workflow problem in that I like to install them. Quite a few of them, and I can easily lose track of the commands for each of them. Hence, I present to you a tool that I needed for me: Alfred2 Workflows Help.
     
    Basically, this is a python script that will cycle through your workflows folder, process the info.plist files, and grab the hotkeys and commands from each of them. Then it will compile all of them into a Markdown file, and then show that file in a Quicklook window. Yes! Screenshot is below.
     
    Github Repository here: https://github.com/shawnrice/alfred2-workflow-help
    Download here: https://github.com/shawnrice/alfred2-workflow-help/raw/master/Command%20Help.alfredworkflow
     
    Currently, there is just one command: help.
     
    The file can take a few seconds to generate, and it is generated every time. This will change in a later version.
     
    ---
     
    Some notes: The main script (help.py) is written in python, and it's really my first venture into python, so the code might be laughable. I welcome collaboration and commits. I can give you access to the repo if you private message me. I do think that this workflow has a lot of potential.
     
    This is version 1.0, and there are many improvements to be made. It has Alleyoop support, so updating should be easy.
     
    Quirks and files included:
    This workflow displays the file generated through a debug mode of Quicklook (so that the focus doesn't need to switch to finder), so there will always be a "[debug]" message on the window. I've included a Quicklook Markdown generator in the workflow to make sure that it always displays correctly. There are some images that are included that are not currently used (these are in the "images" folder). They will be used to show the hotkeys later. ALP is included. Right now, only part of the library is used, so I might strip it down to make the workflow smaller. So, the size of the workflow is larger because of these things in there.
     
    ---
     
    Roadmap:
    Clean up the help.py code. Cache the generated file and update it only when the workflow folder changes. Make the display of the file nicer. Add in more images to the file. Display individual workflow helps (show the data for that workflow as well as the readme.md file). Have a better precedent to show either text or subtext for the command help. Try to figure out a way to describe arguments taken for different commands / hotkeys. Make it understand file actions better. Clean up the file/folder structure. Maybe some more... any ideas?  
    Dependencies and Testing:
    Built on 10.8.3, but this should be compatible for all systems as the only dependencies are included in the workflow.
     
    Screenshot:
     

  22. Like
    twinpeaks reacted to altryne in Pocket workflow with oAuth login   
    UPDATE 25/05/13 - rewrote the whole damn thing in python, added aleoop for quick updates
     
    Hey guys, 
    I've finished creating a pocket workflow, I know there are several already in the forums, but this one doesn't require your username/password at any point. (Not that other workflow creators are malicious!)
     
    You can download it here (https://github.com/altryne/pocket_alfred/raw/master/Pocket%20workflow.alfredworkflow)
     
    and all the code on github (the code is a bit of a mess, I was learning ruby as I was writing)
     
     
    Usage : 
    First login with "pocket_login", this will redirect you to the pocket site to authorize

    Afterwards use "pocket" to share a URLs
     
    Supports : 
    Chrome - if running Safari - if running Clipboard - if contains URL  

     
    I've banged my head for a long time trying to achieve the sleak oAuth flow, and finally done it, if anyone's interested I can write a blogpost about it.
     
    Lemme know what you think, and what improvements/suggestions you may have.
     
    credits to https://github.com/vitorgalvao/alfred-workflows/blob/master/Pinadd/pinadd for the chrome and safari applescripts
  23. Like
    twinpeaks reacted to phyllisstein in DEVONthink Note Workflow   
    Just a heads-up that I've totally rewritten this workflow, and made some major changes. In addition to being Alleyoop compatible, it now handles things like commas and UTF-8 characters in database and group names much better, runs much faster, and generally stinks a lot less. You can download the updated version at the link in the first post.
  24. Like
    twinpeaks got a reaction from koiyu in Remember the last typed query for 5 mins [It's back!]   
    Same place it was in v1 I believe. Go to Advanced -> On the left side under History -> second checkmark "Show latest history if within 5 minutes"
     
    Thanks devs for getting this back in there!
  25. Like
    twinpeaks got a reaction from surrealroad in Reminders   
    Once you have the syntax down this script is a cinch! So useful now that I actually read instructions that the list needs to be specified at the end. Always good to read instructions...
×
×
  • Create New...