Re: data from USB joystick
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
Re: sqlite: foreign keys
Le 28 sept. 2010 à 23:59, Monte Goulding a écrit : Just use an in-memory db. ooo, that's a new one to me. Is it possible to write it out to a file later? Hi, Running SQLite without a database file creates an in-memory database. Using the .dump command will dump that in-memory DB to a SQL file that can then be re-read into a file-backed database (or back into a memory database) But Sqlite caches data in memory so a file based database and memory based perform much the same. Well, depends of what you want to achieve... HTH Thierry ___ 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
controls with ID 0
Hi all, I have a very strange situation where controls get a ID of 0. I had this problem with runrev 4 and now also with the new livecode It has happened a couple of times in different stacks. I create a control in a grp and the control ends up having a ID of 0. It's happened with btn's and now with a fld. It's very frustrating 'cause one of the consequences is that I can't put text in that fld. I managed to put text in the fld using a long id but then I get a formattedWidth of 0 I have the following statements in a script: put the with of tFldId into tWidth (tFldId is a long id. tWidth becomes 129) put the formattedWidth of tFldId into tFormattedWidth (tFormattedWidth becomes 0) This happens every time I create the control. Well actualy I copy a tmplt grp from a stack to a grp in another stack. What should I do? This looks like quite a bug to me. Claudi ___ 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
iPad's competitor from RIM
on Tue Sep 28 17:21:59 CDT 2010, viktoras d. wrote: PlayBook from producers of Blackbery: Anyone know the song or band that's playing the music in the online demo? I love it. Regards, Mark Stuart ___ 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
Re: [OT] Atlassian merges with BitBucket
On Wed, Sep 29, 2010 at 2:17 AM, Mark Wieder mwie...@ahsoftware.net wrote: Andre- Tuesday, September 28, 2010, 7:44:07 PM, you wrote: I've just received a notice that Atlassian (makers of JIRA) merged with BitBucket which was my beloved cheap yet wonderful online mercurial repo thing. I don't really like Atlassian, I see them as a near-oracle, to expensive even if with good products. Depends on how you define expensive. I think $10 for a ten-user license is pretty reasonable. http://www.atlassian.com/starter/ yes it is Mark, that was me FUDing before actually reading the whole offer. it might be good. -- -Mark Wieder mwie...@ahsoftware.net ___ 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 -- http://www.andregarzia.com All We Do Is Code. ___ 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
Re: [OT] Atlassian merges with BitBucket
Andre- Wednesday, September 29, 2010, 7:45:55 AM, you wrote: yes it is Mark, that was me FUDing before actually reading the whole offer. it might be good. I'm waiting to see how this turns out, but so far it looks like a good merger. -- -Mark Wieder mwie...@ahsoftware.net ___ 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
Re: iPad's competitor from RIM
Mark Stuart wrote: on Tue Sep 28 17:21:59 CDT 2010, viktoras d. wrote: PlayBook from producers of Blackbery: Anyone know the song or band that's playing the music in the online demo? I love it. Cut Copy, Where I'm Going Available by signing up for an email list here http://stereogum.com/440092/cut-copy-where-im-going/mp3s/ Also available for free in iTunes (see track 8): http://itunes.apple.com/us/podcast/cut-copy-where-im-going/id377487166?i=85256575 -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv ___ 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
where to put script libraries
Folks, I've seen from some previous emails that if you put a script library in: revEnvironmentUserPluginsPath() ../resources/script libraries/ it will be picked automatically by standalone builder in case it is needed. Can someone (Monte?) confirm that this still the case? I am building a new version of my LiveCode package manager and this would be a wonderful thing to support. To be able to quickly install a library from remote and have it constantly available for your IDE use and be included automatically on standalones. If someone could spare a word or two on this would be great! I am aware that I will need a plugin to put all the library stacks into use when the IDE launches. andre -- http://www.andregarzia.com All We Do Is Code. ___ 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
Re: MYSQL timeout
On Sep 28, 2010, at 7:20 PM, Terry Judd wrote: The problem of lengthy timeouts when trying to connect to a MSQL server that is down/offline is bugging me again. It seems like the default timeout is 60 seconds which is way too long to wait for a response but there's no obvious way to override it. The socketTimeoutInterval has no effect and while I've got some old code laying around that suggests setting an environment variable ($MYSQL_CLIENT_TIMEOUT) it doesn't work either. Any ideas? Terry, Have you tried this on LiveCard 4.5? According to the release notes, there was an engine change that made opening sockets non-blocking, but I don't know whether that affects MySQL connections. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ 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
Re: MYSQL timeout
Yep - tried on LiveCode - no joy there so far. Cheers, Terry... On 30/09/2010, at 3:54 AM, Devin Asay devin_a...@byu.edu wrote: On Sep 28, 2010, at 7:20 PM, Terry Judd wrote: The problem of lengthy timeouts when trying to connect to a MSQL server that is down/offline is bugging me again. It seems like the default timeout is 60 seconds which is way too long to wait for a response but there's no obvious way to override it. The socketTimeoutInterval has no effect and while I've got some old code laying around that suggests setting an environment variable ($MYSQL_CLIENT_TIMEOUT) it doesn't work either. Any ideas? Terry, Have you tried this on LiveCard 4.5? According to the release notes, there was an engine change that made opening sockets non-blocking, but I don't know whether that affects MySQL connections. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ 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
Re: MYSQL timeout
Hi Terry, had the same problem. I settled to ping the IP first before trying to connect to the DB: switch case mac is in the platform get shell(ping -q -o -c3 -t3tIP) if the result is not empty then put the result into tError end if break case win is in the platform set the hideConsoleWindows to true local tShell put (ping -n 1 -w 100 tIP) into tShell get shell(tShell) if the result is not empty then put the result into tError end if break end switch if tError is not empty then -- can not connect to server end if Even though you can not be sure, that mySQL is really up and running, you will at least know if the server is there. Hope that helps a little. Cheers, Malte___ 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
Re: MYSQL timeout
Thanks Malte - that seems like a good solution. My issues have mainly been with the server itself rather than with MySQL. Terry... On 30/09/2010, at 7:12 AM, Malte Pfaff-Brill revolut...@derbrill.de wrote: Hi Terry, had the same problem. I settled to ping the IP first before trying to connect to the DB: switch case mac is in the platform get shell(ping -q -o -c3 -t3tIP) if the result is not empty then put the result into tError end if break case win is in the platform set the hideConsoleWindows to true local tShell put (ping -n 1 -w 100 tIP) into tShell get shell(tShell) if the result is not empty then put the result into tError end if break end switch if tError is not empty then -- can not connect to server end if Even though you can not be sure, that mySQL is really up and running, you will at least know if the server is there. Hope that helps a little. Cheers, Malte___ 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
Livecode resources
On building a Windows standalone from LiveCode 4.5, I get this notice: Icon does not exist:/Applications/Revolution Enterprise/revEnterprise 4.5 (dp 4).app/Contents/Tools/Runtime/Windows/x86-32/Support/Sample Icons/genericapp.ico Why would LiveCode look in Revolution Enterprise? I thought everything (but 'My LiveCode stuff) was now supposed to be in LiveCode's own application bundle. Jim Lambert___ 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
Re: where to put script libraries
I've seen from some previous emails that if you put a script library in: revEnvironmentUserPluginsPath() ../resources/script libraries/ it will be picked automatically by standalone builder in case it is needed. Can someone (Monte?) confirm that this still the case? Sorry Andre, after some testing I found that unfortunately this has been broken some time between when I wrote the standalone builder and now. That's a fair while so I'm not all that surprised given it was an undocumented and unused feature. It's only partly broken though because the library still appears in the list of inclusions. From memory my intention was to follow this feature up with a script library stack manager in the IDE but funds at RunRev were very tight at the time and I got into other projects. You could make it work by trapping savingStandalone and copying a library loader into the build (or just adding to the stackfiles property if you want to start using only by script) then trapping standaloneSaved and copying the stackfiles into the build. Don't forget to pass these messages or you may break revObjective and the InstallGadget plugin. Cheers -- Monte Goulding M E R Goulding Software Development Bespoke application development for vertical markets InstallGadget - How to create an installer in 10 seconds revObjective - Making behavior scripts behave ___ 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
Re: Livecode resources
On 30/09/2010, at 7:47 AM, Jim Lambert wrote: On building a Windows standalone from LiveCode 4.5, I get this notice: Icon does not exist:/Applications/Revolution Enterprise/revEnterprise 4.5 (dp 4).app/Contents/Tools/Runtime/Windows/x86-32/Support/Sample Icons/genericapp.ico Why would LiveCode look in Revolution Enterprise? I thought everything (but 'My LiveCode stuff) was now supposed to be in LiveCode's own application bundle. Did you create and build this file first with dp4? This does seem like a minor bug in the standalone builder. The default icons should be used if the icon has not been set and that shouldn't actually set and save the property. You should report the bug. Cheers -- Monte Goulding M E R Goulding Software Development Bespoke application development for vertical markets InstallGadget - How to create an installer in 10 seconds revObjective - Making behavior scripts behave ___ 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
LiveCode resource center from Rotunda moved
Hello all, The location of the LiveCode resource center from Rotunda, which contains free libraries that we use in our commercial applications, has been changed. The new location is: http://www.rotundasoftware.com/livecode/ Also, you may be interested in seeing some more commercial products that have been developed in LiveCode. Here is our new website: http://www.rotundasoftware.com/ Rotunda helps non-profits coordinate their volunteers. Best, David Beck Rotunda Software ___ 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
Re: LiveCode resource center from Rotunda moved
I love Rev success stories. Congats, the site looks great, David. On 29 September 2010 19:29, David Beck david_b...@rotundasoftware.comwrote: Hello all, The location of the LiveCode resource center from Rotunda, which contains free libraries that we use in our commercial applications, has been changed. The new location is: http://www.rotundasoftware.com/livecode/ Also, you may be interested in seeing some more commercial products that have been developed in LiveCode. Here is our new website: http://www.rotundasoftware.com/ Rotunda helps non-profits coordinate their volunteers. Best, David Beck Rotunda Software ___ 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 -- Stephen Barncard San Francisco Ca. USA more about sqb http://www.google.com/profiles/sbarncar ___ 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
Android Software Piracy
Here is a discouraging article from Network World on how easy and popular it is to pirate software on Android. http://www.networkworld.com/news/2010/092910-google-android- piracy.html?hpg1=bn Bill Vlahos ___ 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
from the memory lane: Cute ASM X86 interpreter
Folks, I was there looking at some old files at my VPS when I noticed an old Assembly interpreter I made with Rev. I knows only a subset of assembly for x86 processors, just enough for me to pass one examination on the university. I made a revlet out of it. check it out at: http://andregarzia.com/cutex86/ I also found a cute RPN calculator I made with a naive and simple stack implementation. Andre -- http://www.andregarzia.com All We Do Is Code. ___ 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