Property profiles apparently broken in LiveCode 4.5
Hello, Something has apparently changed from 4.0.0 to 4.5 that has badly broken some logic in one of my stacks that use property profiles. It looks like the behavior of revSetCardProfile may have changed. The stack works as expected in 4.0.0 but is broken in 4.5. Has anybody else experienced problems when using property profiles in 4.5? Is this on a list of fixes? Also, in a separate but closely related question, where can I find a the 4.0.0 installer? Thanks very much. 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: Workaround For No selectionChanged Message?
Recently, I wrote: I have recently begun to struggle again with a simple text editor project and it seems when the contents of a field are selected via script (select text of fld 1), no selectionChanged message is sent. On a related note, how do folks handle maintaining text selections? I currently have text formatting controls in a palette, separate from a mainstack that contains the text to be edited. When clicking on the palette, the text selection is lost in the mainstack, so I add backColor to the selected text while the palette has focus; when focus is shifted back to the mainstack, the backColor is removed and the previously unselected text is reselected (!). The issue here is the appearances do not match: text selected by LiveCode has a different appearance than text with a backColor applied. The only way I can see around this is to always use the backColor selection and never allow true selection of text. What a pain. There's got to be an easier way. Is there one? Thanks Regards, Scott Rossi Creative Director Tactile Media, UX Design ___ 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: Workaround For No selectionChanged Message?
Hey Scott I currently have text formatting controls in a palette There's got to be an easier way. Are you sure you are using a palette? This should work without you doing anything? 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: [ANN] Data Grid Helper - What is it? - Text rewrote
Nice! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Data-Grid-Helper-What-is-it-Text-rewrote-tp2970457p2993429.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ 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: Workaround For No selectionChanged Message?
Recently, Monte Goulding wrote: I currently have text formatting controls in a palette There's got to be an easier way. Are you sure you are using a palette? This should work without you doing anything? Um, yes, I'm pretty sure that palette stack xyz sets the stack's style to palette... :-) But you got me thinking, I am trying to maintain the user's selection after the text has been styled, and it seems that even the LiveCode IDE doesn't do this (selection is lost after style is changed). So maybe the previously selected text needs to be reselected after being styled. This seems to work, but I could have sworn there was some window switching situation where the text selection would be lost. Anyway, I'll continue with this option -- thanks for the push Monte. Regards, Scott Rossi Creative Director Tactile Media, UX Design ___ 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: WindowBoundingRect in Linux
I have done set the rect of stack xyz to the screen rect. With Gnome this floats the stack above but touching the task bar, as with all apps meximized, with no overlap. With Fluxbox, the task bar is overlappng and over the stack which occupies the whole screen, and this happens with all apps. With Flux however there are probably some options to unset float over all, but I don't see how you would reproduce the Gnome effect where the stack does not overlap the menu bar. I seem to recall KDE working the same way as Gnome, that would be KDE 3.5. I have not tried KDE4.x with rev. This is debian squeeze. If you want something specific tried, happy to do it. I have just about every WM under the sun installed! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/WindowBoundingRect-in-Linux-tp2993052p2993575.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ 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: WindowBoundingRect in Linux
Richmond wrote: I am not quite sure how to answer this: 1. I am running Ubuntu 10.10 Moronic Meerkat that has had its GUI hacked about a bit insofar as I have an AVANT WINDOW NAVIGATOR set up rather like the Mac OS X dock along the bottom of my desktop, and a DOCKY on the right-handside of my screen (for Windows stuff running under WINE). I am writing this using Mozilla Thunderbird - If I maximise my Thunderbird window it takes DOCKY into account and does not maximise so bits of the window are behind it. However, Thunderbird does NOT take AVANT into account and does maximise behind it. 2. If I maximise a LiveCode stack it behaves exactly like Thunderbird, It doesn't go completely bonkers and do such things as vanishing under the PANEL. 3. This is the situation for 4.5 dp-4, Studio 4.0 and RunRev 2.2.1; which means that it is a long-running situation. This would suggest to me, that, on my machine at least, that the problem lies with Avant Window Navigator Thank you for looking into this, but I'm referring to a different behavior. The windowBoundingRect is entirely internal to Rev, governing the maximum size a Rev window will be sized to when the user clicks the window's maximize control. True, it can be difficult to be able to know the full extent of various window trimmings in Linux (Cairo Dock seems to do a good job of having the OS constraint the max size, as do the built-in panels, but there are so many docks available that I imagine some work better than others). But in my case all I need to do is to be able to constrain our document windows within the bounds established by our app's toolbar -- all Rev stuff. On OS X and Win, setting the windowBoundingRect will indeed constrain maximizing as expected, but I haven't been able to get this to work in Linux. Unfortunately, this rather hoses an otherwise-almost-ready-to-ship-for-Linux app we have in the works which has a toolbar that needs to be accounted for. I've logged the bug here: http://quality.runrev.com/qacenter/show_bug.cgi?id=9058 If anyone here knows of a way to get this to work I'd be most grateful. -- 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
Flipping graphic with a Key
Hi there I want to flip a graphic while key F is down and when it is released the graphic shall flip back again. if it was a mouseDown handler it would go like this: on mouseDown put the points of graphic into oldPoints DoTheFlipping wait while the mouse is down set the points of graphic to oldPoints end mouseDown But when i use a keyDown handler I have a problem because when i hold the F key down repetition of the message set in and the graphic is flipped back and fourth. How do I avoid the repetition of the keyDown message? Mic ___ 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: Workaround For No selectionChanged Message?
Scott Rossi wrote: Recently, Monte Goulding wrote: I currently have text formatting controls in a palette There's got to be an easier way. Are you sure you are using a palette? This should work without you doing anything? Um, yes, I'm pretty sure that palette stack xyz sets the stack's style to palette... :-) But you got me thinking, I am trying to maintain the user's selection after the text has been styled, and it seems that even the LiveCode IDE doesn't do this (selection is lost after style is changed). So maybe the previously selected text needs to be reselected after being styled. This seems to work, but I could have sworn there was some window switching situation where the text selection would be lost. Anyway, I'll continue with this option -- thanks for the push Monte. You should be able to retain the text selection if the traversalOn of the buttons in the toolbar is set to false. When that property is true, the button gets focus when it's clicked, causing the selection to be lost. -- 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
Re: Flipping graphic with a Key
On 10/13/2010 04:35 PM, Michael Kristensen wrote: Hi there I want to flip a graphic while key F is down and when it is released the graphic shall flip back again. if it was a mouseDown handler it would go like this: on mouseDown put the points of graphic into oldPoints DoTheFlipping wait while the mouse is down set the points of graphic to oldPoints end mouseDown But when i use a keyDown handler I have a problem because when i hold the F key down repetition of the message set in and the graphic is flipped back and fourth. How do I avoid the repetition of the keyDown message? I have just tried this with rawKeyDown/rawKeyUp and keyDown/keyUp and have the same problem; unfortunately while there is mouseStillDown there is NOT keyStillDown. ___ 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: Flipping graphic with a Key
Hi there, Maybe you van use 'flushEvents'? Check the dictionary for this. Greetings, William 2010/10/13 Richmond richmondmathew...@gmail.com: On 10/13/2010 04:35 PM, Michael Kristensen wrote: Hi there I want to flip a graphic while key F is down and when it is released the graphic shall flip back again. if it was a mouseDown handler it would go like this: on mouseDown put the points of graphic into oldPoints DoTheFlipping wait while the mouse is down set the points of graphic to oldPoints end mouseDown But when i use a keyDown handler I have a problem because when i hold the F key down repetition of the message set in and the graphic is flipped back and fourth. How do I avoid the repetition of the keyDown message? I have just tried this with rawKeyDown/rawKeyUp and keyDown/keyUp and have the same problem; unfortunately while there is mouseStillDown there is NOT keyStillDown. ___ 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
Clipboard in version 4.0
Hello :) I have a question regarding the clipboard in version 4.0. We have a number of applications that I created that we use in my workplace. They are run using an executable file created from version 2.6.1. I recently experimented with upgrading to 4.0, but was not succesful. It turns out that version 2.6.1 can access items from the clipboard that 4.0 cannot access. Two things happen - for copying from some webpages, the clipboard appears empty in 4.0 but has content (HTML information) in 2.6.1. The second problem is that for copying from some webpages, the text portion of the clipboard is populated with html information in 4.0, but is populated properly with straight text in 2.6.1. I can correct for the second problem programmatically, but the first problem is real bear. Is there anyway to alter the way 4.0 looks at the clipboard so that it detects the same information that 2.6.1 detects? We really need to be able to do quick copy and paste operations (sometimes thousands of times per day). I do not have to upgrade to 4.0, but it has features that I would like to use, if possible. Many thanks, Jonathan -- Do all things with love ___ 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: Flipping graphic with a Key
Michael Kristensen wrote: How do I avoid the repetition of the keyDown message? You'll need to set up a send structure that checks the keysdown(). Something like this: on keydown pkey if pkey = f then doTheFlipping send checkKey to me in 0 else pass keydown end if end keydown command checkKey if 102 is in keysdown() then -- 102 is the keycode for f send checkKey to me in 250 milliseconds -- adjust timing here else doTheFlipping end if end checkKey -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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: Clipboard in version 4.0
On 10/13/10 9:57 AM, Jonathan Lynch wrote: I recently experimented with upgrading to 4.0, but was not succesful. It turns out that version 2.6.1 can access items from the clipboard that 4.0 cannot access. Two things happen - for copying from some webpages, the clipboard appears empty in 4.0 but has content (HTML information) in 2.6.1. The second problem is that for copying from some webpages, the text portion of the clipboard is populated with html information in 4.0, but is populated properly with straight text in 2.6.1. The clipboard function was changed some time ago to specifically return different aspects of its content. It's now an array. You can retrieve the content in any specified format that the content may contain. There is more in the dictionary, but for text: the clipboardData[html] -- gives the html content the clipboardData[text] -- gives plain text content There are other options too. If you use the function without specifying an array element, plain text is returned as the default if it exists. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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: Clipboard in version 4.0
Thanks J, Unfortunately, I have tried using different elements of the clipboard array already. When I copy the webpage in question (GPHIN, a restricted-access site), it returns empty on all elements of the clipboardarray in 4.0, but works fine in 2.6.1. Also, for the second problem I listed, the clipboard[text] element returns html text in 4.0, but works propertly 2.6.1 - this occurs when copying certain eurekalert pages. On Wed, Oct 13, 2010 at 11:48 AM, J. Landman Gay jac...@hyperactivesw.comwrote: On 10/13/10 9:57 AM, Jonathan Lynch wrote: I recently experimented with upgrading to 4.0, but was not succesful. It turns out that version 2.6.1 can access items from the clipboard that 4.0 cannot access. Two things happen - for copying from some webpages, the clipboard appears empty in 4.0 but has content (HTML information) in 2.6.1. The second problem is that for copying from some webpages, the text portion of the clipboard is populated with html information in 4.0, but is populated properly with straight text in 2.6.1. The clipboard function was changed some time ago to specifically return different aspects of its content. It's now an array. You can retrieve the content in any specified format that the content may contain. There is more in the dictionary, but for text: the clipboardData[html] -- gives the html content the clipboardData[text] -- gives plain text content There are other options too. If you use the function without specifying an array element, plain text is returned as the default if it exists. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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 -- Do all things with love ___ 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: Clipboard in version 4.0
On 10/13/10 10:53 AM, Jonathan Lynch wrote: Thanks J, Unfortunately, I have tried using different elements of the clipboard array already. When I copy the webpage in question (GPHIN, a restricted-access site), it returns empty on all elements of the clipboardarray in 4.0, but works fine in 2.6.1. Also, for the second problem I listed, the clipboard[text] element returns html text in 4.0, but works propertly 2.6.1 - this occurs when copying certain eurekalert pages. I wonder if it's a function of your browser. I know in Firefox I had to install a plugin to allow me to choose either html or plain text when copying. If you copy and paste into a different app, what do you see? Is the behavior reproducible on other web pages too? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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: Clipboard in version 4.0
This problem only occurs on some web pages, but not most. Unfortunately, I am restricted to using IE as my browser at work, and I have to access these particular web pages. I am just baffled by it working in 2.6.1 and not in 4.0. Both engines use a clipboard array. \ I might be able to kludge together a work around using vbscript, shell, and wscript. I would prefer that 4.0 have full access to the clipboard, though. On Wed, Oct 13, 2010 at 12:18 PM, J. Landman Gay jac...@hyperactivesw.comwrote: On 10/13/10 10:53 AM, Jonathan Lynch wrote: Thanks J, Unfortunately, I have tried using different elements of the clipboard array already. When I copy the webpage in question (GPHIN, a restricted-access site), it returns empty on all elements of the clipboardarray in 4.0, but works fine in 2.6.1. Also, for the second problem I listed, the clipboard[text] element returns html text in 4.0, but works propertly 2.6.1 - this occurs when copying certain eurekalert pages. I wonder if it's a function of your browser. I know in Firefox I had to install a plugin to allow me to choose either html or plain text when copying. If you copy and paste into a different app, what do you see? Is the behavior reproducible on other web pages too? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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 -- Do all things with love ___ 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
[ANN] Simple RPN Calculator on RevOnline
Folks, I've decided to share my little RPN Calculator on RevOnline. http://revonline2.runrev.com/download/stack/518/RPN-Calc It is quite simple and it has a minimalistic stack (the data structure, not the file format) implementation on the stack script. I am quite fond of this little piece. It was quick to implement, I find it pleasing to the eye and I use it as my default calc on linux 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: Property profiles apparently broken in LiveCode 4.5
I've never really understood how profiles are supposed work - On a this list a few months ago property profiles were discussed, and I got the feeling there were very few people that actually used these special properties. What would they be used for, Language changes? Skinning? what is the scope of what is supposed to get changed and can that same scope be reset to the starting settings? Or could one end up with a mess of unwanted default property settings? Just as important, what *doesn't* get changed? This would be similar to the trepidation I have using the Geometry Manager... one slip of the code and it's *curtains* for one's layout. Or this could be the coolest thing for creating custom objects by script ever. the inquiring coder wants to know... sqb On 13 October 2010 00:01, David Beck david_b...@rotundasoftware.com wrote: Hello, Something has apparently changed from 4.0.0 to 4.5 that has badly broken some logic in one of my stacks that use property profiles. It looks like the behavior of revSetCardProfile may have changed. The stack works as expected in 4.0.0 but is broken in 4.5. Has anybody else experienced problems when using property profiles in 4.5? Is this on a list of fixes? Also, in a separate but closely related question, where can I find a the 4.0.0 installer? Thanks very much. 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
Re: WindowBoundingRect in Linux
Yes this is right, it does it with flux on Debian also. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/WindowBoundingRect-in-Linux-tp2993052p2994115.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ 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: WindowBoundingRect in Linux
On 10/13/2010 08:41 PM, Peter Alcibiades wrote: Yes this is right, it does it with flux on Debian also. What does what with flux: I always thought 'flux' was some sort of intestinal disorder suffered by Jacobeans . . . :) a bit like 'pox' you know; or is that a Window Manager now as well? Badly chosen names. ___ 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: Flipping graphic with a Key
Try this? on keydown pkey if pkey = f then DoTheFlipping end if pass keydown end keydown on keyUp pkey if pkey = f then DoThe_UN_Flipping end if pass keyUp end keyUp 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: [ANN] Simple RPN Calculator on RevOnline
Yay! 19 downloads in 1 hour! :-D if anyone has any feedback, please send tell me! On Wed, Oct 13, 2010 at 2:18 PM, Andre Garzia an...@andregarzia.com wrote: Folks, I've decided to share my little RPN Calculator on RevOnline. http://revonline2.runrev.com/download/stack/518/RPN-Calc It is quite simple and it has a minimalistic stack (the data structure, not the file format) implementation on the stack script. I am quite fond of this little piece. It was quick to implement, I find it pleasing to the eye and I use it as my default calc on linux Andre -- http://www.andregarzia.com All We Do Is Code. -- 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: WindowBoundingRect in Linux
if you guys want to go crazy with window managers check out suckless.org specifically wmii and dwm also check awesome window manager On Wed, Oct 13, 2010 at 2:52 PM, Richmond richmondmathew...@gmail.comwrote: On 10/13/2010 08:41 PM, Peter Alcibiades wrote: Yes this is right, it does it with flux on Debian also. What does what with flux: I always thought 'flux' was some sort of intestinal disorder suffered by Jacobeans . . . :) a bit like 'pox' you know; or is that a Window Manager now as well? Badly chosen names. ___ 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
List Words from Textarea
Hi, How can I list every word from a textarea? put any word of field - show any word, but exists some every word? Thank you, Raz. ___ 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: List Words from Textarea
On 10/13/2010 09:57 PM, Razvan Pantescu wrote: Hi, How can I list every word from a textarea? put any word of field - show any word, but exists some every word? Thank you, Raz. Wow; at least one other LiveCode / RunRev programmer in the Balkans; there's hope yet! How far north of the Danube do you live? sincerely, Richmond Mathewson (Plovdiv, Bulgaria). ___ 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: List Words from Textarea
I've started to study Livecode, don't know too much of it. I'm living about 250km north of Danube (Focsani, Romania) So any suggestions so I can read or list all the words from a Textarea? Thanks, Raz. Date: Wed, 13 Oct 2010 21:59:55 +0300 From: richmondmathew...@gmail.com To: use-revolution@lists.runrev.com Subject: Re: List Words from Textarea On 10/13/2010 09:57 PM, Razvan Pantescu wrote: Hi, How can I list every word from a textarea? put any word of field - show any word, but exists some every word? Thank you, Raz. Wow; at least one other LiveCode / RunRev programmer in the Balkans; there's hope yet! How far north of the Danube do you live? sincerely, Richmond Mathewson (Plovdiv, Bulgaria). ___ 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: [ANN] Simple RPN Calculator on RevOnline
Given the past thread about rounding errors in Revolution, do you use a method for dealing with this? That alone would make the stack invaluable for someone wanting to do accounting type functions. (like me) Bob On Oct 13, 2010, at 10:18 AM, Andre Garzia wrote: Folks, I've decided to share my little RPN Calculator on RevOnline. http://revonline2.runrev.com/download/stack/518/RPN-Calc It is quite simple and it has a minimalistic stack (the data structure, not the file format) implementation on the stack script. I am quite fond of this little piece. It was quick to implement, I find it pleasing to the eye and I use it as my default calc on linux 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 ___ 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: List Words from Textarea
Welcome to LiveCode Raz ! on mouseup repeat for each word w in fld myfield put w cr after mywordslist end repeat answer mywordslist end mouseup HTH, Best, Pierre Le 13 oct. 2010 à 21:06, Razvan Pantescu a écrit : I've started to study Livecode, don't know too much of it. I'm living about 250km north of Danube (Focsani, Romania) So any suggestions so I can read or list all the words from a Textarea? Thanks, Raz. Date: Wed, 13 Oct 2010 21:59:55 +0300 From: richmondmathew...@gmail.com To: use-revolution@lists.runrev.com Subject: Re: List Words from Textarea On 10/13/2010 09:57 PM, Razvan Pantescu wrote: Hi, How can I list every word from a textarea? put any word of field - show any word, but exists some every word? Thank you, Raz. Wow; at least one other LiveCode / RunRev programmer in the Balkans; there's hope yet! How far north of the Danube do you live? sincerely, Richmond Mathewson (Plovdiv, Bulgaria). ___ 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 -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.wrds.com www.sahores-conseil.com ___ 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: [ANN] Simple RPN Calculator on RevOnline
Bob, no, I do not solve that, I just use that stack for simple calculations usually only integers and every now and then some floats. Never reached any limit. When you say rounding error, you mean the way it errors when doing math with some very fine precision such as 5 decimals? or you mean reaching the upper integer limits? On Wed, Oct 13, 2010 at 4:17 PM, Bob Sneidar b...@twft.com wrote: Given the past thread about rounding errors in Revolution, do you use a method for dealing with this? That alone would make the stack invaluable for someone wanting to do accounting type functions. (like me) Bob On Oct 13, 2010, at 10:18 AM, Andre Garzia wrote: Folks, I've decided to share my little RPN Calculator on RevOnline. http://revonline2.runrev.com/download/stack/518/RPN-Calc It is quite simple and it has a minimalistic stack (the data structure, not the file format) implementation on the stack script. I am quite fond of this little piece. It was quick to implement, I find it pleasing to the eye and I use it as my default calc on linux 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 ___ 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: List Words from Textarea
Merci Beaucoup Pierre!! It works fine, Raz. From: psaho...@free.fr Date: Wed, 13 Oct 2010 21:18:37 +0200 To: use-revolution@lists.runrev.com CC: Subject: Re: List Words from Textarea Welcome to LiveCode Raz ! on mouseup repeat for each word w in fld myfield put w cr after mywordslist end repeat answer mywordslist end mouseup HTH, Best, Pierre Le 13 oct. 2010 à 21:06, Razvan Pantescu a écrit : I've started to study Livecode, don't know too much of it. I'm living about 250km north of Danube (Focsani, Romania) So any suggestions so I can read or list all the words from a Textarea? Thanks, Raz. Date: Wed, 13 Oct 2010 21:59:55 +0300 From: richmondmathew...@gmail.com To: use-revolution@lists.runrev.com Subject: Re: List Words from Textarea On 10/13/2010 09:57 PM, Razvan Pantescu wrote: Hi, How can I list every word from a textarea? put any word of field - show any word, but exists some every word? Thank you, Raz. Wow; at least one other LiveCode / RunRev programmer in the Balkans; there's hope yet! How far north of the Danube do you live? sincerely, Richmond Mathewson (Plovdiv, Bulgaria). ___ 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 -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.wrds.com www.sahores-conseil.com ___ 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: List Words from Textarea
On 10/13/2010 10:06 PM, Razvan Pantescu wrote: I've started to study Livecode, don't know too much of it. I'm living about 250km north of Danube (Focsani, Romania) So any suggestions so I can read or list all the words from a Textarea? I set up a stack with 2 fields: 1. field targetTEXT containing the text I wanted to analyse, 2. field wordList (a listField). then I made a button with the following script: on mouseUp put the number of words in fld targetText into TXNUM repeat with AA = 1 to TXNUM put word AA of fld targetTEXT into line AA of fld wordList end repeat end mouseUp clicked on the button and away we go. Richmond. ___ 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: List Words from Textarea
On 10/13/2010 10:24 PM, Razvan Pantescu wrote: Merci Beaucoup Pierre!! It works fine, Raz. From: psaho...@free.fr Date: Wed, 13 Oct 2010 21:18:37 +0200 To: use-revolution@lists.runrev.com CC: Subject: Re: List Words from Textarea Welcome to LiveCode Raz ! on mouseup repeat for each word w in fld myfield put w cr after mywordslist end repeat answer mywordslist end mouseup HTH, Best, Pierre L This, along with my way of doing the same thing should show you how flexible LiveCode is, and how there is almost always more than one way to do things. ___ 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: [ANN] Simple RPN Calculator on RevOnline
Well there was a thread a while back where someone doing floating point math was getting the wrong results. I don't remember what the exact circumstances were, but it gave me pause, as some were saying that this was inherent with software that did computations with floating point math, and that all such software had to take this into account. I remember at the time thinking, Dang! I wanted to use this for conference registration software but now I am worried about the math, if I have to do tax calculations. Bob On Oct 13, 2010, at 12:23 PM, Andre Garzia wrote: Bob, no, I do not solve that, I just use that stack for simple calculations usually only integers and every now and then some floats. Never reached any limit. When you say rounding error, you mean the way it errors when doing math with some very fine ___ 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: List Words from Textarea
Hey Richmond, I wanted to do your version, but I had some issues with sintax. Thank you for your help anyway. Raz. Date: Wed, 13 Oct 2010 22:27:26 +0300 From: richmondmathew...@gmail.com To: use-revolution@lists.runrev.com Subject: Re: List Words from Textarea On 10/13/2010 10:24 PM, Razvan Pantescu wrote: Merci Beaucoup Pierre!! It works fine, Raz. From: psaho...@free.fr Date: Wed, 13 Oct 2010 21:18:37 +0200 To: use-revolution@lists.runrev.com CC: Subject: Re: List Words from Textarea Welcome to LiveCode Raz ! on mouseup repeat for each word w in fld myfield put w cr after mywordslist end repeat answer mywordslist end mouseup HTH, Best, Pierre L This, along with my way of doing the same thing should show you how flexible LiveCode is, and how there is almost always more than one way to do things. ___ 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
Stop Rolling Loop
Hi again, I've made a script that starts listing every 5 seconds some URLs onclick a Start button, but I want to stop listing in any moment pushing a Stop button. There is some break or exit function for that. I've noticed that any other buttons are disabled while looping. Thank you, Raz. From: razv...@hotmail.com To: use-revolution@lists.runrev.com Date: Wed, 13 Oct 2010 19:24:21 + Subject: RE: List Words from Textarea Merci Beaucoup Pierre!! It works fine, Raz. From: psaho...@free.fr Date: Wed, 13 Oct 2010 21:18:37 +0200 To: use-revolution@lists.runrev.com CC: Subject: Re: List Words from Textarea Welcome to LiveCode Raz ! on mouseup repeat for each word w in fld myfield put w cr after mywordslist end repeat answer mywordslist end mouseup HTH, Best, Pierre Le 13 oct. 2010 à 21:06, Razvan Pantescu a écrit : I've started to study Livecode, don't know too much of it. I'm living about 250km north of Danube (Focsani, Romania) So any suggestions so I can read or list all the words from a Textarea? Thanks, Raz. Date: Wed, 13 Oct 2010 21:59:55 +0300 From: richmondmathew...@gmail.com To: use-revolution@lists.runrev.com Subject: Re: List Words from Textarea On 10/13/2010 09:57 PM, Razvan Pantescu wrote: Hi, How can I list every word from a textarea? put any word of field - show any word, but exists some every word? Thank you, Raz. Wow; at least one other LiveCode / RunRev programmer in the Balkans; there's hope yet! How far north of the Danube do you live? sincerely, Richmond Mathewson (Plovdiv, Bulgaria). ___ 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 -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.wrds.com www.sahores-conseil.com ___ 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 ___ 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: Stop Rolling Loop
Hello Razvan Pantescu, This is where you need to use the wait 0 milliseconds with messages item which was recently discussed on the list. Put the wait with messages inside the loop and it will detect interface events like clicks on other buttons. Then you will need a section to check some state the other button set also. For instance, your other button could toggle a custom prop or a global variable that is being checked in the loop. That should allow you a responsive interface and the ability to halt a process. It may be more preferable however to use the send in time form rather than a loop. If you do a search for runrev send in time this should become clear. Wayne On Wed, Oct 13, 2010 at 3:48 PM, Razvan Pantescu razv...@hotmail.comwrote: Hi again, I've made a script that starts listing every 5 seconds some URLs onclick a Start button, but I want to stop listing in any moment pushing a Stop button. There is some break or exit function for that. I've noticed that any other buttons are disabled while looping. Thank you, Raz. From: razv...@hotmail.com To: use-revolution@lists.runrev.com Date: Wed, 13 Oct 2010 19:24:21 + Subject: RE: List Words from Textarea Merci Beaucoup Pierre!! It works fine, Raz. From: psaho...@free.fr Date: Wed, 13 Oct 2010 21:18:37 +0200 To: use-revolution@lists.runrev.com CC: Subject: Re: List Words from Textarea Welcome to LiveCode Raz ! on mouseup repeat for each word w in fld myfield put w cr after mywordslist end repeat answer mywordslist end mouseup HTH, Best, Pierre Le 13 oct. 2010 à 21:06, Razvan Pantescu a écrit : I've started to study Livecode, don't know too much of it. I'm living about 250km north of Danube (Focsani, Romania) So any suggestions so I can read or list all the words from a Textarea? Thanks, Raz. Date: Wed, 13 Oct 2010 21:59:55 +0300 From: richmondmathew...@gmail.com To: use-revolution@lists.runrev.com Subject: Re: List Words from Textarea On 10/13/2010 09:57 PM, Razvan Pantescu wrote: Hi, How can I list every word from a textarea? put any word of field - show any word, but exists some every word? Thank you, Raz. Wow; at least one other LiveCode / RunRev programmer in the Balkans; there's hope yet! How far north of the Danube do you live? sincerely, Richmond Mathewson (Plovdiv, Bulgaria). ___ 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 -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.wrds.com www.sahores-conseil.com ___ 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 ___ 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: [ANN] Simple RPN Calculator on RevOnline
Andre. Andre. As a reverse Polish afficionado from the days of the HP-35, I have to tell you that the following sequence fails: 1- Key in a 6 2- Enter 3- Key in a 5 4- Key in - (minus) In an RPN calculator, the enter key terminates data entry, and the next argument (or operand) is loaded for immediate action. This is operator postfix notation. I am sure you know this. Your minus sign correlates to a change sign key on an HP calculator. I cannot do a subtraction at all. A bug? Or me? But a gorgeous little calculator. Did you ever see, and I forget which model it was, an HP with all four stack registers (X, Y, Z, and T) visible at once in a four line display? Must have been about 1980 or so. You can watch as you build and collapse the registers as you work a multi-level calculation. Regards, Craig Newman In a message dated 10/13/10 1:18:30 PM, an...@andregarzia.com writes: Folks, I've decided to share my little RPN Calculator on RevOnline. http://revonline2.runrev.com/download/stack/518/RPN-Calc It is quite simple and it has a minimalistic stack (the data structure, not the file format) implementation on the stack script. I am quite fond of this little piece. It was quick to implement, I find it pleasing to the eye and I use it as my default calc on linux Andre ___ 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: [ANN] Simple RPN Calculator on RevOnline
Craig, I debated with myself for some time today regarding the minus sign. The best solution is having two buttons one for changing the sign and other for the operation. Right now, my minus button will behave like this: (1) if there is a text that is on the entry field which is the buffer place where the calculator displays the numbers before you pressing enter and push them into the stack, if there is a number there, then the minus sign with change the number sign. (2) if there is no number in the entry field, the minus sign will execute the subtract operation on the two numbers on the stack so, to execute 4 - 2 you could go: 4 ENTER 2 ENTER - or 4 ENTER 2 MINUS + which is the same thing since it actually does 4 + (-2) I may add some buttons and features there and then solve this issue by having a negation button. What do you think? As for registers, right now I don't have any, just a simple stack but I plan to add more features. Some day I may implement multiple stacks to work out multi level calculations or maybe some registers. I love my HP 48 GX and my dream calculator is the 16C (the programmers one, impossible to find). :-D On Wed, Oct 13, 2010 at 4:55 PM, dunb...@aol.com wrote: Andre. Andre. As a reverse Polish afficionado from the days of the HP-35, I have to tell you that the following sequence fails: 1- Key in a 6 2- Enter 3- Key in a 5 4- Key in - (minus) In an RPN calculator, the enter key terminates data entry, and the next argument (or operand) is loaded for immediate action. This is operator postfix notation. I am sure you know this. Your minus sign correlates to a change sign key on an HP calculator. I cannot do a subtraction at all. A bug? Or me? But a gorgeous little calculator. Did you ever see, and I forget which model it was, an HP with all four stack registers (X, Y, Z, and T) visible at once in a four line display? Must have been about 1980 or so. You can watch as you build and collapse the registers as you work a multi-level calculation. Regards, Craig Newman In a message dated 10/13/10 1:18:30 PM, an...@andregarzia.com writes: Folks, I've decided to share my little RPN Calculator on RevOnline. http://revonline2.runrev.com/download/stack/518/RPN-Calc It is quite simple and it has a minimalistic stack (the data structure, not the file format) implementation on the stack script. I am quite fond of this little piece. It was quick to implement, I find it pleasing to the eye and I use it as my default calc on linux Andre ___ 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: [ANN] Simple RPN Calculator on RevOnline
Andre. I see what you intended. I really think you should follow the HP standard, with a separate change sign key. Keep the faith... I still have my HP-35. Got it in 1971, I think. I use an HP-41 now. Wouldn't think of anything else. Craig ___ 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: [ANN] Simple RPN Calculator on RevOnline
On Wed, Oct 13, 2010 at 5:29 PM, dunb...@aol.com wrote: Andre. I see what you intended. I really think you should follow the HP standard, with a separate change sign key. Keep the faith... I will, but it will break my layout.. :-) next revision I will add it along with some other tidbits. Do you have any other buttons/features that you think are a *must* for a simple rpn calculator? I still have my HP-35. Got it in 1971, I think. I use an HP-41 now. Wouldn't think of anything else. Craig ___ 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: [ANN] Simple RPN Calculator on RevOnline
Andre. A switch button, (that reverses the contents of the X and Y registers)? A rollDown button (like a shift register through x,y,z and t)? The RPN ease and beauty is resident in the enter key, and the four arithmetic operator keys. The switch and Roll keys help, because they do a little stack fiddling. But advanced functions are but window dressing. Nice, but not the core. You know this. Craig In a message dated 10/13/10 4:37:07 PM, an...@andregarzia.com writes: I will, but it will break my layout.. :-) next revision I will add it along with some other tidbits. Do you have any other buttons/features that you think are a *must* for a simple rpn calculator? ___ 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: [ANN] Simple RPN Calculator on RevOnline
Craig, Just added a new revision to RevOnline, now there is a negate button and the minus sign behave as expected (by executing the operation) the switch and rolldown button would depend on me having registers which I don't right now. There is swp which swaps the last two entries in the stack. Will find out how hard it is to have some HP like registers. On Wed, Oct 13, 2010 at 5:44 PM, dunb...@aol.com wrote: Andre. A switch button, (that reverses the contents of the X and Y registers)? A rollDown button (like a shift register through x,y,z and t)? The RPN ease and beauty is resident in the enter key, and the four arithmetic operator keys. The switch and Roll keys help, because they do a little stack fiddling. But advanced functions are but window dressing. Nice, but not the core. You know this. Craig In a message dated 10/13/10 4:37:07 PM, an...@andregarzia.com writes: I will, but it will break my layout.. :-) next revision I will add it along with some other tidbits. Do you have any other buttons/features that you think are a *must* for a simple rpn calculator? ___ 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: [ANN] Simple RPN Calculator on RevOnline
Andre. The whole point of registers is that data entry is naturally terminated by either an enter or an operator. The data is loaded, and waits for the user to command it. This is unlike an algebraic (or operator prefix) system where the operator is entered between the operands, and therefore the process is locked into a prescribed state. You cannot change your mind, and add, instead of multiply, those two numbers you are interested in. The four register stack permits any number of levels of nested, complex chain calculations. This requires a separate temporary register in a prefix system. But you know all that. I just think that a register based gadget would be easier to author than any other, and you could make it so those registers are visible, if you wanted to. Like that calculator I cannot remember... Craig In a message dated 10/13/10 4:47:53 PM, an...@andregarzia.com writes: Craig, Just added a new revision to RevOnline, now there is a negate button and the minus sign behave as expected (by executing the operation) the switch and rolldown button would depend on me having registers which I don't right now. There is swp which swaps the last two entries in the stack. Will find out how hard it is to have some HP like registers. ___ 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: [ANN] Simple RPN Calculator on RevOnline
Craig, I see... the thing about X,Y,Z,T is that some HP calculators have only 4 stacked register with some tricks with X,Y and T always rolling. My little stack is limited only by the memory available. I am trying to shoehorn the rolling T right now... I just read http://www.hpmuseum.org/rpn.htm to have some clear mental picture of how x,y,z,t behave and also R dn, Last X and CLx I think I can create something here... :-) ho ho ho my little RPN calc is growing. On Wed, Oct 13, 2010 at 6:07 PM, dunb...@aol.com wrote: Andre. The whole point of registers is that data entry is naturally terminated by either an enter or an operator. The data is loaded, and waits for the user to command it. This is unlike an algebraic (or operator prefix) system where the operator is entered between the operands, and therefore the process is locked into a prescribed state. You cannot change your mind, and add, instead of multiply, those two numbers you are interested in. The four register stack permits any number of levels of nested, complex chain calculations. This requires a separate temporary register in a prefix system. But you know all that. I just think that a register based gadget would be easier to author than any other, and you could make it so those registers are visible, if you wanted to. Like that calculator I cannot remember... Craig In a message dated 10/13/10 4:47:53 PM, an...@andregarzia.com writes: Craig, Just added a new revision to RevOnline, now there is a negate button and the minus sign behave as expected (by executing the operation) the switch and rolldown button would depend on me having registers which I don't right now. There is swp which swaps the last two entries in the stack. Will find out how hard it is to have some HP like registers. ___ 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: Flipping graphic with a Key
Hi Thanks for the reply's I m sorry to report that neither flushEvents(autoKey) flushEvents(all) or Jacquelines script: on keydown pkey if pkey = f then doTheFlipping send checkKey to me in 0 else pass keydown end if end keydown command checkKey if 102 is in keysdown() then -- 102 is the keycode for f send checkKey to me in 250 milliseconds -- adjust timing here else doTheFlipping end if end checkKey ...did have any effect on stopping the repeated keyDown. Mic ___ 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: Stop Rolling Loop
Hi Wayne, Thank you for your suggestions. I've done that using in loop this line: wait 5 seconds with messages and next tested in loop if a global variable was set with 0 in Stop button. It works fine now, Thank you! Raz. Date: Wed, 13 Oct 2010 15:54:19 -0400 From: wdur...@gmail.com To: use-revolution@lists.runrev.com Subject: Re: Stop Rolling Loop Hello Razvan Pantescu, This is where you need to use the wait 0 milliseconds with messages item which was recently discussed on the list. Put the wait with messages inside the loop and it will detect interface events like clicks on other buttons. Then you will need a section to check some state the other button set also. For instance, your other button could toggle a custom prop or a global variable that is being checked in the loop. That should allow you a responsive interface and the ability to halt a process. It may be more preferable however to use the send in time form rather than a loop. If you do a search for runrev send in time this should become clear. Wayne On Wed, Oct 13, 2010 at 3:48 PM, Razvan Pantescu razv...@hotmail.comwrote: Hi again, I've made a script that starts listing every 5 seconds some URLs onclick a Start button, but I want to stop listing in any moment pushing a Stop button. There is some break or exit function for that. I've noticed that any other buttons are disabled while looping. Thank you, Raz. From: razv...@hotmail.com To: use-revolution@lists.runrev.com Date: Wed, 13 Oct 2010 19:24:21 + Subject: RE: List Words from Textarea Merci Beaucoup Pierre!! It works fine, Raz. From: psaho...@free.fr Date: Wed, 13 Oct 2010 21:18:37 +0200 To: use-revolution@lists.runrev.com CC: Subject: Re: List Words from Textarea Welcome to LiveCode Raz ! on mouseup repeat for each word w in fld myfield put w cr after mywordslist end repeat answer mywordslist end mouseup HTH, Best, Pierre Le 13 oct. 2010 à 21:06, Razvan Pantescu a écrit : I've started to study Livecode, don't know too much of it. I'm living about 250km north of Danube (Focsani, Romania) So any suggestions so I can read or list all the words from a Textarea? Thanks, Raz. Date: Wed, 13 Oct 2010 21:59:55 +0300 From: richmondmathew...@gmail.com To: use-revolution@lists.runrev.com Subject: Re: List Words from Textarea On 10/13/2010 09:57 PM, Razvan Pantescu wrote: Hi, How can I list every word from a textarea? put any word of field - show any word, but exists some every word? Thank you, Raz. Wow; at least one other LiveCode / RunRev programmer in the Balkans; there's hope yet! How far north of the Danube do you live? sincerely, Richmond Mathewson (Plovdiv, Bulgaria). ___ 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 -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.wrds.com www.sahores-conseil.com ___ 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 ___ 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 ___ use-revolution mailing list
Re: [ANN] Simple RPN Calculator on RevOnline
Andre. All four registers, x,y, z and t are identical, and reside in a single LIFO stack: T Z Y X X is the register that is visible. The upper ones are above it, take a tiny bit of getting used to, and then unleash their power. One enters data from the keyboard into x. Enter simply says: terminate data entry, and move the data in x to y, y to z and z to t (t is lost). Any operator, like + says: add y to x, leave the answer in x; move z to y, move t to z and leave a copy of t in t. There is a switch x and y button, and a rollDown button, that shifts data downward, one register to another, and passes x back up to t. That's it. That's all one needs. Craig ___ 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: List Words from Textarea
Welcome Raz. Pierre's script gives you one good answer. When I read your email, I assumed you wanted to list each word - but avoid duplicates. To do that, you would change the script slightly, to on mouseup set the wholeMatches to true repeat for each word w in fld myfield if w is not among the lines of mywordslist then put w cr after mywordslist end repeat answer mywordslist end mouseup -- Alex. On 13/10/2010 20:18, Pierre Sahores wrote: Welcome to LiveCode Raz ! on mouseup repeat for each word w in fld myfield put w cr after mywordslist end repeat answer mywordslist end mouseup HTH, Best, Pierre Le 13 oct. 2010 à 21:06, Razvan Pantescu a écrit : I've started to study Livecode, don't know too much of it. I'm living about 250km north of Danube (Focsani, Romania) So any suggestions so I can read or list all the words from a Textarea? Thanks, Raz. Date: Wed, 13 Oct 2010 21:59:55 +0300 From: richmondmathew...@gmail.com To: use-revolution@lists.runrev.com Subject: Re: List Words from Textarea On 10/13/2010 09:57 PM, Razvan Pantescu wrote: Hi, How can I list every word from a textarea? put any word of field - show any word, but exists some every word? Thank you, Raz. Wow; at least one other LiveCode / RunRev programmer in the Balkans; there's hope yet! How far north of the Danube do you live? sincerely, Richmond Mathewson (Plovdiv, Bulgaria). ___ 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 -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.wrds.com www.sahores-conseil.com ___ 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: Workaround For No selectionChanged Message?
Um, yes, I'm pretty sure that palette stack xyz sets the stack's style to palette... :-) I thought you might know that ;-) But you got me thinking, I am trying to maintain the user's selection after the text has been styled, and it seems that even the LiveCode IDE doesn't do this (selection is lost after style is changed). So maybe the previously selected text needs to be reselected after being styled. That makes sense. Probably the whole field is refreshed when you set a property of the selected chunk. 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: [ANN] Simple RPN Calculator on RevOnline
I still have (and use) my HP-25C and my HP-48G+ . I prefer the 25C to the 48G+ for most simple programming tasks. I also have a perfect emulator of the HP-25C for OS X that I picked up a few years back. It is my main calculator on the mac. I can't find it on the internet anymore, but I will happily send a copy to anyone who emails me privately. On 2010-10-13, at 3:41 PM, use-revolution-requ...@lists.runrev.com wrote: I still have my HP-35. Got it in 1971, I think. I use an HP-41 now. Wouldn't think of anything else. Craig -- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html -Dr. John R. Vokey ___ 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
[ANN] DGH 1.0.2 - An issue with Script Builder fixed
Dear LiveCode users, By working on new features in DGH, I found an issue in the DGH's Script builder. In some case the Script Builder could loose the link with its dictionary and then generate empty scripts. This issue is fixed in the 1.0.2 version. Script Builder is the way in DGH to generate scripts for a template behavior script. It could give you free time with the coding task. If you have not already used it, please consider to try it by following this quick example: 1) Drop a datagrid in a card 2) With DGH, add one or two columns to the datagrid 3) Open the template of a column then drop in it a standard button (controls are located in the Classic objects part of the DGH column builder) 4) Update the template to add the standard behavior script 5) In the (S)cript button on the right of the template area, choose the menu Build script 6) In the dialogs, choose to Update then Erase the current script 7) Update the template again to refresh the column builder preview 8) To try, click on the button you added in the column builder preview 9) Have a look to the generated script by selecting the Edit script menu in the button (S) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ 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: Flipping graphic with a Key
On 13/10/2010 22:33, Michael Kristensen wrote: Thanks for the reply's I m sorry to report that neither .. or ... ...did have any effect on stopping the repeated keyDown. I don't think you can stop the repeated keyDown; the OS will keep sending the keyDown events, LiveCode will keep reporting them to your code. Nor would cunning schemes with carefully calibrated time work (except perhaps if you only want this to work on a single machine that you have control over) since the user can adjust the speed of key repeat, and the delay before first repeat. However, have you tried Jim Lambert's suggestion of using the keyUp event? AFAIK, LiveCode processes auto-repeating keys (at least on Mac) as repeated keyDown events; but it only sends a keyUp event when the key is released. So if you set a flag when you flip the graphic on the first keyDown; ignore subsequent keyDown events if the flag is still set; and then unflip, and clear the flag, on a keyUp event, that should work. If you really want to monitor the state of a key, you'll need to switch to using one of the keys that is treated as having 'up' and 'down' states, such as shift, alt or control, rather than the regular keys which don't so much have a state, rather have events (keyDown, keyUp). Ben ___ 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: List Words from Textarea
On 10/13/10 2:27 PM, Richmond wrote: This, along with my way of doing the same thing should show you how flexible LiveCode is, and how there is almost always more than one way to do things. Yup. Only I hate to say it, but Pierre's was much faster. ;) -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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: [ANN] Simple RPN Calculator on RevOnline
except '*dup*' - ha On 13 October 2010 14:44, dunb...@aol.com wrote: Andre. All four registers, x,y, z and t are identical, and reside in a single LIFO stack: T Z Y X X is the register that is visible. The upper ones are above it, take a tiny bit of getting used to, and then unleash their power. One enters data from the keyboard into x. Enter simply says: terminate data entry, and move the data in x to y, y to z and z to t (t is lost). Any operator, like + says: add y to x, leave the answer in x; move z to y, move t to z and leave a copy of t in t. There is a switch x and y button, and a rollDown button, that shifts data downward, one register to another, and passes x back up to t. That's it. That's all one needs. Craig ___ 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
Re: Flipping graphic with a Key
On 10/13/10 4:33 PM, Michael Kristensen wrote: Hi Thanks for the reply's I m sorry to report that neither flushEvents(autoKey) flushEvents(all) or Jacquelines script: on keydown pkey if pkey = f then doTheFlipping send checkKey to me in 0 else pass keydown end if end keydown command checkKey if 102 is in keysdown() then -- 102 is the keycode for f send checkKey to me in 250 milliseconds -- adjust timing here else doTheFlipping end if end checkKey ...did have any effect on stopping the repeated keyDown. Odd, I tested it before I posted and it worked (at least on Mac, what OS are you on?) Only I didn't have your flipping code so I just set the color of a field instead. If you change the flip to something like set the backcolor of fld 1 to red on flip and set the backcolor of fld 1 to empty on un-flip, does that work? If so, then see if there's anything in your other handler that's changing the behavior. I wouldn't expect flushevents to work, the messages are coming in faster than you can clear them. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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: List Words from Textarea
Here's one from the LiveCode Resource Center included in the product (in the RC see Tutorials - Text -Listing all the unique words in a piece of text): function uniqueWordsOf theString repeat for each word thisWord in theString add 1 to wordsList[thisWord] -- array variable end repeat return the keys of wordsList -- the list of words end uniqueWordsOf -- 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
Re: Flipping graphic with a Key
On 10/13/10 5:34 PM, Ben Rubinstein wrote: However, have you tried Jim Lambert's suggestion of using the keyUp event? AFAIK, LiveCode processes auto-repeating keys (at least on Mac) as repeated keyDown events; but it only sends a keyUp event when the key is released. If you're right I'll be embarrassed. ;) Used to be on Macs you got repeated keyups no matter what you did -- I remember having a terrible time with it, which is why I didn't even go there for this question. But I just did a quick test and it looks like it works as you'd expect now, which means your suggestion would be the right one. Not sure how Windows works now. It used to provide discrete keydown and keyup messages as expected. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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: List Words from Textarea
Razvan wrote: How can I list every word from a textarea? First, welcome Razvan! In addition to Pierres and Richmond's suggestions, here's a few: function getWordList someText replace space with cr in someText return someText end getWordList function getUniqueWordList someText repeat for each word w in someText if w is not among the lines of uniqueWord then put w cr after uniqueWords end repeat -- AND JUST FOR THE HECK OF IT sort uniqueWords return uniqueWords end getWordList 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: WindowBoundingRect in Linux
I do like wmii, but what I keep coming back to for everyday use is Fluxbox, and some of the time ion2. Mostly Fluxbox feels very intuitive and plain. I agree the suckless people are very interesting. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/WindowBoundingRect-in-Linux-tp2993052p2994624.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ 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: Flipping graphic with a Key
Message: 29 Date: Wed, 13 Oct 2010 23:33:06 +0200 From: Michael Kristensen michael-kristen...@dsa-net.dk Subject: Re: Flipping graphic with a Key To: use-revolution@lists.runrev.com Message-ID: ab1f63a3-a590-4343-b014-0e2af7007...@dsa-net.dk Content-Type: text/plain; charset=US-ASCII; format=flowed Hi Thanks for the reply's I m sorry to report that neither flushEvents(autoKey) flushEvents(all) or Jacquelines script: on keydown pkey if pkey = f then doTheFlipping send checkKey to me in 0 else pass keydown end if end keydown command checkKey if 102 is in keysdown() then -- 102 is the keycode for f send checkKey to me in 250 milliseconds -- adjust timing here else doTheFlipping end if end checkKey ...did have any effect on stopping the repeated keyDown. Mic How about: put the pendingmessages into tPendingMsgs repeat for each line tLine in tPendingMsgs cancel item 1 of tLine end repeat Jim Hurley ___ 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: List Words from Textarea
Caution with this solution. The definition of a 'word' for LiveCode is not what you would normally think. Spaces are not the only white space, and punctuation that is attached to the word is included as part of a word. On Oct 13, 2010, at 4:30 PM, Jim Lambert wrote: Razvan wrote: How can I list every word from a textarea? First, welcome Razvan! In addition to Pierres and Richmond's suggestions, here's a few: function getWordList someText replace space with cr in someText return someText end getWordList function getUniqueWordList someText repeat for each word w in someText if w is not among the lines of uniqueWord then put w cr after uniqueWords end repeat -- AND JUST FOR THE HECK OF IT sort uniqueWords return uniqueWords end getWordList Jim Lambert Jim Ault Las Vegas ___ 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: List Words from Textarea
Hi Jim, Thanks for the info. If this be the case, LC is really screwing around with things that could break MANY applications. I think I'll stay away from LC if this is an example of what is now being done to REV. Who is the crazy loon who decided to do this? VERY un-HyperTalkish! Joe Wilkins. On Oct 13, 2010, at 9:17 PM, Jim Ault wrote: Caution with this solution. The definition of a 'word' for LiveCode is not what you would normally think. Spaces are not the only white space, and punctuation that is attached to the word is included as part of a word. On Oct 13, 2010, at 4:30 PM, Jim Lambert wrote: Razvan wrote: How can I list every word from a textarea? First, welcome Razvan! In addition to Pierres and Richmond's suggestions, here's a few: function getWordList someText replace space with cr in someText return someText end getWordList function getUniqueWordList someText repeat for each word w in someText if w is not among the lines of uniqueWord then put w cr after uniqueWords end repeat -- AND JUST FOR THE HECK OF IT sort uniqueWords return uniqueWords end getWordList Jim Lambert Jim Ault Las Vegas ___ 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: List Words from Textarea
On 10/14/10 12:01 AM, Joe Lewis Wilkins wrote: Hi Jim, Thanks for the info. If this be the case, LC is really screwing around with things that could break MANY applications. I think I'll stay away from LC if this is an example of what is now being done to REV. Who is the crazy loon who decided to do this? VERY un-HyperTalkish! Actually it's exactly HyperTalkish. It's always been that way, all the way back to MetaCard and HyperCard before that. A word includes anything between white space, including any punctuation. In fact, I think MC and Rev did it that way to maintain compatibility with HC. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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: List Words from Textarea
Jacqi, forgive me for questioning/doubting you, but I really have trouble believing that, what with the literally thousands of scripts I wrote in HC over a period of nearly 20 years. I just don't remember having to strip commas from words when parsing and sorting text. If you say so, but why would Jim have had to point that out if it is the normal way of doing things? I guess the mind IS the first thing to go. (smile) Joe Wilkins On Oct 13, 2010, at 10:05 PM, J. Landman Gay wrote: On 10/14/10 12:01 AM, Joe Lewis Wilkins wrote: Hi Jim, Thanks for the info. If this be the case, LC is really screwing around with things that could break MANY applications. I think I'll stay away from LC if this is an example of what is now being done to REV. Who is the crazy loon who decided to do this? VERY un-HyperTalkish! Actually it's exactly HyperTalkish. It's always been that way, all the way back to MetaCard and HyperCard before that. A word includes anything between white space, including any punctuation. In fact, I think MC and Rev did it that way to maintain compatibility with HC. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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: determining if user has shell access
No ideas anyone? How is it possible to determine if shell access is available? One of my apps is being run where the command line is restricted on Windows and shell calls aren't being returned. I think this is a bug in the engine in that a call to shell should return Error: no shell access or something logical rather than not returning but has anyone worked around this before. 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: List Words from Textarea
Thank you guys to all of you for help sugeestions. The basic idea was to enter on a Textarea some URLs, clicking on a Start Button to open in that application to every 15 seconds every URL from that list. Clicking on a Stop button, to stop that process. First part I've made it with your help, now I have to check how can I open (embedd) an website in the application. Any suggestions? Thank you again. Raz. From: pepe...@cox.net Date: Wed, 13 Oct 2010 22:40:05 -0700 To: use-revolution@lists.runrev.com Subject: Re: List Words from Textarea Jacqi, forgive me for questioning/doubting you, but I really have trouble believing that, what with the literally thousands of scripts I wrote in HC over a period of nearly 20 years. I just don't remember having to strip commas from words when parsing and sorting text. If you say so, but why would Jim have had to point that out if it is the normal way of doing things? I guess the mind IS the first thing to go. (smile) Joe Wilkins On Oct 13, 2010, at 10:05 PM, J. Landman Gay wrote: On 10/14/10 12:01 AM, Joe Lewis Wilkins wrote: Hi Jim, Thanks for the info. If this be the case, LC is really screwing around with things that could break MANY applications. I think I'll stay away from LC if this is an example of what is now being done to REV. Who is the crazy loon who decided to do this? VERY un-HyperTalkish! Actually it's exactly HyperTalkish. It's always been that way, all the way back to MetaCard and HyperCard before that. A word includes anything between white space, including any punctuation. In fact, I think MC and Rev did it that way to maintain compatibility with HC. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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 ___ 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