Jump to content

harringg

Member
  • Posts

    12
  • Joined

  • Last visited

Contact Methods

  • Twitter
    https://twitter.com/harringg
  • Website URL
    http://harringg.org/awf/

harringg's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. I've modified the following script in DTPO and as written, I select files in DTPO, run the Alfred Keyword to Applescript workflow I made using the following code. It then auto fills a pop-up box with "archive-", but I still have to press Enter. Is there a way to press "enter" using Alfred so it's a simple invoke Alfred, type my keyword (using the default text I've added to the script) and have the files all rename with no more user interaction? -- Add Prefix To Names -- Created by Christian Grunenberg Sat May 15 2004. -- Copyright (c) 2004-2009. All rights reserved. -- Based on (c) 2001 Apple, Inc. tell application id "com.devon-technologies.thinkpro2" try set this_selection to the selection if this_selection is {} then error "Please select some contents." repeat set prefix to display name editor "Add Prefix" info "Prefix:" default answer "archive-" if prefix is not "" then exit repeat end repeat repeat with this_item in this_selection set current_name to the name of this_item set new_item_name to prefix & current_name set the name of this_item to new_item_name end repeat on error error_message number error_number if the error_number is not -128 then display alert "DEVONthink Pro" message error_message as warning end try end tell
  2. Awesome! Allows me to remove the battery icon from menu bar. On 13" MBP, menu bar space is precious. Thanks
  3. tell application "Snagit" to activate tell application "Finder" activate tell application "System Events" to keystroke "c" using {control down, option down} end tell It wasn't working since the keystrokes don't get pressed in Snagit to get it to work. They are in the Finder. By modifying your code example, I was able to create the workflow above. This has the added bonus of not having to keep SnagIt running when it's not used, just open it when a screen grab is needed. This will open up a whole new way to interact with apps on my Mac. Thank you Alfred 2! (oh, yea, and jdfwarrior)
  4. I use SnagIt for Mac and would like to be able take a screenshot from within Alfred Workflow. SnagIt already allows a keyboard shortcut to launch, but I'd like to be able to type "ss" in Alfred and have Control-Option-C trigger (which would then launch SnagIt). Possible with a work flow?
  5. No MBP-15 doesn't show up in the terminal script, will have to investigate that. Your latest fix allowed me to access via "vnc 99.9.9.99" to MBP-15 I actually hadn't tried the MacMini before, but no I can't connect. I also haven't checked the settings on that machine. Thanks for the quick response and the assistance.
  6. Also, typing VNC 99.9.9.99 (simply masking my actual IP in the forums) launched Screen Share, but said the IP was wrong and showed 999999 in the As soon as I added the decimal in the IP address, it took me to the Screen Share of the MBP-15 Connection failed to “999999”. Please make sure that Screen Sharing (in the Sharing section of System Preferences) is enabled on the computer to which you are attempting to connect. Also make sure your network connection is working properly. OS 10.8.3
  7. Just downloaded the one posted " 4 hours ago fix XML to match specs" and same thing. Only shows MacMini, yet Finder>Cmd-K>vnc://IP-address takes me right to the MBP-15
  8. I'm good. Seeing the original code and how you passed the hotkeys to the AS is helping me get a handle on v2 workflows. I wasn't part of the beta testers and am working with v2 Powerpack features for the first time (long time v1 user). Thanks again!
  9. Thank you! I used that all the time in v1. Works great!
  10. I've got a Mac Mini and 15" MBP (MBP-15) that i'm trying to access from my 13" MBP (MBP-13) using this workflow. My Mac Mini shows up when typing "vnc" in Alfred v2, but not the MBP-15. I can connect to the MBP-15 via vnc://IP address via Connect To Server fine. Is there a setting I need to adjust in the System Preferences on the MBP-15 to get it be seen on the MBP-13 (the computer running Alfred v2). Mac Mini and MBP-15 are running 10.7, MBP-13 is running 10.8 Thanks
  11. I am using Layouts script, http://projects.jga.me/layouts/ in V1 and would like to see this ported too. Or some assistance in configuring the AppleScript code into a V2 workflow.
×
×
  • Create New...