Jump to content

RodgerWW

Member
  • Posts

    378
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by RodgerWW

  1. Can you try this defaults?: defaults write com.apple.mail DisableInlineAttachmentViewing 1 And see if that makes a difference? I can't personally test this as I don't have a PC to test with a Mail client that is not Mail.app
  2. the applescript to close all finder windows tell application "Finder" to close every window I'm not familiar with Chrome, but you should be able to close all tabs and at the end of the script just load the URL you want into Chrome
  3. You might try Browse and Manage alfred extension (alf) by jmjeong
  4. In terminal you can use: date '+[JO %d/%m/%Y @ %H:%M]' to output: [JO 30/03/2015 @ 15:18] So, you could make a new workflow, perhaps shortcut key to script ... set the script to bin/bash and use the terminal line from above.
  5. I did actually test your method using a scrpt file from terminal and you are NOT crazy!
  6. I have to admit I am perplexed as to why it doesn't work, except in the applescript editor ... that's the only reason I suggested a more direct approach to tell iTunes to pause.
  7. is there any reason you couldn't just use: osascript -e 'tell application "iTunes" to pause' as your command? This will run/work regardless of whether or not iTunes is running to simply pause.
  8. I don't think we can with Alfred's built-in "Open Terminal Here" command. BUT, you could "Use your own Applescript" to make a file command workflow to replace the built-in.
  9. for BASH using sed: pbpaste | sed 's/[./ /-]//g' | pbcopy This will grab the clipboard, filter out the " ", "." & "-" and replace the clipboard with the results. You can set this up however you want with either a keyword or shortcut to script {bin/bash}.
  10. My suggestion would require that the original workflow be edited so that the FIRST step of the script would be to grab the contents of the clipboard as a variable ... and the last step to put it back.
  11. You could set a variable in the script: using the contents of the clipboard as that variable. Run whatever scripting needs to be done normally. Then place the original variable back to the clipboard. Or, use a clipboard manager
  12. Another option: Instead of quitting everything, use a script to quit all apps EXCEPT the ones you want to keep active. Using AppleScript
  13. OK, found this workflow by "pborenstein" which uses system volume instead of trying to focus on just FaceTime's use of the input source.
  14. If you chose "Hotkey is only active when the following apps have focus" in the dropdown, then you may have to use applescript to get which app is topmost in a single script ... then, depending on the app have an if then statement ... "if" for Safari and "then" for Chrome.
  15. I can confirm quirks, albeit a bit differently. I CAN hit esc every time to close Launchpad IF I do not type anything first. As soon as I start typing, I can no longer hit ESC to close. SOMETIMES I am able to type a letter or two before the typing freezes and I can no longer input characters. OS X 10.10.2 (14C109) / Alfred 2.6 (374)
  16. Thanks for this Carlos ... One tiny little thing: When I have a Safari window open and all I want to do is open a Transmit favourite (using fn), a new tab is opened in Safari.
  17. You are going to need a LaunchDaemon using launchd ... essentially the LaunchDaemon runs at system startup and keeps running, so that you can run timed tasks. Starter: http://nathangrigg.net/2012/07/schedule-jobs-using-launchd/
  18. There are a couple of issues with this. 1: Wacom has not updated it's Applescript documentation since 2010 ... even though they have updated the drivers significantly! 2: Apple has changed the way monitors are referenced in it's dictionaries, removing the ability to select desktops since Mavericks. So, without knowing how Wacom now references the display the tablet is to use, this will be very difficult. You MAY be able to do this with GUI Scripting, but, the Wacom drivers are, well, 'less than elegant' in terms of how they were written, SO, it's going to be like pulling teeth to figure this out ... as far as I'm concerned. BTW: This is coming from someone who has been LESS than satisfied with how Wacom handles it's drivers department. There's no question they have the best hardware for artists, but those drivers can be so infuriating at times!
  19. OK, I think the issue is using just bash. If you shift your script from bash to AppleScript (osascript), you can set a value defined from the clipboard, and output it as text to keep the tablature. IE: set myValue to the clipboard as text do shell script "echo " & myValue & " >> /Users/.../mytextfile.txt" With bash alone, one would have to grab the clipboard and search for tabs and replace with \t on each instance ... it's messy!
  20. Have you tried the "enable interpretation" switch, -e? echo -e "{query}" >>/Users/.../mytextfile.txt && osascript -e 'tell application "Terminal" to close window 1' Otherwise I THINK you may have to parse the text with sed or awk.
  21. "There are no stupid questions..." Get out from under your rock now!
  22. This is a known visual anomaly in Yosemite's HUD controls. Upgrade to 10.10.2 ... Apple has fixed this!
  23. DOWNLOAD: Yosemite GUI Mode Toggle Workflow With either a shortcut or hotkey you can toggle between normal and dark mode in Yosemite AND thanks to the recent Alfred update, the Alfred Theme! To make the workflow universal this switches between the Yosemite themes included with Alfred 2. To change to your own "Normal" and "Dark" Alfred themes, be sure to modify the script lines accordingly: For Normal Mode change the name: tell application "Alfred 2" to set theme "OS X Yosemite" For Dark Mode change the name: tell application "Alfred 2" to set theme "OS X Yosemite Dark"
×
×
  • Create New...