[TxMt] Can't refresh Firefox from TextMate
email at clayteller.com
Sun Aug 8 21:46:55 UTC 2010
Hello, I cannot get Firefox to refresh using TextMate's "refresh running
I am running Firefox 3.6.8 and TextMate 1.5.9. Here is the command:
ps -xc|grep -sqi firefox && osascript <<'APPLESCRIPT'
tell app "Firefox" to activate
tell app "System Events"
if UI elements enabled then
keystroke "r" using command down
-- Fails if System Preferences > Universal access > "Enable access
for assistive devices" is not on
tell app "Firefox" to Get URL
-- Fails if Firefox is set to open URLs from external apps in new
I have searched all over the internet and cannot figure it out.
If anyone can suggest a solution, I would greatly appreciate it!
clay at clayteller.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the textmate