Re: [noob again]objects and properties and messages

2005-03-29 Thread Judy Perry
This is my least favorite, and least used, part of the IDE UI.

Judy

On Mon, 28 Mar 2005, Mikey wrote:

> I think I understand the way groups operate, but the vocabulary is
> not, IMHO descriptive.  If you look at the buttons - Group, Edit
> Group, and Select Grouped, that isn't exactly what is meant, now is
> it?


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: field margins

2005-03-29 Thread Brian Yennie
firstIndent or leftMargin properties? Not able to check right now, just 
taking a stab...

Jeanne A. E. DeVoto wrote:
At 10:07 AM +1200 3/30/05, Richard Gaskin wrote:
I nedd to use a field as a grid display, which generally works well 
with
one anomaly:  the left margin of the field always has a gap of about
four or five pixels.

I've tried setting the showBorder and threeD to false, and setting 
the
margins to 0,0,0,0 but still I have that gap.
Are you creating the grid display with the hGrid and vGrid, or...?
I'm not seeing this here, but just as a guess, what's the field's 
tabStops set to?
Yep, nothing more than the old hgrid/vgrid trick to get a simple grid. 
I've never seen an exception to this issue of seeing the left-most 
"cell" a few pixels larger than the others, e.g.:

  ---
  |   |  |  |  |  |  |  |
  ---
  |   |  |  |  |  |  |  |
  ---
I was using 5 pixels this morning.  New specs have be using 20 pixels, 
but the extra space does not appear to change based on the tabstops, 
always a consistent two- or three-pixels.

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: field margins

2005-03-29 Thread Richard Gaskin
Jeanne A. E. DeVoto wrote:
At 10:07 AM +1200 3/30/05, Richard Gaskin wrote:
I nedd to use a field as a grid display, which generally works well with
one anomaly:  the left margin of the field always has a gap of about
four or five pixels.
I've tried setting the showBorder and threeD to false, and setting the
margins to 0,0,0,0 but still I have that gap.
Are you creating the grid display with the hGrid and vGrid, or...?
I'm not seeing this here, but just as a guess, what's the field's 
tabStops set to?
Yep, nothing more than the old hgrid/vgrid trick to get a simple grid. 
I've never seen an exception to this issue of seeing the left-most 
"cell" a few pixels larger than the others, e.g.:

  ---
  |   |  |  |  |  |  |  |
  ---
  |   |  |  |  |  |  |  |
  ---
I was using 5 pixels this morning.  New specs have be using 20 pixels, 
but the extra space does not appear to change based on the tabstops, 
always a consistent two- or three-pixels.

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: field margins

2005-03-29 Thread Jeanne A. E. DeVoto
At 10:07 AM +1200 3/30/05, Richard Gaskin wrote:
I nedd to use a field as a grid display, which generally works well with
one anomaly:  the left margin of the field always has a gap of about
four or five pixels.
I've tried setting the showBorder and threeD to false, and setting the
margins to 0,0,0,0 but still I have that gap.
Are you creating the grid display with the hGrid and vGrid, or...?
I'm not seeing this here, but just as a guess, what's the field's 
tabStops set to?
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: field margins

2005-03-29 Thread Richard Gaskin
Ken Ray wrote:
On 3/29/05 4:07 PM, "Richard Gaskin" <[EMAIL PROTECTED]> wrote: 
I nedd to use a field as a grid display, which generally works well with
one anomaly:  the left margin of the field always has a gap of about
four or five pixels.
I've tried setting the showBorder and threeD to false, and setting the
margins to 0,0,0,0 but still I have that gap.
That's odd... when I do what you're suggesting with a new field, the text in
the field is cut off by a few pixels on the left and top. Only by setting
the margins to 2 (or 2,2,2,2) does it hug-up to the upper left corner of the
field with no margin.
Sorry, should have clarified:  I have no text in the field at all.  I'm 
simply using it as a lightweight grid display.

So the problem isn't about where text appears, but about the evenness of 
the line spacing

--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: field margins

2005-03-29 Thread Ken Ray
On 3/29/05 4:07 PM, "Richard Gaskin" <[EMAIL PROTECTED]> wrote:

> 
> I nedd to use a field as a grid display, which generally works well with
> one anomaly:  the left margin of the field always has a gap of about
> four or five pixels.
> 
> I've tried setting the showBorder and threeD to false, and setting the
> margins to 0,0,0,0 but still I have that gap.

That's odd... when I do what you're suggesting with a new field, the text in
the field is cut off by a few pixels on the left and top. Only by setting
the margins to 2 (or 2,2,2,2) does it hug-up to the upper left corner of the
field with no margin.

Perhaps it's a font issue?

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Own fontsuite with standalone ?

2005-03-29 Thread Ken Ray
On 3/29/05 4:43 PM, "Chris Sheffield" <[EMAIL PROTECTED]> wrote:

> Well, it turns out I was wrong and it looks like ext_LoadFont is a command,
> at least it's in the list returned by the externalCommands property.  I just
> tried it here and get the same results as you, so I'm not sure what's going
> on.  Maybe it requires some other parameter?  Anyone else know?  What we
> need is documentation for the external.  A list of functions/commands and
> what their parameters are.

I posted the syntax a few posts ago:

  ext_loadFont 

However I think the problem is setting the externals...

Jerry did:

> set the externals of this stack to "/Applications/Revolution Dreamcard
> 2.5.1/components/global environment/EXT.dll"

But when I did my test on access to the DLL itself, I set the externals to:

  components/global environment/ext.dll

It uses the path relative to the currently running engine, so while running
this in the IDE, it should work.

HTH,

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: STOP TAB

2005-03-29 Thread J. Landman Gay
On 3/29/05 5:24 PM, Dwayne Rothe wrote:
Hi All,
I am using a field for with 3 columns for user input, When a user inputs text into col1 he/she is required to use the TAB button on the keyboard to go to the next column. 
How do I stop the tab at column 3? 
I would like to be able to force the user to go to the next row(line) when they push TAB in column3!

Any Ideas please ;?)
Some variation of this may do it:
on tabKey -- in the field script
 put word 2 of the selectedline into tLineNum
 set the itemDel to tab
 if the number of items in line tLineNum of me = 3
 then select after item 1 of line tLineNum + 1 of me
 else pass tabKey -- let Rev handle it
end tabKey
--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Multiple Line SQL for MySQL?

2005-03-29 Thread Alex Tweedly
Sarah Reichelt wrote:
Hi Peter,
I use an alternative trim function that operates faster and removes 
excess space between words as well as at the start & end:

function trim pText
  put empty into tNew
  repeat for each word w in pText
put w & space after tNew
  end repeat
  delete last char of tNew
  return tNew
end trim
Or, if you don't need the internal clean-up, you can just do
function trimmed theText
  return word 1 to -1 of theText
end trimmed
which is just about simple enough to not use a function at all, and 
write it in-line when you need it.

--
Alex Tweedly   http://www.tweedly.net

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.4 - Release Date: 27/03/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


STOP TAB

2005-03-29 Thread Dwayne Rothe
Hi All,
I am using a field for with 3 columns for user input, When a user inputs text 
into col1 he/she is required to use the TAB button on the keyboard to go to the 
next column. 
How do I stop the tab at column 3? 
I would like to be able to force the user to go to the next row(line) when they 
push TAB in column3!

Any Ideas please ;?)

Thanx..Dwayne Rothe

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Running MySQL Utility Commands on Remote Server

2005-03-29 Thread Sarah Reichelt
I assumed that the MySQL utility programs could be used only where the 
rest of MySQL had been installed.  From what you're saying, these 
utilities are completely standalone and independent of any other 
material installed as part of the MySQL server.
Correct.
 Is this the case, or does it mean that MySQL has to be installed on 
each client system as well, not to function as a local MySQL server, 
but simply to provide support for the utilities?
No, the utilities can operate independently. They just need to know the 
address of the server and a username & password so they can access the 
data.

Cheers,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Multiple Line SQL for MySQL?

2005-03-29 Thread Sarah Reichelt
Hi Peter,
I use an alternative trim function that operates faster and removes 
excess space between words as well as at the start & end:

function trim pText
  put empty into tNew
  repeat for each word w in pText
put w & space after tNew
  end repeat
  delete last char of tNew
  return tNew
end trim
Cheers,
Sarah
On 29/03/2005, at 7:33 PM, Peter Reid wrote:
function trimmed theText
  -- remove leading & trailing spaces
  put 1 into startCh
  put length(theText) into lenText
  put lenText into endCh
  repeat for each char c in theText
if c <> space then
  exit repeat
end if
add 1 to startCh
  end repeat
  repeat with c = lenText to startCh step -1
if char c of theText <> space then
  put c into endCh
  exit repeat
end if
  end repeat
  return char startCh to endCh of theText
end trimmed
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Global Madness

2005-03-29 Thread Jerry Balzano
Given that there were no fewer than 17 mesgs on this topic a brief 
while back, I was surprised to find out that bug #2721, as reported by 
Dan S, had exactly zero (0) votes.   (I voted for it, so it no 
longer has zero...)

-j
On Mar 22, 2005, at 4:50 PM, Dan Shafer wrote:
BZ'd as 2721 a few minute ago.
Dan
On Mar 22, 2005, at 2:38 PM, graham samuel wrote:
Following this thread, started by Howard Bornstein and continued by 
Dan Shafer and others, it would appear that there is a bug in the 
RunRev IDE to do with the declaration and use of globals.

I find this disturbing and would like to ask if anyone is attempting 
to flag this in the Bugzilla database? I can see it's a bit of a 
slippery  customer, but it does seem to me we should be asking the RR 
team to pin it down. I have some even more slippery problems with the 
2.5.1 and am beginning to ask myself if the two things are related.

If nobody else wants to do it, I will have a go.
Graham

Graham Samuel / The Living Fossil Co. / UK and France
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Own fontsuite with standalone ?

2005-03-29 Thread Chris Sheffield
Well, it turns out I was wrong and it looks like ext_LoadFont is a command,
at least it's in the list returned by the externalCommands property.  I just
tried it here and get the same results as you, so I'm not sure what's going
on.  Maybe it requires some other parameter?  Anyone else know?  What we
need is documentation for the external.  A list of functions/commands and
what their parameters are.

Sorry I can't help more.

Chris


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jerry Balzano
Sent: Tuesday, March 29, 2005 3:05 PM
To: How to use Revolution
Subject: Re: Own fontsuite with standalone ?

No dice.  Tried both the handler and the function form inside a button 
script, same result.

Jerry

On Mar 29, 2005, at 1:51 PM, Chris Sheffield wrote:

> Hmm.  Could it be that the message box is not recognizing the function?
> Have you tried adding it to the script of a button or something in your
> stack to see if it executes properly?
>
> Chris
>
>


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


field margins

2005-03-29 Thread Richard Gaskin
I nedd to use a field as a grid display, which generally works well with
one anomaly:  the left margin of the field always has a gap of about
four or five pixels.
I've tried setting the showBorder and threeD to false, and setting the
margins to 0,0,0,0 but still I have that gap.
Clues?
--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Own fontsuite with standalone ?

2005-03-29 Thread Jerry Balzano
No dice.  Tried both the handler and the function form inside a button 
script, same result.

Jerry
On Mar 29, 2005, at 1:51 PM, Chris Sheffield wrote:
Hmm.  Could it be that the message box is not recognizing the function?
Have you tried adding it to the script of a button or something in your
stack to see if it executes properly?
Chris
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jerry 
Balzano
Sent: Tuesday, March 29, 2005 2:43 PM
To: How to use Revolution
Subject: Re: Own fontsuite with standalone ?

Thanks for this idea, Chris.  I tried it, and got a new error -
Message execution error:
Error description: Function: error in function handler
At first I thought this was (mildly) encouraging, because it didn't say
"can't find function", like it said "can't find handler".  However, on
further review, this appears to be merely a lack of parallelism in the
error messages, since I typed
get fotcheme()
and received the same error message.
- Jerry
On Mar 29, 2005, at 1:29 PM, Chris Sheffield wrote:
Jerry,
I believe ext_loadFont is a function and not a command, so you would
need to
do something like
get ext_loadFont("/Users/jerry/Desktop/KillerStumps.ttf")
I could be wrong though.  Just a thought.
Chris Sheffield
Read Naturally
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.4 - Release Date: 3/27/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Own fontsuite with standalone ?

2005-03-29 Thread Chris Sheffield
Hmm.  Could it be that the message box is not recognizing the function?
Have you tried adding it to the script of a button or something in your
stack to see if it executes properly?

Chris


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jerry Balzano
Sent: Tuesday, March 29, 2005 2:43 PM
To: How to use Revolution
Subject: Re: Own fontsuite with standalone ?

Thanks for this idea, Chris.  I tried it, and got a new error -

Message execution error:
Error description: Function: error in function handler

At first I thought this was (mildly) encouraging, because it didn't say 
"can't find function", like it said "can't find handler".  However, on 
further review, this appears to be merely a lack of parallelism in the 
error messages, since I typed

get fotcheme()

and received the same error message.

- Jerry

On Mar 29, 2005, at 1:29 PM, Chris Sheffield wrote:

> Jerry,
>
> I believe ext_loadFont is a function and not a command, so you would 
> need to
> do something like
>
>   get ext_loadFont("/Users/jerry/Desktop/KillerStumps.ttf")
>
> I could be wrong though.  Just a thought.
>
> Chris Sheffield
> Read Naturally

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.4 - Release Date: 3/27/2005


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Own fontsuite with standalone ?

2005-03-29 Thread Jerry Balzano
Thanks for this idea, Chris.  I tried it, and got a new error -
Message execution error:
Error description: Function: error in function handler
At first I thought this was (mildly) encouraging, because it didn't say 
"can't find function", like it said "can't find handler".  However, on 
further review, this appears to be merely a lack of parallelism in the 
error messages, since I typed

get fotcheme()
and received the same error message.
- Jerry
On Mar 29, 2005, at 1:29 PM, Chris Sheffield wrote:
Jerry,
I believe ext_loadFont is a function and not a command, so you would 
need to
do something like

get ext_loadFont("/Users/jerry/Desktop/KillerStumps.ttf")
I could be wrong though.  Just a thought.
Chris Sheffield
Read Naturally
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Own fontsuite with standalone ?

2005-03-29 Thread Chris Sheffield
Jerry,

I believe ext_loadFont is a function and not a command, so you would need to
do something like

get ext_loadFont("/Users/jerry/Desktop/KillerStumps.ttf")

I could be wrong though.  Just a thought.

Chris Sheffield
Read Naturally


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jerry Balzano
Sent: Tuesday, March 29, 2005 2:24 PM
To: How to use Revolution
Subject: Re: Own fontsuite with standalone ?

(away for a few days, now back at it)
Maybe there's something I'm doing wrong, but I don't see what it is.  
Or perhaps there is no "ext_loadFont" in this "EXT.dll" file.

Here's what I did: I message-box-typed

set the externals of this stack to "/Applications/Revolution
Dreamcard 
2.5.1/components/global environment/EXT.dll"

after which I saved the stack, quit Revolution, then relaunched 
(opening the same stack).  Just to check, I bring out the message box 
and type

[put] the externals of this stack

and Rev dutifully replies "/Applications/Revolution Dreamcard 
2.5.1/components/global environment/EXT.dll" (w/o the quotes of 
course), showing that it "remembered".  I now hold my breath and type

ext_loadFont "/Users/jerry/Desktop/KillerStumps.ttf"

and, to my dismay, I get the familiar "Message execution error: Error 
description: Handler: can't find handler" no-go response.

Poking around the docs, I noticed related Xscript properties, the 
externalCommands and the externalFunctions.  So I tried each of these 
too, e.g. "answer the externalCommands of this stack", getting an empty 
dialog in each case.  Shouldn't these properties return something other 
than empty once I've loaded a file of externals?  I'm wading in what 
are uncharted waters for me, so my intuitions are probably faulty, but 
what's wrong with this picture?

Thanks,
Jerry


On Mar 26, 2005, at 6:12 PM, Ken Ray wrote:

> On 3/26/05 5:49 AM, "Klaus Major" <[EMAIL PROTECTED]> wrote:
>
>>> Once you have it, set "the externals" of your stack to the location 
>>> of
>>> the
>>> DLL file, save and reopen your stack, and then try ext_loadFont 
>>> again.
>>
>> please take a look in "Revolution/components/global environment/"
>> EXT.DLL ist already there...
>>
>> Question is, does this copy have the same functionality as the old
>> ext.dll?
>
> It appears to... I took the original "Externals Collection.mc" stack 
> and set
> the externals to "components/global environment/ext.dll", saved, 
> closed, and
> reopened, and it seems to work fine.
>
> So it looks like you should be able to use the ext_loadFont in the same
> way...
>
> So since the DLL is bundled with Rev now, the big question would be is 
> there
> any problem with me posting the old "Externals Collection.mc" stack
> somewhere where it could be retrieved and used by others?
>
> As Klaus so eloquently stated:
>
>> A wise and knowing word from scotland would be very appreciated :-)
>
>
> Ken Ray
> Sons of Thunder Software
> Web site: http://www.sonsothunder.com/
> Email: [EMAIL PROTECTED]
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.4 - Release Date: 3/27/2005


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Own fontsuite with standalone ?

2005-03-29 Thread Jerry Balzano
(away for a few days, now back at it)
Maybe there's something I'm doing wrong, but I don't see what it is.  
Or perhaps there is no "ext_loadFont" in this "EXT.dll" file.

Here's what I did: I message-box-typed
	set the externals of this stack to "/Applications/Revolution Dreamcard 
2.5.1/components/global environment/EXT.dll"

after which I saved the stack, quit Revolution, then relaunched 
(opening the same stack).  Just to check, I bring out the message box 
and type

[put] the externals of this stack
and Rev dutifully replies "/Applications/Revolution Dreamcard 
2.5.1/components/global environment/EXT.dll" (w/o the quotes of 
course), showing that it "remembered".  I now hold my breath and type

ext_loadFont "/Users/jerry/Desktop/KillerStumps.ttf"
and, to my dismay, I get the familiar "Message execution error: Error 
description: Handler: can't find handler" no-go response.

Poking around the docs, I noticed related Xscript properties, the 
externalCommands and the externalFunctions.  So I tried each of these 
too, e.g. "answer the externalCommands of this stack", getting an empty 
dialog in each case.  Shouldn't these properties return something other 
than empty once I've loaded a file of externals?  I'm wading in what 
are uncharted waters for me, so my intuitions are probably faulty, but 
what's wrong with this picture?

Thanks,
Jerry
On Mar 26, 2005, at 6:12 PM, Ken Ray wrote:
On 3/26/05 5:49 AM, "Klaus Major" <[EMAIL PROTECTED]> wrote:
Once you have it, set "the externals" of your stack to the location 
of
the
DLL file, save and reopen your stack, and then try ext_loadFont 
again.
please take a look in "Revolution/components/global environment/"
EXT.DLL ist already there...
Question is, does this copy have the same functionality as the old
ext.dll?
It appears to... I took the original "Externals Collection.mc" stack 
and set
the externals to "components/global environment/ext.dll", saved, 
closed, and
reopened, and it seems to work fine.

So it looks like you should be able to use the ext_loadFont in the same
way...
So since the DLL is bundled with Rev now, the big question would be is 
there
any problem with me posting the old "Externals Collection.mc" stack
somewhere where it could be retrieved and used by others?

As Klaus so eloquently stated:
A wise and knowing word from scotland would be very appreciated :-)

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Continued Help with Unicode Text

2005-03-29 Thread Dan Friedman
Hello again...

I've been fiddling with this for days now.  If you remember, my goal was to
save unicode text in a single line - while preserving returns.   This is the
only way I could get it to work.  Obviously, this creates a larger file on
disk.  Do you see any problems with this method that will kill me down the
road?  Do you see a better way to do this?


-- save the unicode text from a field to a file

  set the useUnicode to true
  put field 2 into jText --contains single or multi-lingual text
  put 0 into L
  put 1 into charNum
  repeat until charNum > the number of chars in jText
add 1 to L
if char charNum of jText = cr then
  put "" into item L of textToWrite
  add 1 to charNum
else
  put charToNum(char charNum to charNum+1 of jText) into \
  item L of textToWrite
  add 2 to charNum
end if
  end repeat
  
  put textToWrite into url ("file:/Users/aUser/Desktop/jappTest2.txt")


-- read the file and restore the text

  put url ("file:/Users/aUser/Desktop/jappTest2.txt") into tText
  set the useUnicode to true
  
  repeat for each item tChar in tText
if tChar = "" then
  put numToChar(10) after jText
else
  put numToChar(tChar) after jText
end if
  end repeat
  
  set the unicodeText of field 2 to jText

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: use-revolution Digest, Vol 18, Issue 111

2005-03-29 Thread Mark Smith
Try 'sort lines of fld x numeric by word 2 of each'
Cheers,
Mark
On 29 Mar 2005, at 16:50, [EMAIL PROTECTED] wrote:
I have this in a field:
IPAE 16
IPAE 1
IPAE 7
LAG 1
JKAL 3
JKAL 11
JKAL 2
and I wish to get this (same alphabetical order, sorted numeric by
second word of each):
IPAE 1
IPAE 7
IPAE 16
LAG 1
JKAL 2
JKAL 3
JKAL 11
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Math wizardry

2005-03-29 Thread Jim Hurley
Message: 17
Date: Tue, 29 Mar 2005 07:35:46 -0800
From: Jim MacConnell <[EMAIL PROTECTED]>
Subject: Re: Math wizardry
To: RevList 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;   charset="US-ASCII"
(snip)
 > Perhaps even easier would be to define a function which determines
 the *geometrical* angle associated with a line in Run Rev.
I like this solution to Richard's problem and it is probably a little
faster, particularly if the angle between the lines is all we're after. If
we want magnitude, etc. the LOC gives you all of that. Simply a case of more
effort to get more info?  Which is a waste if you don't really need the
info... Also I just have a thing for the Law of Cosines
jim

Jim,
I confess to a partiality for the law of sines.
In either event I think we can agree that Jim is right.
Jim
P.S. Seems that every Tom, Dick and Harry is named Jim these days.

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rotating Polygons

2005-03-29 Thread Alejandro Tejada
on Tue, 29 Mar 2005 
Rick Harrison wrote:

> I'm trying to rotate some simple squares and grouped
> polygon
> objects around a normal center point.
> 
> I can't seem to get it to work.  The examples in the
> documentation
> don't seem to work or make logical sense to me
> either.
> 
> Has anyone done this?  It seems like it should be a
> simple thing to do.

Hi Rick,

Visit my site and download this stack:



This stack shows how to use matrices to modify
the scale, rotation and position of vector graphics.

al

Visit my site:
http://www.geocities.com/capellan2000/



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Black border in Lists

2005-03-29 Thread Derek Bump
Xavier,
Don't get excited yet.  In the end I had to vote for the bug on bugzilla 
(thanks Trevor) because of 1 little problem that results when you turn 
the traversalOn...off.

You can't use arrow keys to select lines.
You also can't tab and shift-tab to the field.
This is, as I believe from the docs, exactly what's suppose to happen, 
so it's no real solution after all (provided that no use of the keyboard 
is needed...which it hardly ever isn't).

Derek Bump
Dreamscape Software
___
Compress Images Easily with JPEGCompress 2.5
http://www.dreamscapesoftware.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Black border in Lists

2005-03-29 Thread MisterX
Derek,

Confirmed on Win2K too! 

Even if I create a new field. 

But I dont have it in all my other stacks but found the darn thing even in
screenshots! So it's a settings problem with the revtoolbar or the
templates. I'll try to find the bug later with the controlsN2O (and a new
idea - controls feature comparisons - possible thanks to new scripts in the
works from the HotKeyN2O plugin! ;)

OK, the solution to this problem is the traversalon property... 

Turn it off and the bar diseapears...

Cheers
Xavier

But wait, that's not all!

That's the kick in the back of the head that I needed!!! 3 months searching!
And so simple it is!

NO MORE LAME TEMPLATES Announcement comming soon!!!
Thanks Derek!

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re:

2005-03-29 Thread Éric Chatonet
Hi ton,
If your "non alphabetical order" is not an error (and I think so :-)
And assuming that series are always contiguous, you could try this:
on SortMyOddList
  local tList,tLineNo,tFirstChar,tMax
  -
  put fld "MyField" into tList
  put 1 into tLineNo
  put char 1 of tList into tFirstChar
  put the number of lines of tList into tMax
  -
  repeat with i = tLineNo to tMax
if char 1 of line i of tList <> tFirstChar then
  sort line tLineNo to (i-1) of tList numeric by word 2 of each
  put i into tLineNo
  put char 1 of line tLineNo of tList into tFirstChar
end if
  end repeat
  sort line tLineNo to tMax of tList numeric by word 2 of each
  -
  put tList into fld "MyField"
end SortMyOddList
The trick is simple but often useful: instead of 1 in the repeat 
structure (repeat with i = 1...), you use a variable that you set first 
and redefine later inside the loop. By this way you process separatly 
chunks picked in the list... and keep your "same alphabetical order" 
;-)

Best regards,
Le 29 mars 05, à 17:50, Cardona Torres<[EMAIL PROTECTED]> a écrit :
I have this in a field:
IPAE 16
IPAE 1
IPAE 7
LAG 1
JKAL 3
JKAL 11
JKAL 2
and I wish to get this (same alphabetical order, sorted numeric by
second word of each):
IPAE 1
IPAE 7
IPAE 16
LAG 1
JKAL 2
JKAL 3
JKAL 11
Eric Chatonet.

So Smart Software
 For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Web sitehttp://www.sosmartsoftware.com/
Email   [EMAIL PROTECTED]/
Phone   33 (0)1 43 31 77 62
Mobile  33 (0)6 20 74 50 86

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [noob again]objects and properties and messages

2005-03-29 Thread Jeanne A. E. DeVoto
At 7:18 PM +1200 3/29/05, Richard Gaskin wrote:
[the properties property
In the absence of "the properties" actually returning the properties,
where might one find such a list so I can add those to 4W Props?
There is unfortunately nothing in the language that I know of; you'll 
pretty much have to get it out of the documentation.
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Rotating Polygons

2005-03-29 Thread MisterX
Nice Alex,

I didn't know that rev handler existed! ;)

To avoid the precision problem, just keep the original coordinates
unrotated.

It's ok for scale or translations but not for rotations. Do the rotation on
a copy of the original object and not the last rotated set. So you only get
just one precision approximation. 

Im too am working on a vector graphic library! ;)

get the short id of graph x
get polyPointArray[polyid] -- x,y[,z,...] table, ndim array

-- get move deltas and offsets from original, not last position...

get MovePoly([moveOffsetXYZ] [,pointsArrayXYZ]
get ScalePoly([ScaleXYZ] [,pointsArrayXYZ][,centerXYZ,]
get SlantPoly([rotationXYZ] [,pointsArrayXYZ][,centerXYZ]
get RotatePoly([rotationXYZ] [,pointsArrayXYZ][,centerXYZ]
put it into graph x

Precomputing helps for speed issues too...

Hope that helps ;)

Cheers
Xavier
--
http://monsieurx.com/runrev

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rotating Polygons

2005-03-29 Thread Alex Tweedly
Rick Harrison wrote:
Hi there,
I'm trying to rotate some simple squares and grouped polygon
objects around a normal center point.
I can't seem to get it to work.  The examples in the documentation
don't seem to work or make logical sense to me either.
Has anyone done this?  It seems like it should be a simple thing to do.
I hadn't done it until now.  In fact, I hadn't even noticed 
revRotatePoly at all.  (So, thanks !!)

I had a play with it, and managed to get it to work; I created a new 
stack, created a "freehand polygon", and then in the message box typed

  revRotatePoly the name of graphic "Graphic 1", 45
and the polygon did indeed rotate by 45 degrees. However, this produces 
the resulting polygon rotated such that it occupies the same location in 
screen co-ordinates (i.e. same topLeft as the original polygon).

If you want to rotate a number of polygons around a common centre point, 
you'd need to do this, then calculate the appropriately rotated topLeft 
point and set that. I thought it would be easier to simply convert the 
code to do what we want directly, so I copied the revRotatePoly code 
from the Rev scripts, and modified it as below.  (It's in button 
"revCommon" backscript if you want to see the original code).

NOTE - the docs say that we are welcome to read, use and modify this 
code - but that once modified, it is completely unsupported. Sounds 
perfectly reasonable to me :-)

Here is a new handler myRotatePoly which takes a graphic (polygon), and 
angle and a centre point around which the polygon should be rotated.  It 
has been (somewhat) tested; if you have any trouble, let me know and 
I'll put this simple test stack up on RevOnline  but it is just a 
simple stack with one button and one graphic (freehand polygon).

on mouseUp
  myRotatePoly the name of graphic "Graphic 1", -45,250,200
end mouseUp
on myRotatePoly pGraphic, pAngle, basex, basey
  put the topLeft of pGraphic into tTopLeft
  put myPoints(pGraphic, basex, basey) into tPoints-- returns the 
list of points, realtive to the base point
  put the loc of pGraphic into tLoc
  put sin(pAngle * (pi / 180)) into tSinAngle
  put cos(pAngle * (pi / 180)) into tCosAngle
  put (number of items of tPoints) div 2 into tNumItems
  repeat with i = 1 to tNumItems
put (item (i + (i - 1)) of tPoints) into tCurrentH -- + item 1 of 
the center
put (item (i + i) of tPoints) into tCurrentV -- + item 2 of the center
put trunc((tCosAngle * tCurrentH) - (tSinAngle * tCurrentV)) into 
tTempH
put trunc((tSinAngle * tCurrentH) + (tCosAngle * tCurrentV)) into 
tTempV
put tTempH + basex into tCurrentH -- and add back the base x and y
put tTempV + basey into tCurrentV
put tCurrentH,tCurrentV & comma after tFinalPoints
  end repeat
  delete last char of tFinalPoints
  set the points of pGraphic to tFinalPoints
--  set the topLeft of pGraphic to tTopLeft
end myRotatePoly

function myPoints pGraphic, basex, basey
  put the number of lines in the points of pGraphic into tNumPoints
  put empty into tResult
  --  put item 1 of loc of pGraphic into tStartlH
  --  put item 2 of loc of pGraphic into tStartV
  put the points of pGraphic into tPoints
  put basex into tStartlH
  put basey into tStartV
 
  replace cr with comma in tPoints
  if last char of tPoints is comma then delete last char of tPoints
  repeat with i = 1 to tNumPoints
put (item (i + (i - 1)) of tPoints) - tStartlH into tCurrentH
put (item (i + i) of tPoints) - tStartV into tCurrentV
put tCurrentH,tCurrentV & comma after tResult
  end repeat
  delete last char of tResult
  return tResult
end myPoints
btw - remember that this rotation loses accuracy - because of the trunc 
to integer coordinates - so repeatedly transforming the same polygon 
will not, in general, get you back to the original polygon. You may need 
to keep a pristine copy somewhere, and copy the points / rotate the poly 
each time, to prevent the polygon from degrading after multiple rotations.

--
Alex Tweedly   http://www.tweedly.net

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.4 - Release Date: 27/03/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: use-revolution Digest, Vol 18, Issue 112

2005-03-29 Thread Melitón Cardona Torres
As simple as this!
Thanks a lot, Ken
Ton
El 29/03/2005, a las 19:00, [EMAIL PROTECTED] 
escribió:

put fld 1 into tData
sort tData numeric by word 2 of each
sort tData by word 1 of each
put tData into fld 2
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Black border in Lists

2005-03-29 Thread Derek Bump
I cannot say that I have seen such a bug in Win2K3...
Can you make a sample stack to verify?
Here is an example...
http://www.dreamscapesoftware.com/example.png
http://www.dreamscapesoftware.com/example.rev
- Derek Bump
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rotating Polygons

2005-03-29 Thread Rick Harrison
On Mar 29, 2005, at 2:39 AM, MisterX wrote:
Hi Rick,
You'll find a stack with a ton of different examples to do that at
http://www.monsieurx.com/modules.php?name=News&file=article&sid=164
SonOfThunder software also has a nice example for images...
http://www.sonsothunder.com/devres/revolution/revolution.htm
cheers
Xavier

Xavier,
Your link to download "pie control" doesn't work - 404 error.
"Pie control" is a locked stack from your description, and it is
shareware if I want to look at the code.  You site also doesn't
tell me what the cost is if I want to purchase it.
I'm trying to rotate polygons - not images.
Thanks for replying..
Rick
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Black border in Lists

2005-03-29 Thread Trevor DeVore
On Mar 28, 2005, at 10:37 PM, Derek Bump wrote:
I'm not sure if I mentioned this when 2.5 came out, but ever since 
that version, and including 2.5.1, I've been getting a black border 
from my list fields.

I'm running WinXP SP2 and it even happens when I turn off themes, or 
if I set the lookAndFeel to something else.

The only way I'm able to remove the black border around the selected 
line is by add a "selectionChanged" handler that locks and unlocks the 
screen (forcing it to redraw).

Does anyone know how I can turn this off?  Or is it a bug?
I logged this a little while ago as bug 2435.

--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re:

2005-03-29 Thread Ken Ray
On 3/29/05 9:15 AM, "Melitón Cardona Torres" <[EMAIL PROTECTED]> wrote:

> I have this in a field:
> 
> IPAE 16
> IPAE 1
> IPAE 7
> LAG 1
> JKAL 3
> JKAL 11
> JKAL 2
> 
> and I wish to get this (same alphabetical order, sorted numeric by
> second word of each):
> 
> IPAE 1
> IPAE 7
> IPAE 16
> LAG 1
> JKAL 2
> JKAL 3
> JKAL 11
> 
> I would be grateful for your suggestions.

That's what I like about Transcript - it is so close to how you would use
English to describe what you want! You put it perfectly: "sorted numeric by
second word of each". The only difference is you want to sort *twice*; once
by the second word to get it in numeric order, and the second time by the
first word to get it back in alphabetic order:

Here's the code:

put fld 1 into tData
sort tData numeric by word 2 of each
sort tData by word 1 of each
put tData into fld 2

HTH,

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Black border in Lists

2005-03-29 Thread MisterX
Hi Derek,

I cannot say that I have seen such a bug in Win2K3...

Can you make a sample stack to verify?

cheers
Xavier

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Derek Bump
> Sent: Tuesday, March 29, 2005 08:38
> To: How to use Revolution
> Subject: Black border in Lists
> 
> I'm not sure if I mentioned this when 2.5 came out, but ever 
> since that version, and including 2.5.1, I've been getting a 
> black border from my list fields.
> 
> I'm running WinXP SP2 and it even happens when I turn off 
> themes, or if I set the lookAndFeel to something else.
> 
> The only way I'm able to remove the black border around the 
> selected line is by add a "selectionChanged" handler that 
> locks and unlocks the screen (forcing it to redraw).
> 
> Does anyone know how I can turn this off?  Or is it a bug?
> 
> 
> Derek Bump
> Dreamscape Software
> ___
> Compress Images Easily with JPEGCompress 2.5 
> http://www.dreamscapesoftware.com/
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Math wizardry

2005-03-29 Thread Jim MacConnell

>>> All of these give different values for the resulting angles, depending
>>> on the direction from which the lines are drawn. How do I consistently
>>> determine the angle between the two lines?
>> 
>> I think you may want to take a different approach. Since the user is drawing
>> the lines, it sounds like you actually know the "coordinates" of three
>> points, (Call them A, B and C). That means you know everything you need to
>> know to define all the angles.
>> 
>> (snip)
>> 
>> The advantage here is that there are no signs to deal with... The only thing
>> that matters is the length between points.
>> 
>> Now if you want to know the angles of the two lines in real space, calculate
>> the angle of LineAB (or another) and use addition to get the others.
> 
> 
> Perhaps even easier would be to define a function which determines
> the *geometrical* angle associated with a line in Run Rev.

I like this solution to Richard's problem and it is probably a little
faster, particularly if the angle between the lines is all we're after. If
we want magnitude, etc. the LOC gives you all of that. Simply a case of more
effort to get more info?  Which is a waste if you don't really need the
info... Also I just have a thing for the Law of Cosines

jim 


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


[no subject]

2005-03-29 Thread Melitón Cardona Torres
I have this in a field:
IPAE 16
IPAE 1
IPAE 7
LAG 1
JKAL 3
JKAL 11
JKAL 2
and I wish to get this (same alphabetical order, sorted numeric by 
second word of each):

IPAE 1
IPAE 7
IPAE 16
LAG 1
JKAL 2
JKAL 3
JKAL 11
I would be grateful for your suggestions.
Thanks in advance
Ton Cardona
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Black border in Lists

2005-03-29 Thread Derek Bump
I'm not sure if I mentioned this when 2.5 came out, but ever since that 
version, and including 2.5.1, I've been getting a black border from my 
list fields.

I'm running WinXP SP2 and it even happens when I turn off themes, or if 
I set the lookAndFeel to something else.

The only way I'm able to remove the black border around the selected 
line is by add a "selectionChanged" handler that locks and unlocks the 
screen (forcing it to redraw).

Does anyone know how I can turn this off?  Or is it a bug?
Derek Bump
Dreamscape Software
___
Compress Images Easily with JPEGCompress 2.5
http://www.dreamscapesoftware.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Math wizardry

2005-03-29 Thread Jim Hurley
Message: 15
Date: Mon, 28 Mar 2005 11:02:18 -0800
From: Jim MacConnell <[EMAIL PROTECTED]>
Subject: Re: Math wizardry
To: RevList 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;   charset="US-ASCII"
Richard,
All of these give different values for the resulting angles, depending
on the direction from which the lines are drawn. How do I consistently
determine the angle between the two lines?
I think you may want to take a different approach. Since the user is drawing
the lines, it sounds like you actually know the "coordinates" of three
points, (Call them A, B and C). That means you know everything you need to
know to define all the angles.
(snip)
The advantage here is that there are no signs to deal with... The only thing
that matters is the length between points.
Now if you want to know the angles of the two lines in real space, calculate
the angle of LineAB (or another) and use addition to get the others.

Jim,
Perhaps even easier would be to define a function which determines 
the *geometrical* angle associated with a line in Run Rev.  Any 
geometrical line rotated 180 degrees is the same geometrical line. 
Therefore the function below eliminates the signs associated with Run 
Rev angle.

function theGeometrialAngle p1,p2
  --Geometrical angle of line defined by the two points p1 and p2
  get the paramcount
  if it is 1 then
put line 2 of p1 into p2
put line 1 of p1 into p1
  end if
  put item 1 of p2 - item 1 of p1 into dx
  put item 2 of p2 - item 2 of p1 into dy
  put atan2(dy,dx) into tAngle
  --Add or subtract pi as needed.
  switch
  case  tAngle < 0
return tAngle + pi
break
  case  tAngle > pi
return tAngle - pi
break
  default
return tAngle
  end switch
end theGeometrialAngle
function tAngleBetween a1,a2
  return abs(a1 - a2)
end tAngleBetween
And so the geometrical angle between two Run Rev lines is just the 
absolute value of the difference.

Jim
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Imaged refreshments

2005-03-29 Thread MisterX
Hi eveyone,

I just released version 2.b371 of HotKeyN2O with a similar Fruity Theme as
in my renewed website. BUT the images are just not working at all as far as
patterns are concerned for controls!

When I open the stack (url below), edit a group, and "simple" tasks alike,
the images loose their patterns or dont refresh the control's patterns even
when the image was preloaded. Palette mode makes it worse... If you load the
image after the stack from an external library, it's not refreshed at all!
You have to change stack modes (for example) to update the patterns... If
the patterns are not in the same group as the controls using them and you
edit the group, again... Just not pleasing after-effects...

I was told to use images in an icon library to avoid image conflicts, but
that solution is even worse in this scenario! 

Please advise this poor scripter's soul how to avoid bloatware (I dont like
having the same image with different ids for each stack that uses it!) or
refresh issues - the icon library is a good idea but not if it causes
refresh problems in other stacks... Conundrum?

I usually have 10 - 30 stacks opened (of which 75% reuse images off-stack)!
This problem happens intermitently while opening stacks, resizing stacks,
editing stacks. The library is a great solution - but even without it, the
problem remains.

I dont think im asking too much of the Rev engine either since this is basic
features 101... No scripting involved. I've been affected by this since
GradientsN2O six months ago for which I resorted to a full background
picture but it still fails! At least now I can confirm the behavior!

See for yourself, keep the plug-in mode turned off...
http://www.monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=74

Hit the window, disk, pencil or options buttons a few times to see that
sweet GUI feel melt away... The save buttons shows a substack which works ok
but doesnt always show all patterns correctly! Not even 20% of the time here
with heavy stack load! 

Im using RunRev 251 on Win2K sp4, with window dragging content = 0n. 
Do you have the same on Macs or Linux?

I wrote a similar bugzilla concerning how easy it is to make or have image
ID conflicts which trouble any stacks using those ids as icons or patters
and the pattern chooser just as well becoming rather useless. I documented
it, and even got an answer (!) and told to use the Icon Library approach. I
value freedom of my own approach in stackware design but so be it for good
and bad. Bad refresh quality nonetheless - very bad! How can this be solved?

I know there is more than one issue behind images, transparencies, patterns
(macos patterns!), inks, cursors, fields, etc... I know it's a big field and
support area too for the developper whose effort so far I applaud! But this
is not windows 3.11 anymore... Square or 8 bit level ink operations are kind
of out of style... Patterns only square sizes are as venerable as the 32k
limit and the Appearance manager too is showing its age and practical use in
this respect so we cant make stacks for metal, osx or w95 guis from XP or
W2K3 at all... 

All real sarcasms were deleted in case you sensed any... Sorry if it
slipped. I just mean to get some stacks out...

Xavier
http://monsieurx.com/runrev 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Rev Messages Watcher++

2005-03-29 Thread MisterX
Thierry,

If you want arrays' content displayed 
in the RevVariableWatcher, let me know! ;)

I even got a remade script editor in the works,
enhancements for the message box, the RPP and more!

Glad to see more hackers in quest power!!!

if the mod is not not long, just post the code!
;)

cheerios
Xavier
--
http://monsieurx.com/runrev - nitrous acceleration for development!
TAOO is coming - beware!


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of thierry
> Sent: Tuesday, March 29, 2005 12:07
> To: How to use Revolution
> Subject: Rev Messages Watcher++
> 
> Hi all,
> 
> 
> For specific debugging, i've modified the behavior of the 
> Revolution Messages Watcher.
> What as changed :
> 
>  - the way to be print on the screen
>  ( easier to follow ),
> 
>  - by clicking or shift clicking you go respectively  
> straight *to the line* where the message was sent or  
> received ( declared ) in the script editor.
> 
>  - add a filter to stack names; interesting to focus  on a 
> specific domain of your application.
> 
> 
> well, as i found this useful ( at least for me ) i am happy 
> to share this with who-ever as an easter gift :-)
> 
> But, as it is part of the IDE, don't really know what is the 
> best way to share this All suggestions, ideas are welcomed.
> 
> PS: it works on Rev2.1 , rev 2.5 ( trial ) on a PC.
> 
> Regards, thierry
> 
> 
> 
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Rev Messages Watcher++

2005-03-29 Thread thierry
Hi all,


For specific debugging, i've modified the
behavior of the Revolution Messages Watcher.
What as changed :

 - the way to be print on the screen
 ( easier to follow ),

 - by clicking or shift clicking you go respectively
 straight *to the line* where the message was sent or
 received ( declared ) in the script editor.

 - add a filter to stack names; interesting to focus
 on a specific domain of your application.


well, as i found this useful ( at least for me )
i am happy to share this with who-ever as an easter gift :-)

But, as it is part of the IDE, don't really know what
is the best way to share this All suggestions, ideas are
welcomed.

PS: it works on Rev2.1 , rev 2.5 ( trial ) on a PC.

Regards, thierry




___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re[2]: Mail client with Rev...

2005-03-29 Thread thierry
Hi,

Thank you Sarah, Alex, Andre and the others :-)

By now, I'm convinced that we could trust the pop and smtp libraries.

the main idea behind this is to have a very "simple" email client, closer to
these mailboxes on the streets than all this clever email clients...

The interface and functionality would be changed by an "Administrator"...
or/and a server application...

SR> I have several versions of specialized email clients operating using my 
SR> POP library & my as yet unreleased SMTP library.
SR> They operate in unattended mode on servers and remote monitoring 
SR> computers 24/7 and some of them process hundreds of emails a day with 
SR> total reliability, recovering independently whenever communications are 
SR> lost & regained.

SR> I have made these clients intentionally dumb - they don't try to 
SR> display anything, they forward emails that match rules, delete spam, 
SR> save to text files for other apps to process, make outgoing emails 
SR> based on submitted text files etc. As they never need to display email 
SR> text, I have no problems with trying to show HTML emails.

Well, now i've to think about how to manage the way to show all the differents
possible emails contents. this part doen't seems to be so easy

Regards, thierry


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re Revolution Graph Plotting

2005-03-29 Thread Stephen King
Hi Glyn,
There was a MetaCared/Revolution graph object produced some time ago by 
Kenneth L Simons. Its still on his web site
http://www.rpi.edu/~simonk/technical.html

Its quite flexible and I'm sure it would meet your needs. According to the 
notes in the object it is free to use and is public domain.

Hope this helps
Cheers
Steve
Message: 10
Date: Mon, 28 Mar 2005 22:55:31 +0100
From: Glyn Jones <[EMAIL PROTECTED]>
Subject: Revolution - Graph Plotting Routines
To: use-revolution@lists.runrev.com
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Does anyone know of any graph plotting utilities that can be linked
seamlessly to Revolution?  I am a structural engineer wanting to plot
2D cartesian coordinates from data generated in my structural programs.
Please help if you can, there is no point in me re-inventing the wheel.
I am willing to purchase the routine if the cost is reasonable (ie if I
can afford it). Many thanks.
Regards
Glyn Jones
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Running MySQL Utility Commands on Remote Server

2005-03-29 Thread Peter Reid
Hi Sarah
Thanks again for another of your responses below.
I assumed that the MySQL utility programs could be used only where 
the rest of MySQL had been installed.  From what you're saying, these 
utilities are completely standalone and independent of any other 
material installed as part of the MySQL server.  Is this the case, or 
does it mean that MySQL has to be installed on each client system as 
well, not to function as a local MySQL server, but simply to provide 
support for the utilities?

Cheers
Peter
I do this by including a copy of mysqldmp in with the application. 
In Standalone setttings, in the Copy file section, add the mysqldump 
file to the list and it will automatically become part of your 
application and be useable by the app. With OS X, it is inside the 
bundle. For testing purposes, I put a copy of mysqldump in the 
folder with the stack file.

Here is the script I use:
  put the fileName of stack "MailOpener" into tPath
  set the itemDel to "/"
  put "mysqldump" into last item of tPath
  put "'" & tPath & "' --host='" & dbAddr & \
  "' MailingList names address flags topics deletions" into tCmd
  put " --user='" & dbUser after tCmd
  put "' --password='" & dbPass after tCmd
  put "' -a -l -r '" & tFile & "'" after tCmd
  get shell(tCmd)
Cheers,
Sarah
--
Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
E-mail: [EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Multiple Line SQL for MySQL?

2005-03-29 Thread Peter Reid
Hi Sarah
Thanks for the response below.  In the end, I had done something similar:
function execSQLsequence dbID,dbSQL
  -- execute a sequence of SQL commands
  put unwrappedSQL(dbSQL) into theSQL
  repeat for each line i in theSQL
revExecuteSQL dbID, i
put the result into theResult
if theResult is not a number then
  return theResult
end if
  end repeat
  return empty
end execSQLsequence
function unwrappedSQL wrapped
  -- ignore blank & comment lines, unwrap multiple lines into single lines
  put empty into unwrapped
  put empty into thisCmd
  repeat for each line i in wrapped
if i is not empty and char 1 to 2 of i is not "--" then
  put trimmed(i) after thisCmd
  if last char of i = ";" then
put thisCmd & return after unwrapped
put empty into thisCmd
  end if
else
  put i & return after unwrapped
end if
  end repeat
  if thisCmd is not empty then
put thisCmd & return after unwrapped
  end if
  return unwrapped
end unwrappedSQL
function trimmed theText
  -- remove leading & trailing spaces
  put 1 into startCh
  put length(theText) into lenText
  put lenText into endCh
  repeat for each char c in theText
if c <> space then
  exit repeat
end if
add 1 to startCh
  end repeat
  repeat with c = lenText to startCh step -1
if char c of theText <> space then
  put c into endCh
  exit repeat
end if
  end repeat
  return char startCh to endCh of theText
end trimmed
The "execSQLsequence" function can be used with a dump file produced 
by phpMySQL or mysqldump to reload a database or individual tables.

Cheers
Peter
Here is a segment of the handler I use for restoring data to MySQL. 
This takes the file produced by mysqldump and re-instates it. 
tRestore is a variable containing the text data.

  repeat
get offset(";" & cr, tRestore)
if it = 0 then exit repeat
put char 1 to it of tRestore into tSQL
delete char 1 to it of tRestore
get doSQLexecute(tSQL, tID)
if it is not a number then
  answer error "Error restoring from backup." & cr & it & cr & 
tSQL as sheet
  exit to top
end if
  end repeat

I have a doSQLexecute function that is just a wrapper for the 
revExecuteSQL command. I realize that you didn't want to have to do 
this, but it is really quite fast.

HTH,
Sarah
--
Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
E-mail: [EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: using MCISendString to record

2005-03-29 Thread Signe Marie Sanne
So, I was hoping someone would care to explain how to use MCISendString for
doing the following "record sound" steps:
1) start recording
2) stop the recording
3) name the file that contains that recording
Thank you.
Hello Nicolas
I'm just back from Easter holidays. Will post a recipe within the next days.
Signe Marie Sanne
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution