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
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
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
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
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...
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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?
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
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
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
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
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
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:
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
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,
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
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
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
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
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
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
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.
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
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
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
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
___
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.
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
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.
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
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
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
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:
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:
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
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
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
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
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
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 |
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
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
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
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
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
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:
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;
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
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
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
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
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
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
67 matches
Mail list logo