TAOO's action list

2005-05-09 Thread MisterX
Part of writing your own language, system or framework consists of making a
wide number of objects and verbs available for application use.
 
I just posted an auto-generated list from taoo' libraries. It's the second
list I publish (since the HyperCard XOS).



There's over a 1000 handlers although a few are just abbreviated or
alternative commands. Some verbs are irrelevant, and there's a few
breakdowns possible (per verb, per object, per library or context,
alphabetically, etc) to be reformated nicely in the future in the TAOO
Documentation currently under scripting. Note also the new PHP array
commands popping in (python will be next, the Moft NT library is not
included in this list). 
 
I just wanted to show you the breath of the environment. Im sure there's a
cool function for everyone in it. This list doesnt' have the 1000+ list of
calls and handlers in the HyperScriptLibrary.

Making it all available under one roof without any scripting required is
what I aim to do... So far it is coming very smoothly and faster every day! 

Comments welcome in the forums! Requests and suggestions too naturally ;)

cheers
Xavier
http://monsieurx.com/taoo

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


Undelete deleted .rev file on MacOSX

2005-05-09 Thread scott Yang

big problem.  deleted a sacred .rev file.  Now on OSX,
not easy to recover.  Afraid to even use this computer
for fear of over writing file.  Any suggestions on
recovering .rev files on the Mac OS X 1.3.9


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


Re:Unicode

2005-05-09 Thread pkc
Many thanks to Devin for his wonderful site. I am still hung up on a problem 
very closely related to Thomas McGrath's, however.  Like him, I am working on a 
project that calls for mixing Asian (in my case, Chinese) characters with 
English text.  Both the English and the Chinese elements are fixed, so I hit on 
the strategy of downloading the English text as an English text with markers 
for Chinese characters, then getting the client to feed characters from the 
Chinese text into the English text; then the client identifies the imported 
elements through reference to the list they came from and setting the textFont 
of the foundChunk to ",chinese."

This works extremely well on my machine (OS X). In fact, it works perfectly. 
However, nobody using it on a Windows machine gets the right characters (they 
get about 40% correct characters and the rest is junk).  this is very 
perplexing, since the whole point of Unicode is supposed to be that the 
characters are unique and will render correctly in either Mac or Windows. But 
they don't.

One thing I discovered in experimentation was that if I moved a Chinese file 
line by line into a new field I could get the same junk that Windows users are 
getting (the boxes --light or dark-- and random character elements in a 
meaningless string). (this was not a paste, which reproduces the textFont 
perfectly, as previously noted). It seemed to me that I was transferring not 
only the characters but also carriage-returns (is this possible??).  When I 
manually removed the spaces between characters, everything straightened up.  
The problem was that I was left with a field that the computer thinks has one 
character in it.  That won't work with my strategy --all the characters will go 
into the marker for the first character.

I think that could have been a blind alley, and now I am interested in the idea 
that Mac and Windows systems reverse the placement of the null character when 
dealing with UTF-16.  That could be why Windows users are picking up the 
carriage returns and Mac users are not. The problem is I don't see a way in 
Revolution to tell the computer to put the null characters where WIndows 
expects it to be. Oh, one thing I just thought of experimenting with... I have 
so far been making the editing software remove all empty spaces (they produce 
those weird cross things in Unicode). But maybe it would be healthier to make 
sure the empty spaces are there, in order to keep the character returns out of 
the WIndows character renderings?  No idea, will experiment and see if the 
results are any better.

If there is no Revolution trick that will fix this, I would like to know if 
there is a setting Windows users can use to get their Unicode to work the way 
Mac works.

A bit frustrating. I have the basis for a research portal that works very 
pleasantly on the Mac and looks insane on Windows.  Despite it all being in 
Unicode!

I'm still reading and still experimenting, but have sort of plateaued here.  
Quite a while since I had a breakthrough.  

Anyway, Tom, I sympathize.

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


Re: Larger Ask Dialog

2005-05-09 Thread Jeanne A. E. DeVoto
At 11:56 PM -0500 5/7/05, J. Landman Gay wrote:
The prompt area expands to fit, but the poster may have been asking 
about the text entry area. That's limited to a single line.
If I remember correctly, you could do this in HC by putting a 
multi-line default reply into the command:
  ask "What?" with return & return & return

Maybe someone should bugzilla this as a feature request? It shouldn't 
be difficult to implement in the ask stack.
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Table Field Docs?

2005-05-09 Thread Peter Reid
I'm very keen to use table fields but need to know how to load and 
unload a complete table field quickly and efficiently.  I've seen 
some of the earlier messages which mention "revReadCellValue", 
"revWriteCellValue", "cREVTable[]", "revDisplayFormattedData", but NO 
complete documentation for how to manipulate and display table fields.

It is somewhat of a cheat to claim that Rev supports "Spreadsheet 
fields" (see http://revolution.runrev.com/section/features.php for 
the claims)
but then doesn't provide ANY documentation for how to actually use 
them apart from when attached to database queries!!  Moreover, if you 
try to apply general field manipulation techniques things go really 
weird with edited cells still containing old values, etc.

Specifically, I want to be able to:
- load/unload a complete table in one go
- clear a table
- address individual cells for reading/writing
- fix the number of columns when tabbing across
- have table column headings that scroll as the data table scrolls
and I need proper documentation (or even SOME documentation!!) in 
order to do this.

Is there anyone on the list (or better still from RunRev) who can 
provide more comprehensive documentation for table fields, so I can 
REALLY use them?!

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


Re: Replying over a socket

2005-05-09 Thread Scott Slaugh
I think I figured out my problem. After looking at some scripts in the list 
archives, I tried sending a cr after my transmission. I had been using a LF. 
With the cr, it worked fine.

Scott Slaugh

On 5/9/05, Scott Slaugh <[EMAIL PROTECTED]> wrote:
> 
> I tried catching the socketError and socketTimeout messages, and I'm not 
> seeing anything. I did, however, discoer that if I comment out the read line 
> in my client script the server script works fine.
> 
> Scott Slaugh
> 
> On 5/9/05, Dar Scott <[EMAIL PROTECTED]> wrote:
> > 
> > 
> > On May 9, 2005, at 12:08 PM, Scott Slaugh wrote:
> > 
> > >> Maybe for initial testing you can use
> > >> "127.0.0.1:8080 
> > >> "
> > >>
> > 
> > Hmmm. That's not what I typed. Something is adding the URL. Maybe my
> > email is supposed to interpret that some way. I'm seeing what I typed
> > plus a URL in angle brackets. 
> > 
> > Dar
> > 
> > --
> > **
> > DSC (Dar Scott Consulting & Dar's Lab)
> > http://www.swcp.com/dsc/
> > A Sponsor of RevCon West 
> > **
> > 
> > ___
> > 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: Replying over a socket

2005-05-09 Thread Phil Davis
Hi Scott -
Wherever you write data to an app that's going to "read for 1 line", try 
terminating your text with a CR. Maybe that will help.

Phil Davis
Scott Slaugh wrote:
I am trying to set up a program where a client requests some information 
from a server, which is then sent back to the client over the same socket. I 
tried using this script in the server:

on startListen
accept connections on port 8080 with message newRequest
end startListen
on newRequest theSocket
read from socket theSocket for one line
answer it
write "message received" to socket theSocket
close socket theSocket
end newRequest
In the client, I put this in a button:
on mouseUp
open socket to "1.1.1.1:8080 "
write "some request" to socket "1.1.1.1:8080 "
read from socket "1.1.1.1:8080 " for one line
answer it
close socket "1.1.1.1:8080 "
end mouseUp
However, the above script does not work. I end up just getting to blank 
answer boxes on both machines after the sockets time out. I would really 
like to be able to have my request and response go out over the same socket. 
Additionally, I would like the client handler to pause until the response is 
received, since it is acting as a request command. Has anyone done anything 
like this, or know what I need to do to get this working?

Scott Slaugh
___
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: "Type" issue?

2005-05-09 Thread Alex Tweedly
J. Landman Gay wrote:
I'm not convinced this is really a bug. The "type" command is meant to 
simulate actual keyboard events, and if a script issues a "type" 
command, it needs to behave exactly as though the user were typing. 
So, I'd expect it to send all related messages.

It is very unusual to send a "type" command within a keydown handler; 
the usual approach would be to "put" the text into/after the field. 
Simulating a typing event inside a keydown seems to me to be a 
developer issue, just as a repeat loop with no exit command would be.

I think you're right. I hadn't seen or used 'type' before, and had 
somehow got it into my mind that it should send only one of rawKeyDown 
and keyDown - but I guess they both have to happen to accurately 
simulate typing.

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

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


Re: Replying over a socket

2005-05-09 Thread Scott Slaugh
I tried catching the socketError and socketTimeout messages, and I'm not 
seeing anything. I did, however, discoer that if I comment out the read line 
in my client script the server script works fine.

Scott Slaugh

On 5/9/05, Dar Scott <[EMAIL PROTECTED]> wrote:
> 
> 
> On May 9, 2005, at 12:08 PM, Scott Slaugh wrote:
> 
> >> Maybe for initial testing you can use
> >> "127.0.0.1:8080 
> >> "
> >>
> 
> Hmmm. That's not what I typed. Something is adding the URL. Maybe my
> email is supposed to interpret that some way. I'm seeing what I typed
> plus a URL in angle brackets.
> 
> Dar
> 
> --
> **
> DSC (Dar Scott Consulting & Dar's Lab)
> http://www.swcp.com/dsc/
> A Sponsor of RevCon West
> **
> 
> ___
> 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: "Type" issue?

2005-05-09 Thread J. Landman Gay
On 5/9/05 6:05 AM, John Ridge wrote:
Thanks, Alex - now I see what the Message Watcher is for!
It looks as if the command "type" is behaving improperly. It shouldn't send
a keyDown message as well as the rawkeyDown message. I infer that I must be
the first person to issue the command inside a keyDown handler. Well, I said
it was a silly script.
To get the infinite loop, try the following very simple script:-
on keyDown
type "Hello World"
end keyDown
But make sure you have saved all open documents first!

I'm not convinced this is really a bug. The "type" command is meant to 
simulate actual keyboard events, and if a script issues a "type" 
command, it needs to behave exactly as though the user were typing. So, 
I'd expect it to send all related messages.

It is very unusual to send a "type" command within a keydown handler; 
the usual approach would be to "put" the text into/after the field. 
Simulating a typing event inside a keydown seems to me to be a developer 
issue, just as a repeat loop with no exit command would be.

--
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: Replying over a socket

2005-05-09 Thread Dar Scott
On May 9, 2005, at 12:08 PM, Scott Slaugh wrote:
Maybe for initial testing you can use 
"127.0.0.1:8080
"

Hmmm.  That's not what I typed.  Something is adding the URL.  Maybe my 
email is supposed to interpret that some way.  I'm seeing what I typed 
plus a URL in angle brackets.

Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
A Sponsor of RevCon West
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Replying over a socket

2005-05-09 Thread Scott Slaugh
On 5/9/05, Dar Scott <[EMAIL PROTECTED]> wrote:
> 
> 
> On May 9, 2005, at 11:07 AM, Scott Slaugh wrote:
> 
> > write "message received" to socket theSocket
> ...
> > read from socket "1.1.1.1:8080  <
> http://1.1.1.1:8080>" for one line
> 
> The first line does not write a line ending and the second expects it.



I'll try tacking on a line ending a bit later.

> open socket to "1.1.1.1:8080  "
> 
> Address 1.1.1.1  is a reserved public (Internet) address. 
> Are you using
> this as a private address? That should work, but there might be
> problems. Maybe for initial testing you can use 
> "127.0.0.1:8080
> "


1.1.1.1  is just an address I typed in when sending it to 
the list. I'm actually using a different address when actually testing.

I assume you have nothing else that might be listening on 8080. Check
> 'the result' for everything. You might try some other port.
> 
> Handle the socketClosed, socketError and the timeout messages and put
> status displaying stuff there.
> 
> > Additionally, I would like the client handler to pause until the
> > response is
> > received, since it is acting as a request command.
> 
> If you would like to do stuff while that is waiting, then use 'with
> '.
> 
> Dar
> 
> --
> **
> DSC (Dar Scott Consulting & Dar's Lab)
> http://www.swcp.com/dsc/
> A sponsor of RevCon West '05
> **
> 
> ___
> 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: expand the boundaries of a group

2005-05-09 Thread MisterX
> If the user (via a button) inserts a field or button into the 
> group BobsEmptyGroup, will they inherit the background 
> behaviour of the group and be visible on all cards?

Bob,

What properties (or script abilities) are inherited (fonts for example) and
which are not (custom props or geometry) are good examples of why a visual
object hierarchy is worth or not worth using... 

Depends much on the application too. The good news, is that it's all
overideable or exceptionable (new snipppet: a computer change that doesn't
happen because it shouldn't (not because it must imperatively work instead
of failing))!

That a stack, background, card or group tells its children-objects or
controls what to do or what to wear is cool. That a control cannot do what
it wants because of inheritance, is a bummer... Sorry for the possible
connotations - restrict to computer imagery.

Heard that somewhere, but where? ;) Individual's expression? Teenage
rebellion?  

Here's 3 new GIM scripthandlers:

resizeMenuGroupObject
resizeTabMenuGroups
resizeObjectGroup

Guess what they do?

Next on the list:
ResizeGroupObjs objs, behavior
Columns, Rows, Tables in tables, the lot?

No scripting required at all for a GM in TAOO! 
I adopted the concept thursday, it's great! 

It is inherited but overideable naturally.
Exceptional efficiency and support requirements ;)

cheers
Xav

http://monsieurx.com/taoo

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> [EMAIL PROTECTED]
> Sent: Monday, May 09, 2005 16:10
> To: How to use Revolution
> Subject: Re: expand the boundaries of a group
> 
> Quoting Klaus Major <[EMAIL PROTECTED]>:
> 
> > Hi Bob,
> 
> Hi Klaus
> 
> > >  Is there
> > > a way to
> > > make the group area as big as the card?
> >
> > Sure :-)
> >
> > Resize your group as big as you like*** and then (and this is the
> > trick!) go to the
> > inspector, selct "Size and Position" for that group and check 
> > "Lockloc"...
> >
> > That will make your group ALWAYS stay as big as you sized it.
> 
> Ahhh the problem is the user will not have revolution adn 
> they add the fields.
> 
> see below, I have the answer..
> >
> > Hope that helps...
> >
> > ***You can also use the message box/script:
> > set the rect of grp "Your group name here..." to the rect 
> of this card
> >
> Right Klaus, Again you have come up trumps :-)
> 
> All I need to do is put in an empty group on the first card 
> of my cloned stack.
> I'll call it BobsEmptyGroup and put it on the first card of 
> the stack and set its background behaviour to true.
> Then if I put in the script set the rect of grp 
> "BobsEmptyGroup" to the rect of this card,I should be 
> able to insert the fields into the group.
> 
> Now here is the follow up question. :-)
> 
> If the user (via a button) inserts a field or button into the 
> group BobsEmptyGroup, will they inherit the background 
> behaviour of the group and be visible on all cards?
> 
> All the best
> Bob
> 
> 
> 
> ___
> 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: Replying over a socket

2005-05-09 Thread Dar Scott
On May 9, 2005, at 11:07 AM, Scott Slaugh wrote:
write "message received" to socket theSocket
...
read from socket "1.1.1.1:8080 " for one line
The first line does not write a line ending and the second expects it.
open socket to "1.1.1.1:8080 "
Address 1.1.1.1 is a reserved public (Internet) address.  Are you using 
this as a private address?  That should work, but there might be 
problems.  Maybe for initial testing you can use "127.0.0.1:8080"

I assume you have nothing else that might be listening on 8080.  Check 
'the result' for everything.  You might try some other port.

Handle the socketClosed, socketError and the timeout messages and put 
status displaying stuff there.

Additionally, I would like the client handler to pause until the 
response is
received, since it is acting as a request command.
If you would like to do stuff while that is waiting, then use 'with 
'.

Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
A sponsor of RevCon West '05
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Replying over a socket

2005-05-09 Thread Scott Slaugh
I am trying to set up a program where a client requests some information 
from a server, which is then sent back to the client over the same socket. I 
tried using this script in the server:

on startListen
accept connections on port 8080 with message newRequest
end startListen

on newRequest theSocket
read from socket theSocket for one line
answer it
write "message received" to socket theSocket
close socket theSocket
end newRequest

In the client, I put this in a button:

on mouseUp
open socket to "1.1.1.1:8080 "
write "some request" to socket "1.1.1.1:8080 "
read from socket "1.1.1.1:8080 " for one line
answer it
close socket "1.1.1.1:8080 "
end mouseUp

However, the above script does not work. I end up just getting to blank 
answer boxes on both machines after the sockets time out. I would really 
like to be able to have my request and response go out over the same socket. 
Additionally, I would like the client handler to pause until the response is 
received, since it is acting as a request command. Has anyone done anything 
like this, or know what I need to do to get this working?

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


Re: Flash in QuickTime 7?

2005-05-09 Thread Trevor DeVore
On May 9, 2005, at 4:50 AM, Terry Vogelaar wrote:
Hi all,
I tried to open a .SWF file in the QuickTime 7 Player, but it  
doesn't seem to work anymore. I guess Apple dropped that  
functionality.

That probably also means that Runtime Revolution cannot play Flash  
movies anymore, because it relied on QuickTime to handle this...
This might be important for some.
Flash 5 is still supported.  There have not been any major  
improvements in the support of Flash for version 7.  Hardly anything  
received much notice in the playback arena besides audio and video  
since QT 7 was such a major rewrite.  Hopefully in the following  
updates we will see some improvements.

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


Re: New Image Transparency Demo with Threshold feature..

2005-05-09 Thread Derek Bump
Chipp Walters wrote:
While I understand your sentiment, I disagree with your conclusion. The 
original altTrans script was created for Ken Ray who wanted to use it on 
32x32 icons, for which it was plenty fast. I also use altConvolve to 
create blur shadows for small buttons in ButtonGagdet. I consider both 
cases to be 'real world.'
My apologies, by 'real world' I meant all image dimensions, not just 
icons and thumbnails.

The demo I created (alluded to in the subject of this email), had a max 
size it could be used. I found it worked fine on all my computers with 
images up to the max size, and never did I see anything close to a 30 
second wait time.
I modified the script and removed the size restriction.  Then I loaded a 
photo that was 1024 by 768.  It took just about 30 seconds to complete.

Again, the algorithm is there for anyone to convert to a C function and 
either 'shell' to, or create an external with.
Could you elaborate on 'shell' to?  Since my experience with compiling C 
is proving to be difficult, a way to execute the script from the shell 
for faster results would definitely be an alternative.

As always, if you don't like it, don't use it.
Please understand, it was not my intention to offend.  Your script is 
great, as most of your scripts are.  I was just trying to show that 
Transcript needs to speed up for (large) image manipulation purposes.

Regarding the altConvolve fix, thanks for your comment and I'm very 
sorry I didn't get back to you. I only now found it in my email, and it 
does appear you have a good hypothesis on why the external doesn't work. 
Unfortunately, I'm not an external writer-- though I hope to create some 
simple ones soon, with tutorials on how they're done. Perhaps that's a 
good one to start with!
That's OK. :)  I'm going to keep attempting to build the external with 
the resources that I have, but if I don't get it to work soon then I'll 
be dropping down $150 to have it compiled for me (definitely a loss when 
your software is free).

As far as a tutorial on building externals, it would be a wonderful tool 
to help with the furtherment of Revolution.  Honestly I'd like to think 
the folks at Runtime Revolution are creating a tutorial or walk-through 
of some sorts.  The Externals SDK contradicts the "Programming made 
easy" feeling that Revolution tries to promote.

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


Re: expand the boundaries of a group

2005-05-09 Thread Klaus Major
Hi Bob,
Hi Klaus
 Is there a way to
make the group area as big as the card?
Sure :-)
Resize your group as big as you like*** and then (and this is the
trick!) go to the
inspector, selct "Size and Position" for that group and check
"Lockloc"...
That will make your group ALWAYS stay as big as you sized it.
Ahhh the problem is the user will not have revolution adn they add  
the fields.
see below, I have the answer..

Hope that helps...
***You can also use the message box/script:
set the rect of grp "Your group name here..." to the rect of this  
card
Right Klaus, Again you have come up trumps :-)
:-)
All I need to do is put in an empty group on the first card of my  
cloned stack.
I'll call it BobsEmptyGroup and put it on the first card of the  
stack and set
its background behaviour to true.
Then if I put in the script set the rect of grp  
"BobsEmptyGroup" to the rect
of this card,I should be able to insert the fields into the group.
Yes...
Now here is the follow up question. :-)
If the user (via a button) inserts a field or button into the group
BobsEmptyGroup, will they inherit the background behaviour of the  
group and be
visible on all cards?
Sure, since the GROUP does have that behaviour, so it does not matter  
if and/or how
many controls are in that group! Cool, innit?!! ;-)

All the best
Bob
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: expand the boundaries of a group

2005-05-09 Thread rev
Quoting [EMAIL PROTECTED]:

> Hi Bob,

Hi Xavier
>
> Just make the rect of the group larger before your resize. I tend to
> locklocation each group
> to make sure it is always correctly refreshed. Then you can resize/move
> the buttons without
> loosing sight of them...

Excellent suggestion. See the reply I gave to Klaus's suggestion. This and your
suggestion is perfect...

Cheers
Bob
>
> cheers
> Xavier
>

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


Re: expand the boundaries of a group

2005-05-09 Thread rev
Quoting Klaus Major <[EMAIL PROTECTED]>:

> Hi Bob,

Hi Klaus

> >  Is there
> > a way to
> > make the group area as big as the card?
>
> Sure :-)
>
> Resize your group as big as you like*** and then (and this is the
> trick!) go to the
> inspector, selct "Size and Position" for that group and check
> "Lockloc"...
>
> That will make your group ALWAYS stay as big as you sized it.

Ahhh the problem is the user will not have revolution adn they add the fields.

see below, I have the answer..
>
> Hope that helps...
>
> ***You can also use the message box/script:
> set the rect of grp "Your group name here..." to the rect of this card
>
Right Klaus, Again you have come up trumps :-)

All I need to do is put in an empty group on the first card of my cloned stack.
I'll call it BobsEmptyGroup and put it on the first card of the stack and set
its background behaviour to true.
Then if I put in the script set the rect of grp "BobsEmptyGroup" to the rect
of this card,I should be able to insert the fields into the group.

Now here is the follow up question. :-)

If the user (via a button) inserts a field or button into the group
BobsEmptyGroup, will they inherit the background behaviour of the group and be
visible on all cards?

All the best
Bob



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


Re: expand the boundaries of a group

2005-05-09 Thread Klaus Major
Hi Bob,
Hi All.
I have been experimenting with some simple grouping. If I have a  
stack of one
size and put 3 controls on it and group them, then the group is  
only as big as
the area of the controls. Now I have a problem, since my controls are
resizeable by the user, therefore, when the resize to bigger than  
the original
group area, the resized controls are not totally visible. Is there  
a way to
make the group area as big as the card?
Sure :-)
Resize your group as big as you like*** and then (and this is the  
trick!) go to the
inspector, selct "Size and Position" for that group and check  
"Lockloc"...

That will make your group ALWAYS stay as big as you sized it.
Hope that helps...
***You can also use the message box/script:
set the rect of grp "Your group name here..." to the rect of this card
Cheers
Bob
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: expand the boundaries of a group

2005-05-09 Thread xbury . cs
Hi Bob,

Just make the rect of the group larger before your resize. I tend to 
locklocation each group
to make sure it is always correctly refreshed. Then you can resize/move 
the buttons without
loosing sight of them...

cheers
Xavier

On 09.05.2005 14:56:59 use-revolution-bounces wrote:
>Hi All.
>
>I have been experimenting with some simple grouping. If I have a stack of 
one
>size and put 3 controls on it and group them, then the group is only as 
big as
>the area of the controls. Now I have a problem, since my controls are
>resizeable by the user, therefore, when the resize to bigger than the 
original
>group area, the resized controls are not totally visible. Is there a way 
to
>make the group area as big as the card?
>
>Cheers
>Bob
>
>
>___
>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


expand the boundaries of a group

2005-05-09 Thread rev

Hi All.

I have been experimenting with some simple grouping. If I have a stack of one
size and put 3 controls on it and group them, then the group is only as big as
the area of the controls. Now I have a problem, since my controls are
resizeable by the user, therefore, when the resize to bigger than the original
group area, the resized controls are not totally visible. Is there a way to
make the group area as big as the card?

Cheers
Bob


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


Re: Here is the ChatRev Transcript

2005-05-09 Thread graham samuel
On Mon, 09 May 2005 00:22:34 +0100, Alex Tweedly <[EMAIL PROTECTED]> 
wrote:
graham samuel wrote:
What happened to the protocol? for someone that wasn't there, I found
the transcript almost unreadable, with people interrupting each other,
and I couldn't work out if Kevin had in fact answered (or rejected)
all the questions he was asked. The first chat transcript was really
well-ordered. I suspect it was Jacque's influence; but whatever it
was, I hope for more discipline next time.
Different contexts. The first one was the Scripting Conference - first
in a series of well-organized and well-run on-line conferences -
featuring stacks of info prepared ahead of time, with follow-up
questions. And a protocol, and a Protocol Enforcer.
This was a fairly informal chat session where Kevin answered questions,
with much more open discussion. No protocol.
Yes, my bad, I hadn't realised that. I was too preoccupied with other 
things to note the context. Still, all multi-person conversations need 
some kind of protocol, even in a face-to-face situation, although as 
adults we have internalised the rules, in general. I remember one of my 
grandchildren being told to 'wait for a gap in the conversation' - this 
was in fact protocol training!

[snip]
Maybe if he repeats this chat session, we can nominate a moderator to
funnel questions through, so that she selects a topic/question, and
everyone sticks more or less to it for a little while, then select the
next one, etc.
Yes - I hope someone can suggest such a protocol so that it's available 
as a model for future chats. I just want to emphasise this because I do 
think that the chat session is a very valuable tool, given Kevin's 
willingness to cooperate.

Graham

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


Re: help on adding value in temp variable

2005-05-09 Thread graham samuel
On Sun, 08 May 2005 08:59:19 -0500, Paul Salyers <[EMAIL PROTECTED]> 
wrote:
I got the above problem fixed, miss directed links.
however I'm now having this problem.
on mouseUp
   put "+" into
tFx -- Store 
the +
for use later
   put tFx into field
"Fx"-- See for sure 
the +
is being stored
   put  "1" into field "doWhat" --
program handler if the text of field "doWhat" = "1" do this else do 
this
   put field "Answer" into tfkey
   put value ( field "AddTo") Fx (tfkey) into field "AddTo"  --  Add 
the
fields together

end mouseUp
of I use
on mouseUp
   --put "+" into tFx
   put tFx into field "Fx"
   put  "1" into field "doWhat"
   put field "Answer" into tfkey
   put value ( field "AddTo") + (tfkey) into field "AddTo"
end mouseUp
It works ok. How to I use "tFX" as a "+"
Paul, others have solved the problem indicated in your message, but I 
hope I don't cause offence by saying I have feeling from your posts 
that there is perhaps another level of problem for you in 'getting' the 
Revolution/Transcript context. For example, you seem to be programming 
a calculator (what would be the point of using your tFX variable if it 
couldn't have different values, such as '+', '-', -'/', '**' ?) but it 
is not clear (to me anyway) what the context for this calculator is, 
though I half think it's to allow your user to input simple arithmetic 
statements via a dialog. If you could explain this some more, maybe 
members of the list could suggest a more structured approach which 
might be illuminating.

Just my 2 Eurocents
Graham

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


Re: Flash in QuickTime 7?

2005-05-09 Thread Ken Ray
On 5/9/05 6:50 AM, "Terry Vogelaar" <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> I tried to open a .SWF file in the QuickTime 7 Player, but it doesn't
> seem to work anymore. I guess Apple dropped that functionality.

What version of the Flash SWF were you using? Since QT support for Flash
movies is always at least one version back, could it be that your SWF is too
"new"?

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


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


Re: "Type" issue?

2005-05-09 Thread Alex Tweedly
John Ridge wrote:
Thanks, Alex - now I see what the Message Watcher is for!
It looks as if the command "type" is behaving improperly. It shouldn't send
a keyDown message as well as the rawkeyDown message. I infer that I must be
the first person to issue the command inside a keyDown handler. Well, I said
it was a silly script.
To get the infinite loop, try the following very simple script:-
on keyDown
type "Hello World"
end keyDown
But make sure you have saved all open documents first!
 

No, you're probably the 4,000th - but the others weren't considerate 
enough to enter a Bugzilla report about it :-)

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

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


Flash in QuickTime 7?

2005-05-09 Thread Terry Vogelaar
Hi all,
I tried to open a .SWF file in the QuickTime 7 Player, but it doesn't 
seem to work anymore. I guess Apple dropped that functionality.

That probably also means that Runtime Revolution cannot play Flash 
movies anymore, because it relied on QuickTime to handle this...
This might be important for some.

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


"Type" issue?

2005-05-09 Thread John Ridge
Thanks, Alex - now I see what the Message Watcher is for!

It looks as if the command "type" is behaving improperly. It shouldn't send
a keyDown message as well as the rawkeyDown message. I infer that I must be
the first person to issue the command inside a keyDown handler. Well, I said
it was a silly script.

To get the infinite loop, try the following very simple script:-

on keyDown
type "Hello World"
end keyDown

But make sure you have saved all open documents first!


-- 


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


OT: Apple V Apple. Legal lunacy?

2005-05-09 Thread rev
Well Apple computer is taking action aginst Apple music (the beatles' company)
to see who can use the name for music. H wasn't the beatles firm around in
the 1960's. I should have been a lawyer and not a scientist. :-)

Cheers
Bob; and sorry for the OT post.



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


Re: "Type" issue?

2005-05-09 Thread Eric Chatonet
Hi John,
I had a closer look to your handler:
If you use the type command you don't have to pass the message since 
you run into an infinite loop.
Just comment the pass keyDown line and it will work :-)

Best regards,
Le 9 mai 05, à 12:03, Alex Tweedly a écrit :
Thanks, Eric - but that's not the problem. I was assuming that the 
user had
clicked in the text field first, then typed. When I "select" as you 
suggest,
the attempt to "type whichKey" still breaks the function. But
"put whichKey" doesn't break it.

Amicalement,
Eric Chatonet.

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

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

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


Re: "Type" issue?

2005-05-09 Thread Alex Tweedly
John Ridge wrote:
While playing around with numToChar and so on, I put the following silly
script into a card. It is intended to substitute random characters for the
one the user types into a text field on the card.
function randomInRange lowerLimit,upperLimit
return random(upperLimit - lowerLimit + 1) + lowerLimit - 1
end randomInRange
on keyDown whichKey
 put randomInRange (120, 150)into fakeKey
 put numtoChar (fakeKey)into whichKey
 put whichKey
pass keyDown
end keyDown
Really silly, of course. As it stands, it simply displays the random
character in the message box. But if I change "put whichKey" to "type
whichKey", I get an error message - there is a problem with the function
handler. I'm puzzled - there wasn't a problem with the function handler a
moment ago. Why does the change from "put" to "type" generate one? Duh...
 

Interesting - I hadn't noticed the "type" command before. The docs say
Comments:
The type command sends a rawKeyDown and rawKeyUp message to the 
current card for each character typed.
and I wasn't sure what the relationship would be between rawKeyDown and 
keyDown.

I discovered that using type results in both a rawKeyDown and a keyDown 
for each character being "typed".

So in your case, you have an infinite loop - each keydown event causes a 
"type" event which cause both a rawkeydown and a keydown (as well as 
passing the keydown) - and that causes a "type" ...

still not sure why that sometime results in a "problem with function 
handler" - for me it did that one time out of three - the other twice I 
got stuck in infinite loop and couldn't break out.

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

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


RE "Type" issue

2005-05-09 Thread John Ridge
Thanks, Eric - but that's not the problem. I was assuming that the user had
clicked in the text field first, then typed. When I "select" as you suggest,
the attempt to "type whichKey" still breaks the function. But
"put whichKey" doesn't break it.

Help!
-- 


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


Re: "Type" issue?

2005-05-09 Thread Eric Chatonet
Hi John,
The type command can't work when the insertion point is not placed in a 
field.
So, you might try something like

select text of fld "Result"
type whichKey
Best regards,
Le 9 mai 05, à 11:31, John Ridge a écrit :
While playing around with numToChar and so on, I put the following 
silly
script into a card. It is intended to substitute random characters for 
the
one the user types into a text field on the card.

function randomInRange lowerLimit,upperLimit
 return random(upperLimit - lowerLimit + 1) + lowerLimit - 1
end randomInRange
on keyDown whichKey
  put randomInRange (120, 150)into fakeKey
  put numtoChar (fakeKey)into whichKey
  put whichKey
 pass keyDown
end keyDown
Really silly, of course. As it stands, it simply displays the random
character in the message box. But if I change "put whichKey" to "type
whichKey", I get an error message - there is a problem with the 
function
handler. I'm puzzled - there wasn't a problem with the function 
handler a
moment ago. Why does the change from "put" to "type" generate one? 
Duh...
Amicalement,
Eric Chatonet.

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

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

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


"Type" issue?

2005-05-09 Thread John Ridge
While playing around with numToChar and so on, I put the following silly
script into a card. It is intended to substitute random characters for the
one the user types into a text field on the card.

function randomInRange lowerLimit,upperLimit
 return random(upperLimit - lowerLimit + 1) + lowerLimit - 1
end randomInRange

on keyDown whichKey
  put randomInRange (120, 150)into fakeKey
  put numtoChar (fakeKey)into whichKey
  put whichKey
 pass keyDown
end keyDown

Really silly, of course. As it stands, it simply displays the random
character in the message box. But if I change "put whichKey" to "type
whichKey", I get an error message - there is a problem with the function
handler. I'm puzzled - there wasn't a problem with the function handler a
moment ago. Why does the change from "put" to "type" generate one? Duh...
-- 


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


Re: New Image Transparency Demo with Threshold feature..

2005-05-09 Thread Chipp Walters
Derek Bump wrote:
Your script, like the altConvolve script, is just fine for small images. 
 But as soon as you apply it to a real world image, like one from a 
digital camera...well, most people would think that it crashed instead 
of waiting 30 seconds for it to process.
Hi Derek,
While I understand your sentiment, I disagree with your conclusion. The 
original altTrans script was created for Ken Ray who wanted to use it on 
32x32 icons, for which it was plenty fast. I also use altConvolve to 
create blur shadows for small buttons in ButtonGagdet. I consider both 
cases to be 'real world.'

The demo I created (alluded to in the subject of this email), had a max 
size it could be used. I found it worked fine on all my computers with 
images up to the max size, and never did I see anything close to a 30 
second wait time.

Again, the algorithm is there for anyone to convert to a C function and 
either 'shell' to, or create an external with.

As always, if you don't like it, don't use it.
Regarding the altConvolve fix, thanks for your comment and I'm very 
sorry I didn't get back to you. I only now found it in my email, and it 
does appear you have a good hypothesis on why the external doesn't work. 
Unfortunately, I'm not an external writer-- though I hope to create some 
simple ones soon, with tutorials on how they're done. Perhaps that's a 
good one to start with!

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