Re: popup in selected text in unlocked field

2005-05-20 Thread xbury . cs
Hi Stephen,

here's what you need:
[script]
local mylastselection

on mousedown x
  put the selectedchunk of me into mylastselection
  if mylastselection is not empty then select mylastselection
  if x is 3 then
  lock messages
  popup "EditMenu" at the mouseloc
  end if
  -- pass mousedown
end mousedown
[/script]

Works like a charm! Tested in the TAOO documentation stack
with a custom stack-menu named EditMenu. Just add the script above to the
field "content" script

The TAOO doc stack is here:
http://www.monsieurx.com/modules.php?name=News&file=article&sid=166

cheers
Xavier
http://monsieurx.com


On 20.05.2005 06:56:11 use-revolution-bounces wrote:
>I know there's some kind of trick here to do this;
>
>
>I have an unlocked, editable field with text. I select a portion of
>the text, then option click on it for a popup that has a few options
>to select from to do something to the text, like uppercase,
>lowercase, etc.
>
>This changing works with a button and an option menu combo, but not
>in a contextual button. Any activity on the field kills the selection.
>
>Attempting this always loses the selection, then there's nothing to
>change, and all attempts to save the selection range description to a
>global still don't seem to work.
>
>I'm sure there's a dance of locking and unlocking to get this to
>work, but I haven't found it yet... any ideas...?..
>
>thanks
>
>sqb
>___
>use-revolution mailing list
>use-revolution@lists.runrev.com
>http://lists.runrev.com/mailman/listinfo/use-revolution


-
Visit us at http://www.clearstream.com
IMPORTANT MESSAGEInternet 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
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: popup in selected text in unlocked field

2005-05-20 Thread Eric Chatonet
Hi Stephen,
I have seen Xavier answer.
Unfortunately, it does not work with Mac OS: you can't prevent text  
deselection when popping up a menu.
But ;-)
Only a "not really satisfying" workaround:

Set the hiliteColor of your field ("#B5D5FF" for standard Mac OS for  
instance).
Then, in the script of your field:

on mouseDown pButton
  local tChunk
  -
  if pButton = 3 then
put the selectedChunk into tChunk
if word 4 of tChunk > word 2 of tChunk then
  set the backcolor of the selectedChunk to the hiliteColor of me
  popup btn "MyMenu"
end if
  end if
end mouseDown
--
on selectionChanged
  set the backcolor of char 1 to -1 of me to empty
end selectionChanged
Best regards from Paris,
Eric Chatonet.
Le 20 mai 05 à 06:56, Stephen Barncard a écrit :
I know there's some kind of trick here to do this;
I have an unlocked, editable field with text. I select a portion of  
the text, then option click on it for a popup that has a few  
options to select from to do something to the text, like uppercase,  
lowercase, etc.

This changing works with a button and an option menu combo, but not  
in a contextual button. Any activity on the field kills the selection.

Attempting this always loses the selection, then there's nothing to  
change, and all attempts to save the selection range description to  
a global still don't seem to work.

I'm sure there's a dance of locking and unlocking to get this to  
work, but I haven't found it yet... any ideas...?..

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
Plugins, tutorials and more on our 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
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: popup in selected text in unlocked field

2005-05-20 Thread xbury . cs
Eric,

I dont have a minimac to test this but... in the popup menu stack, you 
could 
insert a selection handler in the pre-openstack... Would that work?

cheers
Xavier


On 20.05.2005 09:19:53 use-revolution-bounces wrote:
>Hi Stephen,
>
>I have seen Xavier answer.
>Unfortunately, it does not work with Mac OS: you can't prevent text
>deselection when popping up a menu.
>But ;-)
>Only a "not really satisfying" workaround:
>
>Set the hiliteColor of your field ("#B5D5FF" for standard Mac OS for
>instance).
>Then, in the script of your field:
>
>on mouseDown pButton
>local tChunk
>-
>if pButton = 3 then
>put the selectedChunk into tChunk
>if word 4 of tChunk > word 2 of tChunk then
>set the backcolor of the selectedChunk to the hiliteColor of me
>popup btn "MyMenu"
>end if
>end if
>end mouseDown
>--
>on selectionChanged
>set the backcolor of char 1 to -1 of me to empty
>end selectionChanged
>
>Best regards from Paris,
>
>Eric Chatonet.
>
>Le 20 mai 05 à 06:56, Stephen Barncard a écrit :
>
>> I know there's some kind of trick here to do this;
>>
>>
>> I have an unlocked, editable field with text. I select a portion of
>> the text, then option click on it for a popup that has a few
>> options to select from to do something to the text, like uppercase,
>> lowercase, etc.
>>
>> This changing works with a button and an option menu combo, but not
>> in a contextual button. Any activity on the field kills the selection.
>>
>> Attempting this always loses the selection, then there's nothing to
>> change, and all attempts to save the selection range description to
>> a global still don't seem to work.
>>
>> I'm sure there's a dance of locking and unlocking to get this to
>> work, but I haven't found it yet... any ideas...?..
>
>
>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
>
>Plugins, tutorials and more on our 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
>http://lists.runrev.com/mailman/listinfo/use-revolution


-
Visit us at http://www.clearstream.com
IMPORTANT MESSAGEInternet 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
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Re[2]: [ANN] [EN] [FR] So Smart Software introduces Color Picker 1.1 and Guides Picker 2.1

2005-05-20 Thread Eric Chatonet
Hello Rob,
Color Picker is a free open source product but with a licence (see  
the help/overview stack):

ColorPicker and its present help stack are released into the public  
domain as a freeware software:
Just be kind to tell us what you think of it...
You are welcome to contact us concerning any "bugs" or code  
optimizations you might want to suggest.

Nevertheless, you may not claim this software as your own or  
release modified versions of the software, but you may modify it  
for your own purpose.
You are hereby granted an unrestricted license for its use.
This software, whether in full or part, may not be incorporated  
into any other software without our permission.
The use of this software, whether in full or in part, acknowledges  
that you hereby release us from any liability for any damages,  
whether direct or indirect and bla and bla and bla… But here it is :-)
BTW replacing the system built-in color picker by my Color Picker  
plugin when ask color is called does not seem a good idea:
Disregarding the licence terms, it's not what your end user expects  
for...

Anyway I do encourage you to take a leaf out of Color Picker's  
scripts to run your own if you wish!
Check the PickColor and ShowColor handlers in Color Picker's card  
script to get a starting place :-)
To access the scripts, check the "Contextual menus work in Revolution  
windows" option in rev Prefs and use a right click in Color Picker's  
window to display the contextual menu.

Best regards from Paris,
Eric Chatonet.
Le 20 mai 05 à 08:52, Rob Beynon a écrit :
Eric, forgive a naive question, but is it possible to use your
fantastic colour picker instead of 'ask color; from inside one's  
scripts?

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
Plugins, tutorials and more on our 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
http://lists.runrev.com/mailman/listinfo/use-revolution


[OT] Searching for beta testers

2005-05-20 Thread Eric Chatonet
Hi everyone,
Since I had to revise some of my How-To stacks due to Rev 2.5.1  
inconsistent behaviour, I decided to provide a direct access to the  
last updated or released How-To stacks through a "shell" stack  
working in collaboration with my website released as a plugin.
It's the reason why I asked a few days ago for a speed test and I  
renew my grateful thanks to all who replied.
This stack is now ready but before relasing it, I want it to be  
tested with different connexions, on different platforms and from  
different places around the world :-)
So, if you are interested to have a look, just email me directly: I  
shall send you the right link to get it... from the web ;-)
Thanks in advance,

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
Plugins, tutorials and more on our 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
http://lists.runrev.com/mailman/listinfo/use-revolution


Language ideas

2005-05-20 Thread MisterX
Im compiling a bugzilla enhancement to make transcript more natural
 
if there is a drive x then
if there is a control c in group g
 
if a=b or if b=c then
if a is (b or c) then 
put a into b and c
 
etc...
 
This might bring in lots of flexibilities and less semantical "typos" as we
usually type them naturally... And make scripting even easier or more
intuitive and less error prone. HyperTalk was much better at this - however
it's more bug prone too in the long-term.
 
Please send me your ideas offline so I can sort and make them as bugzilla
friendly as possible for the good folk at Runrev and make it easier for them
to see the advantages...
 
TAOO note: a natural language parser for msg box or speech recog is coming
so this goes both ways for the rev community and those interested in TAOO.
Other languages parsing is planned too, notably french, spanish, german,
italian so far. Last but not least, the TAOO script editor already has a
translation module capable of interpreting these but the dictionaries are
still pretty much blank given the lack of need/use for the moment.
 
regards,
Xavier
http://MonsieurX.com - poliglot software too!
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Colorize

2005-05-20 Thread Alex Tweedly
Sarah Reichelt wrote:
I filed a Bugzilla report on this. It happens after you use a 
multi-line comment (/* ... */) and the only fix is to quit & restart Rev.
http://support.runrev.com/bugdatabase/show_bug.cgi?id=2767
Last night, before entering a new Bug report, I did a search to see if 
it had already been reported (actually, to see if I had already reported 
it).

But I must have lived in the USA for too long - I searched on the 
"obvious" word - colorized
Sarah, of course, had used the word "colored" rather than colorized, so 
I missed finding that one.

Having looked at it, I wasn't sure that they are actually duplicates of 
each other - both the symptoms and the details of the workaround look 
different. so I didn't close my later one (2844), but instead I added a 
comment to each to make sure they get looked at together, and so that if 
anyone encounters the problem again, they get a chance to see both 
possible workarounds.

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

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


Re: [OT] Is there a relationship between Xtalk languages andsmalltalk?

2005-05-20 Thread Kat
Chipp Walters wrote:

Someone was going to a lot of trouble to make sure 'multimedia' was 
the next big thing. 

At least one of those "someones" was (gasp, cough, choke) Bill Gates.  
Microsoft sponsored a really good tradeshow in San Jose called 
"InterMedia" that I attended in 1993.  It was all about multimedia, and 
the delivery/storage medium that was still pretty new then:  
CD-Recordable.  The first CD-R inkjet printer, built by Herb Craig, was 
being shown in the Trace Optical booth (it wasn't very practical since 
at that time printable media wasn't available), Delorme was displaying 
their "Street Atlas CD-ROM" (which I still use, one of only 2 Classic 
apps I hang onto), and Meridian Data Systems were in a shooting war with 
Young Minds Inc. over who could actually deliver systems to allow CD-R 
burning across a network.  Of course, YMI's stuff was UNIX-only, but ...

My theory all along has been that Microsoft liked CD-ROM so much because 
it allowed them to deliver bloatware  but then I'm just prejudiced.

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


Re: [ANN] libSmtp 2.5.0 (oh.. and I'm back online)

2005-05-20 Thread Andre Garzia
On May 19, 2005, at 10:47 PM, [EMAIL PROTECTED] wrote:
Well after a _long_ time away from a computer and the internet, I'm 
back. (and there was much
rejoice)..

Anywho, I've released a new version of libSmtp (2.5.0) and have put up 
a new website located at
a new address (it's still shaosean.tk, but some people were linking 
directly to my "unitz.ca"
address and that's still the old site and files)..

I have lots of new libraries planned for the near future, so prepare 
^_^

Shao Sean,
Happy Welcome! I am eager waiting the new libs!
Cheers
andre



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

--
Andre Alves Garzia  2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Table field behavior

2005-05-20 Thread Bill
The docs on table fields is rather sparse.

An example table field has six cells across. It is unlocked on Mac OSX. When
you enter data and tab across to the next cell and enter data for that cell
and tab it works fine until you get to the last cell then it automatically
scrolls to the right (there are no scroll bars set for either vertical or
horizontal). This automatic scroll to the right makes all the previously
entered data not visible and is a behavior I want to prevent. I tried
locking position and that didn't work.

How do I do this?


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


Re: Table field behavior

2005-05-20 Thread Eric Chatonet
Hello Bill,
I am working on a How-To stack about table fields.
It's not finished but here is an excerpt from this stack which might  
help you without waiting for the release :-)
As you will see it, it's a little bit dry and tricky :-(
But fully commented :-)
Following scripts are placed in the card script.

By default, a table has no limits: you can use the arrowkeys or the  
tabkey to navigate as far as you wish.
Practically, you will often need to display a x*y cells table  
without scrollbars as a matrix where all cells are visible and let  
the user navigate in carousel (go from the last cell in a row to  
the first cell in the next row and so on) through the limits you  
have set.
In order to set these limits, you will trigger the keyboard events  
within a rawKeyDown handler.
Here the limits which are integers are stored as custom properties  
named xLimit and yLimit in the table field named "MyTable":

on rawKeyDown pKey
  -- allows tabbing and arrowkeys to act in carousel
  -- horizontal and vertical limits are stored in 2 custom  
properties (xLimit and yLimit) in the table field

  if "revCell" is in the target then
-- when editing a table field, target function returns  
something like: field "revCell-1,1"
if the xLimit of fld "MyTable" = "None" or the xLimit of fld  
"MyTable" is empty then pass rawKeyDown -- no limits
-
switch pKey
case 65363 -- arrow key right
case 65289 -- tab key
  if the cRevTable["currentxcell"] of fld "MyTable" = the  
xLimit of fld "MyTable" then
if the cRevTable["currentycell"] of fld "MyTable" = the  
yLimit of fld "MyTable" then
  SelectCell "MyTable",1,1 -- the first table cell
else
  SelectCell "MyTable",1,the cRevTable["currentycell"] of  
fld "MyTable" + 1 -- the first table cell in the next line
end if
  else pass rawKeyDown
  break
  -
case 65361 -- arrow key left
  if the cRevTable["currentxcell"] of fld "MyTable" = 1 then
if the cRevTable["currentycell"] of fld "MyTable" <> 1 then
  SelectCell "MyTable",the xLimit of fld "MyTable",the  
cRevTable["currentycell"] of fld "MyTable" - 1 -- ∆
  -- the last allowed table cell in the previous line
else
  SelectCell "MyTable",the xLimit of fld "MyTable",the  
yLimit of fld "MyTable" -- ∆
  -- the last allowed table cell
end if
  else pass rawKeyDown
  break
  -
case 65364 -- arrow key down
  if the cRevTable["currentycell"] of fld "MyTable" = the  
yLimit of fld "MyTable" then
if the cRevTable["currentxcell"] of fld "MyTable" = the  
xLimit of fld "MyTable" then
  SelectCell "MyTable",1,1 -- the first table cell
else SelectCell "MyTable",the cRevTable["currentxcell"] of  
fld "MyTable" + 1,1 -- ∆
-- the first table cell in the next column
  else pass rawKeyDown
  break
  -
case 65362 -- arrow key up
  if the cRevTable["currentycell"] of fld "MyTable" = 1 then
if the cRevTable["currentxcell"] of fld "MyTable" <> 1 then
  SelectCell "MyTable",the cRevTable["currentxcell"] of fld  
"MyTable" - 1,the yLimit of fld "MyTable" -- ∆
  -- the last allowed table cell in the previous column
else SelectCell "MyTable",the xLimit of fld "MyTable",the  
yLimit of fld "MyTable" -- ∆
-- the last allowed table cell
  else pass rawKeyDown
  break
  -
default
  pass rawKeyDown -- lets the engine do it
end switch
  else pass rawKeyDown
end rawKeyDown


on SelectCell pFieldName,pColumn,pRow
  -- select a cell
  -- pFieldName parameter is the short name of the table field
  -- pColumn parameter is the column number (an integer)
  -- pRow parameter is the row number (an integer)
  SetCurXCell pFieldName,pColumn -- ∆
  SetCurYCell pFieldName,pRow -- ∆
  -
  SetScroll "hScroll",the cRevTable["cellxspacing"] of fld  
pFieldName * (pColumn - 1),pFieldName,"Header" -- ∆
  SetScroll "vScroll",the cRevTable["cellyspacing"] of fld  
pFieldName * (pRow - 1),pFieldName,"Rows" -- ∆
  -
  click at CellLoc(pFieldName,pColumn,pRow) -- ∆
  -
  -- to select again the current cell, you can use:
  -- click at the cRevTable["currentxmouseloc"] of fld  
pFieldName,the cRevTable["currentymouseloc"] of fld pFieldName
end SelectCell


function CellLoc pFieldName,pColumn,pRow
  -- returns the loc of any cell
  -- pFieldName parameter is the short name of the table field
  -- pColumn parameter is the column number (an integer)
  -- pRow parameter is the row number (an integer)
  local  
tLeft,tTop,tCellxspacing,tCellyspacing,tCurrenthscroll,tCurrentvscroll
  -
  put the left of fld pFieldName into tLeft
  put the top of fld pFieldName into tTop
  put the cRevTable["cellxspacing"] of fld pFieldName into  
tCellxspacing
  put the 

Re: Table field behavior

2005-05-20 Thread Bill
Wow -- can't we make this any more complicated?

Thanks a whole lot. I will put your code in right now and start in as that
automatic scroll thing is annoying as ^([EMAIL PROTECTED] (if you curse in 
unicode
than no one will see).


On 5/20/05 9:17 AM, "Eric Chatonet" <[EMAIL PROTECTED]>
wrote:

> Hello Bill,
> 
> I am working on a How-To stack about table fields.
> It's not finished but here is an excerpt from this stack which might
> help you without waiting for the release :-)
> As you will see it, it's a little bit dry and tricky :-(
> But fully commented :-)
> Following scripts are placed in the card script.
> 
>> By default, a table has no limits: you can use the arrowkeys or the
>> tabkey to navigate as far as you wish.
>> Practically, you will often need to display a x*y cells table
>> without scrollbars as a matrix where all cells are visible and let
>> the user navigate in carousel (go from the last cell in a row to
>> the first cell in the next row and so on) through the limits you
>> have set.
>> In order to set these limits, you will trigger the keyboard events
>> within a rawKeyDown handler.
>> Here the limits which are integers are stored as custom properties
>> named xLimit and yLimit in the table field named "MyTable":
>> 
>> on rawKeyDown pKey
>>   -- allows tabbing and arrowkeys to act in carousel
>>   -- horizontal and vertical limits are stored in 2 custom
>> properties (xLimit and yLimit) in the table field
>> 
>>   if "revCell" is in the target then
>> -- when editing a table field, target function returns
>> something like: field "revCell-1,1"
>> if the xLimit of fld "MyTable" = "None" or the xLimit of fld
>> "MyTable" is empty then pass rawKeyDown -- no limits
>> -
>> switch pKey
>> case 65363 -- arrow key right
>> case 65289 -- tab key
>>   if the cRevTable["currentxcell"] of fld "MyTable" = the
>> xLimit of fld "MyTable" then
>> if the cRevTable["currentycell"] of fld "MyTable" = the
>> yLimit of fld "MyTable" then
>>   SelectCell "MyTable",1,1 -- the first table cell
>> else
>>   SelectCell "MyTable",1,the cRevTable["currentycell"] of
>> fld "MyTable" + 1 -- the first table cell in the next line
>> end if
>>   else pass rawKeyDown
>>   break
>>   -
>> case 65361 -- arrow key left
>>   if the cRevTable["currentxcell"] of fld "MyTable" = 1 then
>> if the cRevTable["currentycell"] of fld "MyTable" <> 1 then
>>   SelectCell "MyTable",the xLimit of fld "MyTable",the
>> cRevTable["currentycell"] of fld "MyTable" - 1 -- 
>>   -- the last allowed table cell in the previous line
>> else
>>   SelectCell "MyTable",the xLimit of fld "MyTable",the
>> yLimit of fld "MyTable" -- 
>>   -- the last allowed table cell
>> end if
>>   else pass rawKeyDown
>>   break
>>   -
>> case 65364 -- arrow key down
>>   if the cRevTable["currentycell"] of fld "MyTable" = the
>> yLimit of fld "MyTable" then
>> if the cRevTable["currentxcell"] of fld "MyTable" = the
>> xLimit of fld "MyTable" then
>>   SelectCell "MyTable",1,1 -- the first table cell
>> else SelectCell "MyTable",the cRevTable["currentxcell"] of
>> fld "MyTable" + 1,1 -- 
>> -- the first table cell in the next column
>>   else pass rawKeyDown
>>   break
>>   -
>> case 65362 -- arrow key up
>>   if the cRevTable["currentycell"] of fld "MyTable" = 1 then
>> if the cRevTable["currentxcell"] of fld "MyTable" <> 1 then
>>   SelectCell "MyTable",the cRevTable["currentxcell"] of fld
>> "MyTable" - 1,the yLimit of fld "MyTable" -- 
>>   -- the last allowed table cell in the previous column
>> else SelectCell "MyTable",the xLimit of fld "MyTable",the
>> yLimit of fld "MyTable" -- 
>> -- the last allowed table cell
>>   else pass rawKeyDown
>>   break
>>   -
>> default
>>   pass rawKeyDown -- lets the engine do it
>> end switch
>>   else pass rawKeyDown
>> end rawKeyDown
>> 
>> 
>> on SelectCell pFieldName,pColumn,pRow
>>   -- select a cell
>> 
>>   -- pFieldName parameter is the short name of the table field
>>   -- pColumn parameter is the column number (an integer)
>>   -- pRow parameter is the row number (an integer)
>> 
>>   SetCurXCell pFieldName,pColumn -- 
>>   SetCurYCell pFieldName,pRow -- 
>>   -
>>   SetScroll "hScroll",the cRevTable["cellxspacing"] of fld
>> pFieldName * (pColumn - 1),pFieldName,"Header" -- 
>>   SetScroll "vScroll",the cRevTable["cellyspacing"] of fld
>> pFieldName * (pRow - 1),pFieldName,"Rows" -- 
>>   -
>>   click at CellLoc(pFieldName,pColumn,pRow) -- 
>>   -
>>   -- to select again the current cell, you can use:
>>   -- click at the cRevTable["currentxmouseloc"] of fld
>> pFieldName,the cRevTable["currentymouseloc"] of fld pFieldName
>> end 

Re: Table field behavior

2005-05-20 Thread Eric Chatonet
Le 20 mai 05 à 15:27, Bill a écrit :
Wow -- can't we make this any more complicated?
I don't think so :-)
Take care of carriage returns often added in mails, object's names,  
custom properties to implement and take heart!

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
Plugins, tutorials and more on our 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
http://lists.runrev.com/mailman/listinfo/use-revolution


XML-RPC And The Famous Blogger API 1.0 (Re: XML-RPC How To Use?)

2005-05-20 Thread Andre Garzia
On May 19, 2005, at 2:38 PM, MisterX wrote:
http://www.google.com/search?q=xml+rpc+runrev&sourceid=mozilla- 
search&start=
0&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US: 
official

no, but quite interesting
Andre is the man!
http://homepage.mac.com/soapdog/studio/projects.html

Xavier and Varen,
Thanks man! :D Those links are outdated, I am in the process of  
rebuilding my website. I'll talk a little about XML-RPC and about  
Blogger API (and blogging in general), last I'll present some  
interesting links, so this will be a little big email.

..-=-=-=-  On XML RPC -=-=-=-..
	XML-RPC Stands for eXtensible Markup Language, Remote Procedure Call,  
which in plain english means a way for a program to call another  
program procedure using the XML standard as the format for the call.  
The best resource for learning about XML-RPC is http://www.xmlrpc.com  
Since Rev 2.5 we've got our hands on a very nice XML-RPC library which  
you can use pretty easily. If you want you can also code your own  
requests by hand and use RevXML (or plain string routines) to parse  
them. Each XML-RPC call is composed by two things, a request and a  
response.

	(a) The XML-RPC Request is a XML Document that tags what procedure you  
want to call and what are the parameters given to this procedure. If  
your server features XML-RPC Introspection Methods, you can call  
'system.listMethods' with no parameters and receive back a response  
detailing the exported functions of that server (this is pretty  
usefull).
	(b) The XML-RPC Response, each call receives one response, this is the  
result of the call, it can be a number, a string, an array, pretty much  
any value. It can even be a keyed array. In the case that the call was  
wrong or something evil happened, the response will contain an error.

	The URL quoted above will detail in a little document called 'XML-RPC  
for newbies' all about XML-RPC in a much clearer way. The point is,  
XML-RPC is straight forward and easy. That's also it's weakness, you  
can make only one procedure call per request, and stuff like that. Now,  
onto little about blogging.


..-=-=-=- On Blogging -=-=-=-..
'	Weblogs were a revolution. The company behind the popularization of  
blogs was Pyra Inc. Pyra created the webservice called Blogger.com, for  
those that are not familiar with standard blogs, a weblog is a journal  
where it's users can post entries and the site generate the HTML like a  
newspage. Blogs are not usefull for personal journals only, many  
technology related pages are running on a blog back end this day. When  
Pyra implemented it's blogger.com service they opted to make a XML-RPC  
based infrastructure, users would log into a HTML interface and post  
data to their blogs, this HTML interface would use XML-RPC calls to  
comunicate with blogger service to post the data. The HTML interface,  
like all HTML interface, was a frustrating experience for power users.  
Formating posts was weird, stability was a serious issue in some  
browsers. The power users wanted a custom client and in one blessed  
day, instead of creating custom clients, Pyra exposed some of it's  
XML-RPC services known as Blogger API 1.0. From this day on, coders  
could look into this spec and create apps that talked directly to  
Pyra's blogger server. I was using MacOS 9 and REALBasic on that time,  
and I created iBlog the first Blogger API enabled blog client in some  
weeks. It was fun. Things now are different. (for example, I  
reimplemented the old iBlog in HOURS using Rev). Let's talk a  
little about Blogger API 1.0


..-=-=-=- On Blogger API 1.0 -=-=-=-..
	The Blogger API 1.0 spec has it's home at http://developer.blogger.com  
(If I Remember Correctly). When Blogger became famous and lot's of  
coders decided to implement servers, some people started looking into a  
XML-RPC Api for their servers, Blogger API was the most famous at that  
time, so almost all of those servers started implementing it as well.  
Server like Movable Type, B2, Nucleus, BlogWorks ASP and others support  
this standard. But one need remember that Blogger API is not the only  
API out there. I'll talk a little about the others later.

	In it's first incarnation, Blogger API allowed you to:
	(a) Post new entries to your blog. (by calling 'blogger.newPost')
	(b) Editing an entry. (by calling 'blogger.editPost')
	(c) Site template management (with 'blogger.getTemplate' and  
'blogger.setTemplate')
	(d) Some user info management.
	(e) Acquiring a list of blogs owned by a user (with  
'blogger.getUsersBlogs')

	So the tipical life cycle of a blog client was, to call  
'blogger.getUsersBlogs' upon launch so that it could populate a  
selection field with the blogs owned by the user (quick post to any  
blog you own) then wait for text input. Direct new posts to  
'blogger.newPost' and editing to 'blogger.editPost'. Template  
management usually is optional but easy to implement. I make some blog  

Use french special caracters in an XML file.

2005-05-20 Thread Damien Girard
Hi all,

I make a database (in XML), in this database, user can write information
about a lot of things, but I have tried my software, and I see a really
nasty bug, and I didn't know how I can solve it.

French special characters (éèçàù) doesn't work, I have got a strange
return instead of the good characters. (For exemple, é -> é$$)

So, I think I need to encode the text, but how I can encode it ? Runrev
provide a function that permit to encode text ?

This database will treat a lot of data, so this need to be really fast.
(Without any encoding, this is really fast.)

Thanks.

Damien GIRARD

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


RE: Table field behavior

2005-05-20 Thread Lynch, Jonathan
I find the current table fields just too clunky.

I am creating a table object based on grouped fields. After a recent fix of a 
few bugs, it seems to work quite well, and allows for much better control.

The advantage to this approach is that it allowed me to do things like allow 
for a simple scheme for moving columns, inserting columns, proper tabbing, 
automatic vertical scrolling, etc...

If anyone wants a copy of this object, just e-mail me, and I will be happy to 
send it to you. It work well right now - but I plan to keep modifying it and 
adding in new capabilities.

For a table that needs to hold several hundred (or even several hundred 
thousand) rows, I am thinking of creating a different design - one that holds 
the data for each row in a custom property, and creates the fields/groups from 
the appropriate custom property for each row on the fly as the user scrolls up 
or down, then destroys those fields/groups as the row dissappears from view 
when it is scrolled past.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill
Sent: Friday, May 20, 2005 9:27 AM
To: How to use Revolution
Subject: Re: Table field behavior

Wow -- can't we make this any more complicated?

Thanks a whole lot. I will put your code in right now and start in as that
automatic scroll thing is annoying as ^([EMAIL PROTECTED] (if you curse in 
unicode
than no one will see).


On 5/20/05 9:17 AM, "Eric Chatonet" <[EMAIL PROTECTED]>
wrote:

> Hello Bill,
> 
> I am working on a How-To stack about table fields.
> It's not finished but here is an excerpt from this stack which might
> help you without waiting for the release :-)
> As you will see it, it's a little bit dry and tricky :-(
> But fully commented :-)
> Following scripts are placed in the card script.
> 
>> By default, a table has no limits: you can use the arrowkeys or the
>> tabkey to navigate as far as you wish.
>> Practically, you will often need to display a x*y cells table
>> without scrollbars as a matrix where all cells are visible and let
>> the user navigate in carousel (go from the last cell in a row to
>> the first cell in the next row and so on) through the limits you
>> have set.
>> In order to set these limits, you will trigger the keyboard events
>> within a rawKeyDown handler.
>> Here the limits which are integers are stored as custom properties
>> named xLimit and yLimit in the table field named "MyTable":
>> 
>> on rawKeyDown pKey
>>   -- allows tabbing and arrowkeys to act in carousel
>>   -- horizontal and vertical limits are stored in 2 custom
>> properties (xLimit and yLimit) in the table field
>> 
>>   if "revCell" is in the target then
>> -- when editing a table field, target function returns
>> something like: field "revCell-1,1"
>> if the xLimit of fld "MyTable" = "None" or the xLimit of fld
>> "MyTable" is empty then pass rawKeyDown -- no limits
>> -
>> switch pKey
>> case 65363 -- arrow key right
>> case 65289 -- tab key
>>   if the cRevTable["currentxcell"] of fld "MyTable" = the
>> xLimit of fld "MyTable" then
>> if the cRevTable["currentycell"] of fld "MyTable" = the
>> yLimit of fld "MyTable" then
>>   SelectCell "MyTable",1,1 -- the first table cell
>> else
>>   SelectCell "MyTable",1,the cRevTable["currentycell"] of
>> fld "MyTable" + 1 -- the first table cell in the next line
>> end if
>>   else pass rawKeyDown
>>   break
>>   -
>> case 65361 -- arrow key left
>>   if the cRevTable["currentxcell"] of fld "MyTable" = 1 then
>> if the cRevTable["currentycell"] of fld "MyTable" <> 1 then
>>   SelectCell "MyTable",the xLimit of fld "MyTable",the
>> cRevTable["currentycell"] of fld "MyTable" - 1 -- 
>>   -- the last allowed table cell in the previous line
>> else
>>   SelectCell "MyTable",the xLimit of fld "MyTable",the
>> yLimit of fld "MyTable" -- 
>>   -- the last allowed table cell
>> end if
>>   else pass rawKeyDown
>>   break
>>   -
>> case 65364 -- arrow key down
>>   if the cRevTable["currentycell"] of fld "MyTable" = the
>> yLimit of fld "MyTable" then
>> if the cRevTable["currentxcell"] of fld "MyTable" = the
>> xLimit of fld "MyTable" then
>>   SelectCell "MyTable",1,1 -- the first table cell
>> else SelectCell "MyTable",the cRevTable["currentxcell"] of
>> fld "MyTable" + 1,1 -- 
>> -- the first table cell in the next column
>>   else pass rawKeyDown
>>   break
>>   -
>> case 65362 -- arrow key up
>>   if the cRevTable["currentycell"] of fld "MyTable" = 1 then
>> if the cRevTable["currentxcell"] of fld "MyTable" <> 1 then
>>   SelectCell "MyTable",the cRevTable["currentxcell"] of fld
>> "MyTable" - 1,the yLimit of fld "MyTable" -- 
>>   -- the last allowed table cell in the previous column
>> else SelectCell "MyTable",the x

Re: Table field behavior

2005-05-20 Thread Bill
What if you place the code in the script of the field in question and then
not have to worry about the name of the field or about it being called when
doing stuff in other fields which may not want affected?


On 5/20/05 9:17 AM, "Eric Chatonet" <[EMAIL PROTECTED]>
wrote:

> Hello Bill,
> 
> I am working on a How-To stack about table fields.
> It's not finished but here is an excerpt from this stack which might
> help you without waiting for the release :-)
> As you will see it, it's a little bit dry and tricky :-(
> But fully commented :-)
> Following scripts are placed in the card script.
> 
>> By default, a table has no limits: you can use the arrowkeys or the
>> tabkey to navigate as far as you wish.
>> Practically, you will often need to display a x*y cells table
>> without scrollbars as a matrix where all cells are visible and let
>> the user navigate in carousel (go from the last cell in a row to
>> the first cell in the next row and so on) through the limits you
>> have set.
>> In order to set these limits, you will trigger the keyboard events
>> within a rawKeyDown handler.
>> Here the limits which are integers are stored as custom properties
>> named xLimit and yLimit in the table field named "MyTable":
>> 
>> on rawKeyDown pKey
>>   -- allows tabbing and arrowkeys to act in carousel
>>   -- horizontal and vertical limits are stored in 2 custom
>> properties (xLimit and yLimit) in the table field
>> 
>>   if "revCell" is in the target then
>> -- when editing a table field, target function returns
>> something like: field "revCell-1,1"
>> if the xLimit of fld "MyTable" = "None" or the xLimit of fld
>> "MyTable" is empty then pass rawKeyDown -- no limits
>> -
>> switch pKey
>> case 65363 -- arrow key right
>> case 65289 -- tab key
>>   if the cRevTable["currentxcell"] of fld "MyTable" = the
>> xLimit of fld "MyTable" then
>> if the cRevTable["currentycell"] of fld "MyTable" = the
>> yLimit of fld "MyTable" then
>>   SelectCell "MyTable",1,1 -- the first table cell
>> else
>>   SelectCell "MyTable",1,the cRevTable["currentycell"] of
>> fld "MyTable" + 1 -- the first table cell in the next line
>> end if
>>   else pass rawKeyDown
>>   break
>>   -
>> case 65361 -- arrow key left
>>   if the cRevTable["currentxcell"] of fld "MyTable" = 1 then
>> if the cRevTable["currentycell"] of fld "MyTable" <> 1 then
>>   SelectCell "MyTable",the xLimit of fld "MyTable",the
>> cRevTable["currentycell"] of fld "MyTable" - 1 -- 
>>   -- the last allowed table cell in the previous line
>> else
>>   SelectCell "MyTable",the xLimit of fld "MyTable",the
>> yLimit of fld "MyTable" -- 
>>   -- the last allowed table cell
>> end if
>>   else pass rawKeyDown
>>   break
>>   -
>> case 65364 -- arrow key down
>>   if the cRevTable["currentycell"] of fld "MyTable" = the
>> yLimit of fld "MyTable" then
>> if the cRevTable["currentxcell"] of fld "MyTable" = the
>> xLimit of fld "MyTable" then
>>   SelectCell "MyTable",1,1 -- the first table cell
>> else SelectCell "MyTable",the cRevTable["currentxcell"] of
>> fld "MyTable" + 1,1 -- 
>> -- the first table cell in the next column
>>   else pass rawKeyDown
>>   break
>>   -
>> case 65362 -- arrow key up
>>   if the cRevTable["currentycell"] of fld "MyTable" = 1 then
>> if the cRevTable["currentxcell"] of fld "MyTable" <> 1 then
>>   SelectCell "MyTable",the cRevTable["currentxcell"] of fld
>> "MyTable" - 1,the yLimit of fld "MyTable" -- 
>>   -- the last allowed table cell in the previous column
>> else SelectCell "MyTable",the xLimit of fld "MyTable",the
>> yLimit of fld "MyTable" -- 
>> -- the last allowed table cell
>>   else pass rawKeyDown
>>   break
>>   -
>> default
>>   pass rawKeyDown -- lets the engine do it
>> end switch
>>   else pass rawKeyDown
>> end rawKeyDown
>> 
>> 
>> on SelectCell pFieldName,pColumn,pRow
>>   -- select a cell
>> 
>>   -- pFieldName parameter is the short name of the table field
>>   -- pColumn parameter is the column number (an integer)
>>   -- pRow parameter is the row number (an integer)
>> 
>>   SetCurXCell pFieldName,pColumn -- 
>>   SetCurYCell pFieldName,pRow -- 
>>   -
>>   SetScroll "hScroll",the cRevTable["cellxspacing"] of fld
>> pFieldName * (pColumn - 1),pFieldName,"Header" -- 
>>   SetScroll "vScroll",the cRevTable["cellyspacing"] of fld
>> pFieldName * (pRow - 1),pFieldName,"Rows" -- 
>>   -
>>   click at CellLoc(pFieldName,pColumn,pRow) -- 
>>   -
>>   -- to select again the current cell, you can use:
>>   -- click at the cRevTable["currentxmouseloc"] of fld
>> pFieldName,the cRevTable["currentymouseloc"] of fld pFieldName
>> end SelectCell
>> 
>> -

Re: Use french special caracters in an XML file.

2005-05-20 Thread Andre Garzia
On May 20, 2005, at 10:38 AM, Damien Girard wrote:
Hi all,
I make a database (in XML), in this database, user can write 
information
about a lot of things, but I have tried my software, and I see a really
nasty bug, and I didn't know how I can solve it.

French special characters (éèçàù) doesn't work, I have got a strange
return instead of the good characters. (For exemple, é -> é$$)
So, I think I need to encode the text, but how I can encode it ? Runrev
provide a function that permit to encode text ?
This database will treat a lot of data, so this need to be really fast.
(Without any encoding, this is really fast.)
Thanks.
Hi Damien,
you can use some tricks. You can make a UTF-8 (unicode) enabled XML by 
setting it's encoding attribute to "UTF-8", then pipe your unicode 
content to it. If you want this to display on Rev text fields then you 
need to set the unicodetext prop of the field, using put won't work.

You can convert the diacreticals characters to their HTML entitities 
(by getting the htmltext prop of the field), escape the ampersand char 
and put the thing inside the XML, remember to convert back before 
setting the HTMLText prop of a field.

You can create your own tagging routine (this is tedious, but it works).
Cheers
andre
PS: did I helped?


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

--
Andre Alves Garzia  2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Table field behavior

2005-05-20 Thread Eric Chatonet
Hi Bill,
Le 20 mai 05 à 15:44, Bill a écrit :
What if you place the code in the script of the field in question  
and then
not have to worry about the name of the field or about it being  
called when
doing stuff in other fields which may not want affected?
Don't forget that I only made a copy/paste from a demonstration stack  
where constraints are specific :-)
You have to try and adapt it to your needs...

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
Plugins, tutorials and more on our 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
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Use french special caracters in an XML file.

2005-05-20 Thread Damien Girard
Thanks, I will try (setting the UTF-8). 

Girard Damien
PS: If this work, you helped me.

Le vendredi 20 mai 2005 à 10:47 -0300, Andre Garzia a écrit :
> On May 20, 2005, at 10:38 AM, Damien Girard wrote:
> 
> > Hi all,
> >
> > I make a database (in XML), in this database, user can write 
> > information
> > about a lot of things, but I have tried my software, and I see a really
> > nasty bug, and I didn't know how I can solve it.
> >
> > French special characters (éèçàù) doesn't work, I have got a strange
> > return instead of the good characters. (For exemple, é -> é$$)
> >
> > So, I think I need to encode the text, but how I can encode it ? Runrev
> > provide a function that permit to encode text ?
> >
> > This database will treat a lot of data, so this need to be really fast.
> > (Without any encoding, this is really fast.)
> >
> > Thanks.
> 
> Hi Damien,
> 
> you can use some tricks. You can make a UTF-8 (unicode) enabled XML by 
> setting it's encoding attribute to "UTF-8", then pipe your unicode 
> content to it. If you want this to display on Rev text fields then you 
> need to set the unicodetext prop of the field, using put won't work.
> 
> You can convert the diacreticals characters to their HTML entitities 
> (by getting the htmltext prop of the field), escape the ampersand char 
> and put the thing inside the XML, remember to convert back before 
> setting the HTMLText prop of a field.
> 
> You can create your own tagging routine (this is tedious, but it works).
> 
> Cheers
> andre
> PS: did I helped?
> 
> 
> 
> 
> >
> > Damien GIRARD
> >
> > ___
> > use-revolution mailing list
> > use-revolution@lists.runrev.com
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> >
> >

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


Re: Table field behavior

2005-05-20 Thread Klaus Major
Bonjour Eric,
Le 20 mai 05 à 15:27, Bill a écrit :
Wow -- can't we make this any more complicated?
I don't think so :-)
we can! At least RunRev is working on it!
But maybe Kevin meant something else in the rev-chat some weeks  
ago... ;-)

Take care of carriage returns often added in mails, object's names,  
custom properties to implement and take heart!

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
Plugins, tutorials and more on our website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Table field behavior

2005-05-20 Thread Bill
The problem with using grouped fields instead of a table field is then you
lose the ease of using Trevor DeVore's libDatabase to move the data in and
out of your database without too much thought (all this talk about
appletalk, smalltalk etc -- I want the programming language NoThink so that
I can program without  thinking).


On 5/20/05 9:41 AM, "Lynch, Jonathan" <[EMAIL PROTECTED]> wrote:

> I find the current table fields just too clunky.
> 
> I am creating a table object based on grouped fields. After a recent fix of a
> few bugs, it seems to work quite well, and allows for much better control.
> 
> The advantage to this approach is that it allowed me to do things like allow
> for a simple scheme for moving columns, inserting columns, proper tabbing,
> automatic vertical scrolling, etc...
> 
> If anyone wants a copy of this object, just e-mail me, and I will be happy to
> send it to you. It work well right now - but I plan to keep modifying it and
> adding in new capabilities.
> 
> For a table that needs to hold several hundred (or even several hundred
> thousand) rows, I am thinking of creating a different design - one that holds
> the data for each row in a custom property, and creates the fields/groups from
> the appropriate custom property for each row on the fly as the user scrolls up
> or down, then destroys those fields/groups as the row dissappears from view
> when it is scrolled past.
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Bill
> Sent: Friday, May 20, 2005 9:27 AM
> To: How to use Revolution
> Subject: Re: Table field behavior
> 
> Wow -- can't we make this any more complicated?
> 
> Thanks a whole lot. I will put your code in right now and start in as that
> automatic scroll thing is annoying as ^([EMAIL PROTECTED] (if you curse in 
> unicode
> than no one will see).
> 
> 
> On 5/20/05 9:17 AM, "Eric Chatonet" <[EMAIL PROTECTED]>
> wrote:
> 
>> Hello Bill,
>> 
>> I am working on a How-To stack about table fields.
>> It's not finished but here is an excerpt from this stack which might
>> help you without waiting for the release :-)
>> As you will see it, it's a little bit dry and tricky :-(
>> But fully commented :-)
>> Following scripts are placed in the card script.
>> 
>>> By default, a table has no limits: you can use the arrowkeys or the
>>> tabkey to navigate as far as you wish.
>>> Practically, you will often need to display a x*y cells table
>>> without scrollbars as a matrix where all cells are visible and let
>>> the user navigate in carousel (go from the last cell in a row to
>>> the first cell in the next row and so on) through the limits you
>>> have set.
>>> In order to set these limits, you will trigger the keyboard events
>>> within a rawKeyDown handler.
>>> Here the limits which are integers are stored as custom properties
>>> named xLimit and yLimit in the table field named "MyTable":
>>> 
>>> on rawKeyDown pKey
>>>   -- allows tabbing and arrowkeys to act in carousel
>>>   -- horizontal and vertical limits are stored in 2 custom
>>> properties (xLimit and yLimit) in the table field
>>> 
>>>   if "revCell" is in the target then
>>> -- when editing a table field, target function returns
>>> something like: field "revCell-1,1"
>>> if the xLimit of fld "MyTable" = "None" or the xLimit of fld
>>> "MyTable" is empty then pass rawKeyDown -- no limits
>>> -
>>> switch pKey
>>> case 65363 -- arrow key right
>>> case 65289 -- tab key
>>>   if the cRevTable["currentxcell"] of fld "MyTable" = the
>>> xLimit of fld "MyTable" then
>>> if the cRevTable["currentycell"] of fld "MyTable" = the
>>> yLimit of fld "MyTable" then
>>>   SelectCell "MyTable",1,1 -- the first table cell
>>> else
>>>   SelectCell "MyTable",1,the cRevTable["currentycell"] of
>>> fld "MyTable" + 1 -- the first table cell in the next line
>>> end if
>>>   else pass rawKeyDown
>>>   break
>>>   -
>>> case 65361 -- arrow key left
>>>   if the cRevTable["currentxcell"] of fld "MyTable" = 1 then
>>> if the cRevTable["currentycell"] of fld "MyTable" <> 1 then
>>>   SelectCell "MyTable",the xLimit of fld "MyTable",the
>>> cRevTable["currentycell"] of fld "MyTable" - 1 -- 
>>>   -- the last allowed table cell in the previous line
>>> else
>>>   SelectCell "MyTable",the xLimit of fld "MyTable",the
>>> yLimit of fld "MyTable" -- 
>>>   -- the last allowed table cell
>>> end if
>>>   else pass rawKeyDown
>>>   break
>>>   -
>>> case 65364 -- arrow key down
>>>   if the cRevTable["currentycell"] of fld "MyTable" = the
>>> yLimit of fld "MyTable" then
>>> if the cRevTable["currentxcell"] of fld "MyTable" = the
>>> xLimit of fld "MyTable" then
>>>   SelectCell "MyTable",1,1 -- the first table cell
>>> else SelectCell "MyTable",the cRevTable["currentxcell"] of
>>> fld "MyTable

Re: Use french special caracters in an XML file.

2005-05-20 Thread Andre Garzia
On May 20, 2005, at 10:57 AM, Damien Girard wrote:
Thanks, I will try (setting the UTF-8).
Girard,
If you're using revPutIntoXMLNode to put your contents, remember to 
uniDecode them.

cheers
andre

Girard Damien
PS: If this work, you helped me.
--
Andre Alves Garzia  2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Table field behavior

2005-05-20 Thread Bill
I put in your code and now the tab or arrow key makes the cursor go through
the data fields correctly but the table still does that annoying automatic
scroll that makes it data scroll off to invisible land when your are at the
last cell.

How do you lock the table grid so it does not scroll?


On 5/20/05 9:54 AM, "Eric Chatonet" <[EMAIL PROTECTED]>
wrote:

> Hi Bill,
> 
> Le 20 mai 05 à 15:44, Bill a écrit :
> 
>> What if you place the code in the script of the field in question
>> and then
>> not have to worry about the name of the field or about it being
>> called when
>> doing stuff in other fields which may not want affected?
> 
> Don't forget that I only made a copy/paste from a demonstration stack
> where constraints are specific :-)
> You have to try and adapt it to your needs...
> 
> 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
> 
> Plugins, tutorials and more on our 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
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 

|||
   )_)  )_)  )_)
  )___))___))___)\
 )))_)\\
   _|||\\\__
---\   /- http://www.bluewatermaritime.com
 ^ ^
     ^^^^^
     ^^^

24 hour cell: (787) 378-6190
fax: (787) 809-8426

Blue Water Maritime
P.O. Box 91
Puerto Real, PR 00740



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


Update on my progress

2005-05-20 Thread Thomas McGrath III
Well,
I have been coding non-stop now for three weeks. Some days I put in 
over eighteen hours, waking up in the middle of the night and coding 
ideas down. I put together an engine to handle the complex coding for 
looking up database items and for distinguishing commands from text 
etc. Then I used the engine to put in English, French, German, Spanish, 
Korean, Chinese, and Japanese. I hit the Unicode nightmare and haven't 
yet figured it out.  I created a GUI to emulate a PocketPC PDA.
I then built a Navigator and an Editor for the interface. Once this all 
looked OK I then started to create tutorial/games to teach our system. 
In five days now I have created eight games. WOW. Without REV this 
would not have been possible. I created four tile type games and three 
trivia type games and a crosswords game but all of them use icons 
instead of words/ with words.

In contrast our Macromedia(Adobe) Director GURU spent two months on the 
engine and three weeks on just one of the games and he got most of it 
wrong. Many days of testing and asking him to make corrections and 
explaining what I need and what I meant.

I have been able to do it all in less than three weeks. Way cool...
Today at 2:00 I am to meet with the Boss to show him the games.
I now feel empowered to work on one of my old project ideas.
P.S. The first few days of coding are clean and well commented BUT then 
I started to get lazy. The last few days I left whole sections of 
unused code in and didn't comment anything. I just built on what I knew 
was working and adapted it to the new games.

I guess I need to revisit everything and clean it all up.. doubt it 
though..

Tom
Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Table field behavior

2005-05-20 Thread Bill
I think what I am looking for is in here:

 on SetScroll
   -- sets the table field and header fields scrolls if they are any
   -- the syntax is not very comprehensible since this handler can set the
scroll of an unknown number of fields
   -- then it refers to parameters by order/number and not by name using the
do command

   lock screen
   lock messages
   repeat with i = 3 to the paramcount
 do "put there is a fld" && param(i) && "into tFlag"
 if tFlag then do "set the" && param(1) && "of fld" && param(i)  && "to"
&& param(2)
 -- param (3) to param(x) are the names of the fields
   end repeat
   unlock messages
   unlock screen
 end SetScroll

I'm I supposed to put the name of the field I am working with somewhere in
there so it will work?

On 5/20/05 9:54 AM, "Eric Chatonet" <[EMAIL PROTECTED]>
wrote:

> Hi Bill,
> 
> Le 20 mai 05 à 15:44, Bill a écrit :
> 
>> What if you place the code in the script of the field in question
>> and then
>> not have to worry about the name of the field or about it being
>> called when
>> doing stuff in other fields which may not want affected?
> 
> Don't forget that I only made a copy/paste from a demonstration stack
> where constraints are specific :-)
> You have to try and adapt it to your needs...
> 
> 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
> 
> Plugins, tutorials and more on our 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
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 

|||
   )_)  )_)  )_)
  )___))___))___)\
 )))_)\\
   _|||\\\__
---\   /- http://www.bluewatermaritime.com
 ^ ^
     ^^^^^
     ^^^

24 hour cell: (787) 378-6190
fax: (787) 809-8426

Blue Water Maritime
P.O. Box 91
Puerto Real, PR 00740



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


Re: Use french special caracters in an XML file.

2005-05-20 Thread Damien Girard
I didn't understands.
I encode characters with UniEncode, and I put them after in the XML 
database.
Put in return, When I get what I have wrote in the database, I have got 
only the first char.

For exemple, this text : "toto", I have got only this written in the XML 
file "t"
I think I have forget something.

Andre Garzia a Ãcrit :
On May 20, 2005, at 10:57 AM, Damien Girard wrote:
Thanks, I will try (setting the UTF-8).
Girard,
If you're using revPutIntoXMLNode to put your contents, remember to 
uniDecode them.

cheers
andre

Girard Damien
PS: If this work, you helped me.

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


Re: Table field behavior

2005-05-20 Thread Eric Chatonet
Hi Bill,
Did you create the 2 custom properties xLimit and yLimit in your  
table field which specify the limits?
xLimit = the number of columns
yLimit = the number of rows
And set your table field to show the same number of columns and rows?

Hope this helps!
Le 20 mai 05 à 16:47, Bill a écrit :
I think what I am looking for is in here:
 on SetScroll
   -- sets the table field and header fields scrolls if they are any
   -- the syntax is not very comprehensible since this handler can  
set the
scroll of an unknown number of fields
   -- then it refers to parameters by order/number and not by name  
using the
do command

   lock screen
   lock messages
   repeat with i = 3 to the paramcount
 do "put there is a fld" && param(i) && "into tFlag"
 if tFlag then do "set the" && param(1) && "of fld" && param 
(i)  && "to"
&& param(2)
 -- param (3) to param(x) are the names of the fields
   end repeat
   unlock messages
   unlock screen
 end SetScroll

I'm I supposed to put the name of the field I am working with  
somewhere in
there so it will work?

On 5/20/05 9:54 AM, "Eric Chatonet"  
<[EMAIL PROTECTED]>
wrote:


Hi Bill,
Le 20 mai 05 à 15:44, Bill a écrit :

What if you place the code in the script of the field in question
and then
not have to worry about the name of the field or about it being
called when
doing stuff in other fields which may not want affected?
Don't forget that I only made a copy/paste from a demonstration stack
where constraints are specific :-)
You have to try and adapt it to your needs...
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
Plugins, tutorials and more on our 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
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Use french special caracters in an XML file.

2005-05-20 Thread Andre Garzia
On May 20, 2005, at 11:49 AM, Damien Girard wrote:
I didn't understands.
I encode characters with UniEncode, and I put them after in the XML 
database.
Put in return, When I get what I have wrote in the database, I have 
got only the first char.

For exemple, this text : "toto", I have got only this written in the 
XML file "t"
I think I have forget something.
The docs says that you should uniDecode your variable content before 
entering it into a XML Node... I think you might be happier by using 
the htmltext property... this will free you from unicode hell. This 
would work fine even if you pipe the contents of the xml database to a 
browser.

cheers
andre

--
Andre Alves Garzia  2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Table field behavior

2005-05-20 Thread Bill
Like so:

ON OPENFIELD
  SET the xLimit of fld "VoyagesData" TO 6
  SET the yLimit of fld "VoyagesData" TO 22
end OPENFIELD


And it just crashed bring down RunRev...


On 5/20/05 10:53 AM, "Eric Chatonet" <[EMAIL PROTECTED]>
wrote:

> Hi Bill,
> 
> Did you create the 2 custom properties xLimit and yLimit in your
> table field which specify the limits?
> xLimit = the number of columns
> yLimit = the number of rows
> And set your table field to show the same number of columns and rows?
> 
> Hope this helps!
> 
> Le 20 mai 05 à 16:47, Bill a écrit :
> 
>> I think what I am looking for is in here:
>> 
>>  on SetScroll
>>-- sets the table field and header fields scrolls if they are any
>>-- the syntax is not very comprehensible since this handler can
>> set the
>> scroll of an unknown number of fields
>>-- then it refers to parameters by order/number and not by name
>> using the
>> do command
>> 
>>lock screen
>>lock messages
>>repeat with i = 3 to the paramcount
>>  do "put there is a fld" && param(i) && "into tFlag"
>>  if tFlag then do "set the" && param(1) && "of fld" && param
>> (i)  && "to"
>> && param(2)
>>  -- param (3) to param(x) are the names of the fields
>>end repeat
>>unlock messages
>>unlock screen
>>  end SetScroll
>> 
>> I'm I supposed to put the name of the field I am working with
>> somewhere in
>> there so it will work?
>> 
>> On 5/20/05 9:54 AM, "Eric Chatonet"
>> <[EMAIL PROTECTED]>
>> wrote:
>> 
>> 
>>> Hi Bill,
>>> 
>>> Le 20 mai 05 à 15:44, Bill a écrit :
>>> 
>>> 
 What if you place the code in the script of the field in question
 and then
 not have to worry about the name of the field or about it being
 called when
 doing stuff in other fields which may not want affected?
 
>>> 
>>> Don't forget that I only made a copy/paste from a demonstration stack
>>> where constraints are specific :-)
>>> You have to try and adapt it to your needs...
> 
> 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
> 
> Plugins, tutorials and more on our 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
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 

|||
   )_)  )_)  )_)
  )___))___))___)\
 )))_)\\
   _|||\\\__
---\   /- http://www.bluewatermaritime.com
 ^ ^
     ^^^^^
     ^^^

24 hour cell: (787) 378-6190
fax: (787) 809-8426

Blue Water Maritime
P.O. Box 91
Puerto Real, PR 00740



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


Re: Table field behavior

2005-05-20 Thread J. Landman Gay
On 5/20/05 8:41 AM, Lynch, Jonathan wrote:
I find the current table fields just too clunky.
I am creating a table object based on grouped fields. 
Been there, done that. :)

If the hqx format doesn't work for you, let me know.
Mine works pretty well for basic table groups if you know the number of 
columns beforehand (which for my client's project, I did.) It doesn't do 
auto-creation of rows, though you can add extras and it won't display 
the blank ones. Yours may do a better job for some applications.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Table field behavior

2005-05-20 Thread Eric Chatonet
Le 20 mai 05 à 17:06, Bill a écrit :
Like so:
ON OPENFIELD
  SET the xLimit of fld "VoyagesData" TO 6
  SET the yLimit of fld "VoyagesData" TO 22
end OPENFIELD
No.
Just set these properties "by hand" in the property pane or in a  
handler which does not interfere with the table field as openField  
(assuming openField refers to your table field).
Go on taking heart...
Table fields are a rough draft in Rev :-(

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
Plugins, tutorials and more on our 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
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: popup in selected text in unlocked field

2005-05-20 Thread J. Landman Gay
On 5/19/05 11:56 PM, Stephen Barncard wrote:
I know there's some kind of trick here to do this;
I have an unlocked, editable field with text. I select a portion of the 
text, then option click on it for a popup that has a few options to 
select from to do something to the text, like uppercase, lowercase, etc.

This changing works with a button and an option menu combo, but not in a 
contextual button. Any activity on the field kills the selection.

Attempting this always loses the selection, then there's nothing to 
change, and all attempts to save the selection range description to a 
global still don't seem to work.
I had to do this in my Boggle game. Are you using a popup button for the 
contextual menu? If so, try popping up a menu stack instead.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: popup in selected text in unlocked field

2005-05-20 Thread MisterX
And that's a great game Jacque!

I recommend it to everyone!

The stack menu was the only way to make it work actually. Did I forget to
mention that? ;|

A button menu will not show up for some reason... I tested different button
names too just in case they coincide with another stack's menus. 

One anoying thing though is that populating those stack menus is not as easy
as populating a button menu unless the user is in a boxed application. Just
extra work otherwise where a toolbar can be more mouse-efficient...
Although, in exchange, you can have icons in menu if you like eye candy!

cheers
Xav

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> J. Landman Gay
> Sent: Friday, May 20, 2005 17:18
> To: How to use Revolution
> Subject: Re: popup in selected text in unlocked field
> 
> On 5/19/05 11:56 PM, Stephen Barncard wrote:
> 
> > I know there's some kind of trick here to do this;
> > 
> > 
> > I have an unlocked, editable field with text. I select a portion of 
> > the text, then option click on it for a popup that has a 
> few options 
> > to select from to do something to the text, like uppercase, 
> lowercase, etc.
> > 
> > This changing works with a button and an option menu combo, 
> but not in 
> > a contextual button. Any activity on the field kills the selection.
> > 
> > Attempting this always loses the selection, then there's nothing to 
> > change, and all attempts to save the selection range 
> description to a 
> > global still don't seem to work.
> 
> I had to do this in my Boggle game. Are you using a popup 
> button for the contextual menu? If so, try popping up a menu 
> stack instead.
> 
> -- 
> Jacqueline Landman Gay | [EMAIL PROTECTED]
> HyperActive Software   | http://www.hyperactivesw.com
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 

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


Re: [OT] Is there a relationship between Xtalk languages and smalltalk?

2005-05-20 Thread Wilhelm Sanke
One of the xTalk languages not mentioned so far is "HyperPad" by 
Brightbill&Roberts with its script language "PadTalk".

HyperPad - the first Hypercard clone for the DOS-world - appeared about 
one year after Hypercard was released. Unfortunately, HyperPad never 
made it to the Windows world and consequently later disappeared.

HyperPad was a very powerful language with some features I still miss in 
Metacard and Revolution. It had an integrated data base, could include 
and produce C-externals and had a comprehensive and carefully written 
documentation (two big volumes that came free with the software for a 
price less than 100 US$ and left no questions open). The included help 
files and tutorials were very well designed (seen from an educational 
perspective). A look at them would be even beneficial for the Revolution 
team.

I remember my troubles when I had to migrate to "Toolbook": Many more 
script lines to write, syntax requirements that were much more 
complicated etc..-

A search reveals a number of hits (there is also another, but 
unreleated  product called "HyperPad") and even a still available 
version of HyperPad that is possibly of interest for those that want to 
investigate the development of xTalk languages and get an idea of the 
state of arts of quite a number of years ago.

Two addresses:

from the web page:
"HyperPad
Brightbill-Roberts' HyperPad 2.2 is an inexpensive ($100) HyperCard 
 clone for DOS text 
systems. The extensive installation (3.7 MB) includes 830 pages of 
documentation and an excellent on-line tutorial. Many sample scripts, 
clip art, and mini-applications are included. HyperPad is designed to be 
used out of the box as a DOS desktop utility kit. It is distributed as 
shareware  so you can 
"try before you buy."

and

"HyperPAD:
Version 2.307
Last published in 1995 by IQ Technologies, Inc.
Originally developed and published by Brightbill-Roberts
For those who may wish to continue using this DOS based product it is 
being made available for downloading as a courtesy of MegaIQ.

The download is a 1.4 mb self extracting archive file.
   Save the file to an empty folder.
   After downloading, double click on the file "hyperpad24.exe".
   This will extract two (2) files, "disk1.exe" and "disk2.exe".
   Each of these are self extracting archive files as well.
   Disk 1 and Disk 2 archives contain the files required to install 
HyperPAD.

   Devkit is the HyperPAD Developer's Kit and must be extracted into a 
different folder
   than the one used for disk1 and disk2 as it contains some files 
which have the same name.

   DOWNLOAD HyperPAD v. 2.3
   DOWNLOAD HyperPAD Developer's Kit".---
I downloaded this version, and it worked fine with Windows XP - with the 
exception that I had some troubles with my cordless mouse in the 
DOS-window that came up. But you can very well work with the keyboard 
and experience the old-time and at the same time modern way of  using  
an xTalk language.

As I  already said, have a look at the IDE and the carefully designed  
and integrated help files.

A number of stacks I offer today on my website  were originally 
developed with HyperPad.

Regards,
Wilhelm Sanke


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


Re: XML-RPC And The Famous Blogger API 1.0 (Re: XML-RPC How To Use?)

2005-05-20 Thread Dan Shafer
Andre.
On May 20, 2005, at 6:37 AM, Andre Garzia wrote:
is this email too big?
Nope. It was so informative I'd have read it if it were twice as long!
Looking forward to seeing you in Monterey again next month, you  
Brazil Nut.


~~
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Table field behavior

2005-05-20 Thread HyperChris
I don't think the table field will get the RawKeyDown message as it goes 
straight to the card.

>>What if you place the code in the script of the field in question and then 
not have to worry about the name of the field or about it being called when 
doing stuff in other fields which may not want affected?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Update on my progress

2005-05-20 Thread Alejandro Tejada
on Fri, 20 May 2005
Thomas McGrath wrote:

> I have been coding non-stop now for three weeks.
> Some days I put in 
> over eighteen hours, waking up in the middle of the
> night and coding ideas down. 

Wow! Are you working alone on this project?
How much faster will you work if you had help
from other developers?
I think that you will burning out yourself
if you keep that pace. :-(

> In contrast our Macromedia(Adobe) Director GURU
> spent two months on the 
> engine and three weeks on just one of the games and
> he got most of it 
> wrong. Many days of testing and asking him to make
> corrections and 
> explaining what I need and what I meant.

Is he alone too? :-O

> I have been able to do it all in less than three
> weeks. Way cool...

Congratulations! :-)
You should post your experience with this
project as a case study.

> I now feel empowered to work on one of my old
> project ideas.

This is one of the non widely published
benefical side effects of working in this 
platform.
 
Keep us updated about your work! :-)

al

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



__ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] Is there a relationship between Xtalk languages andsmalltalk?

2005-05-20 Thread Richard Gaskin
Kat wrote:
My theory all along has been that Microsoft liked CD-ROM so much because 
it allowed them to deliver bloatware  but then I'm just prejudiced.
"PRE-judiced" was something we used to do.  But now that more than two 
dozen governments around the world have found Microsoft guilty of the 
very things we've been suspecting all along, today we're merely 
"judiced". :)

As for CD ROM, one of the benefits to having started in the industry 
before it was popular is that my earliest training was in making things 
as lightweight as possible to fit onto a floppy. When CDs came along 
some younger folks considered my habits anachronistic -- that is, until 
just a couple years later when the Internet became the "ultimate killer 
app" and suddenly file size was important again.

It's rarely a mistake to err on the side of resource efficiency.
I recall a vendor of CD-ROM recorders trying to have a conversation with 
me about financing a $7500 unit (it was one of three on the market at 
the time).  I balked, and said I'd continue shipping on floppy until the 
price came down.  He literally laughed at me, as though I was on crazy 
pills.  I only used floppies for another year: by the following year CD 
recorders had broken the thousand dollar barrier and pricing was in free 
fall.

That's another nice thing about being part of the over-40 crowd:  when 
you go around the block that many times you know that, thanks to Moore's 
Law and market dynamics, computing is one of the few industries that 
consistently rewards the procrastinator.

PS: Kat, I've read some of your articles debunking poplar myths about 
data volatility on optical media -- good work, thanks for reintroducing 
rational thinking and well-supported arguments into that discussion. :)

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


OT about size... Re: [OT] Is there a relationship between Xtalk languages andsmalltalk?

2005-05-20 Thread Andre Garzia
When I finish an app, I like to spend some time re-coding the routines 
singing the followoing mantra: "can I do it in fewer lines?". I am very 
proud of the latest incarnation of RevHTTPd, it's half the size of the 
first one and with more features. It's not only the sheer size of the 
binary. Its also important to clean your code so that you can manage it 
later.

cheers
andre
On May 20, 2005, at 1:22 PM, Richard Gaskin wrote:
Kat wrote:
My theory all along has been that Microsoft liked CD-ROM so much 
because it allowed them to deliver bloatware  but then I'm just 
prejudiced.
"PRE-judiced" was something we used to do.  But now that more than two 
dozen governments around the world have found Microsoft guilty of the 
very things we've been suspecting all along, today we're merely 
"judiced". :)

As for CD ROM, one of the benefits to having started in the industry 
before it was popular is that my earliest training was in making 
things as lightweight as possible to fit onto a floppy. When CDs came 
along some younger folks considered my habits anachronistic -- that 
is, until just a couple years later when the Internet became the 
"ultimate killer app" and suddenly file size was important again.

It's rarely a mistake to err on the side of resource efficiency.
I recall a vendor of CD-ROM recorders trying to have a conversation 
with me about financing a $7500 unit (it was one of three on the 
market at the time).  I balked, and said I'd continue shipping on 
floppy until the price came down.  He literally laughed at me, as 
though I was on crazy pills.  I only used floppies for another year: 
by the following year CD recorders had broken the thousand dollar 
barrier and pricing was in free fall.

That's another nice thing about being part of the over-40 crowd:  when 
you go around the block that many times you know that, thanks to 
Moore's Law and market dynamics, computing is one of the few 
industries that consistently rewards the procrastinator.

PS: Kat, I've read some of your articles debunking poplar myths about 
data volatility on optical media -- good work, thanks for 
reintroducing rational thinking and well-supported arguments into that 
discussion. :)

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

--
Andre Alves Garzia  2004  BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT about size... Re: [OT] Is there a relationship between Xtalk languages andsmalltalk?

2005-05-20 Thread Mark Wieder
Andre-

Friday, May 20, 2005, 9:32:49 AM, you wrote:

AG> When I finish an app, I like to spend some time re-coding the routines
AG> singing the followoing mantra: "can I do it in fewer lines?". I am very

I'm constantly reengineering my old code, too, but I find that it
generally *grows* in size as I go back and add more comments. Trying
to do things in fewer lines can also sometimes lead to emphasizing
cuteness over readability.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: XML-RPC And The Famous Blogger API 1.0 (Re: XML-RPC How To Use?)

2005-05-20 Thread Mark Wieder
Dan-

Friday, May 20, 2005, 9:00:16 AM, you wrote:

>> is this email too big?

DS> Nope. It was so informative I'd have read it if it were twice as long!

I read it twice. Does that count?

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: Table field behavior -- make it not scroll!

2005-05-20 Thread Bill
I tried it again with the properties set by hand in the property pane of the
field. Rev didn't crash this time but the field still scrolls although you
can tab through things correctly, mostly. But playing with it causes a long
wait.

Is there anyone who knows how to just lock the tab cells in a table field so
that they never scroll no matter what you do? The automatic scroll makes the
table field useless for data entry.

Eric:

Does your example stack that this came from still scroll the field as you
enter data?


On 5/20/05 11:15 AM, "Eric Chatonet" <[EMAIL PROTECTED]>
wrote:

> Le 20 mai 05 à 17:06, Bill a écrit :
> 
>> Like so:
>> 
>> ON OPENFIELD
>>   SET the xLimit of fld "VoyagesData" TO 6
>>   SET the yLimit of fld "VoyagesData" TO 22
>> end OPENFIELD
> 
> No.
> Just set these properties "by hand" in the property pane or in a
> handler which does not interfere with the table field as openField
> (assuming openField refers to your table field).
> Go on taking heart...
> Table fields are a rough draft in Rev :-(
> 
> 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
> 
> Plugins, tutorials and more on our 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
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 

|||
   )_)  )_)  )_)
  )___))___))___)\
 )))_)\\
   _|||\\\__
---\   /- http://www.bluewatermaritime.com
 ^ ^
     ^^^^^
     ^^^

24 hour cell: (787) 378-6190
fax: (787) 809-8426

Blue Water Maritime
P.O. Box 91
Puerto Real, PR 00740



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


Re: Global variables lost in space

2005-05-20 Thread Howard Bornstein
On 5/17/05, Mark Talluto <[EMAIL PROTECTED]> wrote:
> During the the online session Script Anatomy 101 and individual named
> Rory asked why his/her stack's global variables were not showing up in
> the MB.  I just got bitten by the same thing and came to realize that
> if you create a new global variable and put a number into it, it will
> not now up.  Now if you put an alpha string into it first, then you can
> put numbers into the global variable and it will show up properly in
> the MB.  If this bites you, thought you might like to know.
> 
> bug:  if
> you are interested.
> 

Hi Mark,

I remember this was discussed in some depth in the thread "Global
Madness" a while ago, which resulted in Dan Shafer filing BZ #2721. If
you search the archive for this thread, it might illuminate the
problem a little more.

-- 
Regards,

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


RE: [OT] Is there a relationship between Xtalk languages andsmalltalk?

2005-05-20 Thread MisterX
http://www.iath.virginia.edu/elab/hfl0267.html

http://www.iath.virginia.edu/elab/hfl0138.html 

very interesting! Text only though it says...

but this one takes the cake!

I thought i'd find executables but i found "runtime"!
http://www.iath.virginia.edu/elab/hfl0016.html
Though not what i hoped for ;)

cheers
Xavier

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Wilhelm Sanke
> Sent: Friday, May 20, 2005 17:56
> To: use-revolution@lists.runrev.com
> Subject: Re: [OT] Is there a relationship between Xtalk 
> languages andsmalltalk?
> 
> One of the xTalk languages not mentioned so far is "HyperPad" 
> by Brightbill&Roberts with its script language "PadTalk".
> 
> HyperPad - the first Hypercard clone for the DOS-world - 
> appeared about one year after Hypercard was released. 
> Unfortunately, HyperPad never made it to the Windows world 
> and consequently later disappeared.
> 
> HyperPad was a very powerful language with some features I 
> still miss in Metacard and Revolution. It had an integrated 
> data base, could include and produce C-externals and had a 
> comprehensive and carefully written documentation (two big 
> volumes that came free with the software for a price less 
> than 100 US$ and left no questions open). The included help 
> files and tutorials were very well designed (seen from an 
> educational perspective). A look at them would be even 
> beneficial for the Revolution team.
> 
> I remember my troubles when I had to migrate to "Toolbook": 
> Many more script lines to write, syntax requirements that 
> were much more complicated etc..-
> 
> A search reveals a number of hits (there is also another, but 
> unreleated  product called "HyperPad") and even a still 
> available version of HyperPad that is possibly of interest 
> for those that want to investigate the development of xTalk 
> languages and get an idea of the state of arts of quite a 
> number of years ago.
> 
> Two addresses:
> 
> 
> 
> from the web page:
> 
> "HyperPad
> 
> Brightbill-Roberts' HyperPad 2.2 is an inexpensive ($100) 
> HyperCard  
> clone for DOS text systems. The extensive installation (3.7 
> MB) includes 830 pages of documentation and an excellent 
> on-line tutorial. Many sample scripts, clip art, and 
> mini-applications are included. HyperPad is designed to be 
> used out of the box as a DOS desktop utility kit. It is 
> distributed as shareware 
>  so you can 
> "try before you buy."
> 
> and
> 
> 
> 
> "HyperPAD:
> 
> Version 2.307
> Last published in 1995 by IQ Technologies, Inc.
> Originally developed and published by Brightbill-Roberts
> 
> For those who may wish to continue using this DOS based 
> product it is being made available for downloading as a 
> courtesy of MegaIQ.
> 
>  The download is a 1.4 mb self extracting archive file.
> Save the file to an empty folder.
> After downloading, double click on the file "hyperpad24.exe".
> This will extract two (2) files, "disk1.exe" and "disk2.exe".
> Each of these are self extracting archive files as well.
> Disk 1 and Disk 2 archives contain the files required to 
> install HyperPAD.
> 
> Devkit is the HyperPAD Developer's Kit and must be 
> extracted into a different folder
> than the one used for disk1 and disk2 as it contains some 
> files which have the same name.
> 
> DOWNLOAD HyperPAD v. 2.3
> 
> DOWNLOAD HyperPAD Developer's Kit".---
> 
> I downloaded this version, and it worked fine with Windows XP 
> - with the exception that I had some troubles with my 
> cordless mouse in the DOS-window that came up. But you can 
> very well work with the keyboard and experience the old-time 
> and at the same time modern way of  using an xTalk language.
> 
> As I  already said, have a look at the IDE and the carefully 
> designed and integrated help files.
> 
> A number of stacks I offer today on my website  were 
> originally developed with HyperPad.
> 
> Regards,
> 
> Wilhelm Sanke
> 
> 
> 
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 

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


Re: [OT] Is there a relationship between Xtalk languages andsmalltalk?

2005-05-20 Thread Mark Wieder
Richard-

Friday, May 20, 2005, 9:22:41 AM, you wrote:

RG> That's another nice thing about being part of the over-40 crowd:  when
RG> you go around the block that many times you know that, thanks to Moore's
RG> Law and market dynamics, computing is one of the few industries that
RG> consistently rewards the procrastinator.

I always say that procrastination is its own reward.

http://www-csli.stanford.edu/~john/procrastination.html

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: Table field behavior

2005-05-20 Thread J. Landman Gay
On 5/20/05 11:01 AM, [EMAIL PROTECTED] wrote:
I don't think the table field will get the RawKeyDown message as it goes 
straight to the card.
It works okay for me in a field here, the field responds.
--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Table field behavior -- make it not scroll!

2005-05-20 Thread Eric Chatonet
Hi Bill,
1. In my example stack, the table field scrolls if neccessary  
depending on the number of columns and rows you want to display.
2. I think that you can simplify the handlers (a good idea, is not  
it?) by commenting the 2 SetScroll lines in the SelectCell handler.
It should do the job in your case.
3. At the very worst, you can just prevent the user to tab or use the  
arrow keys, but... you and I would not like it ;-)

Le 20 mai 05 à 18:59, Bill a écrit :
I tried it again with the properties set by hand in the property  
pane of the
field. Rev didn't crash this time but the field still scrolls  
although you
can tab through things correctly, mostly. But playing with it  
causes a long
wait.

Is there anyone who knows how to just lock the tab cells in a table  
field so
that they never scroll no matter what you do? The automatic scroll  
makes the
table field useless for data entry.

Eric:
Does your example stack that this came from still scroll the field  
as you
enter data?

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
Plugins, tutorials and more on our 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
http://lists.runrev.com/mailman/listinfo/use-revolution


Multiple standalones

2005-05-20 Thread Peter T. Evensen
Is there anyway to keep revolution from creating multiple standalone 
versions (i.e., creating a new folder with the last number incremented) 
every time you save as standalone?

99.% of the time, I simply want to write over the old version.  I wind 
up with a string of folders.   This is rather obnoxious.

Peter T. Evensen
http://www.PetersRoadToHealth.com
24-hour recorded info hotline: 1-800-624-7671 

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


Re: Language ideas

2005-05-20 Thread Hershel Fisch
On 5/20/05 6:50 AM, "MisterX" <[EMAIL PROTECTED]> wrote:

> Im compiling a bugzilla enhancement to make transcript more natural
> 
> if there is a drive x then
> if there is a control c in group g
In my opinion to English'ish is very error prone, because every body has his
way of talking. True, transcript is English but English has many versions.
Besides the fact that RR is already a very big language. Therefore I think
the best way is a bit scheme or some kind of formality and not, e.g. If
there is a or so on. Also in your case 70 percent of RR has has to be
changed and 10 percent omitted (which I would prefer)
IsNumber change to "number" and number change to amount or count
selectedLine, hilitedLine.
Now in a case like this I'd rather suggest to add a function "thereIs" or
something alike, instead of looping to equate.
Hershel Fisch

> 
> if a=b or if b=c then
Well in this one, if a=b or c=d is shorter and clearer.
> if a is (b or c) then
Or if a = (b or c)
> put a into b and c
Or put a into b,c This is something that would be good.
> 
> etc...
> 
> This might bring in lots of flexibilities and less semantical "typos" as we
> usually type them naturally... And make scripting even easier or more
> intuitive and less error prone. HyperTalk was much better at this - however
> it's more bug prone too in the long-term.
> 
> Please send me your ideas offline so I can sort and make them as bugzilla
> friendly as possible for the good folk at Runrev and make it easier for them
> to see the advantages...
> 
> TAOO note: a natural language parser for msg box or speech recog is coming
> so this goes both ways for the rev community and those interested in TAOO.
> Other languages parsing is planned too, notably french, spanish, german,
> italian so far. Last but not least, the TAOO script editor already has a
> translation module capable of interpreting these but the dictionaries are
> still pretty much blank given the lack of need/use for the moment.
> 
> regards,
> Xavier
> http://MonsieurX.com - poliglot software too!
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


FTP Help

2005-05-20 Thread Gregory Lypny
Hello Everyone,
I'm having a bit of trouble with the Get URL ("ftp://...";) and one 
particular file.

I have a tab-delimited text file with 227 lines.  Call it theFile.txt.  
I have a copy on my local Mac at home, and I've placed a copy on my 
remote Mac at the office.  When I use the handler below to get the file 
from the remote server, it appears in the field in my stack as one long 
garbled line; in other words, it looks like I've lost the return 
characters.  When I tried to import other text files that were already 
on the remote server, they come through fine.  When I import the file a 
local folder, it is fine.

What am I doing wrong?
Regards,
Gregory
on mouseUp
  put "Now this field is empty." into fld "x"
  libURLSetFTPMode "active"
  get url ("ftp://thePath/theFile.txt";)
  put it into fld "x"
  put "Lines:" && the number of lines in it  & cr & \
  "The result:" && the result
end mouseUp
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Table field behavior -- make it not scroll!

2005-05-20 Thread Bill
That doesn't solve behavior. It still automatically scrolls when you get to
the the last cell near an edge. I think I will make the field huge beyond
the size I need and then hide the edges with graphics then it won't be able
to do the automatic scroll as the field will be large enough so it won't
think it has to.

I know that is an awful work-around when all I needed was a simple RunRev
command "turn the automatic scroll feature off"!


On 5/20/05 1:14 PM, "Eric Chatonet" <[EMAIL PROTECTED]>
wrote:

> Hi Bill,
> 
> 1. In my example stack, the table field scrolls if neccessary
> depending on the number of columns and rows you want to display.
> 2. I think that you can simplify the handlers (a good idea, is not
> it?) by commenting the 2 SetScroll lines in the SelectCell handler.
> It should do the job in your case.
> 3. At the very worst, you can just prevent the user to tab or use the
> arrow keys, but... you and I would not like it ;-)
> 
> Le 20 mai 05 à 18:59, Bill a écrit :
> 
>> I tried it again with the properties set by hand in the property
>> pane of the
>> field. Rev didn't crash this time but the field still scrolls
>> although you
>> can tab through things correctly, mostly. But playing with it
>> causes a long
>> wait.
>> 
>> Is there anyone who knows how to just lock the tab cells in a table
>> field so
>> that they never scroll no matter what you do? The automatic scroll
>> makes the
>> table field useless for data entry.
>> 
>> Eric:
>> 
>> Does your example stack that this came from still scroll the field
>> as you
>> enter data?
> 
> 
> 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
> 
> Plugins, tutorials and more on our 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
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 

|||
   )_)  )_)  )_)
  )___))___))___)\
 )))_)\\
   _|||\\\__
---\   /- http://www.bluewatermaritime.com
 ^ ^
     ^^^^^
     ^^^

24 hour cell: (787) 378-6190
fax: (787) 809-8426

Blue Water Maritime
P.O. Box 91
Puerto Real, PR 00740



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


Re: [OT] Is there a relationship between Xtalk languages andsmalltalk?

2005-05-20 Thread Richard Gaskin
Mark Wieder wrote:
Richard-
Friday, May 20, 2005, 9:22:41 AM, you wrote:
RG> That's another nice thing about being part of the over-40 crowd:  when
RG> you go around the block that many times you know that, thanks to Moore's
RG> Law and market dynamics, computing is one of the few industries that
RG> consistently rewards the procrastinator.
I always say that procrastination is its own reward.
http://www-csli.stanford.edu/~john/procrastination.html
Good article - thanks.
Less useful but no less entertaining:

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


Re: Language ideas

2005-05-20 Thread Dar Scott
On May 20, 2005, at 4:50 AM, MisterX wrote:
if a is (b or c) then
put a into b and c
Many, many years ago I designed a language that allowed that.  I called 
it type factoring.  It worked because 'is' was not defined over 
booleans.  It also allowed some sorts of syntax factoring.

Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Table field behavior -- make it not scroll!

2005-05-20 Thread Bill
Eric -- 

Thank you very much for your help. I also realize that my frustration is
probably showing through in these emails. It get the most frustrated when
what I think should be a simple thing turns out to be not so simple.

Please keep working on your example stack as we really need those table
fields especially for working with arrays returned from databases.

Thanks again,

Bill


On 5/20/05 1:14 PM, "Eric Chatonet" <[EMAIL PROTECTED]>
wrote:

> Hi Bill,
> 
> 1. In my example stack, the table field scrolls if neccessary
> depending on the number of columns and rows you want to display.
> 2. I think that you can simplify the handlers (a good idea, is not
> it?) by commenting the 2 SetScroll lines in the SelectCell handler.
> It should do the job in your case.
> 3. At the very worst, you can just prevent the user to tab or use the
> arrow keys, but... you and I would not like it ;-)
> 
> Le 20 mai 05 à 18:59, Bill a écrit :
> 
>> I tried it again with the properties set by hand in the property
>> pane of the
>> field. Rev didn't crash this time but the field still scrolls
>> although you
>> can tab through things correctly, mostly. But playing with it
>> causes a long
>> wait.
>> 
>> Is there anyone who knows how to just lock the tab cells in a table
>> field so
>> that they never scroll no matter what you do? The automatic scroll
>> makes the
>> table field useless for data entry.
>> 
>> Eric:
>> 
>> Does your example stack that this came from still scroll the field
>> as you
>> enter data?
> 
> 
> 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
> 
> Plugins, tutorials and more on our 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
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 

|||
   )_)  )_)  )_)
  )___))___))___)\
 )))_)\\
   _|||\\\__
---\   /- http://www.bluewatermaritime.com
 ^ ^
     ^^^^^
     ^^^

24 hour cell: (787) 378-6190
fax: (787) 809-8426

Blue Water Maritime
P.O. Box 91
Puerto Real, PR 00740



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


Re: FTP Help

2005-05-20 Thread Dar Scott
On May 20, 2005, at 11:55 AM, Gregory Lypny wrote:
I have a tab-delimited text file with 227 lines.  Call it theFile.txt. 
 I have a copy on my local Mac at home, and I've placed a copy on my 
remote Mac at the office.  When I use the handler below to get the 
file from the remote server, it appears in the field in my stack as 
one long garbled line; in other words, it looks like I've lost the 
return characters.  When I tried to import other text files that were 
already on the remote server, they come through fine.  When I import 
the file a local folder, it is fine.

What am I doing wrong?
You might want to consider libURLftpUpload and libURLftpUploadFile.  
These can handle data and files as binary.

Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] [EN] [FR] So Smart Software introduces Color Picker 1.1 and Guides Picker 2.1

2005-05-20 Thread Chipp Walters
Rob,
You can take a look at a stack I previously wrote called altAnswerColor 
which can be found at:
http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm
Works both XP and Mac and has some of the same features as Eric's, but 
it's free to use and modify as you likem with no license.

best,
Chipp
Eric Chatonet wrote:
Hello Rob,
Color Picker is a free open source product but with a licence (see  the 
help/overview stack):
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: popup in selected text in unlocked field

2005-05-20 Thread Stephen Barncard
Mister X, Eric, thanks for your help - Eric is right, your code won't 
work on MacOS. There are forces at work here fighting me with some 
'automatic' behavior in regard to the selection in a field. One thing 
it's trying to do is to select a single word, then it hangs on to 
that selection.

My major complaint about OSX is the way the simple text editing 
functions (probably at the firmware level) have radically changed, 
for the worse since OS9. It takes a lot more unneeded clicking (to 
edit a filename, for instance) to get around these multiple 'helpful' 
behaviors in a field. And it used to be far easier doing tricks with 
the selection in a script. Is there a way to turn off that 
auto-stuff, for just a millisecond?

sqb
At 9:07 AM +0200 5/20/05, [EMAIL PROTECTED] wrote:
Hi Stephen,
here's what you need:
[script]
local mylastselection
on mousedown x
  put the selectedchunk of me into mylastselection
  if mylastselection is not empty then select mylastselection
  if x is 3 then
  lock messages
  popup "EditMenu" at the mouseloc
  end if
  -- pass mousedown
end mousedown
[/script]
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT about size... Re: [OT] Is there a relationship between Xtalk languages andsmalltalk?

2005-05-20 Thread Dar Scott
On May 20, 2005, at 10:57 AM, Mark Wieder wrote:
AG> When I finish an app, I like to spend some time re-coding the 
routines
AG> singing the followoing mantra: "can I do it in fewer lines?". I am 
very

I'm constantly reengineering my old code, too, but I find that it
generally *grows* in size as I go back and add more comments. Trying
to do things in fewer lines can also sometimes lead to emphasizing
cuteness over readability.
Often generalization and simplification result in less code AND less 
comments.  Sometimes scripting to standards (or the literature) 
requires less in comments because the vocabulary is established.

Sometimes the line between cuteness and readability depends on the 
individual.  One person might use vector functions to operate on color 
spaces while another might find that obfuscating.  (Just by my use of 
the word "spaces" we can see how I might look at color.)  Since most of 
the literature in CS, printing, physics, biology and psychology uses 
vector notation, I think it is reasonable to use.

If script lines can be factored out into functions or custom commands, 
then there are common concepts.  Often with a little juggling, those 
can match trade concepts exactly, but other times you do have to add 
comments on what the common concepts are.

Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT about size... Re: [OT] Is there a relationship between Xtalk languages andsmalltalk?

2005-05-20 Thread Chipp Walters
Mark Wieder wrote:
I'm constantly reengineering my old code, too, but I find that it
generally *grows* in size as I go back and add more comments. Trying
to do things in fewer lines can also sometimes lead to emphasizing
cuteness over readability.
Amen, Mark.
I also find I end up adding more error handling code as I go.
My coding style favors 'readability' over compactness, speed and 
'debugability' (is that a word?). For many tasks I attempt, such as 
internet acess routines, the speed increases seen by further optimizing 
code are largely offset by internet latency issues.

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


Re: OT about size... Re: [OT] Is there a relationship between Xtalk languages andsmalltalk?

2005-05-20 Thread Chipp Walters
OOPS, sorry, I meant to say:
My coding style favors readability and debugability over compactness and 
speed, except where speed is a real issue, (as in imagedata functions), 
then I'm all for it!

-Chipp
Chipp Walters wrote:
Mark Wieder wrote:
I'm constantly reengineering my old code, too, but I find that it
generally *grows* in size as I go back and add more comments. Trying
to do things in fewer lines can also sometimes lead to emphasizing
cuteness over readability.

Amen, Mark.
I also find I end up adding more error handling code as I go.
My coding style favors 'readability' over compactness, speed and 
'debugability' (is that a word?). For many tasks I attempt, such as 
internet acess routines, the speed increases seen by further optimizing 
code are largely offset by internet latency issues.

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

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


calculating max vscroll

2005-05-20 Thread Chris Sheffield
Does anyone have a function that will calculate the maximum amount a  
field can scroll if its height is too small to display it's entire  
contents at once?  (did that make sense; it's been a long day and I  
have a headache :-))

Problem is I have a couple fields that I'm scrolling together, and  
for some reason one is scrolling slightly more than the other, which  
makes things slightly misaligned.  The main field contains regular  
text (this is the one that scrolls slightly more for some reason),  
and the other field contains bullets that should line up with the  
text in the main field (much like the breakpoint list toggle column  
in the Rev script editor).  I thought if I could calculate the  
maximum vscroll, I should be able to limit them so they stay together  
exactly.  But unfortunately I'm having a hard time figuring out how  
to do that.  Both fields are set to use the same font and size and  
have the same textHeight value.

Thanks for the help,
Chris
--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
--
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Update on my progress

2005-05-20 Thread Dave Cragg
On 20 May 2005, at 15:44, Thomas McGrath III wrote:
I guess I need to revisit everything and clean it all up..  
doubt it though..

:-)
Spoken like a true professional.
Dave
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Language ideas

2005-05-20 Thread Robert Brenstein
On 5/20/05 6:50 AM, "MisterX" <[EMAIL PROTECTED]> wrote:
 Im compiling a bugzilla enhancement to make transcript more natural
 if there is a drive x then
 if there is a control c in group g
In my opinion to English'ish is very error prone, because every body has his
way of talking. True, transcript is English but English has many versions.
Besides the fact that RR is already a very big language. Therefore I think
the best way is a bit scheme or some kind of formality and not, e.g. If
there is a or so on. Also in your case 70 percent of RR has has to be
changed and 10 percent omitted (which I would prefer)
IsNumber change to "number" and number change to amount or count
selectedLine, hilitedLine.
Now in a case like this I'd rather suggest to add a function "thereIs" or
something alike, instead of looping to equate.
Hershel Fisch
Hershel, the construct "there is a" is already in the language. It's 
used to check for existence of something (object in a stack, file, 
directory). Xavier just suggested new options: to check whether a 
volume (it should be volume or partition not drive) is mounted 
(volume in question could be local, remote, or virtual) or whether a 
control is inside a specific group. The current syntax allows 
checking only whether a control exists.

I think these would be useful additions.
 >
 if a=b or if b=c then
Well in this one, if a=b or c=d is shorter and clearer.
I see no point for this.
 > if a is (b or c) then
Or if a = (b or c)
I find it ambiguous because it will interfere with normal 'or' clauses.
 > put a into b and c
Or put a into b,c This is something that would be good.
Akin to what can be done in C :) It could be a handy shortcut 
ocassionally but using 'and' here bother me since 'and' normally 
implies logical operation. May using comma would be better if there 
is a convincing justification to add it.

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


RE: calculating max vscroll

2005-05-20 Thread Lynch, Jonathan
I believe it is this:

(The formattedheight of field "myField1") - (the height of field
"myfield1")

However, you may also need to adjust for a horizontal scrollbar and/or
the thickness of the border of the field.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Sheffield
Sent: Friday, May 20, 2005 3:19 PM
To: How to use Revolution
Subject: calculating max vscroll

Does anyone have a function that will calculate the maximum amount a  
field can scroll if its height is too small to display it's entire  
contents at once?  (did that make sense; it's been a long day and I  
have a headache :-))

Problem is I have a couple fields that I'm scrolling together, and  
for some reason one is scrolling slightly more than the other, which  
makes things slightly misaligned.  The main field contains regular  
text (this is the one that scrolls slightly more for some reason),  
and the other field contains bullets that should line up with the  
text in the main field (much like the breakpoint list toggle column  
in the Rev script editor).  I thought if I could calculate the  
maximum vscroll, I should be able to limit them so they stay together  
exactly.  But unfortunately I'm having a hard time figuring out how  
to do that.  Both fields are set to use the same font and size and  
have the same textHeight value.

Thanks for the help,
Chris


--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
--


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


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


Re: [OT] Is there a relationship between Xtalk languages andsmalltalk?

2005-05-20 Thread Mark Wieder
Richard-

Friday, May 20, 2005, 11:07:43 AM, you wrote:

RG> Less useful but no less entertaining:
RG> 

Thanks for that one. I liked the QT movie, too.

http://despair.com/happyproduct.html

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: Multiple standalones

2005-05-20 Thread Mark Wieder
Peter-

Friday, May 20, 2005, 10:49:39 AM, you wrote:

PTE> Is there anyway to keep revolution from creating multiple standalone
PTE> versions (i.e., creating a new folder with the last number incremented)
PTE> every time you save as standalone?

Yes. Delete the old folder first.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: calculating max vscroll

2005-05-20 Thread Richard Gaskin
Chris Sheffield wrote:
Does anyone have a function that will calculate the maximum amount a  
field can scroll if its height is too small to display it's entire  
contents at once?  (did that make sense; it's been a long day and I  
have a headache :-))
I think what you're looking for is:
  get the formattedHeight of fld "MyField"
--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: calculating max vscroll

2005-05-20 Thread Chipp Walters
Hi Chris,
You also may want to take into account the field's margin settings.
best,
Chipp
Chris Sheffield wrote:
Does anyone have a function that will calculate the maximum amount a  
field can scroll if its height is too small to display it's entire  
contents at once?  (did that make sense; it's been a long day and I  
have a headache :-))
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: FTP Help

2005-05-20 Thread Dave Cragg
On 20 May 2005, at 18:55, Gregory Lypny wrote:
Hello Everyone,
I'm having a bit of trouble with the Get URL ("ftp://...";) and one  
particular file.

I have a tab-delimited text file with 227 lines.  Call it  
theFile.txt.  I have a copy on my local Mac at home, and I've  
placed a copy on my remote Mac at the office.  When I use the  
handler below to get the file from the remote server, it appears in  
the field in my stack as one long garbled line; in other words, it  
looks like I've lost the return characters.  When I tried to import  
other text files that were already on the remote server, they come  
through fine.  When I import the file a local folder, it is fine.
I'd guess it is connected to the way the file was created (and  
perhaps the way it was placed on the server). If it is a text file  
created on a Mac, then the line endings will most likely be numToChar 
(13). libUrl does ftp downloads as binary which means no conversrion  
takes place. Internally, Rev uses numToChar(10) for line endings, so  
it won't see line endings in the file.

I find the safest way to deal with text downloads whose source is  
uncertain is to use the following routine, which will clean up line  
endings regardless of the source of the text.

on cleanLineEndings @pText
  replace crlf with return in pText
  replace numToChar(13) with return in pText
end cleanLineEndings
Cheers
Dave
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: calculating max vscroll

2005-05-20 Thread Lynch, Jonathan
Aren't the margins included in the formattedheight?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chipp
Walters
Sent: Friday, May 20, 2005 3:40 PM
To: How to use Revolution
Subject: Re: calculating max vscroll

Hi Chris,

You also may want to take into account the field's margin settings.

best,

Chipp

Chris Sheffield wrote:
> Does anyone have a function that will calculate the maximum amount a  
> field can scroll if its height is too small to display it's entire  
> contents at once?  (did that make sense; it's been a long day and I  
> have a headache :-))
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: calculating max vscroll

2005-05-20 Thread Dave Cragg
On 20 May 2005, at 20:19, Chris Sheffield wrote:
Does anyone have a function that will calculate the maximum amount  
a field can scroll if its height is too small to display it's  
entire contents at once?  (did that make sense; it's been a long  
day and I have a headache :-))

Problem is I have a couple fields that I'm scrolling together, and  
for some reason one is scrolling slightly more than the other,  
which makes things slightly misaligned.  The main field contains  
regular text (this is the one that scrolls slightly more for some  
reason), and the other field contains bullets that should line up  
with the text in the main field (much like the breakpoint list  
toggle column in the Rev script editor).  I thought if I could  
calculate the maximum vscroll, I should be able to limit them so  
they stay together exactly.  But unfortunately I'm having a hard  
time figuring out how to do that.  Both fields are set to use the  
same font and size and have the same textHeight value.

As Jonathon pointed out,  you the maximum scroll can be calculated  
with this:

  (The formattedheight of field "myField1") - (the height of field  
"myfield1")

But you also need to be sure that both fields have the same number of  
lines, and that lines don't wrap in either field. Depending on what  
you're doing, you may need to pad one field with blank lines.

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


Re: Multiple standalones

2005-05-20 Thread Peter T. Evensen
I know I could do that, but that is a pain in the backScript.
At 02:36 PM 5/20/2005, you wrote:
Peter-
Friday, May 20, 2005, 10:49:39 AM, you wrote:
PTE> Is there anyway to keep revolution from creating multiple standalone
PTE> versions (i.e., creating a new folder with the last number incremented)
PTE> every time you save as standalone?
Yes. Delete the old folder first.
--
-Mark Wieder
 [EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
Peter T. Evensen
http://www.PetersRoadToHealth.com
24-hour recorded info hotline: 1-800-624-7671 

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


Re: calculating max vscroll

2005-05-20 Thread Chris Sheffield
Using (The formattedheight of field "myField1") - (the height of  
field "myfield1") doesn't seem to work quite right.  When I calculate  
that value for the field I get 67 (formattedHeight is 392 and height  
is 325).  When I scroll it to the max and check the vscroll property,  
it turns out to be 61 or 62, depending on whether I drag the  
scrollbar or use my mouse wheel, respectively (and that's another  
question:  why would it scroll more when using the mouse wheel?   
Seems odd to me).

Anyway, the scrolling problem has gone away thanks to Jonathan.  I  
started looking at the borders of the two fields and that was the  
difference. Originally neither one had a border.  At one point I  
added a border to the main field, but didn't to the other. That was  
causing the weird scrolling behavior.  Once I added a border to the  
other field it worked fine.  :-)

Thanks everyone.

On May 20, 2005, at 1:50 PM, Dave Cragg wrote:
On 20 May 2005, at 20:19, Chris Sheffield wrote:
As Jonathon pointed out,  you the maximum scroll can be calculated  
with this:

  (The formattedheight of field "myField1") - (the height of field  
"myfield1")

But you also need to be sure that both fields have the same number  
of lines, and that lines don't wrap in either field. Depending on  
what you're doing, you may need to pad one field with blank lines.

Dave
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
--
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: calculating max vscroll

2005-05-20 Thread Lynch, Jonathan
Was your borderwidth = 3?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Sheffield
Sent: Friday, May 20, 2005 4:04 PM
To: How to use Revolution
Subject: Re: calculating max vscroll

Using (The formattedheight of field "myField1") - (the height of  
field "myfield1") doesn't seem to work quite right.  When I calculate  
that value for the field I get 67 (formattedHeight is 392 and height  
is 325).  When I scroll it to the max and check the vscroll property,  
it turns out to be 61 or 62, depending on whether I drag the  
scrollbar or use my mouse wheel, respectively (and that's another  
question:  why would it scroll more when using the mouse wheel?   
Seems odd to me).

Anyway, the scrolling problem has gone away thanks to Jonathan.  I  
started looking at the borders of the two fields and that was the  
difference. Originally neither one had a border.  At one point I  
added a border to the main field, but didn't to the other. That was  
causing the weird scrolling behavior.  Once I added a border to the  
other field it worked fine.  :-)

Thanks everyone.



On May 20, 2005, at 1:50 PM, Dave Cragg wrote:

> On 20 May 2005, at 20:19, Chris Sheffield wrote:
>
>
> As Jonathon pointed out,  you the maximum scroll can be calculated  
> with this:
>
>   (The formattedheight of field "myField1") - (the height of field  
> "myfield1")
>
> But you also need to be sure that both fields have the same number  
> of lines, and that lines don't wrap in either field. Depending on  
> what you're doing, you may need to pad one field with blank lines.
>
> Dave
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
--


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


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


Re: [OT] Is there a relationship between Xtalk languages andsmalltalk?

2005-05-20 Thread Mikey
I have many Despair.com posters and postcards.  My favorites are the
picture of a group of skydivers in formation with the caption:
"Meetings  None of us is as dumb as all of us", the penguin with the
caption: "Limitations:  Until you spread your wings, you have no idea
how far you can walk".

Dude is hilarious.  The posters are a great way to offset those prissy
motivational posters that people had hanging all over the place in the
90's.  I can't wait for my copy of his book to arrive.  Maybe they'll
get me the Executive edition (only $1995.00, with the humidor).  How
better to preserve Karsten's undeniably crystal clear view on the
world we work in.

Oh, and one more:  "Adversity:  That which does not kill me postpones
the inevitable".  Freaking awesome.

-- 
http://taoOfRunRev.blogspot.com
http://taoof4d.blogspot.com
http://4dwishlist.blogspot.com
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] [EN] [FR] So Smart Software introduces Color Picker 1.1 and Guides Picker 2.1

2005-05-20 Thread Eric Chatonet
Hello Chipp,
I find your comment a little bit hard :-)
My plugin are as free as yours and work both XP and Mac too.
You may use them as you wish and modify them for your own purposes  
but the licence adds you are not allowed to distribute modified  
versions or include it in your own software without a written  
permission. In fact the licence is a simple disclaimer.
I think you will agree such statements ;-)

Best regards from Paris,
Eric Chatonet.
Le 20 mai 05 à 20:50, Chipp Walters a écrit :
Rob,
You can take a look at a stack I previously wrote called  
altAnswerColor which can be found at:
http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm
Works both XP and Mac and has some of the same features as Eric's,  
but it's free to use and modify as you likem with no license.

best,

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
Plugins, tutorials and more on our 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
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: calculating max vscroll

2005-05-20 Thread Chipp Walters
Yep, you're correct, they are, but if you're looking to scroll the text
to the bottom, then you would want to subtract the margin from the
formattedHeight as it's not necessary to include the bottom white space
to view the entire text.
-Chipp
Lynch, Jonathan wrote:
Aren't the margins included in the formattedheight?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: calculating max vscroll

2005-05-20 Thread Chris Sheffield
No, it was set to the default 2.
On May 20, 2005, at 2:09 PM, Lynch, Jonathan wrote:
Was your borderwidth = 3?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Sheffield
Sent: Friday, May 20, 2005 4:04 PM
To: How to use Revolution
Subject: Re: calculating max vscroll
Using (The formattedheight of field "myField1") - (the height of
field "myfield1") doesn't seem to work quite right.  When I calculate
that value for the field I get 67 (formattedHeight is 392 and height
is 325).  When I scroll it to the max and check the vscroll property,
it turns out to be 61 or 62, depending on whether I drag the
scrollbar or use my mouse wheel, respectively (and that's another
question:  why would it scroll more when using the mouse wheel?
Seems odd to me).
Anyway, the scrolling problem has gone away thanks to Jonathan.  I
started looking at the borders of the two fields and that was the
difference. Originally neither one had a border.  At one point I
added a border to the main field, but didn't to the other. That was
causing the weird scrolling behavior.  Once I added a border to the
other field it worked fine.  :-)
Thanks everyone.

On May 20, 2005, at 1:50 PM, Dave Cragg wrote:

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


Re: [ANN] [EN] [FR] So Smart Software introduces Color Picker 1.1 and Guides Picker 2.1

2005-05-20 Thread Chipp Walters
Eric,
I'm sorry, my comment was not meant to offend. As you know, we at Altuit 
'sell' many products, each with it's own license as well! It's just if 
someone wants to embed a color picker in their commercial app, your 
license prohibits them from using yours without permission. Ours does 
not, though it should be said, yours (I believe) does a lot more than 
ours does!

Perhaps you should consider a license similar to what Devolution has? 
One that allows individuals to use your products for free, but then pay 
if they want to include them in their own products. This way you could 
generate some cash from those wishing to avail themselves of your hard 
work :-)

best,
Chipp
Eric Chatonet wrote:
Hello Chipp,
I find your comment a little bit hard :-)
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: popup in selected text in unlocked field

2005-05-20 Thread Eric Chatonet
Hi Stephen,
Did you see Jacqueline's answer: I think she is right even if it's  
quite a job...
All the more reason since you might want to be cross-platform...

Le 20 mai 05 à 20:51, Stephen Barncard a écrit :
Mister X, Eric, thanks for your help - Eric is right, your code  
won't work on MacOS. There are forces at work here fighting me with  
some 'automatic' behavior in regard to the selection in a field.  
One thing it's trying to do is to select a single word, then it  
hangs on to that selection.

My major complaint about OSX is the way the simple text editing  
functions (probably at the firmware level) have radically changed,  
for the worse since OS9. It takes a lot more unneeded clicking (to  
edit a filename, for instance) to get around these multiple  
'helpful' behaviors in a field. And it used to be far easier doing  
tricks with the selection in a script. Is there a way to turn off  
that auto-stuff, for just a millisecond?
Unfortunately not :-(
But I may be wrong...
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
Plugins, tutorials and more on our 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
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: calculating max vscroll

2005-05-20 Thread Richard Gaskin
Chipp Walters wrote:
Yep, you're correct, they are, but if you're looking to scroll the text
to the bottom, then you would want to subtract the margin from the
formattedHeight as it's not necessary to include the bottom white space
to view the entire text.
I believe the overage is safe in his case, since the scroll will stop at 
the bottom of the entered text.

But for scrolling to any point other than the bottom you'll definitely 
want to include that consideration for the margin.

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


RE: calculating max vscroll

2005-05-20 Thread Lynch, Jonathan
Hm

I would have thought that the formattedheight - (height -
(topborder+bottomborder)) would have been precise - but it is off by 2
in this case.

The basic idea is to get to total height of the contents, and subtract
the height of the displayed portion of the contents. Is there anything
other than borderwidth that reduces the displayed contents from the
field height?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Sheffield
Sent: Friday, May 20, 2005 4:16 PM
To: How to use Revolution
Subject: Re: calculating max vscroll

No, it was set to the default 2.

On May 20, 2005, at 2:09 PM, Lynch, Jonathan wrote:

> Was your borderwidth = 3?
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Chris
> Sheffield
> Sent: Friday, May 20, 2005 4:04 PM
> To: How to use Revolution
> Subject: Re: calculating max vscroll
>
> Using (The formattedheight of field "myField1") - (the height of
> field "myfield1") doesn't seem to work quite right.  When I calculate
> that value for the field I get 67 (formattedHeight is 392 and height
> is 325).  When I scroll it to the max and check the vscroll property,
> it turns out to be 61 or 62, depending on whether I drag the
> scrollbar or use my mouse wheel, respectively (and that's another
> question:  why would it scroll more when using the mouse wheel?
> Seems odd to me).
>
> Anyway, the scrolling problem has gone away thanks to Jonathan.  I
> started looking at the borders of the two fields and that was the
> difference. Originally neither one had a border.  At one point I
> added a border to the main field, but didn't to the other. That was
> causing the weird scrolling behavior.  Once I added a border to the
> other field it worked fine.  :-)
>
> Thanks everyone.
>
>
>
> On May 20, 2005, at 1:50 PM, Dave Cragg wrote:
>
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: undo insertion into group

2005-05-20 Thread Dennis Brown
Eric,
This is exactly what I want to do, but it did not work.
On May 20, 2005, at 2:16 AM, Eric Chatonet wrote:
Hi Bob,
Buttons, fields, images, graphics, scrollbars, players and groups  
are controls:
put the number of controls
repeat for each control tControl in this card
I want to get the name (or number) of each control in a group.
get the number of controls in grp x  --works
repeat for each control c in anything --does not work for me
I guess I can always do it the other way:
  repeat with c=1 to the number of controls in grp grpName
get the name of control c of grp grpName
if it contains "label field" then next repeat
if word 1 of it is "button" then put it&cr after btnList
if word 1 of it is "field" then put it&cr after fldList
  end repeat
Dennis
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: FTP Help

2005-05-20 Thread Gregory Lypny
Thanks Robert Brenstein, Dave Cragg, and Dar Scott for the heads up.  
FTP caused the line feeds to be changed.  A replace did the trick.

Regards,

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


Re: Language ideas

2005-05-20 Thread Dar Scott
On May 20, 2005, at 1:15 PM, Robert Brenstein wrote:

 > if a is (b or c) then
Or if a = (b or c)
I find it ambiguous because it will interfere with normal 'or' clauses.
I agree.  I was so busy bragging about how I had done that before that 
I neglected to say that.  It was not ambiguous in that ancient case 
because = was not defined on booleans.


 > put a into b and c
Or put a into b,c This is something that would be good.
Akin to what can be done in C :) It could be a handy shortcut 
ocassionally but using 'and' here bother me since 'and' normally 
implies logical operation. May using comma would be better if there is 
a convincing justification to add it.
My first guess of the meanings of the two are not the same.
I had guessed that
   put a into b and c
would be the same as
   put a into b
   put a into c
I had guessed that
  put a into b, c
would be the same as
  put item 1 of a into b
  put item 2 to -1 of a into c
In both cases 'a' would be evaluated one time.
We already find cases where 'and' used in a syntactic sense that is not 
the operator 'and' and I agree--it is awkward.  However, comma is the 
same way.  One has to be careful in passing comma'd values as 
parameters.
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**

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


Small Note About CGI on OS X

2005-05-20 Thread Dan Shafer
I'm not 100% sure when this happened, but somewhere along the line  
(or so my Unix sysadmin friend tells me), Apple changed the  
configuration on Apache on OS X so that HTML files stored in the cgi- 
bin directory (aka "CGI Executables") will not be served  but will  
instead generate an "internal server error."

Now, the idea of storing non-executable files in the cgi-bin  
directory isn't smart to begin with, but I had a client who had done  
this early on and things worked OK until he upgraded to Tiger. (He'd  
skipped one or two upgrades in between, which is why we're not sure  
exactly when this happened.)

Anyway, don't do that. HTML and other non-executable files belong in  
the main (root) or document root directory on the Web server, not in  
the cgi-bin directory.

I now return you to your regularly scheduled and far more interesting  
programming.


~~
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Language ideas

2005-05-20 Thread Robert Brenstein
 > put a into b and c
Or put a into b,c This is something that would be good.
Akin to what can be done in C :) It could be a handy shortcut 
ocassionally but using 'and' here bother me since 'and' normally 
implies logical operation. May using comma would be better if there 
is a convincing justification to add it.
My first guess of the meanings of the two are not the same.
I had guessed that
   put a into b and c
would be the same as
   put a into b
   put a into c
I had guessed that
  put a into b, c
would be the same as
  put item 1 of a into b
  put item 2 to -1 of a into c
In both cases 'a' would be evaluated one time.
We already find cases where 'and' used in a syntactic sense that is 
not the operator 'and' and I agree--it is awkward.  However, comma 
is the same way.  One has to be careful in passing comma'd values as 
parameters.
--
Agreed that either is ambigous. For me, comma is a generic list 
separator (list of parameters, list of items) so it did not imply 
splitting a into items. But I can live with and as its usage here is 
somewhat parallel to 'answer xxx with cancel or OK' (I mean the or 
here).

May be a parallel should be sought in the sort command and thus
  put a into each of b,c
or
  put a into each of b and c
Robert
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Update on my progress

2005-05-20 Thread Thomas McGrath III
Yeah all alone. I plan on going camping for a week after this. I 
finished eight games as of today. The Boss got to see them and didn't 
understand a couple but absolutely loved the others. He didn't realize 
that I redid the Macromedia project in REV and got this WOW look on his 
face. Then he says so can you send it to our investors today on the PC. 
Huh... I just finished the Mac side. No Beta testing at all. SO I 
copied it over to a Windows XP machine and everything works great. Some 
fields that were white over a background graphic that was white showed 
up a little yellowish on the PC. You could tell they were different 
colors. So I will fix that and test some more and then send it out for 
their review on Monday.

What a wild ride. I love it. Truth be told I did burn out pretty much 
but now that I'm done I feel a lot better. The Boss said my eyes were 
bloodshot and dropping. I said OK then I'm taking a vacation. He said 
OK.

Now on to my Drag and Drop files and folders project.
Tom
P.S. Thanks to all of the support from this list. It really helps when 
you need it and helps keep focused.

Thanks
Tom
On May 20, 2005, at 12:18 PM, Alejandro Tejada wrote:

I have been coding non-stop now for three weeks.
Some days I put in
over eighteen hours, waking up in the middle of the
night and coding ideas down.
Wow! Are you working alone on this project?
How much faster will you work if you had help
from other developers?
I think that you will burning out yourself
if you keep that pace. :-(
Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Multiple standalones

2005-05-20 Thread Mark Wieder
Peter-

Friday, May 20, 2005, 12:52:29 PM, you wrote:

PTE> I know I could do that, but that is a pain in the backScript.

Actually, I like the current behavior. It allows me to run two
standalones back-to-back to make sure I haven't done something stupid
again. How hard can it be to drag a folder into the trash?

You shoulda seen the old version of the Standalone Builder, that not
only replaced the old standalone if you weren't careful, it also
removed the folder with your source...

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: Language ideas

2005-05-20 Thread Dar Scott
On May 20, 2005, at 4:29 PM, Robert Brenstein wrote:
May be a parallel should be sought in the sort command and thus
  put a into each of b,c
or
  put a into each of b and c
I think that is clearer.
Moreover, this generalization of 'each' as a chunk that can be 'put 
into' is interesting.

This might fit into some of my ponderings.
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Database Query Builder 2

2005-05-20 Thread HyperChris
Jan was kind enough to point me to the check box 'Cache record set' as a 
means of getting the DQB to upload changes made to a field when the 'Update 
Field 
after editing' option is checked in the Database section of the inspector. I 
had thought Cache'ing the record set meant it would NOT be rechecking the mySQL 
database for changes but instead it appears to mean something like 'Keep the 
local cache up to date!' This really needs to go into the documentation, and 
the little video primers, because it is too elusive for a newbie.

So now I can make changes but I still have one major hickup. If I click a 
button that is linked to the database such as a Next button set to 'Move to 
Next 
Record' then the field doesn't appear to ever get the close message needed to 
trigger the update. If I click any non DQB linked button or in the background 
then the save is made but if I go straight to a button like Next then the 
change is lost.

I created a workaround by putting the Next button off screen and then making 
a fake Next button that does this ...
 click at "1,1"   -- where there is nothing
 click at the loc of btn "Next"
... but that really slows things down. I suppose i could play with ways to 
speed things up but here again the DQB is supposed to be helping me knock this 
thing out quick.

Any other half-documented features out there to which i should be paying 
attetion ?Thanks.

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


Re: Update on my progress

2005-05-20 Thread Richard Gaskin
Thomas McGrath III wrote:
I have been coding non-stop now for three weeks. Some days I put in over 
eighteen hours, waking up in the middle of the night and coding ideas 
down. 
...
In contrast our Macromedia(Adobe) Director GURU spent two months on the 
engine and three weeks on just one of the games and he got most of it 
wrong. Many days of testing and asking him to make corrections and 
explaining what I need and what I meant.

I have been able to do it all in less than three weeks. Way cool...
I love spurts of intense activity like that.
One of the best programmers I've ever known pretty much lives in cycles 
like that:  intense non-stop flow zones for a few weeks, then takes a 
couple weeks off to drive around the eastern seaboard checking out good 
bands.

Sure, cycles like that can confuse spouses and pets, and it's probably a 
good idea to make sure you drink plenty of water (food is optional but 
water is a sometimes-forgotten necessity).  But to paraphrase the old 
Taoist masters, "Eat when you're hungry, sleep when you're tired, code 
when you're inspired." :)

Congratulations on getting the job, and done well.
I plan on going camping for a week after this. 
Where will you go: desert, mountains, or seaside?
I've been tempted to throw a SoCal Rev Campout in which we try the most 
daring of survival stunts:  to see if a group of Rev developers can 
spend the night in the desert without Rev.

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


Re: Update on my progress

2005-05-20 Thread Dan Shafer
Can we start a pool on how long the longest-lasting coder will stay  
disconnected?

On May 20, 2005, at 5:42 PM, Richard Gaskin wrote:
I've been tempted to throw a SoCal Rev Campout in which we try the  
most daring of survival stunts:  to see if a group of Rev  
developers can spend the night in the desert without Rev.


~~
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Setting permissions on server

2005-05-20 Thread Richard Gaskin
I remember once coming across something made in Transcript that set 
permissions of files on a server.

Of course, now I can't find it. :(
Who did that, and does it rely on telnet? (My ISP doesn't support telnet)
--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Update on my progress

2005-05-20 Thread Mark Wieder
Tom-

Congratulations.

There are great camping spots in Big Sur, and it's only an hour south
of Monterey...

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: Update on my progress

2005-05-20 Thread Thomas McGrath III
Actually,  lake side camping. Bring the dogs and meet with a few 
friends. Fish a little, Paint a little, snooze a little, talk alot.

Tom
On May 20, 2005, at 8:42 PM, Richard Gaskin wrote:
Congratulations on getting the job, and done well.
I plan on going camping for a week after this.
Where will you go: desert, mountains, or seaside?

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT about size...

2005-05-20 Thread Mark Wieder
Chipp-

Friday, May 20, 2005, 12:05:58 PM, you wrote:

CW> OOPS, sorry, I meant to say:

CW> My coding style favors readability and debugability over compactness and
CW> speed, except where speed is a real issue, (as in imagedata functions),
CW> then I'm all for it!

Whew! I'm glad you caught that. I was just about to post a scathing
rebuttal... :-}

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: -1 as last item problem

2005-05-20 Thread Richard Gaskin
Dennis Brown wrote:
Bug# 976 complains about the problem as a bug --resolved as not a bug  
due to compatibility with HyperCard
Bug#1137 complains about the problem as a lack of proper  documentation 
about the quirks of the language. --I voted for this also

It seems that nobody believes that this inconsistency is the desired  
behavior, but because HyperCard did it this way, that is the final  
answer. 
Well, it was the mother tongue, and it may confuse many more people and 
possibly break scripts if they changed it.

Personally my own preference is for the consistency you propose.  But 
before I vote for the bug I'd like to hear the rationale for HyperCard's 
behavior -- where's JK Calhoun when you need him?  I didn't always agree 
with his language recommendations but I did always respect the 
thoroughness of his thinking.

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


Re: Mac and PCs graphic speeds

2005-05-20 Thread Richard Gaskin
Eric Chatonet wrote:
Hi Richard,
Working with both Macs and PCs, I am always surprised by the BIG 
difference between graphic cards speeds.
I have to say that graphic cards on Macs are very slow compared to even 
cheap PC cards...
For instance, you use a dissolve effect FAST on a Mac since it appears 
too slow without adding fast.
Then you put the stack on a PC and you don't see nothing: It's already 
too fast :-)
I think the OS has a lot to do with that.  Why waste time on little 
things like the user's work when you can consume so much processing 
power with 16-layer alpha channels that make really cool demos?

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


  1   2   >