It doesn't work. Returns this error:
"error "System Events got an error: PHP Parse error: syntax error,
unexpected '@' in Command line code on line 1
sh: line 1: =: command not found
sh: line 2: =: command not found
sh: line 3: class: command not found
sh: -c: line 9: syntax error near unexpected token `('
sh: -c: line 9: `public function __construct($username, $password)'"
number 2"
Also, the parsenum function needed the line "return i" at the end.
I tried some variations on what you did and had no luck. But if we're
just concerned about ease of installation, this might not be
necessary. At this point installation no longer requires manually
entering login info in the script. In terms of installing the php
script, the tr.im link below should download two versions of the
action. gvDialer requires that you manually install the php script to
~/Library/App Support/Quicksilver; which really is what is required to
install the action anyway. gvDialer_alt checks to see if the script
exists, if not, it uses curl to download the script direct to the same
location.
Both work fine. I've also set up growl notifications.
http://tr.im/zgrH