Is it possible for an applescript on a Mac to get and put values to a PC running a VB program?
I have a PC running XP, with a static IP running a custom VB program. I’d like to get and put values to text fields in that program from my Mac (on the same hub) with an XCode/Applescript application.
Not unless your VB app could accept some sort of XML-RPC call or something similar. The easiest solution, if you can modify the VB app, would be to have an idle loop in the VB app watching some shared directory to which the Mac app can write. When you are ready, have the Mac app write the data that needs to be passed to a flat file in this directory. When the VB app sees this file, it can read the values, delete the file, and do whatever it needs to do. Reverse communication could be done the same way (i.e., have the VB app write to a folder the Mac app is watching). Not very elegant but perhaps a solution. Of cource, you could get into scripting VirtualPC or something…(yuck)