Exactly and that is why I did not mention it in my first response because it sounded to me like he wanted to write code that is going to allow his program to communicate with a USD device and not depend on anything but his program.
Which brings us back to my answer that I was writing a stack that uses the serial port commands. I can send it to anyone who wants it and it will open the port and allow you to send text but after a certain amount of text is sent nothing else will be sent which makes me think Rev is using a memory buffer that fills up and unless you can empty this buffer you will not be able to send more text. I found to communicate with a USD device on a mac with Rev which is now Livecode you need to open the serial port and then you need a driver to communicate with the USB device. Someone gave me a driver that might work but I never finished the stack for a couple of reasons. One of the reasons was the problem of the buffer overflow or what ever is causing things to stop. At the time Mark Schonewille was thinking the file might need to be sent as a binary so I coded it to be sent as a binary and the problem was exactly the same. It might be possible to use the ADT commands to control the buffer if you are using a modem but even if you can I am not sure if they would work on everything. So it sounds if he wants to do it he will need to rely on some external programs like you mentioned but if anyone knows the answer or wants the serial port stack I have created to test please let me know. -=>JB<=- On Sep 28, 2010, at 10:17 PM, Richmond wrote: > On 09/29/2010 01:05 AM, -=>JB<=- wrote: >> The info below is from the USB Overdrive docs. >> >> • Introduction >> ◊ The USB Overdrive is a universal USB driver that handles all USB mice, >> trackballs, joysticks and gamepads from any manufacturer and lets you >> configure them either globally or on an application-specific basis. It reads >> all kinds of wheels, buttons, switches and controls and supports scrolling, >> keyboard emulation, launching as well as all the usual stuff like clicking, >> control-clicking and so forth. The USB Overdrive can easily handle several >> USB devices at once- I have two mice, one trackball, two joysticks and one >> gamepad connected to the same iMac, and each of them comes from a different >> manufacturer. >> ◊ Because each control in each device can be fully configured, the USB >> Overdrive lets you use any joystick or gamepad with any game, including the >> ones that don't support Apple's InputSprocket. You can map your joystick >> movements and buttons to the keyboard and mouse to make the game believe >> you're playing on the keyboard, and you can do this mapping separately for >> each game so that it's immediately available as soon as the game is launched. >> ◊ The mouse settings allow you to speed up your daily tasks by assigning >> useful actions to all the extra buttons and wheels in your USB mouse. You'll >> typically want to assign a control-click to the right button for easy >> contextual menu acces, and enable document scrolling if your mouse has a >> scrolling wheel. >> ◊ The Control Panel includes an active help feature that explains each >> command and option as you move the cursor around. >> >> -=>JB<=- >> >> > Of course this STILL means an end-user has to install something other than > just a RunRev / LiveCode > standalone. > _______________________________________________ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution