Jump to content

drking

Member
  • Posts

    49
  • Joined

  • Last visited

Reputation Activity

  1. Like
    drking reacted to jdfwarrior in Request: List of Fave URLS   
    This can easily be accomplished with the custom searches feature that is already built in to Alfred. Simply create each of the sites as a custom search, and set the keyword to the same for each one. Then you would just pop up Alfred and enter the single keyword to see a list of all of them.
  2. Like
    drking reacted to jaspalx in Thesaurus   
    Please don't laugh at the code, I write applescript by copy-tweaking!
    Uses thesauras.altervista.org and ursanrazvan's applescript library.
     
    Enjoy!
    I'll aim to post any updates on my tumblr http://jaspalsahota.tumblr.com/post/48358079872/thesaurus-workflow-for-alfredapp-2
     
    Here's a screenshot
     
     
    If anyone makes this nicer/cleaner etc. please let me know.
    J
  3. Like
    drking reacted to ctwise in Help needed: Share link to network drive/folder/file with Windows users   
    Create a workflow, trigger it with a keyword that requires an argument, connect it to run a script, choose Ruby as the script language, and paste this in:
     
    path = "{query}" unc = "" if (path.start_with?('smb:')) # smb://NetworkDrive.corp.YYYY.com/Files/Folder/Folder parts = path.split('//') # ["smb:", "NetworkDrive.corp.YYYY.com/Files/Folder/Folder"] path_parts = parts[1].split('/') # ["NetworkDrive.corp.YYYY.com", "Files", "Folder", "Folder"] server_parts = path_parts[0].split('.') # ["NetworkDrive", "corp", "YYYY", "com"] unc = "\\\\#{server_parts[0]}\\#{path_parts[1..-1].join('\\')}" else # afp://NetworkDrive/Folder/Folder/ parts = path.split('//') # ["afp:", "NetworkDrive/Folder/Folder"] path_parts = parts[1].split('/') # ["NetworkDrive", "Files", "Folder", "Folder"] unc = "\\\\#{path_parts.join('\\')}" end puts unc  
    Then connect a copy to clipboard output (or large type or whatever else you like) to the script.
  4. Like
    drking reacted to Vero in Mail.app search by author, subject or content [For macOS Mojave & earlier]   
    There is no sorting as such as the workflow returns them in the order OS X feeds them back, but you can have a play with date ranges
     
    You can create additional keywords and go to the file filter's advanced tab, where you can add a date range, e.g. one for today's mail, one for mail within the past 30 days. 
  5. Like
    drking reacted to altryne in Mac productivity screencast - manipulating files with Alfred   
    Hey guys,
    I've opened a new group on FB, called Devs with Macs (http://j.mp/Z3QAUY)
    And a big part of it would be these screencasts I'm doing on mac productivity.
    The first one is about Alfred and quick file manipulation without finder or mouse.
     


     
     
    You're welcome to check it out and send me your feedback.
    Many more will come.
  6. Like
    drking reacted to Vero in cannot find Evernote notes   
    Alfred doesn't include your ~/Library folder anymore to keep results much cleaner. To find Evernote notes, you need to add one of these folders (depending on whether or not you're using the sandboxed App Store version of Evernote)   ~/Library/Containers/com.evernote.Evernote/Data/Library/CoreData/com.evernote.Evernote/ ~/Library/CoreData/com.evernote.Evernote   Once added to your search scope, you'll be able to find them when using the "open" keyword as with v1
  7. Like
    drking reacted to vitor in PinAdd — Takes arguments as tags, and adds your browser’s frontmost tab as a pinboard bookmark   
    Thank you, that is what I intended, glad to see it’s working fast for you.
  8. Like
    drking reacted to _mk_ in App Dig - track apps price   
    Great workflow. I used the iOS app until now and did not even notice that AppShopper also supports the Mac App Store. I think this will become on of my most used workflows.
  9. Like
    drking reacted to vitor in PinAdd — Takes arguments as tags, and adds your browser’s frontmost tab as a pinboard bookmark   
    So, this is a huge update to how PinAdd works. If you just want to know how it works now, read the top post, as I’ve updated it. If you want to know a bit more of the differences, read on.
    The first thing you’ll notice is speed. Those of you who thought it was already fast, are in for a treat; if you thought it was slow, you’ll like to know it now feels pretty much instantaneous, even on slow connections. For the ones interested in knowing how that was achieved, I’ll explain it at the end.
    Another thing you’ll notice is that now it always shows you the options for adding a bookmark, and adding a boomark as private (if you have your Pinboard account set to always add as private, both will work the same). No more pressing “alt” to add as private, and since Alfred learns and prioritizes what you use more, I think it’ll be a more pleasant way to do it, for those of you who add a lot of private bookmarks.
    You probably won’t notice, those of you who have it already set up, but pressing “shift” to input your settings is no longer present. I always felt that needed some work, as even I constantly forgot to do it (I reset my settings a lot, for testing purposes). What it does now, is it first checks to see if you have it already setup — if you don’t, it’ll let you do that, if you do, it just switchs to bookmark adding. If, however, you want to delete your settings, run “pin resetpinaddsettings”, and it’ll delete them (it’s intentionally descriptive and verbose, so you won’t do it by mistake).
    If you want to know how the speed improvements were acheived, continue reading, otherwise, you may stop now.
    To explain how the new way is different, I’ll first have to explain how it worked before. When you typed “pin”, the workflow would just wait for you to finish typing your tags, and after you pressed “return”, it’d run a script that would do something like
    1. Read your settings (browser and token)
    2. Run the applescript to get your browser’s tab title and url, storing them
    3. Set your tags
    4. Access the Pinboard API, giving it the relevant information
    5. Output a notification
    Realistically, you could close your tab before getting the “added” notification (as soon as the second point finished), but there was no clear way to know when that was. If you did it before the second part ran, you’d be getting the wrong tab. However, I usually add a bookmark after I’ve gotten what I wanted from the page, so I’d like to add it, close the page, and be on my way. The way it worked, I had to wait for the notification, just to be sure.
    Now, it starts working as soon as you type “pin”, and it works something closer to
    1. Check if you’ve already configured it
    2. If not, show you the configuration options
    3. If yes, it’ll get you browser’s tab title and url, and add them to a temporary file
    4. After you’ve finished typing your tags and press “return”, it’ll both output a “done” message, and start running the rest of the script, that
    5. Reads your settings (browser and token)
    6. Sets your tags
    7. Accesses the Pinboard API, giving it the relevant information
    So in global terms, it’s not necessarily faster. It may even be slower. But it feels faster, and more importantly, it’ll actually let you go on to other things sooner, because now it’ll get all the information it needs from you beforehand, and it’ll be left to work after that. I believe this is a major improvement — even if you’re on a slow connection, after you see that “done” message you can go about your day, and it’ll just call Pinboard’s API in the background.
  10. Like
    drking reacted to Benzi in BulkRename - bulk rename your files, with built-in and custom presets   
    Here is a workflow for bulk renaming files.
     

     
    You select some files either in Alfred using the File Navigator or the File Buffer and use the File Action called "Rename with BulkRename", or select the files in Finder and use the hotkey to trigger the workflow for the selected files.
     
    Once triggered, Alfred will display a preview option and a bunch of preset actions that you can select. The preview option will display the modifications that will be made for each preset action listed.
     
    Preview
     
    Here are a couple of snapshot portions of what you see when pressing the Shift key:
     

     
     

     

     
    Issues are highlighted so that you know if running a preset will work or not. Even if you run that preset, nothing will happen.
     
     
    Preset Actions
     
    There are 6 actions included as a sample, but you can easily create your own actions using the .list keyword.

     
    To create a new preset, type in .list <new name>. Delete a preset using Cmd+Enter
     
    Each preset is nothing but a collection of simple steps that help make the preset action possible. For e.g. when you select the Append Sequence Number preset, you will be shown the preset editor:

    What the above tell is that the Append Sequence Number preset is a collection of two steps:
     
    add text '_seq' at end add number from 0, at end There are added to the preset using any of the steps [+] listed.
    You can add any number of steps to a preset, even the same ones over and over.
    You can delete an added step using Cmd+Enter
     

    When you add a new step to a preset, or edit an existing step by selecting it, you will be shown the Step Node Editor as above. The above is the example for the "Number Sequence" step, and for this step you can control what the starting number is, where the number should be added, and the format (leading zeros to be added). Items with a arrow -> are variables that you can change by pressing the Tab key. To add the step, just select the first option, and that step will be added to the Preset that you were viewing before.
     
    Steps
    Steps are the building blocks of each preset, and currently BulkRename has the following:
    Find and replace: find text and replace with another, supports regex and plaintext, case sensitive and insensitive Add text: add some text at the beginning or end of the filename Add timestamp: add a timestamp at the beginning or end of the filename. Timestamp is one of current time, file created or modified time. YYYY,YY,MM,DD,hh,mm,ss can appear in the format string Convert case: switch the case of the filename to lower, upper, or title Strip text: remove x characters from the filename either at the start of end Number sequence: append a running number sequence, starting from a value that you can specify MP3 Tagger (beta): Extract MP3 tags from MP3 files Regex group extractor: Regex group pattern extractor Change Extension: Allows you to change the extension of a file  
    Keywords
    The main keyword is .rename (but you would not have to type that in if you use the File Action or the Hotkey) The second one to manage all your presets is .list. .preset and .node are keywords used by the workflow directly, and there is usually no need for you to type those in directly. Download
    Download from here  
    Notes
    This works with Python 2.7.2 last I checked  
    Have a look at the included sample presets using the .list keyword to get a hang of how presets are made, and then create your custom ones 
  11. Like
    drking reacted to vitor in PinAdd — Takes arguments as tags, and adds your browser’s frontmost tab as a pinboard bookmark   
    This is a very long reply to the previous two comments, specially the last one, so keep that in mind.
    Thank you for your comments. I’ll actually be releasing an update probably later today (it’s finished, I’ll just add some comments to the code) that changes the way the workflow operates. The thing you’ll notice most is that it’s way faster — as soon as you press return on the workflow, you can close the tab. There are also some interface changes, but I’ll explain everything in a later post.
    I very much appreciate your suggestions, but there are reasons as to why I chose to make it work this way. It’ll never be ideal to everyone and tradeoffs have to be made all the time. The fact is Alfred workflows, as great as they are, have several limitations. For example (not applicable to this workflow, but to others I have made), if you want to make a file action that will then receive input, you have to resort to tricks like saving the files’ location, and then calling Alfred via applescript with some text written, that’ll allow you to continue the action. That’s hacky, but it’s also currently the best way to do it right now. Also, if you try to build a workflow, you’ll notice not every module connects to every other, and you can’t chain two of the same “level” together.
    Regarding selected text as description, there are some immediate barriers I see. One is that since this is not a native app, I don’t have easy access to those kinds of OS‐features. I could maybe do that with applescript, which is a pain, by telling the browser to activate, and then asking the system to get the selected text. But the way this works, you do not need to have the browser as the frontmost window to add bookmarks, which is useful to the way I work (it’s a niche feature, granted), and by using applescript that could be hindred. Going back to the limitations in Alfred, there are ways it could be done by calling another option, but those are, again, hacky ways that could bring a worse experience to people (like me) who do not use descriptions. However, I’m already thinking of ways to add them at the same time as tags, maybe by enclosing them in certain characters (like {{}}).
    Regarding tag auto‐completion, you’re correct, it could be very slow (delibar, if I recall correctly, gets tags from other users as well), but I do think it’s a useful feature, and I’ll look into it. My main issue with it is I’m not sure it can be done right now in Alfred, specially since I’m using bash, and not something that would possibly be more geared towards this, like php.
    I also used Delibar (and still have a license for it), but I very much dislike bookmarklets, and extensions I cannot hide and still remain functional. I want my browser to look clean and non‐distracting at all times, and if a piece of software can’t do that, I usually shelve it. What that means is that I had the delibar app setup with the keyboard shortcut, but I needed the app so sparingly that I was constantly finding myself having to wait for it to open just to add a simple bookmark, which soon became boring, which is why I set out to do it another way. I spend so much time in Alfred, that this seemed like the right decision (and I still think it is).
    Also bear in mind this workflow is a script that works on top of another app, it’s made and maintained by a single person, who is not a developer full‐time, in his spare time, among other workflows, to scratch a personal itch, whose source is given for free without any kind of strings attached, and is less than one month old. While delibar is, well, I don’t think I need to continue. My point is, when you mention that features are “just being added or not available”, please let it breathe, it barely even had time to exist, let alone improve.
    When Martin says “way better to add bookmarks like this than with a bookmarklet, imo”, I take that as “to me, for the way I use and like to add bookmarks to pinboard, this is a better way, as it is more in line with the way I prefer to do it”, and that is what I feel. I use this to add bookmarks, and I see them (also via Alfred) by doing “!pb <something_to_search>“, as I have duckduckgo as my search engine.
    Please understand that I’ve built this workflow primarily for myself, for my needs. That is not to say I’m not open to suggestion and contributions, I very much am, and you can even modify this to your liking in any way you want (see the license). However, every bit of polish I’ve added (and in total I’ve spent more time on this than on core functionality), has been for you, the other users. What this entails is that every time I want to make a change, I think both about what works best for me, and what can be added that will not break the experience of the people that already like it the way it works right now.
    Pinboard is a very popular service amongst people that have skills to build apps to work with it, so it’s natural there are so many. If you see this as a workflow for people who like Pinboard, then it’s not for you, because this is a workflow for people who like Alfred.
    I hope this clarifies why those features have not (yet?) been implemented. Some of them depend on Alfred adding specific features, others depend on my time/mood/interest, and still others depend on its overall goal. Bottom line is this workflow isn’t for everyone, nor does it want to be, it’s supposed to be a lightweight, fast workflow for people that sometimes add bookmarks, and need to do it fast, it’s not a tool for people who add every site they visit, or need every feature under the sun — not only is that not feasible with Alfred without some (possibly major) downsides, like compromising on speed, it’s also not the goal of the project, at least right now.
  12. Like
    drking got a reaction from DJay in Safari bookmark search   
    @dimsav:   The reason I like using this workflow rather than the default, is because then I am able to choose to search my bookmarks (and/or history) only when I need to, rather than having all my bookmarks come every time I type text into Alfred.  Makes things less congested for me personally.
  13. Like
    drking reacted to Ddyracer in Pastels   
    Nice theme, 4 stars!
  14. Like
    drking reacted to ebence in Pastels   
    Pastel Sky: Download
     

     
    Pastel Grass: Download
     

     
    Pastel Orange: Download
     

     
    Pastel Peach: Download
  15. Like
    drking reacted to JinnLynn in App Dig - track apps price   
    A simple way for you to track all apps price, work with AppShopper.
     
    Download & Source    Instructions
     
     
    2013-04-18 Update:
    Now you can change Country/Currency, includes all 91 countries. keyword: 'app change-country' More search type 2013-04-28 Update:
    Fixed `Search app for iphone` error. Open iTunes Store link or AppShopper link
     

  16. Like
    drking reacted to jason0x43 in Weather workflow   
    I wrote a weather forecaster workflow that displays forecasts from Dark Sky or the Weather Underground. This is actually the second iteration; my first was loosely based on David Ferguson's weather workflow, but written in Python. This version is a complete rewrite in Go.
     
    The source, along with installation and setup instructions, is available at it at https://github.com/jason0x43/alfred-weather.The most current release can be found at https://github.com/jason0x43/alfred-weather/releases.
     
    Version history:
     
    2016-12-18: 1.0.0
    2017-05-03: 1.3.0
    2018-11-08: 1.5.0
    2020-05-03: 1.6.0
  17. Like
    drking reacted to albertkinng in Alleyoop: Update Alfred Workflows   
    found 1 update! woohoo! I love this workflow!
  18. Like
    drking reacted to vitor in Mil   
    Here’s the theme I made for myself. Link shorteners cut my name (probably because of the “í” and “ã”), so that is why you’ll see “Unknown” in the name, but I think the important parts of the theme are there — if you notice anything different from the screenshot, please let me know.

    Download
  19. Like
    drking reacted to poritsky in Search Ulysses III from Alfred   
    I made a workflow to search the Ulysses database for the new Ulysses III. This feature is missing from the app itself (for now) so I put together this workflow to get around that. The workflow simply adds search scopes for Ulysses' "sheet" and "group" filetypes. As a bonus, there's also an "Open in Ulysses" File Action included with the workflow. It works on .txt and .rtf documents, which will come into Ulysses parsed as Markdown.
     
    Read more on my site or download Search Ulysses 3.alfredworkflow now.
     

  20. Like
    drking reacted to jonathanwiesel in Restart applications with force if necessary   
    To run just type "rapp" in Alfred bar and select the application you wish to restart.
     

     
     
    More info and download
     
    v1.1: Inline app search (courtesy of Carlos-Sz)
  21. Like
    drking reacted to Domeee in Search for the weather V1.2   
    Hey I created a now Workflow for you!
    Search the weather for location with in Google.
    I hope you love it as I do.
    Version: 1.2
    Download
    https://www.dropbox.com/s/2bsk26eloo6jus0/Weather%20Search%201.2.alfredworkflow
    Screenshots
    https://www.dropbox.com/s/apg143y0pfk7fsi/Screenshots.pdf
    Setup Guide
    https://www.dropbox.com/s/vah3vugvbltmzon/Setup%20Guide.pdf
     
    I worked very hard on that Workflow so if you have any question, suggestion or problem please write a comment.
    When you like me Workflow please give me a rating.
     
    Update history:
     
    V1.0.1
    -Bug Fixes
     
    V1.1
    -Bug Fixes
    -Now you can save your location
    -Default search functionality 
    -Added new quick keyword search
     
    V1.2
    -Added new Quick Hotkey
    -New Setup Guide
    -New Notification
  22. Like
    drking reacted to surrealroad in Reminders   
    EDIT: Looks like this is now fixed, everyone grab the latest version.
     
     
     
    Well clearly something is wrong
     
    Sorry everyone who is having this issue. I can't make it happen on either of my systems, so I need to gather more data from people who are having this problem. So if that's you, can you download today's version, which has two extra keywords, "rshow" and "radd" (will show existing, or add new reminders respectively). Try it with both of those, and let me know if one or the other works.
     
    I'll do my best to get a version out which can run some tests to see what exactly is breaking, I'll edit this post when it's ready (for those of you on the west coast, should be ready by breakfast )
     
    Everyone having issues please now download and install the latest version, try "radd something" and "rshow all" and see if either of those work. Let me know if they do.
     
    Next run "rtest".
     
    It will take a few seconds to run, you'll get a notification that it's complete, with the results on your clipboard.
     
    Please post here with the results, or PM them to me. In the event that this doesn't flag anything up, I'll add a bunch more tests.
    Test results: OS version: 10.8.3 Current date: Tuesday, 9 April 2013 13:56:31 Initialize workflow path: /Users/jack/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.74D66E93-4C95-40CE-B93F-E89237A4CFAB Initialize alfred-library: OK Initialize wf-library: OK Reminders.app state: Running Fetch reminder count: 19 Fetch reminder info: OK Fetch reminder list count: 1 Fetch reminder list info: OK Run cache process: OK Fetch cache timestamp: Tuesday, 9 April 2013 13:56:39 Fetch cached reminder count: 19 Test basic query: OK Test today query: OK Test tomorrow query: OK Test in n minutes query: OK Test in n hours query: OK Test in n days query: OK Test at time query: OK Test in x list query: OK Subtitle generation: OK Test basic reminder filtering: OK Test remind today reminder filtering: OK Test due tomorrow reminder filtering: OK Test reminder list filtering: OK Current unix time: 1.365512199E+9 Test execution time: 8 seconds
  23. Like
    drking reacted to boddicker in OmniFocus Task Actions [Updated to 3.1]   
    Two additions that would be amazing (and probably very tough to implement): 
     
    1) The ability to press the right-arrow button to drill down and see the full, more detailed task information. Many of my tasks are quite long and cutoff. Of course, I could press enter and open up a new OmniFocus window in order to see the full task. But, it would be very cool if, when in a project, I could press the right arrow to "expand" the selected task, including the notes section. That way I never have to leave Alfred and get I get a really nice large sized view of what I'm interested in. When I'm in OmniFocus I'll have to take out my reading glasses and a microscope. The more that can be achieved without leaving Alfred, the better in my uneducated opinion. 
     
    2) A way to Mark a task as reviewed from within the Alfred. I'm sure a lot of people don't use this feature, but I use it constantly within a Review perspective in order to make sure my tasks remain relevant. 
  24. Like
    drking reacted to twinpeaks in Feature Request: Clone workflow   
    A bit late to this question, my apologies but if you have less than a minute can you elaborate? - I am assuming, which always get's me in trouble that when you say duplicate workflow your speaking of adding an extra, duplicate, contextual menu item to the workflow icons on the left by Details... , Export, Show in Finder, etc... Right? That would be useful as export and then import is a pain with the bundleid's not getting along.
     
    I won't go into it as you already know about our wishes for duplicating workflow blocks, or action blocks, or whatever you want to call those magic box shape things are in the workflow config sheet but that is still in the cards for one day right?
     
    And to bother some more, nevermind, I will drop by the request forum to get your thoughts.
     
    Thank you sir for making alfred a gentleman, you raised him well.
  25. Like
    drking reacted to _mk_ in OmniFocus Task Actions [Updated to 3.1]   
    @twinpeaks + thh
    Maybe an additional action for the perspective + context thing would be the best solution. I'll have a look at it.
     
    @FiXER
    I only have a decent number of active projects at a time, so remembering their names and searching case sensitive was not a problem for me. But I can make the search case insensitive with the next release.
     
    My most used perspectives also only have short names, so typing them was not a big deal for me:
    1 ... daily review
    7 ... weekly review
    31 ... monthly review
     
    But I can add a perspective search too, to quickly find perspectives with longer names.
×
×
  • Create New...