Re: Livecode for Digital Signage

2011-05-18 Thread Nonsanity
I tested mine on Windows and a Mac, and it is SO much smoother on my Mac. No tearing/shearing, and I tweeked the script a bit more so even at your required speed there's no stuttering. There was a small miscalculation in my script that only showed up with a stutter at high rates of speed. I put th

Re: Livecode for Digital Signage

2011-05-18 Thread Jim Schaubeck
Thanks Bill! For the first one, that may be a good alternative. I have not tested it but I do appreciate the idea. I'll try it. It complicates the process of updating the text a bit but I may have to figure out a way to automate that part if i can not get the text scrolling smooth. I've had som

Re: OT: why can't I use "tasklist" in the Windows XP Cmd window?

2011-05-18 Thread J. Landman Gay
On 5/18/11 9:23 PM, J. Landman Gay wrote: On 5/18/11 2:00 PM, Graham Samuel wrote: Since I can't use 'the OpenProcesses' in LC to see what non-LC programs are running in Windows, I thought I'd look for the equivalent command in the cmd.exe command set, hoping in the end to run it via 'shell' f

Re: OT: why can't I use "tasklist" in the Windows XP Cmd window?

2011-05-18 Thread J. Landman Gay
On 5/18/11 2:00 PM, Graham Samuel wrote: Since I can't use 'the OpenProcesses' in LC to see what non-LC programs are running in Windows, I thought I'd look for the equivalent command in the cmd.exe command set, hoping in the end to run it via 'shell' from my LC app. The Microsoft documentat

Re: Android Arduino

2011-05-18 Thread Thomas McGrath III
iOS too: Arduino DDS Sinewave Generator Arduino Sine wave Generator using the direct digital synthesis. They describe how to generate sine waves with an Arduino board in a very accurate way. http://interface.khm.de/index.php/lab/experiments/arduino-dds-sinewave-generator... "Also in telecommunica

Re: Want to Try Franklin 3D - 3D Engine for Revolution?

2011-05-18 Thread Josh Mellicker
Hello all, and Ruslan and Lynn in particular, Is anyone using Franklin 3D with Livecode? How is it working? Has anyone deployed an app to the public using it? Thanks for any info! On Sep 16, 2009, at 5:21 PM, Lynn Fredricks wrote: > Hello all, > > Anyone interested in a solid 3D game engine

Android Arduino

2011-05-18 Thread Mark Wieder
Not OT if the subject line drew you in this far... http://developer.android.com/guide/topics/usb/adk.html -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscr

Re: Livecode for Digital Signage

2011-05-18 Thread Bill Vlahos
Thinking out loud here. Could you take an off-screen snapshot of the formatted list and then just scroll the image at whatever speed you want? Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure.

Re: OT: why can't I use "tasklist" in the Windows XP Cmd window?

2011-05-18 Thread Phil Davis
Hi Graham, Try the "qprocess" shell command. I struggled with a similar issue in '09 and discovered this. "tasklist" and "qprocess" should cover most if not all versions of Windows. To kill a task, I believe "tskill" and "taskkill" are your choices for killing a process on Windows. I did so

Re: OT: why can't I use "tasklist" in the Windows XP Cmd window?

2011-05-18 Thread Mike Bonner
I can't test with win xp, but you might put the following into a .vbs file. *Set WshShell = WScript.CreateObject ("WScript.Shell")* *Set colProcessList = GetObject("Winmgmts:").ExecQuery ("Select * from Win32_Process")* * * *For Each objProcess in colProcessList* *If objProcess.name = "firefox.exe

Re: OT: why can't I use "tasklist" in the Windows XP Cmd window?

2011-05-18 Thread Mike Bonner
With windows xp, tasklist is only available on xp Pro. vista and 7 should have it in all versions by default. (I think) On Wed, May 18, 2011 at 3:00 PM, Graham Samuel wrote: > Since I can't use 'the OpenProcesses' in LC to see what non-LC programs are > running in Windows, I thought I'd look fo

Re: OT] how to update 2 values in each of 3000 records in MySQL

2011-05-18 Thread Pete
OK, sounds like you have to update each record individually based on a product code of some sort which I'd guess is probably the primary key. If that's the case, updating should be very fast. Don't know if updating 1 record at a time would be faster than batching the updates into 10/20/30 at a ti

OT: why can't I use "tasklist" in the Windows XP Cmd window?

2011-05-18 Thread Graham Samuel
Since I can't use 'the OpenProcesses' in LC to see what non-LC programs are running in Windows, I thought I'd look for the equivalent command in the cmd.exe command set, hoping in the end to run it via 'shell' from my LC app. The Microsoft documentation explains a function called 'tasklist' whic

Re: OT] how to update 2 values in each of 3000 records in MySQL

2011-05-18 Thread Matthias Rebbe
Hi, thanks so far to all for your suggestions. The database is from an online shop (xtCommerce) I have to update the products table which has no indexes: 1. setting a product active/inactive 2. setting the shipping time of a product (on stock, not on stock, ordered) 3. adjust the available quant

Re: How to prevent multiple instances of a non-LC Windows app?

2011-05-18 Thread Mark Schonewille
Hi Graham, Use tasklist to check if the programme is already running. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6

How to prevent multiple instances of a non-LC Windows app?

2011-05-18 Thread Graham Samuel
Hi The app I'm writing is sometimes required to launch an existing Windows app on quitting. The Dictionary entry for 'launch' says > When the launch command executes, the application being launched comes to the > foreground. When the user quits, LiveCode comes to the foreground. > > If the app

RE: Deselection of lines

2011-05-18 Thread John Dixon
set the hilitedLines of fld 1 to empty > On May 17, 2011, at 11:23 PM, Yves COPPE wrote: > > > Hi list > > I want to make a deselection of the selected lines of a fld > > something like : > > > > set the selectedLine of fld "xxx" to "0" > > > > but it doesn't luck > > Has anyone another s

Re: OT] how to update 2 values in each of 3000 records in MySQL

2011-05-18 Thread Pete
You can update as many records as you want in one instruction as long as you can identify them in a WHERE statement: UPDATE tablea SET field1="newvalue" WHERE tablea.fielda="oldvalue" Pete Molly's Revenge On Wed, May 18, 2011 at 8:55 AM, Bob Sneidar wrote: > I

Re: OT] how to update 2 values in each of 3000 records in MySQL

2011-05-18 Thread Pete
There shouldn't be any problem accessing a mysql database over a network if the administrator has allowed you access to it. Hard to say whether that's "the right way". Updating values in 3000 records shouldn't be a very time consuming activity but as Terry said, it's hard to say without knowing a

Re: Deselection of lines

2011-05-18 Thread Bob Sneidar
Set the selection to empty? Bob On May 17, 2011, at 11:23 PM, Yves COPPE wrote: > Hi list > > I want to make a deselection of the selected lines of a fld > > something like : > > set the selectedLine of fld "xxx" to "0" > > but it doesn't luck > > Has anyone another script to perform th

Re: OT] how to update 2 values in each of 3000 records in MySQL

2011-05-18 Thread Bob Sneidar
I was under the impression you could only update one record at a time in SQL. Sure you can stack queries together and send them all at once (I guess that would be quicker). Is there a limit on the size of a SQL statement? Bob On May 17, 2011, at 11:56 PM, Terry Vogelaar wrote: > Whether you

RE: Livecode for Digital Signage

2011-05-18 Thread Jim Schaubeck
Thank you Chris!! I agree that currently, any other action within the computer would translate to a 'stutter' or 'flicker' on the ticker tape. In my app there will be a polling script to grab fresh data from an external db about every 5 or 10 minutes. During the database poll, I would take the ti

RE: Livecode for Digital Signage

2011-05-18 Thread Jim Schaubeck
Thank you Bernd, I tried the project you sent me. The 'move' command is used which is what I seem to have the best luck with. The same 'jerkiness' appears in that project as well. When I set the syncRate to 0, I had the best smooth flow but still had a jerk every second. Thank you for your sugg

Re: Livecode for Digital Signage

2011-05-18 Thread Nonsanity
I see your problem then. In my sample stack, the text display area is 800 pixels wide. Going by the speed you set it to, that means the text is moving 1 pixel every 4 milliseconds. No WONDER you're getting jerky motion. With the 300 speed setting change you made, I could make it smooth by setting

RE: Livecode for Digital Signage

2011-05-18 Thread BNig
Hi Jim, you might have a look at Jim Hamlyn's autoCue in RevOnline. http://revonline2.runrev.com/stack/489/AutoCue In my experience setting the syncrate below about 8 does not improve movement anymore though this depends on hardware. The cited example has settings for speed and syncrate. Kind r

Re: Drag & drop lines between list fields

2011-05-18 Thread Keith Clarke
Hi Jim, Thanks for the response - and good points well made. I was forgetting that whilst the same script code is common to both fields, at any one time, each field's script is only aware of the start or end-point handlers of the procedure. The tParameter variable should have been declared at

Re: Drag & drop lines between list fields

2011-05-18 Thread Jim Ault
How would the dragDrop handler know the value of tLine? Also, it seems like 'me' has two different meanings in the dragDrop handler. Try this for adding lines to fields that may be empty or need a return, etc: put cr & line 1 of tDraggedArray & cr after me filter me without empty You also

Drag & drop lines between list fields

2011-05-18 Thread Keith Clarke
Hi folks, To help with some XML file analysis, I've created a pair of list fields that display the current node's children. The 'left' field is filled with all the child nodes and I filter this list down to just the nodes I will investigate further, by dragging into the 'right' list the nodes I

Re: Deselection of lines

2011-05-18 Thread Yves COPPE
Le 18 mai 2011 à 09:01, G. Wolfgang Gaich a écrit : > I do it this way: > > lock screen > disable fld "xxx" > set the hilitedlines of fld "xxx" to empty > enable fld "xxx" > unlock screen > > > Best regards > Wolfgang > > re, Thanks ! Greetings. Yves COPPE yvesco...@skynet.be __

Re: Deselection of lines

2011-05-18 Thread G. Wolfgang Gaich
I do it this way: lock screen disable fld "xxx" set the hilitedlines of fld "xxx" to empty enable fld "xxx" unlock screen Best regards Wolfgang Am 18.05.2011 08:23, schrieb Yves COPPE: Hi list I want to make a deselection of the selected lines of a fld something like : set the selectedLin