New answers tagged script
ControlPlane provides a method of using the Ambient Light Sensor to determin a "location" then the location determines what changes on your computer. While ControlPlane is usually used to change system settings depending on where the computer is located, it could also be used to launch an application (or AppleScript) upon sensing a change in lighting.
Lilt will do this. http://www.jonn8.com/lilt/ I used to use it to change my desktop picture from a light to dark one when the ambient light changed :D
I think you were close and that the following should work: cat >> ~/Dropbox/ClipBoard/Appunti\ Mac\ del\ $ (date "+%Y-%m-%d").txt You had smart quotes in your sample and that won't work and you left out the plus in the quoted format string which you had included in your original.
Could you run the script with launchd instead? Save a plist like this as ~/Library/LaunchAgents/some.label.plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> ...
EDIT: Workflow now works with one bug: running the workflow twice results in two copies of the control file being copied Make a new Automator SERVICE. At the beginning, for "receives selected as input" choose "documents". Add the process "set value of variable" and make a new "destination path" variable (default variable name is "destination path"). Add the ...
You could use a private.xml like this with KeyRemap4MacBook: <?xml version="1.0"?> <root> <appdef> <appname>EMACS</appname> <equal>org.gnu.Emacs</equal> </appdef> <item> <name>test</name> <identifier>test</identifier> <only>EMACS</only> ...
Since the iTunes uses a encrypted database you (almost) won't be able to do it (without opening iTunes).
Top 50 recent answers are included