Tag Info

New answers tagged


You could also use Language Switcher (free), an app which allows you to "use your apps in different languages at the same time". It will give you a list of apps and let you choose in which language you want it be started. I use it all the time to make english screenshots for Stack Exchange.


You don't have to change System language to launch an app in different one. You can do for example this: /Applications/Maps.app/Contents/MacOS/Maps -AppleLanguages '(de)' This will launch Maps.app with german language set. Here are the other options: Is it possible to launch a program in a specific language?


In addition to Ruby, here's a Python version: #!/usr/bin/env python import Cocoa import sys Cocoa.NSWorkspace.sharedWorkspace().setIcon_forFile_options_(Cocoa.NSImage.alloc().initWithContentsOfFile_(sys.argv[1].decode('utf-8')), sys.argv[2].decode('utf-8'), 0) or sys.exit("Unable to set file icon") ./set-image.py image.png myfile Python that ...


Actually, you don`t have to run any app with spotlight or anything, the best way in my opinion is to: Create new Service in Automator Drag: "Run Apple script In the "Service recieves selected": choose no input paste this code from answer above: tell application "System Preferences" reveal anchor "keyboardTab" of pane "com.apple.preference.keyboard" end ...


This can by done by involving some command-line foo: set btStatus to do shell script "/usr/local/bin/blueutil power" set enStatus to do shell script "ifconfig en0 | grep 'status' | cut -d ':' -f 2 | tr -d ' '" if btStatus = "1" then set bluetoothEnabled to true log "Bluetooth is enabled" else if btStatus = "0" then set bluetoothEnabled to false ...

Top 50 recent answers are included