Looking for more info on Automator and Folder Actions, I found this page which explains it.
http://www.simplehelp.net/2007/01/30/folder-actions-for-os-x-explained-with-real-world-examples/
I also found this folder sync action which uses rsync in the background to synchronise two folders. Maybe useful in the future.
http://www.apple.com/downloads/macosx/automator/syncfoldersaction.html
I made an AppleScript that starts an Automator action and attached it to Proximity's In Range action - Proximity can't run an Automator action directly.
display dialog "In range"
tell application Automator
end tell
This apple page is a tutorial on how to create workflows using applescript.
http://developer.apple.com/documentation/AppleApplications/Conceptual/AutomatorTutorialAppleScript/WhatYouWillCreate/chapter_2_section_1.html#//apple_ref/doc/uid/TP40002010-CH202-BAJDHAEH
Proxi looks like it is the ideal tool for looking for hotkeys and triggers, such as tracks changing in iTunes and so on. It appears to be free as in beer.
http://proxi.griffintechnology.com/wiki/index.php/Main_Page
I found this page that helped provide advice about executing Automator actions from Applescript:
Basically you save the workflow as a plugin, and choose a Script menu plugin. Then it gets saved in /Users/xxxx/Library/Scripts/Bluetooth backup.app. I put that in, in quotes for a tell application line, and it asked me to browse to the application. Now it just appears like below (and runs okay):
tell application "Bluetooth backup"
open
end tell
Now I can have my phone automatically take a backup of my passwords when it comes in range. Unfortunately it does it all the time, I will have to set it up to only do it, say, once a week.
This article seems to say how to unmount TrueCrypt volumes using applescript - there isn't any proper applescript interface to it:
http://discussions.apple.com/thread.jspa?messageID=7750841
However, the right click menu of the TrueCrypt icon (sitting on my Dock) has options to mount all the favourite volumes, so it's quite easy to open the password wallet.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment