Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Make remote tech support as simple as possible' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Make remote tech support as simple as possible
Authored by: pgarrison on Mar 26, '07 10:59:39AM
I've tried this, and running the script never hits the Connect button for me. And, running the app again doesn't help. Running the app a third time causes the IP to overwrite the port number (because of tabbing to the wrong field. Any one know what's going on, and how to script the click of the Connect button more reliably? Happens on both my 10.4.8 and 10.4.9 systems.

[ Reply to This | # ]
Make remote tech support as simple as possible
Authored by: meikokun on Mar 28, '07 07:27:46PM

thanks to Phillip for pointing this out.
after much trial and error I found the cause of the problem. There seems to be a bug in the Schnitz wrapper for OSXvnc-server that only allows you to use system events to type 19 total characters in the address field. Sounds crazy I know, but it isn't a bug in applescript (as I first thought) since I was able to get the appropriate script to work in Vine Server just fine. It was just dumb luck that I used the particular DNS name that I did, as in conjunction with the .homedns.org bit that I use, it makes 19 characters. The full stops (periods) also count as a character, by the way.

Both of the following will work:

tell application "Finder"
activate application "Schnitz Remote Lite"
tell application "System Events" to keystroke "123456789.12345.org" & tab & tab & return
end tell


or


tell application "Finder"
activate application "Schnitz Remote Lite"
tell application "System Events" to keystroke "123456.123.12345678" & tab & tab & return
end tell

clearly the IP address option isn't going to work

This now leaves you with two options:
1) you use vine server, and the appropriate script. Vine server is great, and I use it on my machine, but I *really* like how simple the interface is for schnitz.
2) you get a DNS name that conforms to the 19 characters xxxxxxxx.dyndns.org, or xxxx.xxxxxxxxxx.xxx etc, etc.

sorry about this; who knew there would be a conflict between a very simple applescript and a wrapper for a small app, AND that I would happen upon the only combination that would work for it? Blessed or cursed, you decide ;)



[ Reply to This | # ]
Make remote tech support as simple as possible
Authored by: petieg on Apr 13, '07 07:14:22AM

Personally, i think having the end-user hit the Connect button is better because it gives them some sort of control. This way they'll see the button change to Disconnect and thus (maybe) put the idea of how this application works into their brain. Adding the Schnitz Remote app to the Script bundle just made my support capabilities that much easier -- thanks for that tip!!



[ Reply to This | # ]