Jump to content

Boarder24

Member
  • Posts

    40
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Like
    Boarder24 got a reaction from jeet in Action Modifier for "find" keyword to delete a file.   
    I didn't really think if that. I know that's a feature but it would be much easier to have it integrated in the find keyword.
  2. Like
    Boarder24 got a reaction from jeet in Action Modifier for "find" keyword to delete a file.   
    Today I wanted to delete a file buried in my finder so I used the "find" keyword integrated with Alfred 2 to reveal it. I would be nice if you could hold down control or another action modifier to delete the highlighted file.
     
    Just a thought, that might help productivity.
  3. Like
    Boarder24 got a reaction from anbao1777 in Restart Alfred Workflow   
    Hey subject,
     
    Thanks for making this, I have been meaning to do something like it for a while now. Anyways I did a little researching: MacRumors always has a forum!
    and found that each key on a mac keyboard has a key code so to make alfred apear for you and me the applescript should look like this:
    tell application "System Events" to key code 49 using command down end  
    Simply search google for "key codes mac" to get an entire list. Lastly, make sure not to have "#" on the actual script only the comments. I understand you did that to make the keywords optional, but I could imagine that people in the future will try to enter a hotkey, but won't know to remove the "#".
     
    Hope that helps!
  4. Like
    Boarder24 reacted to dertkw in Trakt.tv for Alfred (updated to 1.4)   
    Hi there,
     
    I created a trakt.tv workflow for Alfred. 
     
     

     

     

     

     
    A full list of features and a few more screenshots can be found here.
     
    The workflow can be downloaded directly: https://dl.dropboxusercontent.com/u/2188000/traktforalfred/Trakt%20for%20Alfred.alfredworkflow
    GitHub repository is here: https://github.com/timbooo/traktforalfred
     
    Note: You will need a trakt.tv account for this workflow to function completely.
     
     
    Have fun 
    Tim
     
     
    Changes
     
    Version 1.4
    added support for episode summaries added support for libraries (watched/collectes shows and movies) added support for library/seen/watchlist options for movies, episodes and shows added count for all kinds of searchs/watchlists/libraries general improvements Version 1.3
    added support for displaying watchlists (shows and movies) and adding/removing shows or movies on their summary Version 1.2
    added support for movies (trends/search/summary/cast) Version 1.1
    epguide is now sorted -> latest to oldest ​changed display of episodes from S01E01 to 1x01 special episodes are now counted as well many bugfixes regarding non existing stuff and calculation of the latest episode Version 1.0
    Initial version
  5. Like
    Boarder24 got a reaction from Tyler Eich in Add ability to copy images to the clipboard   
    One thing that is frustrating me is that copying images doesn't show up on the clipboard. Please make this a feature!
  6. Like
    Boarder24 got a reaction from 3point in Add ability to copy images to the clipboard   
    One thing that is frustrating me is that copying images doesn't show up on the clipboard. Please make this a feature!
  7. Like
    Boarder24 reacted to jdfwarrior in Paste text in frontmost app output   
    Something like this could be implemented now, without using the clipboard, by using AppleScript. 
     
    tell application "System Events" to keystroke "This is a test"  
    The only downside to this is that its a little slower...
  8. Like
    Boarder24 reacted to Subject22 in Restart Alfred Workflow   
    I actually made it because I was mucking around with themes and the blur hack, and got sick of having to restart Alfred after each change Also...
     

     

    You're right, it wouldn't work. Alfred would send the Applescript off to be executed (that sounds really brutal ), and the script would then terminate the Alfred 2 process before the workflow ever got around to posting a notification. You'd have to get the Applescript to post the notification itself, which would require the installation of third party tools. Personally, I actually think that having Alfred reappear is more elegant than posting a notification, but that's just me
     
    As for finding a way to invoke Alfred without requiring that the hotkey be supplied manually, I have had some success! First I found the plist where the hotkey's stored (~/Library/Preferences/com.runningwithcrayons.Alfred-Preferences.plist), then I looked into ways of getting an Applescript to read a plist file, but then I was stuck. I could extract the key code for the pressed key easily enough, but I couldn't find a way of converting the key code for a modifier (eg: cmd = 1,048,576) into an actual key stroke. After going round in circles for a while I had to laugh when I found the solution on the Alfred forum itself:
    tell application "Alfred 2" to search I've updated the first post with a version that uses this code
  9. Like
    Boarder24 got a reaction from bcometa in AirPlane Workflow   
    I present to you the airplane workflow: d.pr/f/T1el
     
    Update v1.2: d.pr/f/EBpv
     
    Update v1.3: Was an in-house update.
     
    Update v1.4: I uploaded the wrong Workflow.
     
    Update v1.5: http://d.pr/f/GOiB
     
    It will toggle your wifi and bluetooth, and set your brightness to  to save battery.
    I have yet to find away to toggle the brightness back to it's default state. An if statement might work, but I have little skill in that field. For those of you that are applescript geniuses, please let me know if you find a solution!
     
    If you have any questions please read the "readme" tab of the workflow before messaging me!
  10. Like
    Boarder24 reacted to RodgerWW in Request: About this Mac   
    OK folks here is Verison02
     
    This version is outdated and the final can be found HERE.
     
    Upon starting to type the KEYWORD "about" you will see:
     
    [image removed]
    When completing the keyword "about":
     
    [image removed]
     
    When selecting an item, then holding "fn" + "ENTER" it will copy the TITLE value to the clipboard.
    When selecting an item, then holding "shift" + "ENTER" it will paste the title value to the front most app.
     
    For Example: If I mouse down to "System Version (Build)" and hit "fn" + "ENTER" it will COPY "OS X 10.8.3 (12D78)" to my clipboard.
     
    The workflow now includes 2 more modifiers!
    Holding "ctrl" + "ENTER" anywhere, will open the Apple Support Site for YOUR hardware in your default browser.
    Holding "opt" + "ENTER" anywhere, will open the Apple Technical Specifications Site for YOUR hardware in your default browser.
     
    These two new added functions simulate the support links in "About This Mac", selecting "More Info", selecting the "Support" tab, then selecting either "Specifications" or "Hardware Support."
     
    I personally thought this was a wicked idea to minimize the  amount of mouse movements and clicking necessary just to see if my hardware is still under warranty and what my support options are.  I've come a LONG way since using Alfred1 to simply launch apps ... this is all done with ZERO scripting knowledge folks! 
     
    NOTES:
     
    I still need to figure out the hardware icon that is displayed beside the human readable hardware. For NOW, I have it showing the "iMac (27-inch, Mid 2011)" icon Apple uses for MY hardware. This is not dynamic yet, as I need to figure out a reliable way to grab the icons Apple uses from "CoreTypes.bundle."
     
    For now, you 'advanced' users can simply grab the appropriate icon for your hardware from "CoreTypes.bundle," copy it over to the workflow folder, then edit the <icon> attribute in the xml output to reflect the proper icon.
     
    OK, so here's what I need from you fine folks reading this:
     
    1: Please, try out the hotkeys, specifically the "ctrl" and the "alt" modifiers. I need to know that the method used to grab the data is current, and accurate. Apple has changed this over the years, and I am hoping they are sticking with the method I'm using for ALL hardware.
     
    2: Alfred2 and/or scripting (/bin/bash/) GURUs ... please look over the scripting in the workflow and  help me clean it up if it needs to be. So far, everything 'works' for me, but as stated earlier, I've done all of this with zero knowledge and I would hate to have a sloppy workflow here.
  11. Like
    Boarder24 got a reaction from kisy in Boot Camp Workflow   
    Hey guys!
     
    I recently did some digging and found an awesome applescript, that allows you to reboot your computer to your boot camp volume for the next boot only. So I decided to make a workflow out of it to streamline the process.
     
    Here is the workflow: http://d.pr/f/F0CD
     
    ****Instructions****
     
    1) Edit the applescript, see where is says "PUT NAME OF BOOTCAMP VOLUME HERE", do as it says, and put the volume name there. Make sure to have the exact name of the volume, spaces or no spaces, must be exact name!
    If you don't know the name of your bootcamp volume you can find it here: Open finder > hit Shift+Cmd+G > in the text field copy and paste this: /Volumes Once in the folder it should be the drive that isn't named "Macintosh HD" 2) I have my keyword to "windows" but you can set it to whatever works best for you.
     
     
    ********Note*********
    When you run the workflow, your computer will restart, before it does restart it will ask you for your admin password. Make sure you have all documents saved!
  12. Like
    Boarder24 reacted to Vero in Remember the last typed query for 5 mins [It's back!]   
    Instead of the "remember for 5 minutes", there's a super useful command history. Hit the up arrow and you'll be able to go back through your most recent Alfred history.
  13. Like
    Boarder24 reacted to phyllisstein in Alleyoop: Update Alfred Workflows   
    Note from Andrew: While this is a convenient method for updating workflows, I cannot endorse the use of it unless you are fully aware of the security implications of blanket updating all of your workflows. I'm currently working on a built in workflow auto-updater, for a future Alfred 2 release, that performs the standard verification checks that Alfred currently does on manual import, along with migrating your hotkey/keyword settings on upgrading. I'll also be adding 3rd party workflow developer signatures to keep you safe.
     
    Hey all,
    I've just completed a workflow designed to make it easier for workflow developers to push updates to their work. (And to their flows.) It's called Alleyoop, it's based very heavily on the concept behind David's old extension updater, and it works a little something like this:
    When you enter the query oop, it searches through the workflow folders for files named update.json. update.json indicates what version of the workflow is currently installed and where to check for an update. (The format is below.) Alleyoop downloads a remote json file, indicated in update.json, and if that file indicates a higher version, it downloads the workflow at the address given by the remote file. The user finds the workflow in his or her ~/Downloads directory and opens it. There is no step 4. Workflow developers can start implementing this workflow immediately. All you need is a static place to host a json file and an alfredworkflow file—so Github will do, failing all else, but Droplr won't. Place an update.json file in your workflow, with the following keys defined:
     
    { "version": 1.0, "remote_json": "http://alfred.daniel.sh/Updates/Things.json" }  
    version should be a float, meaning that 1.0 and 1.1 and 3.14159 are all valid, but 3.1.4 is not, and remote_json should point to a json file on a remote server that's defined like this:
    { "version": 1.5, "download_url": "http://alfred.daniel.sh/Workflows/Things.alfredworkflow", "description": "Brief description of the update." }  
    If the version on the remote server is greater than the version on the user's computer, s/he'll see something like this:

     
    Selecting a workflow from the list will download it. No fuss, no muss.
     
    And that's it! Enjoy implementing this, until we get a good package manager running again, and let me know if you run into any difficulties.
     
    Download Here
  14. Like
    Boarder24 reacted to caleb531 in Play Song - Quickly play songs, albums, and more from iTunes   
    Introduction
     
    With the introduction of Alfred v2.0, the built-in iTunes mini player is now the only way to interact with my iTunes library in Alfred. However, I would prefer to quickly search for and play songs without entering the mini player first. Therefore, I created Play Song—a workflow designed to make playing songs in iTunes extremely quick and convenient.
     
    Download
     
    Download Play Song (latest)
     
    Usage
     
    Play Song enables five keywords which allow you to search for and play songs in your iTunes library.
    In order for Play Song to function properly, it requires access to assistive devices. You can enable this for Alfred via the Security & Privacy pane of System Preferences.
     
    Playing a song   To play an individual song, use the playsong keyword. Songs whose names match your query will populate the list of results. Choosing a song from the list will play that song once.   Playing an album   To play all songs from a particular album, use the playalbum keyword. Albums whose names match your query will populate the list of results. Choosing an album from the list will play all songs from that album (ordered by track number).   Playing an artist   To play all songs by a particular artist, use the playartist keyword. Artists whose names match your query will populate the list of results. Choosing a artist from the list will play all songs by that artist (grouped by album).   Playing a genre   To play all songs within a particular genre, use the playgenre keyword. Genres whose names match your query will populate the list of results. Choosing a genre from the list will play all songs within that genre (grouped by artist).   Playing a playlist   To play all songs within a particular playlist, use the playplaylist keyword. Non-empty playlists whose names match your query will populate the list of results. Choosing a playlist from the list will play all songs within that playlist (according to playlist order).  
    Support
     
    If you have a bug to report or a feature to request, please submit an issue on GitHub.
     
    Release Notes
     
    Release notes for the workflow are also available on GitHub.
  15. Like
    Boarder24 got a reaction from rosenkrieger in Add ability to copy images to the clipboard   
    One thing that is frustrating me is that copying images doesn't show up on the clipboard. Please make this a feature!
  16. Like
    Boarder24 got a reaction from Amoftcoorb in Ability to set icons for notification center.   
    I have been using a lot of workflows with "Post Notifications" and it has begun to bug me that I keep seeing the Alfred beta icon. I think that, if possible, Alfred workflow icon should appear on the "Post Notification".
  17. Like
    Boarder24 got a reaction from alkawArow in Add ability to copy images to the clipboard   
    One thing that is frustrating me is that copying images doesn't show up on the clipboard. Please make this a feature!
  18. Like
    Boarder24 reacted to palobo in Minimal [Updated - Download Available]   
    I like mine minimal. 
     
    v3 Download here (Over 1000 downloads already. Thank you all!)
    v2 Download here
    v1 Download here
     
     


     
    Although you can't see it, it has a very slight transparency letting th back show just a tad.
     
    Tip: Install the latest version and apply a blur to it. Looks SO cool.
  19. Like
    Boarder24 reacted to Tyler Eich in Workflow ablility to have delay timers and triggers.   
    Try this link: http://cl.ly/1S0z2i163O1c
     
    I moved the shell script into the NSAppleScript node and told it to return the IP address. I attached the NSAppleScript to a 'Copy to Clipboard' node and a 'Post Notification' node.
     
    Does this help?
  20. Like
    Boarder24 reacted to jdfwarrior in Workflow ablility to have delay timers and triggers.   
    Jacob,
    New to PHP?  Ok so here's what I found. The workflow that you linked to works correctly, you just got a little confused in a few places. In the "Run Script" action where you are getting the IP address and trying to post the notification, if you look at the top of the window, there is an option to select the language of the script that you will be running. Yours was set to /bin/bash. That's bash scripting which is just scripting from the terminal. It appears that you tried to use the PHP sleep command in a bash script. Since the syntax you tried to use is from a different language, and the syntax was off, its failing to execute that part and just skipping straight to the notification. The proper was to pause/sleep in a bash script is just "sleep 5" where 5 can be changed to however many number of seconds it is that you wish to pause. So by changing the code to this:
    sleep 5 IP=$(curl --silent http://icanhazip.com) echo $IP | pbcopy echo $IP  
    The sleep command works normally and doesn't display until 5 seconds later.
  21. Like
    Boarder24 reacted to jovotrox in Upload to Droplr   
    Hi!
    I made this workflow to help myself when I'm browsing files in Alfred and I want to share them.
    Here is a little Workflow to upload the selected file to Droplr.
    Works better if you have Droplr already open.
     
    Enjoy!
     
    Download
  22. Like
    Boarder24 reacted to waffles_n in Add URL to Pocket app (Updated)   
    A workflow to grab the current page from Safari and add it to your Pocket reading list via the official Mac app (free on the MAS). Confirmation is output to your default notification method. Pocket will stay in the background and out of your way as long as it's already open when you run the workflow.
     
    Update: I've added a component to add the current URL on the clipboard to Pocket, and changed the default keyword for the original component (of course, you can easily change the keywords to suit your preference).
     
    ap = add current Safari page to Pocket
    ac = add URL on clipboard to Pocket
     

     
     
     

     

     

     
    Install from AlfredRepo or Download here: http://d.pr/f/7aYe
     
    This workflow uses some simple bash scripts and the Pocket app's URL scheme. I've barely started to dabble in scripting of any kind, so I would welcome any advice or criticism concerning these workflows 
×
×
  • Create New...