I have been trying to write a script that will send updates to Twitter so that my wife and I can easily check on the house when we are away. I have managed to create a batch file that does the job using wget, however, it all falls apart in the HomeSeer script:
The script returns a "1025:Expected end of statement" error. I'm guessing it's because of the quotes inside the parameters. Any Ideas?
Code:
sub main() hs.launch "C:\Program Files\HomeSeer\wget.exe","wget --keep-session-cookies --http-user=name@email.com --http-password=mypassword --post-data="status=This is a test tweet from HomeSeer." http://twitter.com:80/statuses/update.xml" end sub
Comment