Very helpful indeed !
Always learning :-) I did not know that a non-breaking space was
considered as a word !
Like St Thomas, I tried it and … you are right (of course ;-))
Yes, as you say, it is unlikely (mainly due to the fact that one use
two keys to type a non-breaking space)
but sure
On 2/4/09 1:33 PM, Bob Sneidar b...@twft.com wrote:
So using your method, my queries for a table of 25 employees with the
associated departments data would look something like this:
-- employee data
put SELECT employees.deptid FROM employees LIMIT 25 into
mEmployeeQuery
--
A simple join would work for this as well:
SELECT * FROM employees, departments WHERE employees.deptid =
departments.deptid
As a bonus, this way you could easily pick what fields you wanted from
each table. For example:
SELECT employees.id,employees.name,departments.name FROM employees,
there is:
if matchText(fld fText, \S) is false then
answer no text in field
end if
This one checks for any symbols that are not whitespace of any kind
(\S is same as [ \t\f\r\n]).
Viktoras
Bob Sneidar wrote:
I wonder, isn't there a way to use regular expressions to check for
white
small correction: \s is same as [ \t\f\r\n], and \S is opposite to \s.
viktoras d. wrote:
there is:
if matchText(fld fText, \S) is false then
answer no text in field
end if
This one checks for any symbols that are not whitespace of any kind
(\S is same as [ \t\f\r\n]).
Viktoras
Hello,
I've posted this already a couple of month ago, but wanted to ask, if
anybody else has experienced same problems with Rev 3.0 on Win XP.
Some (rare) customers of mine complain that my prog crashes, when they call
the print dialog. I am just using:
Answer printer
Print card
There is a
William, assuming you have the path for the folder in a variable tFo
on mouseUp
put the defaultFolder into tOldFo -- so we can set the default
back when we've finished
set the defaultFolder to tFo
put the files into tFileList
filter tFileList with *.txt
repeat for each line L in
Hi all,
I have a nice matchtext script that extract placeholders from a text.
Like everything between and or :: or { and }
This is the function I use, it#s a little script of Ken Ray (thanks
Ken!)
that I could understand, at least a bit to modify it:-)
## extract placeholder
Difficulty one is that '[' is a special character in regular expressions and
escaping can make using them even more confusing. This is also true of the
filter command.
--this function seems to work
--the catch is that the [ and ] are special chars
--recall the merge() function
function getList
Hi all,
after carefully reading my own post, I found the answer :-)
Now it works with [ and [[!
See below for the solution.
Hi all,
I have a nice matchtext script that extract placeholders from a
text.
Like everything between and or :: or { and }
This is the function I use, it#s a
Hi there,
Say I have several .TXT files in a directory and I want the contents of them
all to be shown in just one text field with just one mouseclick.
I know how to do this with one .TXT file but not with say 30 files.
And all these files have different names.
Any idea's or scripts are welcome!
On 1 Feb 2009, at 12:31 pm, David Glasgow wrote:
Subject: Rev timeline stack?
Reply-To: How to use Revolution use-revolution@lists.runrev.com
Has anyone written a timeline stack/group?
I have looked at the software about, which looks luscious
(especially Bee docs timeline) but it doesn't
Hi Jim,
looks like you missed my second post, I already found the solution to
my problem.
Difficulty one is that '[' is a special character in regular
expressions and
escaping can make using them even more confusing. This is also true
of the
filter command.
Anyway, thanks for you
On Feb 4, 2009, at 6:45 PM, Chipp Walters wrote:
Interesting note: I found the following results:
function altAsciiScrub2 pText
put replacetext(pText,[ numToChar(129) - numToChar(255)
],) into pText
put replacetext(pText,[ numToChar(1) - numToChar(31)
],)
into pText
return
On Wed Feb 4, 2009, Richmond Mathewson geradamas at yahoo.com wrote:
I made an image via IMPORT SNAPSHOT on a card, set its INK to
TRANSPARENT:
But when I exported the image as both PNG and GIF the transparency
was lost.
Does this mean that transparency is only local?
sincerely, Richmond
Hey, Look, Richmond is reinventing the wheel :)
would be grateful if anybody can tell me why:
put the charToNum(char 10 of the mask of imgGOTTIT) into fld fNEW
throws a
compiling at 7:39:53 PM
TypeFunction: missing 'of'
Object Mask
Lineput the charToNum(char 10 of the mask of
Tiemo Hollmann TB wrote:
Hello,
I've posted this already a couple of month ago, but wanted to ask, if
anybody else has experienced same problems with Rev 3.0 on Win XP.
Some (rare) customers of mine complain that my prog crashes, when they call
the print dialog. I am just using:
Answer
Thanks all for the responses. I get a lot from this forum. Pardon the
verboseness of my posts, but I am excited about what I am building,
and want to share this with the Rev community when it is done. I think
this can be a very useful tool for people who need to use rev to
manage large
Richmond Mathewson wrote:
Hey, Look, Richmond is reinventing the wheel :)
would be grateful if anybody can tell me why:
put the charToNum(char 10 of the mask of imgGOTTIT) into fld fNEW
throws a
compiling at 7:39:53 PM
TypeFunction: missing 'of'
Object Mask
Lineput the
Hi,
put the charToNum(char 10 of the mask of imgGOTTIT) into fld fNEW
should either be:
put the charToNum of char 10 of the mask of img GOTTIT into fld fNEW
or
put charToNum(char 10 of the mask of img GOTTIT) into fld fNEW
In both cases, imgGOTTIT should be img GOTTIT, using a space to
Thank you v. much for your help, Melitón Cardona Torres and J. Landman Gay;
I realised about 2 seconds after I had sent off that message that I had
a silly the in there.
But, as usual, I ran up against another something:
put charToNum(char 10 of the mask of imgGOTTIT) into fld fNEW
returns
Goal:
Using shell()to determine if my Rev app is among the line of all running
processes. If so, then user has started a second instance and I want to
quit.
Task 1: Get a list of all running processes and IDs.
Task 2: Get the process name and ID of my Rev app.
With me so far? Okay...
I should
I have a client experiencing this problem (application quits) on one
machine under Windows XP. All the rest of the machines at his site
print correctly with this application. We have tried several times to
solve this but for now he is just not using that particular computer
to print with
Hey Bob,
Hope these notes help - sounds like a fun project.
It looks like your query above is going the opposite direction,
looking up customers that match the deptid in departments. I am
looking for department records whose deptid only exist in the
customer cursor. More on paging later.
Duh!
I just found TASKLIST which works... get shell(TASKLIST).
And the processID returns the id of the app.
So I think I have got the necessary bits to check for multiple instances
now.
Apologies for bandwidth. Maybe this will help someone searching the archives
in the future.
/H
Hi Hugh,
If you want to run only one instance of your standalone at a time, you
need to include a relaunch handler in your stack script. Assuming that
you want the existing instance to come to the foreground when the
second instance is launched and that you want the second instance to
Hi Hugh,
If you want to run only one instance of your standalone at a time, you
need to include a relaunch handler in your stack script. Assuming that
you want the existing instance to come to the foreground when the
second instance is launched and that you want the second instance to
Recently, Hugh Senior wrote:
Goal:
Using shell()to determine if my Rev app is among the line of all running
processes. If so, then user has started a second instance and I want to
quit.
Task 1: Get a list of all running processes and IDs.
Task 2: Get the process name and ID of my Rev app.
Hugh Senior wrote:
Duh!
I just found TASKLIST which works... get shell(TASKLIST).
And the processID returns the id of the app.
So I think I have got the necessary bits to check for multiple instances
now.
You might want to look at the relaunch command instead of using shell.
It is
Thank you Wilhelm Sanke for you scripting advice.
Working from your advice I wrote the following script:
on mouseUp
put top of group gX into TOPP
put bottom of group gX into BUM
put left of group gX into LEFTT
put right of group gX into RITE
put LEFTT , TOPP , RITE , BUM into
Scott Morrow wrote:
I have a client experiencing this problem (application quits) on one
machine under Windows XP. All the rest of the machines at his site
print correctly with this application. We have tried several times to
solve this but for now he is just not using that particular
From the dept of Please don't let my wife or boss know that I've been
wasting time on this
Chipp Walters wrote:
Interesting note: I found the following results:
function altAsciiScrub2 pText
put replacetext(pText,[ numToChar(129) - numToChar(255)
],) into pText
put
Le 5 févr. 09 à 19:55, Hugh Senior a écrit :
Goal:
Using shell()to determine if my Rev app is among the line of all
running
processes. If so, then user has started a second instance and I want
to
quit.
Task 1: Get a list of all running processes and IDs.
Task 2: Get the process name and
Both Chipp's ButtonGadget and Richmond's Button Basher automate the
process of glueing together images with text - and other properties -
and finally produce buttons with 2 or 4 icon states.
Chipp's application possesses a number of nice and useful features,
which otherwise you may find only
OK, got the list of these, and I understand all of them but two:
1- The asterisk matches zero or more occurrences of the preceding character
or pattern...
So why does ZA*B match ZB, but does not match AB
And the + matches one or more occurrences of the preceding character or
pattern
So why
Hi Wilhelm,
Both Chipp's ButtonGadget and Richmond's Button Basher automate
the process of glueing together images with text - and other
properties - and finally produce buttons with 2 or 4 icon states.
Chipp's application possesses a number of nice and useful features,
which otherwise
Wilhelm Sanke wrote:
- The name or label of a button can be displayed on the right or the
left side of an icon or *beneath* the icon, but not directly *on top* of
an icon.
Actually, if you jiggle the top and bottom margin settings of the
button, you can achieve this.
--
Jacqueline
Hi Jaquelin,
Wilhelm Sanke wrote:
- The name or label of a button can be displayed on the right or
the left side of an icon or *beneath* the icon, but not directly
*on top* of an icon.
Actually, if you jiggle the top and bottom margin settings of the
button, you can achieve this.
Hmm,
Humpf:
Just pumped out a couple of blank button images from my Button Basher
stack and imported them into a new stack; using them as icons for
a button.
On the stack there is a text field fNAME
and the button has the following script:
on mouseUp
set the name of me to fld fNAME
end mouseUp
Hi Craig,
Read it as one 'Z' followed by zero or more 'A' followed by one 'B'.
Thus the Z and B are required with any number of A in between
(including zero). So it would match:
ZB
ZAB
ZAAB
ZAAAB
And so on.
In short, a single letter matches just that - a single letter. The *
and +
AND, look at what happens to an image used as an icon when the
button name/label lies over it:
Label Changer.rev at revOnline under 'Richmond'.
A Thorn in the flesh is better than a failed Systems Development Life Cycle.
I asked them to make sure they were using the latest drivers. His tech
guy came by and I think made sure this computer was running the
latest... but, of course, that isn't the same as seeing if the drivers
are identical.Mostly I think they didn't want to fool with it
anymore (can't
Transparent
Richmond Mathewson geradamas at yahoo.com wrote:
Working from your advice I wrote the following script:
on mouseUp
put top of group gX into TOPP
put bottom of group gX into BUM
put left of group gX into LEFTT
put right of group gX into RITE
put LEFTT , TOPP , RITE
Klaus Major wrote:
Hi Jaquelin,
Wilhelm Sanke wrote:
- The name or label of a button can be displayed on the right or the
left side of an icon or *beneath* the icon, but not directly *on top*
of an icon.
Actually, if you jiggle the top and bottom margin settings of the
button, you can
In a message dated 2/5/09 4:08:48 PM, bri...@qldlearning.com writes:
Read it as one 'Z' followed by zero or more 'A' followed by one 'B'.
Thus the Z and B are required with any number of A in between
(including zero). So it would match:
ZB
ZAB
ZAAB
ZAAAB
And so on.
In short,
Hi Jacqueline,
Klaus Major wrote:
Hi Jaquelin,
Wilhelm Sanke wrote:
- The name or label of a button can be displayed on the right or
the left side of an icon or *beneath* the icon, but not directly
*on top* of an icon.
Actually, if you jiggle the top and bottom margin settings of the
On Feb 5, 2009, at 1:33 PM, Klaus Major wrote:
Maybe I'm thinking a bit naive, but why shouldn't it then be
possible (for the engine) to combine these two
states and the result would be the label on top of the icon :-)
Troublemaker.
___
Ben,
Thanks for the tests. Illuminating again. You are correct, I was actually
running my tests on shorter strings, but hundreds of them in sequence.
best,
Chipp
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to
I'm thinking of writing something that would change the Desktop image - the
need at the moment is to do it just on Windows XP machines. Just looking
into how hard this would be to do - has anyone done this - can't see an
entry in the list - is the only thing needed to change the Windows Registry?
Chipp Walters wrote:
Ben,
Thanks for the tests. Illuminating again. You are correct, I was actually
running my tests on shorter strings, but hundreds of them in sequence.
So it might be useful for you to try Ben's fourth (i.e. array-based)
method, but do the set-up once using a script-local
On 2/5/09 4:25 PM, David Bovill da...@architex.tv wrote:
I'm thinking of writing something that would change the Desktop image - the
need at the moment is to do it just on Windows XP machines. Just looking
into how hard this would be to do - has anyone done this - can't see an
entry in the
I looked up jiggle in the Revolution Dictionary but could not find
any entries???
Is this in the Street Dialect version?
Regards,
Tom McGrath III
Lazy River Software
3mcgr...@comcast.net
iTunes Library Suite - libITS
Information and download can be found on this page:
Has anyone written a timeline stack/group?
I have looked at the software about, which looks luscious (especially Bee
docs timeline) but it doesn't allow notes etc to be added, or vertical
timelines with information attached to left and right 'branches' of an
event. I can't find my veteran
On Fri, Feb 6, 2009 at 8:25 AM, David Bovill da...@architex.tv wrote:
I'm thinking of writing something that would change the Desktop image - the
need at the moment is to do it just on Windows XP machines. Just looking
into how hard this would be to do - has anyone done this - can't see an
Yup. I could see how that would be faster.
___
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
Jacque,
Please...no more jiggles...this is a family forum and there could be minors
around.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
No, just kidding.
On Wed, Feb 4, 2009 at 7:10 AM, dunb...@aol.com wrote:
Judy, you aren't really upset? :-(
Craig Newman
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage
While we're on displacement activities :)
One of the things that can slow Rev down in a long for loop is the
building up of a long output string (I suspect that an awful lot of
copying and moving of memory starts to happen).
I made a little test of something suggested by someone on this
Hello,
I use ListMagic and I need to control the modify of some column values to
calculate other columns, the typically calculated column.
I found this reading the documentation but I can't obtain any result... :(
Any idea of what is the better way to do it?
on LMListEdited
Looking for testers to a database abstraction library.
The library wraps around the built-in Revolution database calls and
offers a simpler method of accessing databases by removing the need
to know SQL. This is a work in progress and other features are to be
added in over the course of
Can one refer to the location of just the thumb of a scrollbar
relative to its window? I want to chase the thumb with a a graphic...
essentially a transparent rectangle whose left would stick to the left
of a horizontal scrollbar and whose right would follow the thumb as it
moves. I can
Can't you get the position of the thumb by checking the scroll of the field?
If you know how many lines in the field, and you know the scroll of the field,
you can calculate the percentage of the height of the field that the thumb is
currently indicating. Since you know the top and bot of the
Klaus Major wrote:
True. But if the engine calculated and provided for a vertically
centered name, you'd get the same results. So you'd have to jiggle
some more anyway. :)
Maybe, but when you habve a button with no icon, that name/labe is
exactly in the center of the button.
And it stays
Hi Craig,
That won't work in this case as it's just a horizontal scrollbar not
attached to a field or group.
Mark
On Feb 5, 2009, at 9:32 PM, dunbarx wrote:
Can't you get the position of the thumb by checking the scroll of
the field?
If you know how many lines in the field, and you know
Chipp Walters wrote:
Jacque,
Please...no more jiggles...this is a family forum and there could be minors
around.
Minors? You mean like E-flat? Flat notes don't jiggle, they won't even
notice. But I hereby replace jiggle with in previousMail.
--
Jacqueline Landman Gay |
Thomas McGrath III wrote:
I looked up jiggle in the Revolution Dictionary but could not find any
entries???
Is this in the Street Dialect version?
It's a bug. Submit a ticket. I want to see Ollie's face when he reads it. :)
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
mark.
So this is a scrollbar control, not a field. Right. I have not played with
these yet, but don't I remember that there is a property that indicates the
relative position of the thumb with respect to the amount of progress in the
control, and isn't this even closer to what is needed
Recently, J. Landman Gay wrote:
Maybe I'm thinking a bit naive, but why shouldn't it then be possible
(for the engine) to combine these two
states and the result would be the label on top of the icon :-)
I see what you mean now. Yes, it would be much easier. Most of the image
buttons I've
The thumbPosition will give you the position of the thumb relative to
the endvalue of the scrollbar itself. So that if the scrollbar's
endvalue is set to 100 (default) and it's halfway along, the thumbpos
will be 50. If the endvalue is set to 200, it will show 100. But I'm
trying to
Scott Rossi wrote:
Recently, J. Landman Gay wrote:
I suppose it would be possible to write a little script that would
calculate the font size, compare it to the button height, and adjust the
margins.
It's possible, but it's not a little script. :-) I demoed a customizable
button object at
Mark.
OK. But if you know all that, and you know the the loc of the scrollbar, why
can't you then get the loc of the thumb?
Craig
On Feb 6, 2009, at 12:51:49 AM, Mark Swindell mdswind...@cruzio.com wrote:
From: Mark Swindell mdswind...@cruzio.com
Subject:Re: chasing the thumb in a
Mark Swindell wrote:
The thumbPosition will give you the position of the thumb relative to
the endvalue of the scrollbar itself. So that if the scrollbar's
endvalue is set to 100 (default) and it's halfway along, the thumbpos
will be 50. If the endvalue is set to 200, it will show 100. But
Mark Swindell wrote:
The thumbPosition will give you the position of the thumb relative to
the endvalue of the scrollbar itself. So that if the scrollbar's
endvalue is set to 100 (default) and it's halfway along, the thumbpos
will be 50. If the endvalue is set to 200, it will show 100. But
I guess it can be ascertained based on that info, yes, but if there
were a built in way to describe the thumb location (seems plausible)
that would be easier. Because so many things in Rev are there
already, and so many other things you don't know about are lurking
just beneath the
Thanks Jackie, Phil, and Craig for your suggestions and solutions.
Much appreciated.
Mark
On Feb 5, 2009, at 10:26 PM, J. Landman Gay wrote:
Mark Swindell wrote:
The thumbPosition will give you the position of the thumb relative
to the endvalue of the scrollbar itself. So that if the
75 matches
Mail list logo