RE: Printing script problem

2005-07-07 Thread Jim Bufalini
You MUST be kidding me! Yes, it's my own script.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Eric
Chatonet
Sent: Thursday, July 07, 2005 8:42 PM
To: [EMAIL PROTECTED]; How to use Revolution
Subject: Re: Printing script problem


Hi Jim,

Le 8 juil. 05 à 08:32, Jim Bufalini a écrit :

> What's the secret to printing out a script?

Copy paste it in your word processor :-)
(Assuming if it is for your own use)

Best Regards from Paris,

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

Free plugins and tutorials on my website

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


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing script problem

2005-07-07 Thread Eric Chatonet

Hi Jim,

Le 8 juil. 05 à 08:32, Jim Bufalini a écrit :


What's the secret to printing out a script?


Copy paste it in your word processor :-)
(Assuming if it is for your own use)

Best Regards from Paris,

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

Free plugins and tutorials on my website

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


___
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


Printing script problem

2005-07-07 Thread Jim Bufalini
What's the secret to printing out a script? I've sent it now to two
different HP printers (from the script editor,  File -> Print Script... and
in portrait and landscape and anytime there is a color change, the words
overwrite themselves (in other words, useless). I did set my Font in the
Script Editor Preferences to Font: Arial, Size: 14, Text height: empty. It
displays fine in the script editor. Didn't this kind of printing problem go
out with DOS? Running WinXP and Rev 2.51.

Jim
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: revDeleteFolder and Lessons Learned..

2005-07-07 Thread xbury . cs
Chipp,

I did send a previous warning about these revhandlers 2 months ago...

http://mail.runrev.com/pipermail/use-revolution/2005-May/057551.html

cheers
Xavier


-
Visit us at http://www.clearstream.com
  
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of
its affiliates or subsidiaries.

END OF DISCLAIMER
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: revDeleteFolder and Lessons Learned..

2005-07-07 Thread Jim Ault
Well, I thought I did the fix... The stack is actually locked and I am not
sure if it can be unlocked, changed and safely locked again with saving
changes.

Maybe I spoke too soon.

Jim Ault
Las Vegas


On 7/7/05 10:34 PM, "Chipp Walters" <[EMAIL PROTECTED]> wrote:

> Jim,
> 
> Your patch is a great idea. You should make a stack which automates it :-)
> 
> Yeah, I think it's too dangerous a command as it stands...
> 
> best,
> 
> Chipp
> 
> Jim Ault wrote:
>> Just changed mine to " on revDeleteFolderXXX ...end  revDeleteFolderXXX "
>>  in button revCommon in stack revLibraries...in case some other stack I get
>> from somewhere tries to use revDeleteFolder...it is not there anymore.
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: revDeleteFolder and Lessons Learned..

2005-07-07 Thread Chipp Walters

Jim,

Your patch is a great idea. You should make a stack which automates it :-)

Yeah, I think it's too dangerous a command as it stands...

best,

Chipp

Jim Ault wrote:

Just changed mine to " on revDeleteFolderXXX ...end  revDeleteFolderXXX "
 in button revCommon in stack revLibraries...in case some other stack I get
from somewhere tries to use revDeleteFolder...it is not there anymore.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: revDeleteFolder and Lessons Learned..

2005-07-07 Thread Jim Ault
Hmmm, could there be a patch to help the novice, the unwary, or the
forgetful (or those who do not know how to fix Rev)?

Just changed mine to " on revDeleteFolderXXX ...end  revDeleteFolderXXX "
 in button revCommon in stack revLibraries...in case some other stack I get
from somewhere tries to use revDeleteFolder...it is not there anymore.

Of course, downloading or installing a new version would probably have
revDeleteFolder again, so this is on my to do list for new installs/updates.

Thanks for the heads up, Chipp.

Jim Ault
Las Vegas


On 7/7/05 7:42 PM, "Chipp Walters" <[EMAIL PROTECTED]> wrote:

> Here's an interesting story:
> 
> Last night I was working on a 'reset prefs' handler which was to remove
> all the files in a folder.
> 
> It looked something like:
> 
> on resetPrefs
>put lMasterFolderPath & "/" & lProjectName into tFolderToDelete
>revDeleteFolder tFolderToDelete
> end resetPrefs
> 
> lMasterFolderPath and lProjectNames are script locals.
> 
> I also have a handler 'checkLocals' which I should've put at the top,
> but I digress.
> 
> In anycase, after applying the script and running, of course the script
> locals are now nulls and the revDeleteFolder contained only a single
> "/", which apparently means: "Delete the entire route hard drive".
> 
> After running it and seeing the processor shoot to 100% and stay there,
> I guessed something was wrong. I tried to quit it, but it's a shell
> script and even the task manager wouldn't allow me to kill it.
> 
> By the time I was able to force shutdown my machine, most the entire
> Windows partition was wasted. Fortunately, my Linux partition was still
> good and I could access my Documents folder and grab most of the stuff
> that mattered, but of course WinXP was completely hosed.
> 
> My lesson learned is NEVER, NEVER, NEVER use revDeleteFolder. I rewrote
> the script to use 'the files' and delete each file individually.
> 
> Hope others can learn from my mistake!
> 
> best,
> 
> Chipp
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Making Revolution faster using dimensioned arrays

2005-07-07 Thread Dan Shafer
An array object could have any number of methods to draw itself and  
any number of methods to calculate itself. I imagine a spreadsheet  
would be one (perhaps the favored) visual representation. But some  
arrays don't need a visual presence.


SO we might have an array object that does pretty much what the  
current one does and a fastArray or an integerIndexedArray object  
that sub-classes array and defines properties for indexing that  
override the default and provides some method of calculation in an  
override as well.


Not trying to be an architect here, just thinking out loud.

Dan

On Jul 7, 2005, at 5:45 PM, Dennis Brown wrote:


On Jul 7, 2005, at 7:49 PM, Dan Shafer wrote:


And if we had an array OBJECT, we could subclass it to get what we  
really want.




Dan,

This is an interesting concept.  Would an array object have a  
spreadsheet as its visual representation?


Dennis
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Making Revolution faster using dimensioned arrays

2005-07-07 Thread Michael Young

Dennis,

I am not Dan, but I would like to answer because I would love to have 
array objects also.


I would say sort of yes to spreadsheet representation although I am not 
exactly sure how the physical representation would look beyond two 
dimensions.


I would suggest the array as a "container" of more fundamental 
elements: field, button, etc.


I have seen another product use the concept of array for an array all 
of one element type and cluster for an array of multiple element types.


Array object visual representations (might be simpler with attachments 
sent to list):


One dimensional array:
Index in a box. Index can be hidden.
Element is in another box structure that can be resized as needed.
[ index ]| element 1 |
  | element 2 |
  | element 3 |
  | element etc. |
or

[ index ] | element 1 | element 2 | element etc. |

Two dimensional array:
[ index 1 ] | element 1,1 | element 2,1 | element etc. |
[ index 2 ] | element 2,1 | element 2,2 | element etc. |
  | element 3,1 | element 3,2 | element etc. |

I hopes this post makes some sense. :-)

Michael

On Jul 7, 2005, at 8:38 PM, [EMAIL PROTECTED] 
wrote:


On Jul 7, 2005, at 7:49 PM, Dan Shafer wrote:


And if we had an array OBJECT, we could subclass it to get what we
really want.


Dan,

This is an interesting concept.  Would an array object have a
spreadsheet as its visual representation?

Dennis




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Treeview control needed

2005-07-07 Thread Mark Wieder
Tereza-

Thursday, July 7, 2005, 4:53:50 PM, you wrote:

>> I have a reliable old tree field that's fairly efficient, and not  
>> XML, that works from tabbed text. Email me off list if you're  
>> interested.
>>
SR> Hi Tereza,

SR> I'd love to have a look at your tree stack if possible.

Yes indeed. And putting it on revonline would be a plus. I always have
to reinvent these things when I need them and I'm not at all sure I'm
doing it in a reasonable way. I'd love to see how you've implemented
this.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: revDeleteFolder and Lessons Learned..

2005-07-07 Thread Jerry J

Date: Thu, 07 Jul 2005 21:42:51 -0500
From: Chipp Walters <[EMAIL PROTECTED]>


snippety...


My lesson learned is NEVER, NEVER, NEVER use revDeleteFolder. I rewrote
the script to use 'the files' and delete each file individually.

Hope others can learn from my mistake!


ARRRGH!!

I have learned.

Thanks,
Jerry Jensen

___
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


font solution

2005-07-07 Thread Charles Hartman
David Epstein (who's having list access problems & wrote me  
separately) suggests the solution copied below, to the problem of  
getting text in a field into "owner" font and style after some lines  
have been put into another font.


It looks cool, and I'm working toward using it. Meanwhile, I've  
discovered the source of my problem. If you set the text style of  
some words in a field to link, bold, etc., and then look at the  
htmlText of the field, you see that after the end-of-link/bold  
marker, Rev is putting in a  specification (setting it to  
whatever the effective font is at the time the card is made. Get rid  
of that font tag, and the following text reverts to the _real_  
owner's font even when that changes.


Surely that's not the right behavior Rev should have, is it?

(Hope this makes sense -- written in too much haste.)

= Epstein Solution 

on changeFieldTextProps f,mySize,myFont

  repeat with c = 1 to the number of cards

put the htmlText of fld f of card c into hold[c]

  end repeat

  set the textSize of fld f to mySize

  set the textFont of fld f to myFont

  repeat with c = 1 to the number of cards

set the htmlText of fld f of card c to hold[c]

  end repeat

end changeFieldTextProps

==


Charles Hartman
Professor of English, Poet in Residence
Connecticut College
[EMAIL PROTECTED]
*the Scandroid* is at cherry.conncoll.edu/cohar/Programs





___
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


revDeleteFolder and Lessons Learned..

2005-07-07 Thread Chipp Walters

Here's an interesting story:

Last night I was working on a 'reset prefs' handler which was to remove 
all the files in a folder.


It looked something like:

on resetPrefs
  put lMasterFolderPath & "/" & lProjectName into tFolderToDelete
  revDeleteFolder tFolderToDelete
end resetPrefs

lMasterFolderPath and lProjectNames are script locals.

I also have a handler 'checkLocals' which I should've put at the top, 
but I digress.


In anycase, after applying the script and running, of course the script 
locals are now nulls and the revDeleteFolder contained only a single 
"/", which apparently means: "Delete the entire route hard drive".


After running it and seeing the processor shoot to 100% and stay there, 
I guessed something was wrong. I tried to quit it, but it's a shell 
script and even the task manager wouldn't allow me to kill it.


By the time I was able to force shutdown my machine, most the entire 
Windows partition was wasted. Fortunately, my Linux partition was still 
good and I could access my Documents folder and grab most of the stuff 
that mattered, but of course WinXP was completely hosed.


My lesson learned is NEVER, NEVER, NEVER use revDeleteFolder. I rewrote 
the script to use 'the files' and delete each file individually.


Hope others can learn from my mistake!

best,

Chipp
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: mark cards by finding -- a problem

2005-07-07 Thread J. Landman Gay

On 7/7/05 8:34 PM, Timothy Miller wrote:

I just checked out the possibility that somehow the script inserted an 
invisible character into the variable. The number of characters in the 
variable patientName is as it should be.


Hm. So the text is okay. You could try setting a breakpoint in the 
handler and walking through it in the debugger to make sure the command 
is actually executing. That's about all I can think of. (Although if 
you've already tried the command from the message box, you already know 
it executed.) If it works in other stacks but not in this one, then 
there has to be something different about this stack.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: mark cards by finding -- a problem

2005-07-07 Thread Marty Knapp

Re: mark cards by finding

I came in late on this, so this may have already been suggested--

Have you checked the properties for the field(s) you're searching in to 
make sure that the "Find command ignores" option is deselected?



--
Marty Knapp


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: mark cards by finding -- a problem

2005-07-07 Thread Timothy Miller

I previously wrote, in reply to Jacque:

At 6:31 PM -0700 7/7/05, Timothy Miller wrote:
I just checked out the possibility that somehow the script inserted 
an invisible character into the variable. The number of characters 
in the variable patientName is as it should be.


Would some invisible characters not get counted in --

answer the number of chars in patientName   ?



I forgot to mention, I tried adding set lockmessages to true in the 
line before the problem "mark cards by finding..." line.


That didn't make the command behave properly either.

It's possible the thread will die here. I won't ask again, but if 
anyone else has any ideas, or troubleshooting suggestions, I'll keep 
an eye on this list.



Tim
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Making Revolution faster using dimensioned arrays

2005-07-07 Thread Dennis Brown

On Jul 7, 2005, at 7:49 PM, Dan Shafer wrote:

And if we had an array OBJECT, we could subclass it to get what we  
really want.


Dan,

This is an interesting concept.  Would an array object have a  
spreadsheet as its visual representation?


Dennis
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Making Revolution faster using dimensioned arrays

2005-07-07 Thread Dennis Brown


On Jul 7, 2005, at 7:19 PM, Marielle Lange wrote:


Hi Dennis,

Sorry, I am not in favour of this if this means that I would loose the
possibility to index arrays with text or to have to specify the  
array size in

advance.


Marielle,

I also use the current array capabilities and do not want to lose  
anything we have.  In fact I am in favor of expanding them further.   
What I propose is a different array organization that is optimized  
for execution speed and space efficiency at the cost of a more  
restricted organizational flexibility.  The restrictions would only  
occur if you wanted to make this tradeoff for a particular array.   
There are many problems that would benefit from this, but not all.   
Mathematical problems would benefit from the packed arrays I propose,  
while many indexing and database like problems benefit from the  
sparse arrays we now have.


Dennis
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Making Revolution faster using dimensioned arrays

2005-07-07 Thread Richard Gaskin

Dan Shafer wrote:
And if we had an array OBJECT, we could subclass it to get what we  
really want.


What would such code look like?

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Treeview control needed

2005-07-07 Thread Sarah Reichelt
I have a reliable old tree field that's fairly efficient, and not  
XML, that works from tabbed text. Email me off list if you're  
interested.



Hi Tereza,

I'd love to have a look at your tree stack if possible.

Thanks,
Sarah

***
Sarah Reichelt
[EMAIL PROTECTED]
http://www.troz.net/Rev/
***


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Making Revolution faster using dimensioned arrays

2005-07-07 Thread Dan Shafer
And if we had an array OBJECT, we could subclass it to get what we  
really want.


Ahem.

Dan
On Jul 7, 2005, at 4:26 PM, Jon wrote:


Marielle:

I did not interpret Dennis' suggestion as meaning that ALL arrays  
would henceforth ONLY have integer indices; rather, I think he was  
suggesting that a NEW type of array be created which had this  
attribute.  All of the old code would still work.


:)

Jon


Marielle Lange wrote:



Hi Dennis,

Sorry, I am not in favour of this if this means that I would loose  
the
possibility to index arrays with text or to have to specify the  
array size in

advance.

Personally, I need to index with text parts that I don't know in  
advance what
the size of the array will be. With this type of constraint, the  
solution you
suggest in fact considerably slows down the programs I write. My  
experience
with a program doing exactly the same thing: Visual Basic 5 hours  
(which does
*exactly* what you request, Awk 10 min which does *exactly* what  
you complain

about.

Gawk does it very fast without the need for any of these two options.
Look at this link, for evidence:  http://www.cs.wustl.edu/~loui/ 
sigplan
"Two pearls in GAWK:  its regular expressions and its associative  
arrays."


By chance, could SQLlite help to speed up your array processing?  
(after all, a
database with two columns of data is just another representation  
for an array

and you can apply a formula to transform the values of one column)

Marielle


To all the speed freaks,

I know that I have pushed for faster array processing and have even
proposed an "Array sub-processor" as a possible solution.  However,
after giving this much thought, I don't believe that a separate array
sub-processor is needed to solve the problem of speed.  Transcript
could provide the speed needed for processing arrays in a simpler  
way.


If Transcript had an array declaration command that allowed the user
to fix the dimensions and data size/type for an array and limited the
"keys" to integer indexes, then high speed array processing could be
built-in.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution





___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Making Revolution faster using dimensioned arrays

2005-07-07 Thread Jon

Marielle:

I did not interpret Dennis' suggestion as meaning that ALL arrays would 
henceforth ONLY have integer indices; rather, I think he was suggesting 
that a NEW type of array be created which had this attribute.  All of 
the old code would still work.


:)

Jon


Marielle Lange wrote:


Hi Dennis,

Sorry, I am not in favour of this if this means that I would loose the
possibility to index arrays with text or to have to specify the array size in
advance.

Personally, I need to index with text parts that I don't know in advance what
the size of the array will be. With this type of constraint, the solution you
suggest in fact considerably slows down the programs I write. My experience
with a program doing exactly the same thing: Visual Basic 5 hours (which does
*exactly* what you request, Awk 10 min which does *exactly* what you complain
about.

Gawk does it very fast without the need for any of these two options.
Look at this link, for evidence:  http://www.cs.wustl.edu/~loui/sigplan
"Two pearls in GAWK:  its regular expressions and its associative arrays."

By chance, could SQLlite help to speed up your array processing? (after all, a
database with two columns of data is just another representation for an array
and you can apply a formula to transform the values of one column)

Marielle


To all the speed freaks,

I know that I have pushed for faster array processing and have even
proposed an "Array sub-processor" as a possible solution.  However,
after giving this much thought, I don't believe that a separate array
sub-processor is needed to solve the problem of speed.  Transcript
could provide the speed needed for processing arrays in a simpler way.

If Transcript had an array declaration command that allowed the user
to fix the dimensions and data size/type for an array and limited the
"keys" to integer indexes, then high speed array processing could be
built-in.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


 


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Making Revolution faster using dimensioned arrays

2005-07-07 Thread Marielle Lange
Hi Dennis,

Sorry, I am not in favour of this if this means that I would loose the
possibility to index arrays with text or to have to specify the array size in
advance.

Personally, I need to index with text parts that I don't know in advance what
the size of the array will be. With this type of constraint, the solution you
suggest in fact considerably slows down the programs I write. My experience
with a program doing exactly the same thing: Visual Basic 5 hours (which does
*exactly* what you request, Awk 10 min which does *exactly* what you complain
about.

Gawk does it very fast without the need for any of these two options.
Look at this link, for evidence:  http://www.cs.wustl.edu/~loui/sigplan
"Two pearls in GAWK:  its regular expressions and its associative arrays."

By chance, could SQLlite help to speed up your array processing? (after all, a
database with two columns of data is just another representation for an array
and you can apply a formula to transform the values of one column)

Marielle


To all the speed freaks,

I know that I have pushed for faster array processing and have even
proposed an "Array sub-processor" as a possible solution.  However,
after giving this much thought, I don't believe that a separate array
sub-processor is needed to solve the problem of speed.  Transcript
could provide the speed needed for processing arrays in a simpler way.

If Transcript had an array declaration command that allowed the user
to fix the dimensions and data size/type for an array and limited the
"keys" to integer indexes, then high speed array processing could be
built-in.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: mark cards by finding -- a problem

2005-07-07 Thread Timothy Miller

Jacque replies:


On 7/7/05 5:34 PM, Timothy Miller wrote:


 It's hard to imagine why

 find  in 

 would work, but --

 mark cards by finding  in 

 -- wouldn't work.

 It's even harder to imagine why the "mark cards by finding..." command
 would work right in one script, or stack, but not another.


It could be some text anomaly. I'd suspect an invisible leading 
character in front of the patient name in the field or something 
like that. "Find" only finds the beginnings of words, "find string" 
finds the string anywhere. So if "find string" works, then there 
must be a non-matching character at the front of one of the words.


I know this doesn't make sense if "find" works okay without marking, 
but it is something to check anyway.




That's a good thought. I did check for leading and trailing spaces, 
and extra internal spaces. That wasn't the problem. Invisible 
characters might have been an issue.


However, I just checked out the possibility of invisible characters. 
Variable patientName originates in another field, in another stack. I 
went back to the original field, used the msg box to put empty into 
it, and then carefully retyped the name that becomes variable 
patientName.


No change. "mark cards by finding..." still doesn't work. "mark cards 
by finding string..." still does.


I just checked out the possibility that somehow the script inserted 
an invisible character into the variable. The number of characters in 
the variable patientName is as it should be.


Would some invisible characters not get counted in --

answer the number of chars in patientName   ?


Keep on smiling,



Tim
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: mark cards by finding -- a problem

2005-07-07 Thread J. Landman Gay

On 7/7/05 5:34 PM, Timothy Miller wrote:

> It's hard to imagine why
>
> find  in 
>
> would work, but --
>
> mark cards by finding  in 
>
> -- wouldn't work.
>
> It's even harder to imagine why the "mark cards by finding..." command
> would work right in one script, or stack, but not another.

It could be some text anomaly. I'd suspect an invisible leading 
character in front of the patient name in the field or something like 
that. "Find" only finds the beginnings of words, "find string" finds the 
string anywhere. So if "find string" works, then there must be a 
non-matching character at the front of one of the words.


I know this doesn't make sense if "find" works okay without marking, but 
it is something to check anyway.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Setting fonts

2005-07-07 Thread Marielle Lange
  Keith Martin   Technical Editor, MacUser magazine

Dear Keith,

Any chance to see a 2-3 pages tutorial on how to use revolution to create
applications with revolution in your excellent magazine? I have come across
rave reviews on revolution in mac journals, but not yet across cool tutorials.

Marielle
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: mark cards by finding -- a problem

2005-07-07 Thread Timothy Miller

Jacque replies:



 > It's starting to sound more like a bug. Or maybe my copy of Rev is

 corrupted. I don't know how often that happens.


Virtually never. I don't think it is a bug either, as it works fine 
here (with or without the "bg" designation.) It has to be something 
else. If you can, try it on some other stack with no other scripts 
if you have such a beast around, like an address book stack or 
something.


Or do it from the message box like this:

lock messages;mark cds by finding "name literal" in fld "patientname"

That will avoid interaction with any existing scripts, so see if that works.



Excellent idea, Jacque. You do know your business!

Different stack:


Unmark all cards
lock messages
mark cards by finding "Jones, Bob" in bg field  "daily7"
answer the number of marked cards


Three marked cards.

Same stack:


put "Jones, Bob" into theVar
unmark all cards
lock messages
mark cards by finding theVar in bg field  "daily7"
answer the number of marked cards


Three marked cards, again.

I'm pretty sure three is the correct number of hits.

I don't know what to think. I've described the laborious 
troubleshooting I did on the other script. I'm out of ideas.


In the other script, the problem script, --

mark cards by finding string patientName in field "patient name"

-- works just fine. "Find string" is a better way to do it anyway, 
because it excludes some extraneous characters that might appear in 
that field. I'm inclined to leave well enough alone, unless someone 
has some good troubleshooting ideas. If I'm making a mistake, I'd 
like to learn from it. It might not happen this time.


It's hard to imagine why

find  in 

would work, but --

mark cards by finding  in 

-- wouldn't work.

It's even harder to imagine why the "mark cards by finding..." 
command would work right in one script, or stack, but not another.


It seems possible it's just one of those obscure quirks hidden in the 
dark recesses of every complex application.


Best regards,


Tim
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Setting fonts

2005-07-07 Thread Marielle Lange
>Strangely, though, in the recent thread about changing text size in a
>field, preserving relative sizes of styled text, I came across the same
>thing, where changing the textSize of a field affected only the
>unstyled text before a block of styled text, but not the unstyled text
>after

>However, the problem went away, without me doing anything about it, and
>from the test just now, seems to be staying away. This must be a bug,
>so worth bugzilla-ing, but if it's intermittent, it'll be a bitch to
>solve...

Feel free to check out the presentation styler palette:

go stack url
"http://revolution.lexicall.org/stacks/education/tools_plugins/presentationstyler.rev";

I played with text formatting the way you suggest... I vaguely remember I came
across the same problem and I believe I came up with a satisfactory "work
around".

Marielle

http://revolution.lexicall.org/wiki/
Wiki of the revolution in education community
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Scrolling list fields

2005-07-07 Thread Marielle Lange
>I am a Rev newbie. Two weeks ago I posted a message about creating an
application
>that would calculate distance between schools using two scrolling list fields.
>The first scrolling list field is from a school and the second  scrolling list
>field is to a school. It was suggested that I use custom properties. It was
>also suggested that the schools be numbered for each scrolling list field. For
>example School A would be 1, School B would be 2, etc. I have 80 schools and
>the distances for each of the schools to other schools. My question is how do I
>get the schools listed in numerical order or give them numbers in a scrolling
>list field?

Dear Charles,

If you need sorting, then you can opt for a scrolling list with
Why do you opt for scrolling fields rather than a neat table presentation, as
found on maps:
   1 2 3 4 5 6
1  x y z
2
3
4

Granted, 80 entries is too long for such a representation. [note however that
you could consider having your table data inside a scrolling field with hbar
and vbar and the title bars outside of this scrolling field (eventually with ,
as an equivalent of the "freeze field" in excel].

For a solution based on two vertical scrolling fields, storing your data like
this, on a card not shown to the user makes the values very easy to retrieve.
You create the table, you create a small script to read the first line of the
table and use it to populate your scrolling field for from and your scrolling
field for to. At the same time, you use it to populate an array converting tab
position into a numerical identifier, with numID["school"], numID["school]

I really recommend creating the numID on the fly and using the table storage,
simply because it minimizes the possibility for errors if you happen to need to
add an extra school or remove one from the list (you can easily cut and paste
your distance data from an excel table, and in excel add a column of data or
remove one).

After that, you call to the data with

set itemDelimiter to tab
put the selectedline of field "fromSchool" into tFrom
put the selectedline of field "toSchool" into tTo
put item (numID[tFrom]) of line (numID[tTo]) into tDistance.

And it's done.

Hope this helps,
Marielle


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: mark cards by finding -- a problem

2005-07-07 Thread J. Landman Gay

On 7/7/05 4:03 PM, Timothy Miller wrote:

> The result was empty in every case.

Hm. So it is. I guess "mark" doesn't fill the result like "find" does.

>
> It's starting to sound more like a bug. Or maybe my copy of Rev is
> corrupted. I don't know how often that happens.

Virtually never. I don't think it is a bug either, as it works fine here 
(with or without the "bg" designation.) It has to be something else. If 
you can, try it on some other stack with no other scripts if you have 
such a beast around, like an address book stack or something.


Or do it from the message box like this:

lock messages;mark cds by finding "name literal" in fld "patientname"

That will avoid interaction with any existing scripts, so see if that works.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: PDFs in QT Player -- Hot Links Challenge

2005-07-07 Thread Marielle Lange
>Question? Are the browser plug-ins that allow display of PDFs inside
>the browsers, written by Adobe? i.e. does the code for those plug ins
>comprise a proprietary "object" what am I driving at? Well, why
>doesn't someone write a plug-in for Revolution to view PDF's
>directory without going through an embedded browser?

>(Hinduism Today would pay money for that...though I suspect there may
>be license issues with Adobe...)

Have a look at this: http://www.schubert-it.com/pluginpdf/
For the mac... works perfectly (worked before safari embedded pdf).

To my knowledge, not written by adobe (Kagi link).

Best,
Marielle
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: mark cards by finding -- a problem

2005-07-07 Thread Timothy Miller

On 7/7/05 3:16 PM, Eric Chatonet wrote:


Hi Timothy,

Obviously you are coming from HyperCard...
With Rev there are no "bg" fields (neither card fields) but only fields.
Check the topics section in the docs named "Groups and Backgrounds"
It might help you to understand how Rev handles "bgs"... which do 
not  exist with Rev ;-)


Sometimes that is true, but Tim's stacks are HyperCard ports and 
they have the HCAddressing set to true. That means it acts like HC 
and there are background fields and card fields, as well as bg 
buttons and card buttons. All HC imports act this way unless you 
change it.



Hi Jacque,

Wow! Now I know about turning on hyperCard addressing! Ya learn 
something new every day. You're right of course. hyperCard addressing 
is turned on.




One reason the "find" command may not be working is if the script is 
refering to a bg group that isn't placed on the current card.



I thought of that. I tried adding an extra line --

go to card 1 of bg ""

-- so I could be sure that the script would find field "patient 
information" on the first try. That didn't help either.





Tim: the best thing to do is check "the result" after using the find 
command and see what it says.



Good thought. I did think of that, too. I'm getting better at this .

The result was empty in every case.

It's starting to sound more like a bug. Or maybe my copy of Rev is 
corrupted. I don't know how often that happens.


Best regards,



Tim

The cause of the error should be in there. I've used "mark cards by 
finding" a lot without any problem, so there is something else going 
on.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: mark cards by finding -- a problem

2005-07-07 Thread Eric Chatonet

Hi Jacque,

I did not think of that :-(
As for me, I never ported any stack from HC to Rev (and I wrote  
hundreds): I used too many externals.
I take the opportunity to tell to all "newcomers" how they would  
benefit from all powerful Rev features by trying to re-write their  
stacks with Rev instead of porting them :-)


Le 7 juil. 05 à 22:31, J. Landman Gay a écrit :


On 7/7/05 3:16 PM, Eric Chatonet wrote:



Hi Timothy,
Obviously you are coming from HyperCard...
With Rev there are no "bg" fields (neither card fields) but only  
fields.

Check the topics section in the docs named "Groups and Backgrounds"
It might help you to understand how Rev handles "bgs"... which do  
not  exist with Rev ;-)




Sometimes that is true, but Tim's stacks are HyperCard ports and  
they have the HCAddressing set to true. That means it acts like HC  
and there are background fields and card fields, as well as bg  
buttons and card buttons. All HC imports act this way unless you  
change it.


One reason the "find" command may not be working is if the script  
is refering to a bg group that isn't placed on the current card.


Tim: the best thing to do is check "the result" after using the  
find command and see what it says. The cause of the error should be  
in there. I've used "mark cards by finding" a lot without any  
problem, so there is something else going on.


--
Jacqueline Landman Gay


Best Regards from Paris,

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

Free plugins and tutorials on my website

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


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: mark cards by finding -- a problem

2005-07-07 Thread Timothy Miller

Hi Timothy,

Obviously you are coming from HyperCard...
With Rev there are no "bg" fields (neither card fields) but only fields.
Check the topics section in the docs named "Groups and Backgrounds"
It might help you to understand how Rev handles "bgs"... which do 
not exist with Rev ;-)

That's the reason why your script does not work.



Hi Eric,

Actually, I tried it with and without "bg". It failed in both cases.

Other scripts work with and without "bg" before "field", as long as 
the field belongs to a group.


find patientname in field "patient name"

and

find patientName in bg field "patient name"

both work equally well.

Just to make sure, I just tested that.

mark cards by finding string tempPtName in bg field "patient name" also works.

I admit it might be good practice to leave the "bg" out. I suppose 
Rev ignores it.


Sorry to be contrary :-)


Any other thoughts?


Cheers,


Tim
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: mark cards by finding -- a problem

2005-07-07 Thread J. Landman Gay

On 7/7/05 3:16 PM, Eric Chatonet wrote:


Hi Timothy,

Obviously you are coming from HyperCard...
With Rev there are no "bg" fields (neither card fields) but only fields.
Check the topics section in the docs named "Groups and Backgrounds"
It might help you to understand how Rev handles "bgs"... which do not  
exist with Rev ;-)


Sometimes that is true, but Tim's stacks are HyperCard ports and they 
have the HCAddressing set to true. That means it acts like HC and there 
are background fields and card fields, as well as bg buttons and card 
buttons. All HC imports act this way unless you change it.


One reason the "find" command may not be working is if the script is 
refering to a bg group that isn't placed on the current card.


Tim: the best thing to do is check "the result" after using the find 
command and see what it says. The cause of the error should be in there. 
I've used "mark cards by finding" a lot without any problem, so there is 
something else going on.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: PDFs in QT Player -- Hot Links Challenge

2005-07-07 Thread Sivakatirswami

Chipp,

1) one would assume this requires the user has the acrobat plug-in  
for  their browsers installed, right?
2) if the user has set a different browser as their default (e.g. I  
use FireFox on my mac... not Safari, though Safari is there...) will  
altBrowser still call the rendering engine?



Question? Are the browser plug-ins that allow display of PDFs inside  
the browsers, written by Adobe? i.e. does the code for those plug ins  
comprise a proprietary "object" what am I driving at? Well, why  
doesn't someone write a plug-in for Revolution to view PDF's  
directory without going through an embedded browser?


(Hinduism Today would pay money for that...though I suspect there may  
be license issues with Adobe...)


Re:

I'm confused: if all you want to do is see a PDF, you can use  
Acrobat...


Simple: Acrobat is not an environment for a true "enterprise" desktop  
client application where:


1) the PDF file is, while being the core content, only a single  
element in a larger scenario
2) you want to download files in the background, cache and save to  
hard drive.

3) deal with user registration for.
4) serve other media in separate windows.
5) offer interface of email

i.e. do a host of other kinds of operations that only Rev can do...

Sivakatirswami




On Jul 06, 2005, at 9:09 AM, Chipp Walters wrote:

The new altBrowser for Tiger will open up PDF's within an  
altBrowser window. (Works on PC's too).


-Chipp

[EMAIL PROTECTED] wrote:


I'm confused: if all you want to do is see a PDF, you can use  
Acrobat...






Yes, you could if that is your only objective.
But -- not -- if you intend to display it -- inside -- a  
revolution application window on the Windows platform.




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: mark cards by finding -- a problem

2005-07-07 Thread Eric Chatonet

Hi Timothy,

Obviously you are coming from HyperCard...
With Rev there are no "bg" fields (neither card fields) but only fields.
Check the topics section in the docs named "Groups and Backgrounds"
It might help you to understand how Rev handles "bgs"... which do not  
exist with Rev ;-)

That's the reason why your script does not work.

Le 7 juil. 05 à 22:06, Timothy Miller a écrit :

Hi, my name is Tim. I am a hair-ripper. I haven't ripped for, uh,  
three minutes.


I'm stuck on this one. It's probably an obvious mistake but I've  
checked, triple checked, etc.


find patientName in field "patient name" works fine. It finds the  
one record I expect it to find


if I comment out that line and replace it with --

mark cards by finding patientName in bg field "patient name"

-- no cards get marked.

Oops. I just made it work. Feel free to jump to end of message.

The in between part of the message might be a dull cautionary tale  
for newbies.


It's possible this is a bug. If it's already well-known, or fixed  
in 2.6, well, I feel stupid. I suppose there's an easy way to look  
up well-known bugs in various versions. Anybody want to tell me how?


I got as far as http://support.runrev.com/bugzilla/#searching and  
then "1. Click the "query existing bug reports and enhancement  
requests" link." Where the heck is the link?




FWIW, here's the middle part:  *

I've checked the syntax. It looks okay. variable patientName  
contains what it is supposed to contain. It has to, or the plain  
"find" command wouldn't have worked.


I've copied and pasted the variable name and the field name from  
the line that works to the line that doesn't work, just to make  
sure there were no misspellings or anything. No help.


I tried adding

go to card 1 of bg "record", so the script wouldn't try examining  
field "patient name" on card where it didn't exist. No help.


On a lark, I tried

mark cards where patientName = value(bg field "patient name")

On another lark, I tried mark cards by finding value(patientName)  
in bg field "patient name"


On a third lark I tried

mark cards by finding "Jones, Bob" in bg field "patient name"

None of the larks helped.

I went back and tried

find patientName in field "patient name" again.

It works fine, just like before.


 End of middle part

Here's how I got it to work:

mark cards by finding string patientName in bg field "patient name"

 -- does work!

This seems like a good example of the woeful state of the  
documentation.


The documentation doesn't say that I can write "by finding string  
patientName". It doesn't say that it's a good idea to write the  
"mark cards by finding" command that way.


I looked at the documentation again. It seems like "find normal"  
would have worked anyway. In fact, "find normal" does work for  
these fields and variables. Further investigation shows that "find  
string" and "find whole" also work.


variable patientname and bg field "patient name" are exact matches  
in this case.


Hmmm... I tried --

mark cards by finding whole patientName in bg field "patient name"

-- This doesn't work. It should, as far as I can tell.

I dunno, maybe it's a bug. But every time I think I've found a bug,  
it turns out I'm doing something wrong.


Comments welcome


Thank you for your kind concern.


Tim


Best Regards from Paris,

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

Free plugins and tutorials on my website

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


___
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


mark cards by finding -- a problem

2005-07-07 Thread Timothy Miller
Hi, my name is Tim. I am a hair-ripper. I haven't ripped for, uh, 
three minutes.


I'm stuck on this one. It's probably an obvious mistake but I've 
checked, triple checked, etc.


find patientName in field "patient name" works fine. It finds the one 
record I expect it to find


if I comment out that line and replace it with --

mark cards by finding patientName in bg field "patient name"

-- no cards get marked.

Oops. I just made it work. Feel free to jump to end of message.

The in between part of the message might be a dull cautionary tale for newbies.

It's possible this is a bug. If it's already well-known, or fixed in 
2.6, well, I feel stupid. I suppose there's an easy way to look up 
well-known bugs in various versions. Anybody want to tell me how?


I got as far as http://support.runrev.com/bugzilla/#searching and 
then "1. Click the "query existing bug reports and enhancement 
requests" link." Where the heck is the link?




FWIW, here's the middle part:  *

I've checked the syntax. It looks okay. variable patientName contains 
what it is supposed to contain. It has to, or the plain "find" 
command wouldn't have worked.


I've copied and pasted the variable name and the field name from the 
line that works to the line that doesn't work, just to make sure 
there were no misspellings or anything. No help.


I tried adding

go to card 1 of bg "record", so the script wouldn't try examining 
field "patient name" on card where it didn't exist. No help.


On a lark, I tried

mark cards where patientName = value(bg field "patient name")

On another lark, I tried mark cards by finding value(patientName) in 
bg field "patient name"


On a third lark I tried

mark cards by finding "Jones, Bob" in bg field "patient name"

None of the larks helped.

I went back and tried

find patientName in field "patient name" again.

It works fine, just like before.


 End of middle part

Here's how I got it to work:

mark cards by finding string patientName in bg field "patient name"

 -- does work!

This seems like a good example of the woeful state of the documentation.

The documentation doesn't say that I can write "by finding string 
patientName". It doesn't say that it's a good idea to write the "mark 
cards by finding" command that way.


I looked at the documentation again. It seems like "find normal" 
would have worked anyway. In fact, "find normal" does work for these 
fields and variables. Further investigation shows that "find string" 
and "find whole" also work.


variable patientname and bg field "patient name" are exact matches in 
this case.


Hmmm... I tried --

mark cards by finding whole patientName in bg field "patient name"

-- This doesn't work. It should, as far as I can tell.

I dunno, maybe it's a bug. But every time I think I've found a bug, 
it turns out I'm doing something wrong.


Comments welcome


Thank you for your kind concern.


Tim


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: change font size

2005-07-07 Thread Eric Chatonet

Yes, I was just looking over your shoulder :-)
Did not you see me?

Le 7 juil. 05 à 20:19, [EMAIL PROTECTED] a écrit :


Hi Eric

Have you been over there? :-)

Thanks for the idea. I think I'll make a preferences pane for label  
size, font

and textsize now. Then an insert button for the user.

Certainly your tip will be useful.


Best Regards from Paris,

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

Free plugins and tutorials on my website

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


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN][EN][FR] Encoded Text Picker enhanced

2005-07-07 Thread John Ridge
on 7/7/05 3:08 pm,  Eric Chatonet wrote :


More seriously, could you test further and let me know?
Thank you.

*

Must be finger trouble. I did test it several times, but obviously not
enough.Test, test, then test again...

Sorry!

Best wishes
John 
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Setting fonts

2005-07-07 Thread Ken Ray

>> I have successfully used a frontScript that would trap preOpenCard
>> and then
>> repeat through all of the fields and set their text attributes to a
>> known
>> common value, but also checking a custom property of the fields to
>> see if
>> special handling should occur for a particular field. It works
>> really fast,
>> and isn't too many lines of code.
>> 
> 
> Cool. But (1) what about "special handling" that affects not a whole
> field but some chunks within the field? And (2) doesn't this approach
> take an awful lot of (that is, potentially a noticeable amount of) time?

Well, (1) if you needed to do that, you'd have to store the chunk you wanted
to affect and how you wanted to affect it, like a custom property with:

  1,5,bold
  6,20,italic

which would make the first 5 chars bold and the next 15 chars italic (I
know, a bad example, but you know what I mean).

(2) No, it doesn't (surprisingly). I have screens with a hundred+ objects on
it and executing even something that repeats through the fields and sets
their text attributes is very fast. Rev is well-suited to do this kind of
stuff, it seems.





___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Programming multi line selections

2005-07-07 Thread Robert Brenstein

Also, how do I deselect all lines before I start (select empty doesn;t
seem to achieve this).


Hi Rob,

When you select a line in a repeat loop, only the last found line 
will appear selected :-)

Try to parse the lines by number and set the hilitedLines at the end:

  put 0 into LineNo
  repeat for each line peptide in card field "audit"
  add 1 to LineNo
  if char -1 of peptide = "K" then put LineNo & comma after tHilitedLines
 end repeat
 delete char -1 of tHilitedLines
 set the hilitedLines of field "audit" to tHilitedLines



The script from Eric will automatically unselect previous selection 
but in case you want to clear all yourself


  set the hilitedLines of fld "audit" to empty

Robert
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: linecolor

2005-07-07 Thread Howard Bornstein
On 7/7/05, Muaadh Salih <[EMAIL PROTECTED]> wrote:
> How can one write a line script to set line color?
> We can set the linesize to a number but it seems
> we don't have such a property for line color
> any help ?
> 

If you're talking about setting the color of a text line, you can
easily do this by:

set the color of line 2 of fld "yourField" to "green"

-- 
Regards,

Howard Bornstein
---
www.designeq.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: change font size

2005-07-07 Thread rev
Quoting Eric Chatonet <[EMAIL PROTECTED]>:

> Hi "armbase" :-),

Hi Eric

Have you been over there? :-)

Thanks for the idea. I think I'll make a preferences pane for label size, font
and textsize now. Then an insert button for the user.

Certainly your tip will be usefull.

Cheers
Bob; Sunny Scotland
>
> Probably the text size of your field is already set.
> So you could try this:
>
> set the textsize of char 1 to -1 of field LabelName of stack tFileName \
> to field LabelNewTextsize of stack "Armbase"
>
> Hope this helps.
>
> Le 7 juil. 05 à 19:56, [EMAIL PROTECTED] a écrit :
>
> > Hi All
> > I have a sript that inserts the name of a label on one stack, to
> > that of the
> > contents of a field on another stack. This works OK.
> >
> > I would like to change the font size (just like rev does in the
> > text size bit of
> > the inspector. I have a textfield (LabelNewTextsize) that the user
> > can type in a
> > value, I tried 24, and hoped that he text size would change to
> > 24pt. But no
> > luck.
> >
> > Any Ideas
> > Regards
> > Bob
> >
> > The script is below
> >
> > on mouseUp
> >   global tFileName
> >   set the text of field LabelName of stack tFileName to field
> > LabelNewName of
> > stack "Armbase"
> >   set the name of field LabelName of stack tFileName to field
> > LabelNewName of
> > stack "Armbase"
> >   set the textsize of field LabelName of stack tFileName to field
> > LabelNewTextsize of stack "Armbase"
> >   --the above is OK and copies the label and changes its name to
> > the contents of
> > a field  but the resize doesn't work
> > end mouseUp
>
> Best Regards from Paris,
>
> 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
>
> Free plugins and tutorials on my website
> 
> Web sitehttp://www.sosmartsoftware.com/
> Email[EMAIL PROTECTED]/
> Phone33 (0)1 43 31 77 62
> Mobile33 (0)6 20 74 50 86
> 
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: change font size

2005-07-07 Thread rev
Quoting [EMAIL PROTECTED]:

> Hi All

well just as I got it typed I came up with an idea.

I used this script.


> on mouseUp
>   global tFileName
>   set the text of field LabelName of stack tFileName to field LabelNewName of
> stack "Armbase"
>   set the name of field LabelName of stack tFileName to field LabelNewName of
> stack "Armbase"
>   set the textsize of field LabelName of stack tFileName to field
> LabelNewTextsize of stack "Armbase"
>   --the above is OK and copies the label and changes its name to the contents
> of
> a field  but the resize doesn't work
> end mouseUp
>

New script

on mouseUp
  global tFileName
  set the textsize of field LabelName of stack "Armbase" to field
LabelNewTextsize of stack "Armbase"
  copy field "LabelName" of stack "Armbase" to card 1 of stack tFileName
  set the text of field LabelName of stack tFileName to field LabelNewName of
stack "Armbase"
  set the name of field LabelName of stack tFileName to field LabelNewName of
stack "Armbase"
  --set the textsize of field LabelName of stack tFileName to field
LabelNewTextsize of stack "Armbase"
  --the above is OK and copies the label and changes its name to the contents of
a field  but the resize doesn't work
end mouseUp

Now the problem with this is that the label is huge in the original stack.

Any ideas about a cleaner workaround? I suppose I could create a prefernces
stack for text etc.

All the best
Bob
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: change font size

2005-07-07 Thread Eric Chatonet

Hi "armbase" :-),

Probably the text size of your field is already set.
So you could try this:

set the textsize of char 1 to -1 of field LabelName of stack tFileName \
to field LabelNewTextsize of stack "Armbase"

Hope this helps.

Le 7 juil. 05 à 19:56, [EMAIL PROTECTED] a écrit :


Hi All
I have a sript that inserts the name of a label on one stack, to  
that of the

contents of a field on another stack. This works OK.

I would like to change the font size (just like rev does in the  
text size bit of
the inspector. I have a textfield (LabelNewTextsize) that the user  
can type in a
value, I tried 24, and hoped that he text size would change to  
24pt. But no

luck.

Any Ideas
Regards
Bob

The script is below

on mouseUp
  global tFileName
  set the text of field LabelName of stack tFileName to field  
LabelNewName of

stack "Armbase"
  set the name of field LabelName of stack tFileName to field  
LabelNewName of

stack "Armbase"
  set the textsize of field LabelName of stack tFileName to field
LabelNewTextsize of stack "Armbase"
  --the above is OK and copies the label and changes its name to  
the contents of

a field  but the resize doesn't work
end mouseUp


Best Regards from Paris,

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

Free plugins and tutorials on my website

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


___
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


change font size

2005-07-07 Thread rev
Hi All
I have a sript that inserts the name of a label on one stack, to that of the
contents of a field on another stack. This works OK.

I would like to change the font size (just like rev does in the text size bit of
the inspector. I have a textfield (LabelNewTextsize) that the user can type in a
value, I tried 24, and hoped that he text size would change to 24pt. But no
luck.

Any Ideas
Regards
Bob

The script is below

on mouseUp
  global tFileName
  set the text of field LabelName of stack tFileName to field LabelNewName of
stack "Armbase"
  set the name of field LabelName of stack tFileName to field LabelNewName of
stack "Armbase"
  set the textsize of field LabelName of stack tFileName to field
LabelNewTextsize of stack "Armbase"
  --the above is OK and copies the label and changes its name to the contents of
a field  but the resize doesn't work
end mouseUp

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: linecolor

2005-07-07 Thread Klaus Major

Hi Muaadh,


How can one write a line script to set line color?
We can set the linesize to a number but it seems
we don't have such a property for line color
any help ?


You can set the "linecolor" of Graphics, for other objects (like  
fields e.g.)

you can set the "bordercolor" by script.

Is that what you mean?


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
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


linecolor

2005-07-07 Thread Muaadh Salih
How can one write a line script to set line color?
We can set the linesize to a number but it seems
we don't have such a property for line color
any help ?

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Embedding Fonts

2005-07-07 Thread Mark Talluto


On Jul 7, 2005, at 12:14 AM, Robert J. Earp wrote:

Mark, thanks for the info however I'm looking primarily for a Win  
solution (as that's where pretty much all of my clients are) and it  
really does not help much having to mess around with loaders and  
registries and the like.  A number of clients just don't want stuff  
loaded on their machines at all, and yes I know this does not make  
a lot of sense to some people.  Somehow ToolBook does not do this,  
you simply tell it to embed a font and assuming you have the rights  
to the font then it allows you.


I get it.  The font is never installed in the first place with the TB  
method.  A little slow I know.  Sounds interesting.



Mark Talluto
--
CANELA Software
http://www.canelasoftware.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Embedding Fonts

2005-07-07 Thread Klaus Major

Hi Judy,


Ken,

Really? Director lets/let you embed fonts?


yes, and already when i touched Director the last time, which is now
about 6 years ago (the year i discovered Metacard :-)...


(Sorry for continuing to look stoopid, but this was the first thing I
asked of our program's 'Director Guru'


Sounds like he is just a con man ;-)


in my edu-based MS program and he
said 'no can do'... I guess I shouldn't be surprised??)

Judy


Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: embedding objects in scrolling fields & adolescents

2005-07-07 Thread Charles Hartman

Hear, hear!

On Jul 7, 2005, at 5:16 AM, Mathewson wrote:


My experience with  educational use of computers stretches
back for years & with GUIs about 12 - so for what its worth
this is why I think embedding objects in scrolling fields
is a good thing:

['adolescents' is to be taken to mean pupils/students
between 12 and 22 - no offence intended]

On opening an educational multimedia program (such as those
authored in Hypercard, RR, MC and so on) the first reaction
is impulsive: the pupil clicks on every clickable thing in
sight - all very interactive and guaranteeing that the
amount of information absorbed by the pupil is minimal!

If I wish my target audience to do some reading (OK, I know
that in certain parts of the world reading is being played
down - I am an old-fashioned reactionary) I have to find a
way to stop the "mindless clicking" - there seem to be 2
solutions to this:

1. Just present windows filled with text alone . . .
I have found (I've actually tried this!) that pupils go
"off the boil" quicker than I can snap my fingers - a 19th
century text book on-screen is a major turn-off.

2.  Embed the 'jazzy buttons' in a scrollable text field
and let the pupils know that the REWARD (Oh, No, not a
behaviourist!) for reading the text will present itself in
due course - admittedly some 'bright' pupil will just
scroll down until he/she finds the clickables and miss out
the reading.

HOWEVER, I do believe that by embedding multimedia buttons
/ movie-players in the text this will minimise crazy
clicking.

While a large part of the world is hooked on the "I want it
now" idea, and the servicing of the minimal attention span.
I want to SLOW PUPILS DOWN so that they absorb information,
see multimedia in a meaningful CONTEXT, and are forced to
pay attention for more than a 2 second sound-bite.

Sincerely, Richmond Mathewson

__
See Mathewson's software at:

http://members.maclaunch.com/richmond/default.html
___
---
The Think Different Store
http://www.thinkdifferentstore.com/
For All Your Mac Gear
---
___
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



Charles Hartman
Professor of English, Poet in Residence
Connecticut College
[EMAIL PROTECTED]
*the Scandroid* is at cherry.conncoll.edu/cohar/Programs





___
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


embedding objects in scrolling fields & adolescents

2005-07-07 Thread Mathewson
My experience with  educational use of computers stretches
back for years & with GUIs about 12 - so for what its worth
this is why I think embedding objects in scrolling fields
is a good thing:

['adolescents' is to be taken to mean pupils/students
between 12 and 22 - no offence intended]

On opening an educational multimedia program (such as those
authored in Hypercard, RR, MC and so on) the first reaction
is impulsive: the pupil clicks on every clickable thing in
sight - all very interactive and guaranteeing that the
amount of information absorbed by the pupil is minimal!

If I wish my target audience to do some reading (OK, I know
that in certain parts of the world reading is being played
down - I am an old-fashioned reactionary) I have to find a
way to stop the "mindless clicking" - there seem to be 2
solutions to this:

1. Just present windows filled with text alone . . .
I have found (I've actually tried this!) that pupils go
"off the boil" quicker than I can snap my fingers - a 19th
century text book on-screen is a major turn-off.

2.  Embed the 'jazzy buttons' in a scrollable text field
and let the pupils know that the REWARD (Oh, No, not a
behaviourist!) for reading the text will present itself in
due course - admittedly some 'bright' pupil will just
scroll down until he/she finds the clickables and miss out
the reading.

HOWEVER, I do believe that by embedding multimedia buttons
/ movie-players in the text this will minimise crazy
clicking.

While a large part of the world is hooked on the "I want it
now" idea, and the servicing of the minimal attention span.
I want to SLOW PUPILS DOWN so that they absorb information,
see multimedia in a meaningful CONTEXT, and are forced to
pay attention for more than a 2 second sound-bite.

Sincerely, Richmond Mathewson

__
See Mathewson's software at:

http://members.maclaunch.com/richmond/default.html
___
---
The Think Different Store
http://www.thinkdifferentstore.com/
For All Your Mac Gear
---
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re:Question on Geometry

2005-07-07 Thread Glenn E. Fisher

at July 7, 2005 7:29:08 AM CDT Charles Hartman wrote:

Is there a tutorial or overview of "Geometry" settings somewhere?


Try the "Geometry Manager" entries at this link:

http://www.altuit.com/webs/altuit2/RunRev/VideoTutorials.htm

HTH,
Glenn
--
Glenn E. Fisher University of Houston - Retired
22402 Diane Dr. Spring, Tx 77373
[EMAIL PROTECTED]   http://www.uh.edu/~fisher
http://home.houston.rr.com/thegefishers/
http://homepage.mac.com/gefisher
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Embedding Fonts

2005-07-07 Thread Judy Perry
Ken,

Really? Director lets/let you embed fonts?

(Sorry for continuing to look stoopid, but this was the first thing I
asked of our program's 'Director Guru' in my edu-based MS program and he
said 'no can do'... I guess I shouldn't be surprised??)

Judy

On Thu, 7 Jul 2005, Ken Ray wrote:

> Yes, Flash and Director (among others) do the same thing... it would be a
> great advantage to have this in Rev also. Bob, if it's not already in
> Bugzilla as an enhancement request, I'd suggest you throw it in there.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Setting fonts

2005-07-07 Thread Charles Hartman


On Jul 7, 2005, at 9:52 AM, Ken Ray wrote:





I need to modify what I wrote before, quoted below.

The text after the special-font (Courier) lines _does_ get set to
whatever the new default or owner's font is -- UNLESS it (the lines
without a specified contains any text _style_ changes. A bit in bold,
or marked as a link, interrupts the transformation, and any text
after that is in the old, pre-change default font.



That's correct. Inheritance of text attributes is broken as soon as  
any

style changes. I wish it weren't so, but this is indeed the case.


Oh dear.





How should I get around this? I can imagine searching each card,
putting any special-format text into temporary variables, setting the
style of everything to Plain, changing the font, then
reformatting . . . a nightmare. At the moment, nothing better is
occurring to me.



I have successfully used a frontScript that would trap preOpenCard  
and then
repeat through all of the fields and set their text attributes to a  
known
common value, but also checking a custom property of the fields to  
see if
special handling should occur for a particular field. It works  
really fast,

and isn't too many lines of code.



Cool. But (1) what about "special handling" that affects not a whole  
field but some chunks within the field? And (2) doesn't this approach  
take an awful lot of (that is, potentially a noticeable amount of) time?


Charles Hartman








___
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



Charles Hartman
Professor of English, Poet in Residence
Connecticut College
[EMAIL PROTECTED]
*the Scandroid* is at cherry.conncoll.edu/cohar/Programs





___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN][EN][FR] Encoded Text Picker enhanced

2005-07-07 Thread Eric Chatonet

Hi John,

The copy feature put the whole normal, HTML or URLEncoded text (or  
just the selection if there is one) on the clipboard.
There are no fields especially dedicated to a kind of text: the same  
field is used for all.
So, if you see HTML text in the Encoded Text Picker window, this HTML  
text should be on the clipboard.

It acts exactly like that here.
In addition, I made not any modification to this feature since  
version 1.0. So I wonder...

May be you think you clicked on the Copy button but you did not ;-)
More seriously, could you test further and let me know?
Thank you.

Le 7 juil. 05 à 15:49, John Ridge a écrit :

I can't get v1.2 to put the HTML coding onto the clipboard. Instead  
it seems

to be putting the text itself. This worked in v1.1, so...


Best Regards from Paris,

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

Free plugins and tutorials on my website

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


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Embedding Fonts

2005-07-07 Thread Lynch, Jonathan
In order to acquire font information - revolution must look for a font
file in some particular folder - right? Is there some IDE stack that is
involved in doing this? If so, perhaps it could be altered to look for a
font file in a different location, when requested to do so?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ken Ray
Sent: Thursday, July 07, 2005 9:55 AM
To: use-revolution@lists.runrev.com
Subject: Re: Embedding Fonts


> Mark, thanks for the info however I'm looking primarily for a Win
> solution (as that's where pretty much all of my clients are) and it
> really does not help much having to mess around with loaders and
> registries and the like.  A number of clients just don't want stuff
> loaded on their machines at all, and yes I know this does not make a
lot
> of sense to some people.  Somehow ToolBook does not do this, you
simply
> tell it to embed a font and assuming you have the rights to the font
> then it allows you.

Yes, Flash and Director (among others) do the same thing... it would be
a
great advantage to have this in Rev also. Bob, if it's not already in
Bugzilla as an enhancement request, I'd suggest you throw it in there.

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



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Embedding Fonts

2005-07-07 Thread Ken Ray

> Mark, thanks for the info however I'm looking primarily for a Win
> solution (as that's where pretty much all of my clients are) and it
> really does not help much having to mess around with loaders and
> registries and the like.  A number of clients just don't want stuff
> loaded on their machines at all, and yes I know this does not make a lot
> of sense to some people.  Somehow ToolBook does not do this, you simply
> tell it to embed a font and assuming you have the rights to the font
> then it allows you.

Yes, Flash and Director (among others) do the same thing... it would be a
great advantage to have this in Rev also. Bob, if it's not already in
Bugzilla as an enhancement request, I'd suggest you throw it in there.

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



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Setting fonts

2005-07-07 Thread Ken Ray

> I need to modify what I wrote before, quoted below.
> 
> The text after the special-font (Courier) lines _does_ get set to
> whatever the new default or owner's font is -- UNLESS it (the lines
> without a specified contains any text _style_ changes. A bit in bold,
> or marked as a link, interrupts the transformation, and any text
> after that is in the old, pre-change default font.

That's correct. Inheritance of text attributes is broken as soon as any
style changes. I wish it weren't so, but this is indeed the case.
 
> How should I get around this? I can imagine searching each card,
> putting any special-format text into temporary variables, setting the
> style of everything to Plain, changing the font, then
> reformatting . . . a nightmare. At the moment, nothing better is
> occurring to me.

I have successfully used a frontScript that would trap preOpenCard and then
repeat through all of the fields and set their text attributes to a known
common value, but also checking a custom property of the fields to see if
special handling should occur for a particular field. It works really fast,
and isn't too many lines of code.





___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN][EN][FR] Encoded Text Picker enhanced

2005-07-07 Thread John Ridge
I can't get v1.2 to put the HTML coding onto the clipboard. Instead it seems
to be putting the text itself. This worked in v1.1, so...

I don't think it's OS 9!

Best wishes
John 
___
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


Running a Chat server via CGI

2005-07-07 Thread Thomas McCarthy

I've got my rev chat server-client thing almost working. I was going to just 
run it off my desktop, but then I was given the opportunity to use some 
web-space and found that I could get a rev cgi engine up and working in no 
time--Weee!

Now my question, before I waste mountains of time on this, what should I know? 
Can a cgi script write to sockets? My client-side will still be Rev stacks.

any pointers would be appreciated
tom

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Question on Geometry

2005-07-07 Thread Eric Chatonet

Hi Charles,

You are a lucky man: I released 3 days ago a tutorial about geometry:

Le 4 juillet 2005 à 18:26:, Eric Chatonet a écrit :

So Smart Software has the pleasure of announcing the availability  
of a new tutorial:

How to Manage Resizing

This stack explains how to position, scale, etc. all controls in a  
card when the window is resized with the help of the Geometry  
Manager or by scripting.

Tips and tricks, commented scripts, FAQ and example stacks.
Print function included.

If you have already downloaded the Tutorials Picker plugin (from  
Rev Online or my web-site), this 17th tutorial will appear  
automatically in the list.
This tutorial can be downloaded as a zip archive separately from  
http://www.sosmartsoftware.com/?r=revolution_didacticiels&l=en
Note that the version available through Tutorials Picker will be  
the only one which will be updated if needed.


Le 7 juil. 05 à 14:29, Charles Hartman a écrit :


Is there a tutorial or overview of "Geometry" settings somewhere?

Meanwhile I'm doing the old Try It & See. I've got a card with a  
field and a button (not grouped). If I set the Geometry of the  
field to "scale" and that of the button to "position", the  
combination doesn't stick. Apparently the two are tied together.


That makes logical internal sense (the geometries of several items  
on a card are interdependent), but it doesn't make any sense from a  
UI standpoint. If the user resizes the card, it will be to make the  
field bigger, but making the button bigger just looks silly. What  
am I missing?


Best Regards from Paris,

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

Free plugins and tutorials on my website

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


___
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


Setting fonts

2005-07-07 Thread Charles Hartman

(As far as I can tell this didn't go through when I sent it before.)


I need to modify what I wrote before, quoted below.

The text after the special-font (Courier) lines _does_ get set to  
whatever the new default or owner's font is -- UNLESS it (the lines  
without a specified contains any text _style_ changes. A bit in bold,  
or marked as a link, interrupts the transformation, and any text  
after that is in the old, pre-change default font.


How should I get around this? I can imagine searching each card,  
putting any special-format text into temporary variables, setting the  
style of everything to Plain, changing the font, then  
reformatting . . . a nightmare. At the moment, nothing better is  
occurring to me.


Charles Hartman

On Jul 6, 2005, at 8:03 AM, Charles Hartman wrote:

Let me clarifiy: a field contains a dozen lines, let's say; the  
first six and last four have been created using Palatino, with  
Palatino as the stack font, so there's no font specification on any  
of those lines. Lines 7-8 have had their Text Formatting properties  
altered so their font is specified as Courier. Now in the main  
stack's script I insert the line "set the textfont of me to  
'Arial'" and save and close the stack and its substacks and reopen.  
Now on that example card, in that field, lines 1-6 are Arial, 7-8  
are Courier (all as expected) -- but lines 9-12 are still in Palatino.





___
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


Question on Geometry

2005-07-07 Thread Charles Hartman

Is there a tutorial or overview of "Geometry" settings somewhere?

Meanwhile I'm doing the old Try It & See. I've got a card with a  
field and a button (not grouped). If I set the Geometry of the field  
to "scale" and that of the button to "position", the combination  
doesn't stick. Apparently the two are tied together.


That makes logical internal sense (the geometries of several items on  
a card are interdependent), but it doesn't make any sense from a UI  
standpoint. If the user resizes the card, it will be to make the  
field bigger, but making the button bigger just looks silly. What am  
I missing?


Charles Hartman
Professor of English, Poet in Residence
Connecticut College
[EMAIL PROTECTED]
*the Scandroid* is at cherry.conncoll.edu/cohar/Programs





___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


[ANN][EN][FR] Encoded Text Picker enhanced

2005-07-07 Thread Eric Chatonet

Paris, Mon, 7 Jul 2005 12:00:00 +0100

-- English version -

Hello,

After great feedbacks from users, I made interesting enhancements to  
the Encoded Text Pïcker plugin released 2 days ago:


What's new in version 1.2 :

• Interface revision.
• Addition of a font/size menu in the "Normal Text" section.
• Addition of a menu in the "HTML Text" section allowing to insert  
various tags.


Encoded Text Picker 1.2

Category:
HTML and URLencode translator
Description:
Ability to translate both to and from HTML and/or URLEncode.
Integrated search and replace features (including tab and return.)
Ability to determine text style and color. Copy function.
Bilingual help (English/French) included.
Identical appearance on all platforms.

Enjoy,
Best regards from Paris,

Eric Chatonet.

- Version française 

Bonjour,

A la suite de commentaires pertinents à propos de la version  
d'Encoded Text Picker parue il y a 2 jours, j'ai apporté différentes  
améliorations à ce plugin :


Quoi de neuf dans la version 1.2 :

• Révision de l'interface.
• Ajout d'un menu dans la section "Normal Text" permettant de fixer  
la police et la taille de la sélection.
• Ajout d'un menu dans la section "HTML Text" permettant d'insérer  
différentes balises.


Encoded Text Picker 1.2

Catégorie:
Traducteur HTML et URLEncode
Description:
Traduction en tous sens depuis et vers les encodages HTML et URLEncode
Recherche/remplacement intégrée (y compris tab et return).
Commandes de style et de couleur du texte. Fonction copie.
Pile d'aide bilingue (français/anglais) incluse.
Apparence identique sur toutes les plates-formes.

Bonnes découvertes,
Cordialement,

Eric Chatonet.

---
So Smart Software

Pour les institutionnels, les entreprises et les associations
Des logiciels sur mesure : gestion, multimédia, internet, etc.
Windows, Mac OS et Linux... Avec la "french touch"

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]/
Phone33 (0) 143 317 762
Mobile33 (0) 620 745 086
---___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: SelectionChanged issue

2005-07-07 Thread Eric Chatonet

Xavier,

Idle or mouseWithin are sent repeatedly by the engine.
The delay is fixed according to the idleRate property (200  
milliseconds by default) for both messages.

Good to know...
But here it does not interest me since I don't want a plugin to  
change this property within the user IDE and interfere with his/her  
own settings...


Le 7 juil. 05 à 10:53, [EMAIL PROTECTED] a écrit :


I would say to use the mousewithin (the howitzer canon) or an idle
message...

Is the idle so bad?

on idle
  get the selchunk
  if it is empty or myfield is not in it then pass idle
end idle...

a millisecond trigger should do the trick too...

On 07/07/2005 10:49:55 use-revolution-bounces wrote:


Hi Xavier,

Not any message is sent by the engine when you just click anywhere in
the text of a field.
My question was:
Is there a best way than using a pending message (kind of 75-mm gun
to shoot a spider as we say in French -:) to know in real time if
there is at least 1 selected char in a field and not only the
insertion point blinking?
At the moment I use a pending message which checks if word 4 of the
selectedChunk >= word 2 of the selectedChunk
I would find a light solution :-)

Le 7 juil. 05 à 10:41, [EMAIL PROTECTED] a écrit :



Then cover all the events possible (closefield, enterfield, etc...)

Dont forget to "pass" the events...

It's the best way. Im now aware of any problems.

One other way which i use in a plugin is to send repeated checks
with a
timed send message.

cheers
Xavier

On 07/07/2005 10:37:51 use-revolution-bounces wrote:



Hi Xavier,

Thank you.
You are right.
But the problem is that I want to know that in real time to enable/
disable a button :-)

Le 7 juil. 05 à 10:34, [EMAIL PROTECTED] a écrit :




Just use the selectedchunk...

You'll see the difference between one selected char and just an
insertion
point
when word 4 of the selchunk <= than word 2 of the selchunk. If i
remember
correctly.




Best Regards from Paris,

Eric Chatonet.



Best Regards from Paris,

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

Free plugins and tutorials on my website

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


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: SelectionChanged issue

2005-07-07 Thread xbury . cs
I would say to use the mousewithin (the howitzer canon) or an idle 
message...

Is the idle so bad?

on idle
  get the selchunk
  if it is empty or myfield is not in it then pass idle
end idle...

a millisecond trigger should do the trick too...

On 07/07/2005 10:49:55 use-revolution-bounces wrote:
>Hi Xavier,
>
>Not any message is sent by the engine when you just click anywhere in
>the text of a field.
>My question was:
>Is there a best way than using a pending message (kind of 75-mm gun
>to shoot a spider as we say in French -:) to know in real time if
>there is at least 1 selected char in a field and not only the
>insertion point blinking?
>At the moment I use a pending message which checks if word 4 of the
>selectedChunk >= word 2 of the selectedChunk
>I would find a light solution :-)
>
>Le 7 juil. 05 à 10:41, [EMAIL PROTECTED] a écrit :
>
>> Then cover all the events possible (closefield, enterfield, etc...)
>>
>> Dont forget to "pass" the events...
>>
>> It's the best way. Im now aware of any problems.
>>
>> One other way which i use in a plugin is to send repeated checks
>> with a
>> timed send message.
>>
>> cheers
>> Xavier
>>
>> On 07/07/2005 10:37:51 use-revolution-bounces wrote:
>>
>>> Hi Xavier,
>>>
>>> Thank you.
>>> You are right.
>>> But the problem is that I want to know that in real time to enable/
>>> disable a button :-)
>>>
>>> Le 7 juil. 05 à 10:34, [EMAIL PROTECTED] a écrit :
>>>
>>>
 Just use the selectedchunk...

 You'll see the difference between one selected char and just an
 insertion
 point
 when word 4 of the selchunk <= than word 2 of the selchunk. If i
 remember
 correctly.

>>>
>>> Best Regards from Paris,
>>>
>>> Eric Chatonet.



-
Visit us at http://www.clearstream.com
  
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of
its affiliates or subsidiaries.

END OF DISCLAIMER

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: SelectionChanged issue

2005-07-07 Thread Eric Chatonet

Hi Xavier,

Not any message is sent by the engine when you just click anywhere in  
the text of a field.

My question was:
Is there a best way than using a pending message (kind of 75-mm gun  
to shoot a spider as we say in French -:) to know in real time if  
there is at least 1 selected char in a field and not only the  
insertion point blinking?
At the moment I use a pending message which checks if word 4 of the  
selectedChunk >= word 2 of the selectedChunk

I would find a light solution :-)

Le 7 juil. 05 à 10:41, [EMAIL PROTECTED] a écrit :


Then cover all the events possible (closefield, enterfield, etc...)

Dont forget to "pass" the events...

It's the best way. Im now aware of any problems.

One other way which i use in a plugin is to send repeated checks  
with a

timed send message.

cheers
Xavier

On 07/07/2005 10:37:51 use-revolution-bounces wrote:


Hi Xavier,

Thank you.
You are right.
But the problem is that I want to know that in real time to enable/
disable a button :-)

Le 7 juil. 05 à 10:34, [EMAIL PROTECTED] a écrit :



Just use the selectedchunk...

You'll see the difference between one selected char and just an
insertion
point
when word 4 of the selchunk <= than word 2 of the selchunk. If i
remember
correctly.



Best Regards from Paris,

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

Free plugins and tutorials on my website

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


___
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




-
Visit us at http://www.clearstream.com

IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you  
are

not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of
its affiliates or subsidiaries.

END OF DISCLAIMER

___
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






Best Regards from Paris,

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

Free plugins and tutorials on my website

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


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: SelectionChanged issue

2005-07-07 Thread xbury . cs
Then cover all the events possible (closefield, enterfield, etc...)

Dont forget to "pass" the events...

It's the best way. Im now aware of any problems.

One other way which i use in a plugin is to send repeated checks with a 
timed send message.

cheers
Xavier

On 07/07/2005 10:37:51 use-revolution-bounces wrote:
>Hi Xavier,
>
>Thank you.
>You are right.
>But the problem is that I want to know that in real time to enable/
>disable a button :-)
>
>Le 7 juil. 05 à 10:34, [EMAIL PROTECTED] a écrit :
>
>> Just use the selectedchunk...
>>
>> You'll see the difference between one selected char and just an
>> insertion
>> point
>> when word 4 of the selchunk <= than word 2 of the selchunk. If i
>> remember
>> correctly.
>
>Best Regards from Paris,
>
>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
>
>Free plugins and tutorials on my website
>
>Web sitehttp://www.sosmartsoftware.com/
>Email[EMAIL PROTECTED]/
>Phone33 (0)1 43 31 77 62
>Mobile33 (0)6 20 74 50 86
>
>
>___
>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


-
Visit us at http://www.clearstream.com
  
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of
its affiliates or subsidiaries.

END OF DISCLAIMER

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: SelectionChanged issue

2005-07-07 Thread Eric Chatonet

Hi Xavier,

Thank you.
You are right.
But the problem is that I want to know that in real time to enable/ 
disable a button :-)


Le 7 juil. 05 à 10:34, [EMAIL PROTECTED] a écrit :


Just use the selectedchunk...

You'll see the difference between one selected char and just an  
insertion

point
when word 4 of the selchunk <= than word 2 of the selchunk. If i  
remember

correctly.


Best Regards from Paris,

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

Free plugins and tutorials on my website

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


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: SelectionChanged issue

2005-07-07 Thread xbury . cs
Hi Eric

Just use the selectedchunk...

You'll see the difference between one selected char and just an insertion 
point
when word 4 of the selchunk <= than word 2 of the selchunk. If i remember 
correctly.

Hope that answers it... 

On 07/07/2005 10:30:48 use-revolution-bounces wrote:
>Hi all,
>
>When you click anywhere in the text of an editable field,
>selectionChanged is not sent by the engine (part of this behaviour is
>bugzilla #1057).
>A combination of selectionChanged and rawKeyUp does not allow to trap
>all events.
>So here is a best way than using a pending message (kind of 75-mm gun
>to shoot a spider as we say in French -:) to know if there is at
>least 1 selected char in a field and not only the insertion point
>blinking?
>
>Best Regards from Paris,
>
>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
>
>Free plugins and tutorials on my website
>
>Web sitehttp://www.sosmartsoftware.com/
>Email[EMAIL PROTECTED]/
>Phone33 (0)1 43 31 77 62
>Mobile33 (0)6 20 74 50 86
>
>
>___
>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


-
Visit us at http://www.clearstream.com
  
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of
its affiliates or subsidiaries.

END OF DISCLAIMER
___
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


SelectionChanged issue

2005-07-07 Thread Eric Chatonet

Hi all,

When you click anywhere in the text of an editable field,  
selectionChanged is not sent by the engine (part of this behaviour is  
bugzilla #1057).
A combination of selectionChanged and rawKeyUp does not allow to trap  
all events.
So here is a best way than using a pending message (kind of 75-mm gun  
to shoot a spider as we say in French -:) to know if there is at  
least 1 selected char in a field and not only the insertion point  
blinking?


Best Regards from Paris,

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

Free plugins and tutorials on my website

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


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Embedding Fonts

2005-07-07 Thread Robert J. Earp
Mark, thanks for the info however I'm looking primarily for a Win 
solution (as that's where pretty much all of my clients are) and it 
really does not help much having to mess around with loaders and 
registries and the like.  A number of clients just don't want stuff 
loaded on their machines at all, and yes I know this does not make a lot 
of sense to some people.  Somehow ToolBook does not do this, you simply 
tell it to embed a font and assuming you have the rights to the font 
then it allows you.


Thanks again for the reply.

best, Bob...

Assuming you have the rights to the fonts, lets focus on how this can  
be done.  Store the fonts in a custom property and spit them out to  
the appropriate directory for each OS.  This is really easy to do for  
Macs.  If you take a look at RevNet, you can download CS Fonts  
Installer.  It will give you an idea of how this can be done.   
Windows requires certain registry settings to be made.  I have not  
taken the time to figure those out.  Maybe someone here has and will  
be able to provide the needed changes.  A workaround is to use an  
installer for your Windows fonts.  I make the installer for the fonts  
and them suck that up into a custom property.  Spit it out and run  
the installer if your app finds the needed fonts to be missing.


I have done the above and it works perfectly.  Let me know if you  
need more details on this.  If you would like to see it in action,  
just write me off list and I will give you a code to unlock the fonts  
we sell.



Mark Talluto
--
CANELA Software
http://www.canelasoftware.com http://www.canelasoftware.com');>



--
Robert J. Earp - Ashford Training Technologies*
*18059 21A Avenue, South Surrey, British Columbia, Canada. V3S 9V7
T:(1)604 541 1662 Cel:(1)604 612 6688 F:(1)604 541 1686


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.9/42 - Release Date: 06/07/2005

___
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