VKontakte.DJ
forum traveling
 

Celestial Software

...better by design

Home Support SSH Client Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Send Message (Very new to this) (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Send Message (Very new to this)
#2540
Send Message (Very new to this) 9 Years, 6 Months ago  
Hi, I'm new to this and trying to use this software to send a message to an iRobot Create via serial port. From what I've read in documentation/posts, I set up a key mapping, so that when I press F5 the following script is run:

Sub Main
Print("Lalala")
Terminal.Print("Ladeeda")
DIM success
success = Terminal.SendText("128 132 139 2 0 0")
if success = TRUE then
MsgBox "Worked ok"
else
MsgBox "Not ok"
end if
End Sub

I'm new to VB, which explains the various print statements. However, after pressing F5, nothing happened. No printing, no message boxes, and no response from my robot. What am I doing wrong?

Thanks a lot,
kimberly (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#2548
Re:Send Message (Very new to this) 9 Years, 6 Months ago  
When you embed a script in the keyboard mapping, the first line of the script hast to say:

VBSCRIPT

followed by the script.

Brian
bpence (Admin)
Admin
Posts: 1340
graph
User Offline Click here to see the profile of this user
Logged Logged  
 
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
 
The administrator has disabled public write access.  
Go to top