Re: revBrowserSet, search a second string

2011-01-18 Thread Claus Dreischer
... solved with 4.6.0-dp-1 Regards, Claus. Am 11.02.10 21:36, schrieb Claus Dreischer: > Hi Terry, > > i think i have found some vital information regarding this problem: > >>From my tests a browser refresh like > > revBrowserRefresh sBrowserId > > breaks any subsequent searches

Re: usb driver problem

2011-01-18 Thread Claudi Cornaz
Hi Thomas, I just ordered a arduino yesterday and hope to have it tommorow. I sure hope this can be solved. (Well I am very positive about that, one way or another, that's why I ordered one anyway) I have been looking on the web. I guess you did this already but just in case, here are some link

Radio Buttons

2011-01-18 Thread Martin Meili
Hi I don't know whether I've understood your problem correctly or not. But, just in case, I usually do these things the following way: on mouseup if the hilite of me <> true then set the hilite of me to true break end if if the hilite of me = true then set the hilite of

Re: Radio Buttons

2011-01-18 Thread Thierry
Le 18 janv. 2011 à 12:41, Martin Meili a écrit : > on mouseup > if the hilite of me <> true then > set the hilite of me to true > break > end if > if the hilite of me = true then > set the hilite of me to false > end if > end mouseup Hi, this script does the same as yours :

Contextual menu trouble

2011-01-18 Thread William de Smet
> > > Hi there, > > I am working on a contextual menu in a textfield. > I searched this list, the forum on Runrev and used the Dictionary. > Everything works: I get a right click in a field but nothing happens > after I choose the contextual menu. > Am I missing something? > > > In a fiel

RE: Contextual menu trouble

2011-01-18 Thread John Dixon
You might try in the script of a field, with the 'lockText' set to true on mouseDown if the menuMouseButton of button 1 = 1 then popUp button 1 end if end mouseDown be well > > I am working on a contextual menu in a textfield. > > I searched this list, the forum on Runrev and

Re: datagrid (loc of elements)

2011-01-18 Thread Harald Müller
I read the API-docs but didn't come to the solution you describe. Thanks, I will give this a try! Best regards, Harald Müller. | Harald Müller (www.etcpp.de) | Theodor-Körner-Straße 4, 97072 Würzburg | Telefon + 49-[0]931-329090-42 > On Sat, Jan 15, 2011 at 9:49 PM, Harald Müller wrote: > >

Re: Progress bar

2011-01-18 Thread AndyP
Hi steve, You could do someting like this: sb1 is the name of the scrollbar This is in the script of Check1 (check box 1) For ease, lets assume you have 10 check boxes. //Initially set the start and end points for the scrollbar sb1 set the startValue of scrollbar "sb1" to 0 set the endValue

Re: Progress bar

2011-01-18 Thread AndyP
Hi steve, You could do someting like this: sb1 is the name of the scrollbar This is in the script of Check1 (check box 1) For ease, lets assume you have 10 check boxes. //Initially set the start and end points for the scrollbar sb1 set the startValue of scrollbar "sb1" to 0 set the endValue

Re: Contextual menu trouble

2011-01-18 Thread William de Smet
Hi there, @John: with the Locktext set to true? This way I cannot paste into the field. I feel real stupid because it doesn't work. Anyone? In a field: on mouseDown theMouseButton if theMouseButton is 3 then popup button "popup" else pass mouseDown end if end mouseDown on mouseUp th

Re: Progress bar

2011-01-18 Thread AndyP
Yes you would need to do someting like this If the scroolbar is on another card in the same stack: set the thumbPos of scrollbar "sb1" of card "mycard" to the thumbpos of scrollbar "sb1" + 10 If the scroolbar is on another card in a different stack: set the thumbPos of scrollbar "sb1" of card

Re: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose?

2011-01-18 Thread Tereza Snyder
On Jan 17, 2011, at 5:33 PM, Lynn Fredricks wrote: > Hello all, > > Just checking to see - who all is going this year? Just noticing that its > happening in April 2011, and we are shortly running out of January 2011. I’ll be there t -- Tereza Snyder Califex Software, Inc. __

Re: [OT]:Socks [was: Import Snapshot Broken in 4.5.3?]

2011-01-18 Thread Bob Sneidar
I have been truly outdone. Cudos. Bob On Jan 17, 2011, at 5:49 PM, J. Landman Gay wrote: > On 1/17/11 6:36 PM, Bob Sneidar wrote: >> I have one of yours. I filled it with popcorn and am using it for a cat toy. >> >> Bob >> >> >> On Jan 17, 2011, at 12:31 PM, J. Landman Gay wrote: >> >>> On

Re: Contextual menu trouble

2011-01-18 Thread AndyP
Hi William Have a look here: http://runtime-revolution.278305.n4.nabble.com/Live-LiveCode-Code-Event-6-td3215816.html#a3219909 http://runtime-revolution.278305.n4.nabble.com/Live-LiveCode-Code-Event-6-td3215816.html#a3219909 There's, a great example from Björnke von Gierke Scroll down to th

Re: Radio Buttons

2011-01-18 Thread Bob Sneidar
You can use break in an if end if structure?? Bob On Jan 18, 2011, at 3:41 AM, Martin Meili wrote: > Hi > I don't know whether I've understood your problem correctly or not. But, just > in case, I usually do these things the following way: > > on mouseup > if the hilite of me <> true then

Re: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose?

2011-01-18 Thread Phil Davis
I plan to be there. Phil Davis On 1/17/11 3:33 PM, Lynn Fredricks wrote: Hello all, Just checking to see - who all is going this year? Just noticing that its happening in April 2011, and we are shortly running out of January 2011. Best regards, Lynn Fredricks President Paradigma Software htt

Re: Radio Buttons

2011-01-18 Thread Klaus on-rev
Hi Bob, > You can use break in an if end if structure?? sure you can! But I won't make sense and will probably throw an error :-D > Bob > > > On Jan 18, 2011, at 3:41 AM, Martin Meili wrote: > >> Hi >> I don't know whether I've understood your problem correctly or not. But, >> just in case,

Re: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose?

2011-01-18 Thread Jim Ault
Plan A for me is to be there and spend a week in the area, a couple days before and after. Also, I think I will be staying at the conference hotel. On Jan 17, 2011, at 3:33 PM, Lynn Fredricks wrote: Hello all, Just checking to see - who all is going this year? Just noticing that its happe

Re: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose?

2011-01-18 Thread Andre Garzia
I will go! On Tue, Jan 18, 2011 at 3:15 PM, Phil Davis wrote: > I plan to be there. > Phil Davis > > > > On 1/17/11 3:33 PM, Lynn Fredricks wrote: > >> Hello all, >> >> Just checking to see - who all is going this year? Just noticing that its >> happening in April 2011, and we are shortly runnin

RE: Contextual menu trouble

2011-01-18 Thread John Dixon
> @John: with the Locktext set to true? > This way I cannot paste into the field. In the script of the field... on mouseDown popUp button 1 end mouseDown popUp button script on menuPick pItemName /* find out which field has been clicked on */ put word 2 of the clickField into th

Re: Radio Buttons

2011-01-18 Thread Peter Haworth
Thanks to all how replied to my question about radio buttons. Initially I was thinking that radio buttons should behave like checkboxes without having to write a handler but, as various people have pointed out, that's not the "official" way that radio buttons are supposed to be used. It turns

Re: Again with RevOnline Problems

2011-01-18 Thread Roger Guay
I know there has been a lot of discussion about the unreliablity of uploading to RevOnline, but does anyone know if there is a size limit? Thanks and cheers, Roger Guay ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url t

Re: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose?

2011-01-18 Thread stephen barncard
How about Ruslan or Lynn? Are either of you guys going? I am going and I'd like to see a shootout between MySQL and Valentina! Off or on campus! On 18 January 2011 11:23, Andre Garzia wrote: > I will go! > Stephen Barncard San Francisco Ca. USA more about sqb

Re: Progress bar

2011-01-18 Thread lowland
Hi Andy, This works but when I add "if the hilite of btn "Check2" is true then..." on the next card, the progress bar dose not move and when I un-check on any of the cards the bar shows no progress at all. Steve -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/P

Re: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose?

2011-01-18 Thread J. Landman Gay
On 1/18/11 11:23 AM, Andre Garzia wrote: I will go! In that case, me too. :) -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecod

Re: Contextual menu trouble

2011-01-18 Thread William de Smet
@John: Thanks for your code and stack. And indeed this works. However when I put everything in a new stack it works but in an existing stack with more fields and button it doesn't :-( Got me puzzled! Thanks again! Greetings, William 2011/1/18 John Dixon : > > > >> @John: with the Locktext set

Cursor lock

2011-01-18 Thread J. Landman Gay
Is anyone else having trouble with the cursor not updating, or sometimes locking, in version 4.5.3? I'm noticing it particularly in the script editor, where the cursor doesn't change when you mouse over different panes or outside the window. I'm also noticing that sometimes clicking on a windo

Re: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose?

2011-01-18 Thread Marian Petrides
No money for me to attend :-( On Jan 18, 2011, at 12:18 PM, J. Landman Gay wrote: > On 1/18/11 11:23 AM, Andre Garzia wrote: >> I will go! > > In that case, me too. :) > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyper

Re: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose?

2011-01-18 Thread Bill Vlahos
I'll be at Macworld. Anyone want to get together? Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Jan 17, 2011, at 7:43 PM, Mark Wieder wrote: > Lynn- > > Monday, January 17, 2011, 3:33:

Re: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose?

2011-01-18 Thread David Bovill
I'll be there! On 18 January 2011 17:23, Andre Garzia wrote: > I will go! > > On Tue, Jan 18, 2011 at 3:15 PM, Phil Davis wrote: > > > I plan to be there. > > Phil Davis > > > > > > > > On 1/17/11 3:33 PM, Lynn Fredricks wrote: > > > >> Hello all, > >> > >> Just checking to see - who all is goi

Re: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose?

2011-01-18 Thread René Micout
I am not poor but my English is very poor, too poor !!! ;-) Rene(é) Le 18 janv. 2011 à 19:38, Marian Petrides a écrit : > No money for me to attend :-( > > On Jan 18, 2011, at 12:18 PM, J. Landman Gay wrote: > >> On 1/18/11 11:23 AM, Andre Garzia wrote: >>> I will go! >> >> In that case, me to

Re: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose?

2011-01-18 Thread Kevin Miller
I'll be there! :) Kind regards, Kevin Kevin Miller ~ ke...@runrev.com ~ http://www.runrev.com/ LiveCode - Realize fast, compile-free coding ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe a

Re: Cursor lock

2011-01-18 Thread Richmond
On 01/18/2011 08:31 PM, J. Landman Gay wrote: Is anyone else having trouble with the cursor not updating, or sometimes locking, in version 4.5.3? I'm noticing it particularly in the script editor, where the cursor doesn't change when you mouse over different panes or outside the window. I'm a

Re: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose?

2011-01-18 Thread Marian Petrides
You had BETTER be, young man! :-))) --The Old F*rt On Jan 18, 2011, at 12:50 PM, Kevin Miller wrote: > I'll be there! :) > > Kind regards, > > Kevin > > Kevin Miller ~ ke...@runrev.com ~ http://www.runrev.com/ > LiveCode - Realize fast, compile-free coding > > > >

Re: Radio Buttons / Break

2011-01-18 Thread DunbarX
I am sure Colin could write a much longer handler that does what this one does. on mouseup if the hilite of me <> true then set the hilite of me to true break end if if the hilite of me = true then set the hilite of me to false end if end mouseup Break works

Re: Radio Buttons / Break

2011-01-18 Thread Klaus on-rev
Hi Dunbar, Am 18.01.2011 um 21:13 schrieb dunb...@aol.com: > I am sure Colin could write a much longer handler that does what this one > does. > > on mouseup >if the hilite of me <> true then > set the hilite of me to true > break >end if >if the hilite of me = true then

Re: Radio Buttons

2011-01-18 Thread David C.
On Tue, Jan 18, 2011 at 11:37 AM, Peter Haworth wrote: > Thanks to all how replied to my question about radio buttons.  Initially I > was thinking that radio buttons should behave like checkboxes without having > to write a handler but, as various people have pointed out, that's not the > "offi

Re: Cursor lock

2011-01-18 Thread J. Landman Gay
On 1/18/11 12:52 PM, Richmond wrote: On 01/18/2011 08:31 PM, J. Landman Gay wrote: Is anyone else having trouble with the cursor not updating, or sometimes locking, in version 4.5.3? I'm noticing it particularly in the script editor, where the cursor doesn't change when you mouse over different

Re: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose?

2011-01-18 Thread J. Landman Gay
On 1/18/11 12:50 PM, Kevin Miller wrote: I'll be there! :) You owe me a keyboard. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-l

Re: Radio Buttons

2011-01-18 Thread Pete (Molly's Revenge)
I haven't given up on it for the future! Pete On Tue, Jan 18, 2011 at 12:40 PM, David C. wrote: > On Tue, Jan 18, 2011 at 11:37 AM, Peter Haworth > wrote: > > Thanks to all how replied to my question about radio buttons. Initially > I was thinking that radio buttons should behave like checkbox

Re: Cursor lock

2011-01-18 Thread Richmond
On 01/18/2011 10:47 PM, J. Landman Gay wrote: On 1/18/11 12:52 PM, Richmond wrote: On 01/18/2011 08:31 PM, J. Landman Gay wrote: Is anyone else having trouble with the cursor not updating, or sometimes locking, in version 4.5.3? I'm noticing it particularly in the script editor, where the curso

Re: Radio Buttons / Break

2011-01-18 Thread DunbarX
In a message dated 1/18/11 3:30:03 PM, kl...@major.on-rev.com writes: > > Break works OK. It just passes control to the end of the handler. The > docs > > say is acts like "exit", and it does. > > Could not find this in the docs! > Per the dictionary: The break command should not be used ou

PDF to JPEG

2011-01-18 Thread Ray Horsley
Anybody know of a way to convert a single PDF file (with multiple pages) to multiple JPEG files? Thanks, Ray Horsley LinkIt! Software ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and mana

Re: Radio Buttons / Break

2011-01-18 Thread Klaus on-rev
Hi Dunbar, > In a message dated 1/18/11 3:30:03 PM, kl...@major.on-rev.com writes: >>> Break works OK. It just passes control to the end of the handler. The >>> docs say is acts like "exit", and it does. >> Could not find this in the docs! > > Per the dictionary: > The break command should not b

Re: Cursor lock

2011-01-18 Thread Scott Rossi
Recently, Jacque Landman Gay wrote: > Is anyone else having trouble with the cursor not updating, or sometimes > locking, in version 4.5.3? I'm noticing it particularly in the script > editor, where the cursor doesn't change when you mouse over different > panes or outside the window. This contin

An idea on multithreading implementation

2011-01-18 Thread Bob Sneidar
Hey I had a great idea on how to implement multithreading without jacking up anyone's legacy code. Have LiveCode work along a single thread as usual, but add the keywords "in new thread" to the do command or open stack command. That way someone could invoke a new threaded process, or launch a st

Re: Cursor lock

2011-01-18 Thread Bob Sneidar
I wonder if we should start calling her "Hacque"? o,O Bob On Jan 18, 2011, at 1:52 PM, Scott Rossi wrote: > Recently, Jacque Landman Gay wrote: > >> Is anyone else having trouble with the cursor not updating, or sometimes >> locking, in version 4.5.3? I'm noticing it particularly in the script

Re: Cursor lock

2011-01-18 Thread Björnke von Gierke
I had this several times. the script editor also often gets stuck on resize mode, despite the mouse being clicked on the field or another object that is not the resize triangle. just now the script editors backgroundcolor was set to white when i opened it, and the mosue was stuck at the pane-re

Re: Cursor lock

2011-01-18 Thread J. Landman Gay
On 1/18/11 3:52 PM, Scott Rossi wrote: Recently, Jacque Landman Gay wrote: Is anyone else having trouble with the cursor not updating, or sometimes locking, in version 4.5.3? I'm noticing it particularly in the script editor, where the cursor doesn't change when you mouse over different panes o

Re: Cursor lock

2011-01-18 Thread J. Landman Gay
On 1/18/11 3:17 PM, Richmond wrote: NO! I don't mean the rainbow beachball; I mean a black-and-white clock (which is one of the Livecodecursors, come to think of it). Oh, okay. That's the "watch" cursor, of HC legacy fame. -- Jacqueline Landman Gay | jac...@hyperactivesw.com Hyper

Re: Cursor lock

2011-01-18 Thread Bob Sneidar
Let's start looking for common things. Anyone using an alternate debugger? An alternate script editor? How about everyone having this problem remove all add-ons and start up LiveCode again and see if it persists. Sorry, I'm a troubleshooter. Bob On Jan 18, 2011, at 2:15 PM, Björnke von Gierk

Re: Cursor lock

2011-01-18 Thread Björnke von Gierke
The common thing is most likely mac os x and LC. I for example do not use invasive additions at all. The script editor resizes itself randomly between closing and opening, due to the engine menu bug. The menu bug has been around since Rev 1.1 and even earlier. Unfortunately, there's lots of fo

Re: Cursor lock

2011-01-18 Thread J. Landman Gay
On 1/18/11 4:23 PM, Bob Sneidar wrote: Let's start looking for common things. Anyone using an alternate debugger? An alternate script editor? How about everyone having this problem remove all add-ons and start up LiveCode again and see if it persists. Sorry, I'm a troubleshooter. None of the ab

Re: Cursor lock

2011-01-18 Thread J. Landman Gay
On 1/18/11 4:15 PM, Björnke von Gierke wrote: just now the script editors backgroundcolor was set to white when i opened it, and the mosue was stuck at the pane-resizing icon (two paralell lines with arrows pointing left and right). had to change tool for the cursor, reopen editor for the backgr

RE: An idea on multithreading implementation

2011-01-18 Thread Damien Girard
I like the idea and that would be awesome, but the Runrev team will have a lot of fun to implement this lol Damien -Message d'origine- De : use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] De la part de Bob Sneidar Envoyé : mardi 18 janvier 2011 22:58

Re: Cursor lock

2011-01-18 Thread J. Landman Gay
On 1/18/11 4:31 PM, Björnke von Gierke wrote: Unfortunately, there's lots of focus changes on Mac OS X that LC can't handle, mostly exposé or spaces stuff. Meanwhile, the script editor assumes it always knows it's own focus state, which is most likely producing all these weird behaviours. I ha

Re: usb driver problem

2011-01-18 Thread Thomas McGrath III
Claudi, yes and No. There is a driver that gets loaded on Leopard but it is not loaded in snow Leopard. They changed the way the Arduino Uno gets connected. "Open up the serial monitor (or any other terminal program) and use single-keystroke commands to control stepper motor speed, direction, a

Re: Cursor lock

2011-01-18 Thread DunbarX
I have my share of site-specific annoyances. But I have never seen this cursor thing. I wasn't sure what everyone was even talking about for a while... Craig Newman ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to sub

Re: Using Shell to run a DOS program

2011-01-18 Thread Alejandro Tejada
Hi Bob, Alejandro wrote: > Now, my curiosity is awakened with your answer. > How do you test a Dos program using Mac OS X? Bob answers: >>You cannot. Even an emulator would be isolated from the Mac OS X system. Previously, I believed that Mac OS X developers have an stable version of the softw

Re: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose?

2011-01-18 Thread Jim Kanter
I would love to attend one but this year it falls on my 20th wedding anniversary and I'd like to get to the 21st! Jim ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscriptio

DragDrop and the DragDestination

2011-01-18 Thread Bob Sneidar
Well this is odd... I am dragging from one datagrid to another. In the script of the destination datagrid, I have a DragDrop handler. In that script I put the dragDestination into a variable, then put the variable into the message box. This is what I get: graphic id 80637 of group id 80636

Re: An idea on multithreading implementation

2011-01-18 Thread Bob Sneidar
There is no more RunRev team. It's the LiveCode team now! Maybe they will be more receptive to the idea... ;-) Bob On Jan 18, 2011, at 2:38 PM, Damien Girard wrote: > > I like the idea and that would be awesome, but the Runrev team will have a > lot of fun to implement this lol > > Damien

Re: Using Shell to run a DOS program

2011-01-18 Thread Bob Sneidar
Right, but how is OS X going to get access to the VM and send a DOS command? Unless Wine has a way for the Mac OS to communicate with the VM os for just that purpose... I guess I am taking the words "using Mac OS X" a bit too literally. You could run DOS in a VM, but you would not be using Mac

Re: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose?

2011-01-18 Thread Judy Perry
On Mon, 17 Jan 2011, Mark Wieder wrote: Lynn- Monday, January 17, 2011, 3:33:13 PM, you wrote: Just checking to see - who all is going this year? Just noticing that its happening in April 2011, and we are shortly running out of January 2011. I'm going. That'll probably keep some folks away

Re: DragDrop and the DragDestination

2011-01-18 Thread zryip theSlug
On Wed, Jan 19, 2011 at 12:25 AM, Bob Sneidar wrote: > Well this is odd... > > I am dragging from one datagrid to another. > > In the script of the destination datagrid, I have a DragDrop handler. In that > script I put the dragDestination into a variable, then put the variable into > the messag

Re: An idea on multithreading implementation

2011-01-18 Thread Jeff Massung
On Tue, Jan 18, 2011 at 2:57 PM, Bob Sneidar wrote: > Hey I had a great idea on how to implement multithreading without jacking > up anyone's legacy code. Have LiveCode work along a single thread as usual, > but add the keywords "in new thread" to the do command or open stack > command. That way

Re: An idea on multithreading implementation

2011-01-18 Thread Alex Tweedly
Other than the issue of hitting a breakpoint, can't you simulate this very closely already. on addToTimers pMessage, pObject, pFrequency -- store this info put pFrequency &TAB& pMessage &TAB& pObject &TAB& pFrequency & CR after sTimerList end addToTimers on removeFromTimers pObject

Re: An idea on multithreading implementation

2011-01-18 Thread Bob Sneidar
Well my thought was that LC would benefit hugely if 2 or more stacks could be running in their own thread. Take for example an accounting app. Normally you could have the Customer Entry form open, and the Accounts Receivable window open in most well written apps. Sure you could in LC too... so l

Re: An idea on multithreading implementation

2011-01-18 Thread Richard Gaskin
Bob Sneidar wrote: > Well my thought was that LC would benefit hugely if 2 or more stacks > could be running in their own thread. Take for example an accounting > app. Normally you could have the Customer Entry form open, and the > Accounts Receivable window open in most well written apps. Sure yo

Re: An idea on multithreading implementation

2011-01-18 Thread Kee Nethery
My two cents on how Livecode could implement this is to mimic the get URL and URLstatus functionality paired with functions. For example: This is a simple pseudo-code example of calling a threaded function 7 times and then waiting until all 7 threads are complete: on domythreads global lat,l

Re: An idea on multithreading implementation

2011-01-18 Thread Andre Garzia
On Tue, Jan 18, 2011 at 11:09 PM, Richard Gaskin wrote: > Bob Sneidar wrote: > > Well my thought was that LC would benefit hugely if 2 or more stacks > > could be running in their own thread. Take for example an accounting > > app. Normally you could have the Customer Entry form open, and the > >

Re: An idea on multithreading implementation

2011-01-18 Thread Bob Sneidar
This "seems" to work because you are envisioning each call to a command or function in time as running separately. This is an illusion. If any of the commands or functions take longer than one second, say 5 seconds, your calling command will not get control back until the other is done. Because

Re: An idea on multithreading implementation

2011-01-18 Thread Bob Sneidar
Do you mean like when the race track is really muddy but they run the horses anyway? Actually, you could be on to something, with the caveat that the processes would be isolated from each other. I am thinking that you could still have one stack get information about some field in another stack

Re: An idea on multithreading implementation

2011-01-18 Thread Bob Sneidar
Very un-livecode-ish. Bob On Jan 18, 2011, at 5:16 PM, Kee Nethery wrote: > My two cents on how Livecode could implement this is to mimic the get URL and > URLstatus functionality paired with functions. For example: > > This is a simple pseudo-code example of calling a threaded function 7 ti

Re: An idea on multithreading implementation

2011-01-18 Thread Phil Davis
Hi Bob, On 1/18/11 5:05 PM, Bob Sneidar wrote: Maybe I am using the wrong term here. Often in Windows an application will open multiple instances of an application, and each instance will be it's own process. An explorer window for example is it's own instance of Windows Explorer, and runs on

Re: An idea on multithreading implementation

2011-01-18 Thread Bob Sneidar
Oh I just thought of what really set me thinking about this. Let's say you wanted a command to check every 10 seconds for the state of a folder, and then have your stack ready to do other things meanwhile. You cannot do that. A handler has to be running to make the call to check status. I supp

Re: An idea on multithreading implementation

2011-01-18 Thread Bob Sneidar
Right... but they cannot communicate easily, or I should say natively with each other. Bob On Jan 18, 2011, at 5:26 PM, Phil Davis wrote: > Hi Bob, > > On 1/18/11 5:05 PM, Bob Sneidar wrote: >> Maybe I am using the wrong term here. Often in Windows an application will >> open multiple instan

RE: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose?

2011-01-18 Thread Lynn Fredricks
> > Monday, January 17, 2011, 3:33:13 PM, you wrote: > > > >> Just checking to see - who all is going this year? Just > noticing that > >> its happening in April 2011, and we are shortly running > out of January 2011. > > > > I'm going. That'll probably keep some folks away, but I thought it >

RE: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose?

2011-01-18 Thread Judy Perry
So Judy, this means you are only going to keep Mark out of trouble, right? --nahhh... double-trouble! :-D Judy ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: An idea on multithreading implementation

2011-01-18 Thread Phil Davis
On 1/18/11 5:29 PM, Bob Sneidar wrote: Right... but they cannot communicate easily, or I should say natively with each other. Bob Right. On Jan 18, 2011, at 5:26 PM, Phil Davis wrote: Hi Bob, On 1/18/11 5:05 PM, Bob Sneidar wrote: Maybe I am using the wrong term here. Often in Windows

RE: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose?

2011-01-18 Thread Lynn Fredricks
> How about Ruslan or Lynn? Are either of you guys going? > > I am going and I'd like to see a shootout between MySQL and > Valentina! Heh-heh. Right now the plan is that Ill be going. If we can get a good enough internet connection, it may be possible to get Ruslan in via skype video... Best

Re: An idea on multithreading implementation

2011-01-18 Thread Jeffrey Massung
Well, TCP works great, you just have to define your protocol and go. This wouldn't be too difficult to implement. That said, a native method of letting LC apps inter-communicate w/o having to program it [much] would be slick. Taking some ideas from AppleScript: ## app "A": start script server

Re: usb driver problem

2011-01-18 Thread Thomas McGrath III
I installed the FTDIUSBSerial drive and nothing changes. I can see the /dev/cu.usbmodem1a21 in : Arduino IDE Terminal Cornflake Processing But not in Livecode : SerialTest MakeBoard Communicator MyOwnTestStack The Arduino Uno has a serial to usb chip on it so it doesn't use the FTDIUSBSerial dr

Re: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose?

2011-01-18 Thread stephen barncard
Fantastic. Looking forward to however you guys do it. On 18 January 2011 20:09, Lynn Fredricks wrote: > > How about Ruslan or Lynn? Are either of you guys going? > > > > I am going and I'd like to see a shootout between MySQL and > > Valentina! > > Heh-heh. Right now the plan is that Ill be goin

fillRule - An useful vector graphic property

2011-01-18 Thread Alejandro Tejada
Hi all, Just today, I found about this use for the property named "fillRule" Put the following script of 7 lines in a button: (Watch for wraps in the Third line) create graphic set the style of it to polygon set the points of it to "50,50" & cr & "50,100" & cr & "100,100" & cr & "100,50" & cr &

Re: usb driver problem

2011-01-18 Thread Thomas McGrath III
I tried in terminal to do a screen /dev/cu.usbmodem1a21 and it worked. control a & control \ to stop and close port (I think) I don't know enough about shell to come up with a good script to try out here in LC. Any ideas? Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast

File Suffix

2011-01-18 Thread Cal Horner
I noticed in the forum a few digests ago that one of the members was looking for conventions to use in coding and object naming, etc. And from my experience with Runrev and now LC stacks the people on this forum try to use some form of convention naming. Even if it isn't pure Hungarian notation. I

Re: fillRule - An useful vector graphic property

2011-01-18 Thread Scott Rossi
Recently, Alejandro Tejada wrote: > Now, Livecode only needs some way to create irregular > masks from Polygon vector graphic. :-) There is a way, but it's not easy -- ink effects. See the second card of this stack (in your message box): go url "http://www.tactilemedia.com/site_files/downloads

Re: File Suffix

2011-01-18 Thread stephen barncard
I take it you don't like the .livecode suffix very much. Quite frankly, I think there are many of us that don't either. But we've also found it's perfectly acceptable to use ".rev" and the stacks will still operate without a problem. The only time we see the IDE add the suffix is on the creation

Re: fillRule - An useful vector graphic property

2011-01-18 Thread form
Just a tip, in case its useful... You can just use a comma instead of CR when populating the points. They get turned back into CRs internally, but it makes it easier to hand-jam values in the code to use "1,1,20,20,100,100" instead of "1,1"&cr&"20,20"&cr&"100,100" ~ Chris Innanen ~ Nonsanity O

Re: An idea on multithreading implementation

2011-01-18 Thread J. Landman Gay
On 1/18/11 8:17 PM, Jeffrey Massung wrote: Well, TCP works great, you just have to define your protocol and go. This wouldn't be too difficult to implement. That said, a native method of letting LC apps inter-communicate w/o having to program it [much] would be slick. Taking some ideas from Apple

Re: File Suffix

2011-01-18 Thread J. Landman Gay
On 1/18/11 10:27 PM, Cal Horner wrote: So, my question is "Who the H*** decided, in their little pea-brain, that they would break the convention (that has been around since Pontius was a Pilot) of a filename, a period (a full-stop for all you commonwealth people) and then finally a three charact

Re: Using Shell to run a DOS program

2011-01-18 Thread Alejandro Tejada
Hi Bob, Bob wrote: >I envisioned you using the terminal to send DOS commands >to an emulator. Maybe I think too much. Actually, my late question was directed to Mark, asking How he could run a DOS program in a Mac to test the script that I posted. I use Windows and, somedays, Linux. Al -- Vi

Uploading to RevOnline Problems

2011-01-18 Thread Roger Guay
I know there has been a lot of discussion in the past about the unreliablity of uploading to RevOnline, but does anyone know if there is a size limit? Thanks and cheers, Roger Guay ___ use-livecode mailing list use-livecode@lists.runrev.com Please visi

Re: usb driver problem

2011-01-18 Thread Thomas McGrath III
I did just find an Applescript OSAX that will let me connect to the Arduino Uno. http://mysite.verizon.net/vzenuoqe/MacSoft.html SerialportX It might be a bridge for this computer anyways. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 18, 2011, at 11:03 PM, Thomas

Re: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose?

2011-01-18 Thread Mark Wieder
>> So Judy, this means you are only going to keep Mark out of trouble, right? > --nahhh... double-trouble! :-D Yeah, we're on a roll now. Judy... you bringing the dogs? -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livec

Re: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose?

2011-01-18 Thread Mark Wieder
Bill- Tuesday, January 18, 2011, 10:43:11 AM, you wrote: > I'll be at Macworld. > Anyone want to get together? I'll probably be there on Thursday. Does that work? -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@l

Re: fillRule - An useful vector graphic property

2011-01-18 Thread Alejandro Tejada
Hi Scott, Excellent work, Scott! :-D I remember that you posted this method some time ago, but still I have to test if this way of masking is viable in a standalone or within StackRunner. Chris Innanen wrote: >You can just use a comma instead >of CR when populating the points. >They get turne