Re: Missing Data

2005-08-30 Thread Sarah Reichelt

I'm using

Open file "COM1:"
read from file until empty
put it into Received
Close file "COM1:"

If the hardware i'm talking to on RS232 is set to echo sent  
commands it works fine and i get all the data.


If i set the hardware not to echo sent commands then most of the  
data is missing ?


You might like to try my Serial Test stack available at: www.troz.net/Rev/>.
It handles this sort of stuff for you, opening a port, writing to it,  
then repeatedly reading from the port to catch any incoming data.


HTH,
Sarah

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


Re: question about mainStack scripts

2005-08-30 Thread Sarah Reichelt
In my main stack there is a preOpenCard handler.  Now, every time  
one  of my many subStacks is opened, the preOpenCard handler of  
the main  stack tries to run, and since it involves objects unique  
to that  stack, and the handler is trying to perform itself in the  
subStack,   I get an error, something like "oject doesn't exist, "




The script of the mainstack is accessible from all substacks,  
acting as  a common repository of handlers, so what you're seeing  
is normal.


Three ways to have your mainstack-specific scripts only triggered  
in the mainstack:


- If the mainstack has only one card, consider putting the  
mainstack-specific scripts at the card-level.


- If the mainstack has multiple card you might consider adding a  
shared group and putting its mainstack-specific stuff there.


- You could also consider moving the mainstack and all of the  
substacks into a new mainstack which is kept fairly minimal; that  
way all of your stacks have their own discrete space, and you still  
have a mainstack to use as a central repository.


and two more ways :-)

- as Eric suggests, have a check in the preOpenStack handler to make  
sure you are using the correct stack.


- have preOpenStack handlers in all your substacks (they can be empty  
if you don't need to do anything), and don't "pass" them. That will  
trap the preOpenStack handler message and stop it passing up the  
hierarchy to the mainStack.


Cheers,
Sarah

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


RE: Magnifying a shrunken image --- without using imageData

2005-08-30 Thread Roger . E . Eller
Many thanks to Jonathan, Dave, Joel, and MisterX! Your advice and coding 
expertise has resulted in a solution that I am very pleased with. Special 
thanks to Jonathan for straightening out my math.  ;-)

Roger Eller <[EMAIL PROTECTED]>

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


RE: Magnifying a shrunken image --- without using imageData

2005-08-30 Thread Roger . E . Eller
Dave,

I have been working on the problem since you posted your first suggestion, 
and you were exactly right. Now I am trying to work out the position 
correlation between the scaled image and the full size image in a window. 
Your method maintains the original quality like I want it to.

Thanks.
Roger Eller <[EMAIL PROTECTED]>


> Hi,
> 
> Well maybe I misunderstand the problem then!
> 
> In my case I have images that are around 1500 x 500 pixels  in size.
> I show a preview of this in a separate image which is scaled so the
> width is 250 pixels and the height adjusts depending on the aspect
> ratio. From re-reading the original post,  Roger wants to take a
> portion of the smaller preview image and scale it up. If you scale
> from the preview, then a lot of data has already been lost, so he
> wants to get the data from the original image, scaled from the
> preview. If you take the data from the preview and then scale it, it
> will become pixilated, the extent of this pixelation will obviously
> depend on the size of the original and the size of the preview. In my
> case the loss was just too great, and anyway, it's still much better
> to scale from the original if you are looking for the best quality.
> 
> All the Best
> Dave
> 
> 
>>I tried it - works fine. The original imagedata is contained in the
>>copied image - so no problem with pixel loss.

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


RE: Magnifying a shrunken image --- without using imageData

2005-08-30 Thread Lynch, Jonathan
You can take a full size image, change its size, and set its
locklocation to true.

This image will be small on screen, but will contain its original
imagedata. You can do just like you suggested - setting its width to its
formattedwidth, and its height to its formattedheight, to reset the
image to its original size without pixil loss.

Now, if you change/edit the image while it is in a small size then its
imagedata will change.

I am basically doing mostly what you suggested to begin with - working
from the original image data. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Burgun
Sent: Tuesday, August 30, 2005 2:06 PM
To: How to use Revolution
Subject: RE: Magnifying a shrunken image --- without using imageData

Hi,

Well maybe I misunderstand the problem then!

In my case I have images that are around 1500 x 500 pixels  in size. 
I show a preview of this in a seperate image which is scalled so the 
width is 250 pixels and the height adjusts depending on the aspect 
ratio. From re-reading the original post,  Roger wants to take a 
portion of the smaller preview image and scale it up. If you scale 
from the preview, then a lot of data has already been lost, so he 
wants to get the data from the original image, scalled from the the 
preview. If you take the data from the preview and then scale it, it 
will become pixelated, the extent of this pixelation will obviously 
depend on the size of the original and the size of the preview. In my 
case the loss was just too great, and anyway, it's still much better 
to scale from the original if you are looking for the best quality.

All the Best
Dave



>I tried it - works fine. The original imagedata is contained in the
>copied image - so no problem with pixil loss.
>
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of David
>Burgun
>Sent: Tuesday, August 30, 2005 10:44 AM
>To: How to use Revolution
>Subject: RE: Magnifying a shrunken image --- without using imageData
>
>Hi,
>
>I think the problem is that it will still be very pixelated, it was
>when I was trying to do something similar. I came to the conclusion
>that the only way to do this properly was to work from the original
>image and scale everything to suit. It works great using my external,
>but I think it should work for what Roger wants using the technique I
>described earlier.
>
>All the Best
>Dave
>
>>Expanding on Xavier's idea - you could also copy the image into a
>group.
>>
>>The group would need to have its locklocation set to true, and have
>>vertical and horizontal scrollbars.
>>
>>After you copy the image, set its width and height to whatever
>>magnification you want. The only parts visible will be inside the
>group,
>>and you can use the scrollbars to move around to different parts of
the
>>image.
>>
>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] On Behalf Of MisterX
>>Sent: Tuesday, August 30, 2005 10:24 AM
>>To: 'How to use Revolution'
>>Subject: RE: Magnifying a shrunken image --- without using imageData
>>
>>Roger,
>>
>>clone the image, then use the crop command. Then you can zoom it...
>>
>>that should do the trick...
>>
>>cheers
>>Xavier
>>
>>>   -Original Message-
>>>   From: [EMAIL PROTECTED]
>>>   [mailto:[EMAIL PROTECTED] On Behalf Of
>>>   [EMAIL PROTECTED]
>>>   Sent: Tuesday, August 30, 2005 15:08
>>>   To: How to use Revolution
>>>   Subject: Magnifying a shrunken image --- without using imageData
>>>
>>>   I have an image that is larger than the screenRect. I scale
>>>   it to fit the window. Now I want to magnify a portion
>>>   (100x100 pixels) in another image object.
>>>
>>>   The problem is that if I put the text of (a portion of the
>>>   imageData) into the magnified image, it is VERY pixelized. I
>>>   need to access the original full resolution image for the
>>>   magnified area.
>>>
>>>   How can I accomplish this without using an external? Thanks
>>>   for any suggestions.
>>>
>  >>  Roger Eller <[EMAIL PROTECTED]>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


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


RE: Magnifying a shrunken image --- without using imageData

2005-08-30 Thread David Burgun

Hi,

Well maybe I misunderstand the problem then!

In my case I have images that are around 1500 x 500 pixels  in size. 
I show a preview of this in a seperate image which is scalled so the 
width is 250 pixels and the height adjusts depending on the aspect 
ratio. From re-reading the original post,  Roger wants to take a 
portion of the smaller preview image and scale it up. If you scale 
from the preview, then a lot of data has already been lost, so he 
wants to get the data from the original image, scalled from the the 
preview. If you take the data from the preview and then scale it, it 
will become pixelated, the extent of this pixelation will obviously 
depend on the size of the original and the size of the preview. In my 
case the loss was just too great, and anyway, it's still much better 
to scale from the original if you are looking for the best quality.


All the Best
Dave




I tried it - works fine. The original imagedata is contained in the
copied image - so no problem with pixil loss.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Burgun
Sent: Tuesday, August 30, 2005 10:44 AM
To: How to use Revolution
Subject: RE: Magnifying a shrunken image --- without using imageData

Hi,

I think the problem is that it will still be very pixelated, it was
when I was trying to do something similar. I came to the conclusion
that the only way to do this properly was to work from the original
image and scale everything to suit. It works great using my external,
but I think it should work for what Roger wants using the technique I
described earlier.

All the Best
Dave


Expanding on Xavier's idea - you could also copy the image into a

group.


The group would need to have its locklocation set to true, and have
vertical and horizontal scrollbars.

After you copy the image, set its width and height to whatever
magnification you want. The only parts visible will be inside the

group,

and you can use the scrollbars to move around to different parts of the
image.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of MisterX
Sent: Tuesday, August 30, 2005 10:24 AM
To: 'How to use Revolution'
Subject: RE: Magnifying a shrunken image --- without using imageData

Roger,

clone the image, then use the crop command. Then you can zoom it...

that should do the trick...

cheers
Xavier


  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of
  [EMAIL PROTECTED]
  Sent: Tuesday, August 30, 2005 15:08
  To: How to use Revolution
  Subject: Magnifying a shrunken image --- without using imageData

  I have an image that is larger than the screenRect. I scale
  it to fit the window. Now I want to magnify a portion
  (100x100 pixels) in another image object.

  The problem is that if I put the text of (a portion of the
  imageData) into the magnified image, it is VERY pixelized. I
  need to access the original full resolution image for the
  magnified area.

  How can I accomplish this without using an external? Thanks
  for any suggestions.


 >>  Roger Eller <[EMAIL PROTECTED]>

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


Re: Transparent Images

2005-08-30 Thread Devin Asay
If you're on Mac OS X or Classic there's also a little-known way of  
using the Paint Tools paint bucket tool to fill an area with  
"transparent color". Just press the Command key while using the paint  
bucket. Don't know if there is an equivalent on Windows, since there  
is no Command key. (Control-paint bucket does something different.)


Devin

On Aug 26, 2005, at 8:19 AM, Scott Kane wrote:


Hi Malte



Hi Scott, the best way is to import images that have an alpha
channel.
e.g. png or .gif files. I prefer png files, as gif has many
disadvantages. You might be interested in this small tutorial:



Thanks for this I'll check it out in the morning
(it's 12:18 am Saturday here).  :-)

Scott


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

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



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


Missing Data

2005-08-30 Thread Camm29
Help !

I'm using

Open file "COM1:"
read from file until empty
put it into Received
Close file "COM1:"

If the hardware i'm talking to on RS232 is set to echo sent commands it works 
fine and i get all the data.

If i set the hardware not to echo sent commands then most of the data is 
missing ?

example.

if i send "ATZ" to the Hardware with echo on i receive 

ATZ
HELLO
>

if i send "ATZ" to the Hardware with echo off i receive

>


Help , the data is there but goes missing in Revolution.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Really cool WindowShapes X-plat

2005-08-30 Thread Todd Geist
Hello,

Does anybody  have a REALLY cool mask I could use for a demo of window
shapes.  I am presenting to a couple hundred FM pro users and I want to show
custom window shapes.  I am not a graphic artist and what I do will look
like crap. So I am hoping somebody out there can help.

Full credit and attribution to the creator of course!

Thanks

Todd


-- 

Todd Geist
__
G e i s t   i n t e r a c t i v e 


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


Re: Running Stand-alone as a service or hidden

2005-08-30 Thread Andre Garzia


On Aug 25, 2005, at 9:25 PM, Todd Geist wrote:


Hello,

I thought I remember hearing that you can run a Rev app in the  
background or
as a service  or "hidden".  I just don't want the users to see  
anything when

it is running.

Isn't this possible?  How does one go about it?

Thanks

Todd



Todd,

poor man solution, move it offscreen.

like setting it to negative coordinates...

cheers
andre





--

Todd Geist
__
G e i s t   i n t e r a c t i v e


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

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



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


AltBrowser question

2005-08-30 Thread Jim Ault
I am using AltBrowser by Altuit (Chipp Walters, Chris Bohnert), a really
amazing Rev stack/tools. [ http://www.altuit.com ]

Situation - browser image will show a java applet window for data entry that
relies solely on button clicks, except for password.  Unfortunately, this
applet is the only way to access the online database service I am subscribed
to.

Goal - compile a cross platform app for Win & OSX that will deliver mouse
clicks from keyboard actions by user, therefore achieving speed and accuracy
and reducing carpel tunnel.

Problem - Using Rev "click at x, y" does not deliver a click to the browser
image on the Rev card, as I had hoped.  This seems to be true from the
message box as well as a script, both platforms. [example: Google Search
button does not trigger]

Is there a way to get such a 'mouse click' to a specific x,y on the XBROWSER
object?  Win & OSX?

-1- one solution is to use Rev to call an applescript that triggers a
QuicKey macro (already made a couple of these), however this is rather
intricate and the clicks need to be more rapid (closer together)

Thanks for your help

Jim Ault
Las Vegas


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


Running Stand-alone as a service or hidden

2005-08-30 Thread Todd Geist
Hello,

I thought I remember hearing that you can run a Rev app in the background or
as a service  or "hidden".  I just don't want the users to see anything when
it is running.

Isn't this possible?  How does one go about it?

Thanks

Todd


-- 

Todd Geist
__
G e i s t   i n t e r a c t i v e 


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


Re: Magnifying a shrunken image --- without using imageData

2005-08-30 Thread Joel Guillod

Roger,

There is a simple solution which is to have a group containing an  
image. The lockloc of this group should be true, then you dimension  
the image according to the scale you choose and you set the image  
location according to the rect of the image you want to display. The  
container group is performing like a window but you have to set the  
loc of the image for the portion you want to see.


Bonus: You can download my sample stack "imedMagnifier" in the Rev  
Online user "imed" category "utility". This is a beta version!


Enjoy!

Joel G - www.imed.ch





From: [EMAIL PROTECTED]

I have an image that is larger than the screenRect. I scale it to  
fit the
window. Now I want to magnify a portion (100x100 pixels) in another  
image

object.

The problem is that if I put the text of (a portion of the  
imageData) into
the magnified image, it is VERY pixelized. I need to access the  
original

full resolution image for the magnified area.

How can I accomplish this without using an external? Thanks for any
suggestions.

Roger Eller <[EMAIL PROTECTED]>




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


RE: Magnifying a shrunken image --- without using imageData

2005-08-30 Thread Lynch, Jonathan
I tried it - works fine. The original imagedata is contained in the
copied image - so no problem with pixil loss.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Burgun
Sent: Tuesday, August 30, 2005 10:44 AM
To: How to use Revolution
Subject: RE: Magnifying a shrunken image --- without using imageData

Hi,

I think the problem is that it will still be very pixelated, it was 
when I was trying to do something similar. I came to the conclusion 
that the only way to do this properly was to work from the original 
image and scale everything to suit. It works great using my external, 
but I think it should work for what Roger wants using the technique I 
described earlier.

All the Best
Dave

>Expanding on Xavier's idea - you could also copy the image into a
group.
>
>The group would need to have its locklocation set to true, and have
>vertical and horizontal scrollbars.
>
>After you copy the image, set its width and height to whatever
>magnification you want. The only parts visible will be inside the
group,
>and you can use the scrollbars to move around to different parts of the
>image.
>
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of MisterX
>Sent: Tuesday, August 30, 2005 10:24 AM
>To: 'How to use Revolution'
>Subject: RE: Magnifying a shrunken image --- without using imageData
>
>Roger,
>
>clone the image, then use the crop command. Then you can zoom it...
>
>that should do the trick...
>
>cheers
>Xavier
>
>>  -Original Message-
>>  From: [EMAIL PROTECTED]
>>  [mailto:[EMAIL PROTECTED] On Behalf Of
>>  [EMAIL PROTECTED]
>>  Sent: Tuesday, August 30, 2005 15:08
>>  To: How to use Revolution
>>  Subject: Magnifying a shrunken image --- without using imageData
>>
>>  I have an image that is larger than the screenRect. I scale
>>  it to fit the window. Now I want to magnify a portion
>>  (100x100 pixels) in another image object.
>>
>>  The problem is that if I put the text of (a portion of the
>>  imageData) into the magnified image, it is VERY pixelized. I
>>  need to access the original full resolution image for the
>>  magnified area.
>>
>>  How can I accomplish this without using an external? Thanks
>>  for any suggestions.
>>
>>  Roger Eller <[EMAIL PROTECTED]>
>>
>>  ___
>>  use-revolution mailing list
>>  use-revolution@lists.runrev.com
>>  Please visit this url to subscribe, unsubscribe and manage
>>  your subscription preferences:
>>  http://lists.runrev.com/mailman/listinfo/use-revolution
>
>___
>use-revolution mailing list
>use-revolution@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>___
>use-revolution mailing list
>use-revolution@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your 
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution

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


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


RE: Magnifying a shrunken image --- without using imageData

2005-08-30 Thread David Burgun

Hi,

I think the problem is that it will still be very pixelated, it was 
when I was trying to do something similar. I came to the conclusion 
that the only way to do this properly was to work from the original 
image and scale everything to suit. It works great using my external, 
but I think it should work for what Roger wants using the technique I 
described earlier.


All the Best
Dave


Expanding on Xavier's idea - you could also copy the image into a group.

The group would need to have its locklocation set to true, and have
vertical and horizontal scrollbars.

After you copy the image, set its width and height to whatever
magnification you want. The only parts visible will be inside the group,
and you can use the scrollbars to move around to different parts of the
image.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of MisterX
Sent: Tuesday, August 30, 2005 10:24 AM
To: 'How to use Revolution'
Subject: RE: Magnifying a shrunken image --- without using imageData

Roger,

clone the image, then use the crop command. Then you can zoom it...

that should do the trick...

cheers
Xavier


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 [EMAIL PROTECTED]
 Sent: Tuesday, August 30, 2005 15:08
 To: How to use Revolution
 Subject: Magnifying a shrunken image --- without using imageData

 I have an image that is larger than the screenRect. I scale
 it to fit the window. Now I want to magnify a portion
 (100x100 pixels) in another image object.

 The problem is that if I put the text of (a portion of the
 imageData) into the magnified image, it is VERY pixelized. I
 need to access the original full resolution image for the
 magnified area.

 How can I accomplish this without using an external? Thanks
 for any suggestions.

 Roger Eller <[EMAIL PROTECTED]>

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


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


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

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


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


RE: Magnifying a shrunken image --- without using imageData

2005-08-30 Thread Lynch, Jonathan
Expanding on Xavier's idea - you could also copy the image into a group.

The group would need to have its locklocation set to true, and have
vertical and horizontal scrollbars.

After you copy the image, set its width and height to whatever
magnification you want. The only parts visible will be inside the group,
and you can use the scrollbars to move around to different parts of the
image.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of MisterX
Sent: Tuesday, August 30, 2005 10:24 AM
To: 'How to use Revolution'
Subject: RE: Magnifying a shrunken image --- without using imageData

Roger,

clone the image, then use the crop command. Then you can zoom it...

that should do the trick...

cheers
Xavier 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> [EMAIL PROTECTED]
> Sent: Tuesday, August 30, 2005 15:08
> To: How to use Revolution
> Subject: Magnifying a shrunken image --- without using imageData
> 
> I have an image that is larger than the screenRect. I scale 
> it to fit the window. Now I want to magnify a portion 
> (100x100 pixels) in another image object.
> 
> The problem is that if I put the text of (a portion of the 
> imageData) into the magnified image, it is VERY pixelized. I 
> need to access the original full resolution image for the 
> magnified area.
> 
> How can I accomplish this without using an external? Thanks 
> for any suggestions.
> 
> Roger Eller <[EMAIL PROTECTED]>
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage 
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


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


RE: Magnifying a shrunken image --- without using imageData

2005-08-30 Thread MisterX
Roger,

clone the image, then use the crop command. Then you can zoom it...

that should do the trick...

cheers
Xavier 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> [EMAIL PROTECTED]
> Sent: Tuesday, August 30, 2005 15:08
> To: How to use Revolution
> Subject: Magnifying a shrunken image --- without using imageData
> 
> I have an image that is larger than the screenRect. I scale 
> it to fit the window. Now I want to magnify a portion 
> (100x100 pixels) in another image object.
> 
> The problem is that if I put the text of (a portion of the 
> imageData) into the magnified image, it is VERY pixelized. I 
> need to access the original full resolution image for the 
> magnified area.
> 
> How can I accomplish this without using an external? Thanks 
> for any suggestions.
> 
> Roger Eller <[EMAIL PROTECTED]>
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage 
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: Magnifying a shrunken image --- without using imageData

2005-08-30 Thread David Burgun

Hi,

I have written an external to do just this, but I think you could do 
it like this (untested):


1.  Get the Dimensions of the Orignal Image. I think that:
put formattedWidth of image x into myOriginalWidth
put formattedHeight of image x into myOriginalHeight

On the image object you have already loaded should do the trick.

2.  Create a new image object that is the same size as the orignal 
but make it invisible.


3.  Set the Filename of this new Image to point to the original image file:
set the filename of image NewImage to x

As I said I haven't tested this, but from my playing around I think 
it should work ok.


Hope this helps
All the Best
Dave



I have an image that is larger than the screenRect. I scale it to fit the
window. Now I want to magnify a portion (100x100 pixels) in another image
object.

The problem is that if I put the text of (a portion of the imageData) into
the magnified image, it is VERY pixelized. I need to access the original
full resolution image for the magnified area.

How can I accomplish this without using an external? Thanks for any
suggestions.

Roger Eller <[EMAIL PROTECTED]>

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

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


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


Re: external Windows program running?

2005-08-30 Thread xbury . cs
> - Original Message - 
> From: "Lynch, Jonathan" <[EMAIL PROTECTED]>

> You can also just check every now and then to see if the application is
> among the openprocesses.
> 
> And Xavier, you can launch an app via shell command without it locking
> up - at least, Chipp's method so far has not locked up the Rev app for
> me. I would be happy to send it to you, if you wish.

I know the method, i use since 5 years... 

shell("start" && myapp)

I do these all the time at work... But the shell without the "start"
seemed to be what you wanted... 

Thanks ;)
Xavier


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

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

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

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


RE: external Windows program running?

2005-08-30 Thread Lynch, Jonathan
You can also use ports to communcate between applications.

I have done it, so I know it works - but it will be a bit of work to
figure out the details.

Basically, the app that was not opened by Rev needs to send a message to
rev (through a port) when it is done doing what it needs to do. The
message should contain its process name.

Then, when rev gets that name, it kills the process.

Do you have control over the programming in either of the two non-rev
programs?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Revolution
Sent: Tuesday, August 30, 2005 9:00 AM
To: How to use Revolution
Subject: Re: external Windows program running?

Thanks to all who have made suggestions for solving my problem but I
don't
see a solution yet.

The actual problem is hiding the windows taskbar while a nonrev program
is
running. Rev handles the taskbar hiding quite well with the command
"hide
taskbar" which functions as long as rev is running. As soon as rev shuts
down (or the standalone shuts down) the taskbar reappears. This means
that
rev must be running while the nonrev app is running in order to keep the
taskbar hidden. When the nonrev program quits, I need to have rev quit.
Both
rev and the nonrev program are capable of launching apps, which leads to
2
approaches.

1. Use rev to launch the nonrev app and when the nonrev app completes,
shut
down rev.

2. Use the nonrev app to launch rev at the point where the taskbar needs
to
be hidden and shut rev down beyond that point.

Solution 1.
And now the complications start. The nonrev app has its own launcher
which
must be used. This launcher shuts down after it has the nonrev app
started.
The OpenProcess command won't work because the process that rev launched
(the launcher) has shut down. So what I need is a method for rev to
check if
an app is running that it didn't start. Then I could periodically check
to
see if the app is running and when it quits, I could shut down my rev
app.
Further complication: This is all running from a CD on unknown systems
which
may have unknown protection schemes, so the neat trick of writing to a
file
and checking that file isn't going to work because my app may not have
permission to write to a drive on the user's system.
In summary: This method requires that rev have some method of checking
if an
app that it didn't start, is still running.

Solution 2.
I am not sure that this method is an improvement on Solution 1 because
now I
have the nonrev app somewhat more in control and if it was more
sophisticated, this problem wouldn't exist. This certainly works well,
when
rev is called it hides the taskbar but when the nonrev app finishes I
need
to shut down rev or the users taskbar stays hidden.

Thanks once again for your past help.

Doug



- Original Message - 
From: "Lynch, Jonathan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "How to use Revolution"

Sent: Monday, August 29, 2005 2:15 PM
Subject: RE: external Windows program running?


You can also just check every now and then to see if the application is
among the openprocesses.

And Xavier, you can launch an app via shell command without it locking
up - at least, Chipp's method so far has not locked up the Rev app for
me. I would be happy to send it to you, if you wish.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of MisterX
Sent: Monday, August 29, 2005 2:08 PM
To: 'How to use Revolution'
Subject: RE: external Windows program running?

Doug,

if you launch your pc application via shell,
then when the user closes that application,
rev just has to continue working...
meanwhile while your app runs, rev is "blocked..."

I find the behavior hideous but at least it
does have ONE use...

The other way is to check every now and then if the
application quit via a shell("pstools! not exact syntax") from pstools
or
the like. you can find pstools at

http://www.sysinternals.com

then
on Checkmyappisrunning
  if "myapp.exe" is not in getappsrunning() then
-- do mything
quit
  end if
  send "checkmyappisrunning" to me in 2 seconds
end Checkmyappisrunning

function getappsrunning
  return shell("plist" )
end getappsrunning

cheers
Xav
http://monsieurx.com

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Revolution
> Sent: Monday, August 29, 2005 19:37
> To: How to use Revolution
> Subject: Re: external Windows program running?
>
> Launching isn't the problem. I need to know when the nonrev
> program terminates.
>

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Revolution
> Sent: Monday, August 29, 2005 11:36 AM
> To: use-revolution@lists.runrev.com
> Subject: external Windows program running?
>
> In general:
> I am using revolution to launch a nonrevolution program. I
> need to know
> when
> the user shuts down the nonrev program so that I can shut down rev. Is
> there
> a method of doing this?
>
> Deta

Re: external Windows program running?

2005-08-30 Thread Alex Tweedly

Revolution wrote:


Thanks to all who have made suggestions for solving my problem but I don't
see a solution yet.

The actual problem is hiding the windows taskbar while a nonrev program is
running. Rev handles the taskbar hiding quite well with the command "hide
taskbar" which functions as long as rev is running. As soon as rev shuts
down (or the standalone shuts down) the taskbar reappears. This means that
rev must be running while the nonrev app is running in order to keep the
taskbar hidden. When the nonrev program quits, I need to have rev quit. Both
rev and the nonrev program are capable of launching apps, which leads to 2
approaches.

1. Use rev to launch the nonrev app and when the nonrev app completes, shut
down rev.

2. Use the nonrev app to launch rev at the point where the taskbar needs to
be hidden and shut rev down beyond that point.

Solution 1.
And now the complications start. The nonrev app has its own launcher which
must be used. This launcher shuts down after it has the nonrev app started.
The OpenProcess command won't work because the process that rev launched
(the launcher) has shut down. So what I need is a method for rev to check if
an app is running that it didn't start. Then I could periodically check to
see if the app is running and when it quits, I could shut down my rev app.
Further complication: This is all running from a CD on unknown systems which
may have unknown protection schemes, so the neat trick of writing to a file
and checking that file isn't going to work because my app may not have
permission to write to a drive on the user's system.
In summary: This method requires that rev have some method of checking if an
app that it didn't start, is still running.

Solution 2.
I am not sure that this method is an improvement on Solution 1 because now I
have the nonrev app somewhat more in control and if it was more
sophisticated, this problem wouldn't exist. This certainly works well, when
rev is called it hides the taskbar but when the nonrev app finishes I need
to shut down rev or the users taskbar stays hidden.

 

I've only loosely followed the whole thread - so don't know if this will 
work or not 


Solution 3.  A sandwich made with "rev standalone"s.

a. Rev Standalone A starts running.
b. it starts the other launcher (App B)
c. Rev Standalone A then listens on some TCP/UDP port (say 8765)
meanwhile
d. The launcher runs, and starts up App B.
e. App B runs. When it's almost done, it start up another app (Rev 
Standalone C) and then exits
f. Rev standalone C open a socket to 8765, sends a suitable message to 
it and then exits.

..
g. Rev Standalone A gets a message on the port it's listening on, 
verifies it, and then exits.



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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 26/08/2005

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


Magnifying a shrunken image --- without using imageData

2005-08-30 Thread Roger . E . Eller
I have an image that is larger than the screenRect. I scale it to fit the 
window. Now I want to magnify a portion (100x100 pixels) in another image 
object.

The problem is that if I put the text of (a portion of the imageData) into 
the magnified image, it is VERY pixelized. I need to access the original 
full resolution image for the magnified area.

How can I accomplish this without using an external? Thanks for any 
suggestions.

Roger Eller <[EMAIL PROTECTED]>

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


Re: question about mainStack scripts

2005-08-30 Thread Robert Brenstein
I have a problem with a preOpenCard handler in the stack script of 
the main stack of a huge project, that I never had before.  I've 
totally redone a ton of things in the last 3 days, but I didn't 
think any of these changes would change  the general working of it , 
yet something keeps cropping up that I haven't seen before don't 
understand.  I have managed to fix it in almost every case but 2, 
which are kind of important.  Maybe someone has the solution for me 
;-)


Lars,

Your problem is caused by a feature of message passing: any message 
that is passed further from a substacks is sent to stack script of 
the mainstack.


If each of your substacks has its own preopencard handler, then just 
do not pass that message and the one in the mainstack won't get 
called. Another way to handle that is for the handler in the 
mainstack to check whether the defaultstack is the mainstack and do 
nothing if it is not. If the preopencard handler is not required to 
be in the stack script of the mainstack, you could move it to card 
level. Alternatively, you could have a preopencard handler on each 
card of the mainstack calling a custom-named handler on the stack 
level, like mainPreopencard, for example.


Robert

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


Re: external Windows program running?

2005-08-30 Thread Revolution
Thanks to all who have made suggestions for solving my problem but I don't
see a solution yet.

The actual problem is hiding the windows taskbar while a nonrev program is
running. Rev handles the taskbar hiding quite well with the command "hide
taskbar" which functions as long as rev is running. As soon as rev shuts
down (or the standalone shuts down) the taskbar reappears. This means that
rev must be running while the nonrev app is running in order to keep the
taskbar hidden. When the nonrev program quits, I need to have rev quit. Both
rev and the nonrev program are capable of launching apps, which leads to 2
approaches.

1. Use rev to launch the nonrev app and when the nonrev app completes, shut
down rev.

2. Use the nonrev app to launch rev at the point where the taskbar needs to
be hidden and shut rev down beyond that point.

Solution 1.
And now the complications start. The nonrev app has its own launcher which
must be used. This launcher shuts down after it has the nonrev app started.
The OpenProcess command won't work because the process that rev launched
(the launcher) has shut down. So what I need is a method for rev to check if
an app is running that it didn't start. Then I could periodically check to
see if the app is running and when it quits, I could shut down my rev app.
Further complication: This is all running from a CD on unknown systems which
may have unknown protection schemes, so the neat trick of writing to a file
and checking that file isn't going to work because my app may not have
permission to write to a drive on the user's system.
In summary: This method requires that rev have some method of checking if an
app that it didn't start, is still running.

Solution 2.
I am not sure that this method is an improvement on Solution 1 because now I
have the nonrev app somewhat more in control and if it was more
sophisticated, this problem wouldn't exist. This certainly works well, when
rev is called it hides the taskbar but when the nonrev app finishes I need
to shut down rev or the users taskbar stays hidden.

Thanks once again for your past help.

Doug



- Original Message - 
From: "Lynch, Jonathan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "How to use Revolution"

Sent: Monday, August 29, 2005 2:15 PM
Subject: RE: external Windows program running?


You can also just check every now and then to see if the application is
among the openprocesses.

And Xavier, you can launch an app via shell command without it locking
up - at least, Chipp's method so far has not locked up the Rev app for
me. I would be happy to send it to you, if you wish.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of MisterX
Sent: Monday, August 29, 2005 2:08 PM
To: 'How to use Revolution'
Subject: RE: external Windows program running?

Doug,

if you launch your pc application via shell,
then when the user closes that application,
rev just has to continue working...
meanwhile while your app runs, rev is "blocked..."

I find the behavior hideous but at least it
does have ONE use...

The other way is to check every now and then if the
application quit via a shell("pstools! not exact syntax") from pstools
or
the like. you can find pstools at

http://www.sysinternals.com

then
on Checkmyappisrunning
  if "myapp.exe" is not in getappsrunning() then
-- do mything
quit
  end if
  send "checkmyappisrunning" to me in 2 seconds
end Checkmyappisrunning

function getappsrunning
  return shell("plist" )
end getappsrunning

cheers
Xav
http://monsieurx.com

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Revolution
> Sent: Monday, August 29, 2005 19:37
> To: How to use Revolution
> Subject: Re: external Windows program running?
>
> Launching isn't the problem. I need to know when the nonrev
> program terminates.
>

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Revolution
> Sent: Monday, August 29, 2005 11:36 AM
> To: use-revolution@lists.runrev.com
> Subject: external Windows program running?
>
> In general:
> I am using revolution to launch a nonrevolution program. I
> need to know
> when
> the user shuts down the nonrev program so that I can shut down rev. Is
> there
> a method of doing this?
>
> Details:
> The nonrev program does not properly hide the Windows taskbar. I need
> rev to
> be running to keep the taskbar hidden, but I need to
> automatically shut
> rev
> down when the user closes the nonrev program.
>
> The nonrev program is useless at sending and receiving messages but it
> can
> launch another program. I tried launching my rev windows taskbar hider
> and
> having the rev program close but as soon as rev closes, rev
> "tidies" up
> and
> the taskbar reappears.
>
> Open to suggestions and thankful for them.
>
> Doug
>

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, 

Re: question about mainStack scripts

2005-08-30 Thread Eric Chatonet

Hi Lars,

Since the script of any main stack is inserted in the message path,  
you have many possibilities:


1. Put your code into the script of a card (handy when the main stack  
has one card only).

2. Use groups (variant of the above).
3. Act accordingly to the calling object in your main stack handlers:

on preOpenstack
  if the long ID of me <> the long ID of this stack then pass  
preOpenstack

  
end preOpenStack

Use the same process for other system messages as openCard,  
closeStack, etc.


Hope this helps.

Le 30 août 05 à 13:35, Lars Brehmer a écrit :

I have a problem with a preOpenCard handler in the stack script of  
the main stack of a huge project, that I never had before.  I've  
totally redone a ton of things in the last 3 days, but I didn't  
think any of these changes would change  the general working of  
it , yet something keeps cropping up that I haven't seen before  
don't understand.  I have managed to fix it in almost every case  
but 2, which are kind of important.  Maybe someone has the solution  
for me ;-)


Here goes:

In my main stack there is a preOpenCard handler.  Now, every time  
one of my many subStacks is opened, the preOpenCard handler of the  
main stack tries to run, and since it involves objects unique to  
that stack, and the handler is trying to perform itself in the  
subStack,  I get an error, something like "oject doesn't exist, "   
which is logical. In almost every case of this occurance, I solved  
it by putting a "lock messages" in the handler in question before  
the substack is opened.  This works of course but when I just  
double click on a stack in the application browser to open it, the  
error of course still happens since messages are not locked.  I can  
live with that, as long as the stanalone functions correctly.  One  
problem though - some of the handlers in question call for a  
substack to be paletted, and just locking messages before the  
palette command doesn't prevent the error.  This one I can't live  
with, because these substacks open as palettes in front of other  
stacks, and I don't the palette stack to disappear to the back when  
you click on one of the stacks behind it.  Now, before I made the  
changes, the main stack had a preOpenCard handler, very much like  
the new one, and it never tried to run as other stacks were  
opened.  Since my changes weren't all that drastic, I guess my  
question is - what is it about main stack scripts that I don't  
understand?  Most of my subStacks have always had preOpenCard  
handlers in their stack scripts, and they have never tried to run  
at the wrong time.  Only the main stack script does this.
What is different about main stack scripts?  And if the lock  
messages prevent it, why doesn't that work for a paletted substack?



Best Regards from Paris,

Eric Chatonet.

So Smart Software

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

Free plugins and tutorials on my website

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


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


Re: question about mainStack scripts

2005-08-30 Thread Richard Gaskin

Lars Brehmer wrote:
In my main stack there is a preOpenCard handler.  Now, every time one  
of my many subStacks is opened, the preOpenCard handler of the main  
stack tries to run, and since it involves objects unique to that  stack, 
and the handler is trying to perform itself in the subStack,   I get an 
error, something like "oject doesn't exist, "


The script of the mainstack is accessible from all substacks, acting as 
 a common repository of handlers, so what you're seeing is normal.


Three ways to have your mainstack-specific scripts only triggered in the 
mainstack:


- If the mainstack has only one card, consider putting the 
mainstack-specific scripts at the card-level.


- If the mainstack has multiple card you might consider adding a shared 
group and putting its mainstack-specific stuff there.


- You could also consider moving the mainstack and all of the substacks 
into a new mainstack which is kept fairly minimal; that way all of your 
stacks have their own discrete space, and you still have a mainstack to 
use as a central repository.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


question about mainStack scripts

2005-08-30 Thread Lars Brehmer
I have a problem with a preOpenCard handler in the stack script of  
the main stack of a huge project, that I never had before.  I've  
totally redone a ton of things in the last 3 days, but I didn't think  
any of these changes would change  the general working of it , yet  
something keeps cropping up that I haven't seen before don't  
understand.  I have managed to fix it in almost every case but 2,  
which are kind of important.  Maybe someone has the solution for me ;-)


Here goes:

In my main stack there is a preOpenCard handler.  Now, every time one  
of my many subStacks is opened, the preOpenCard handler of the main  
stack tries to run, and since it involves objects unique to that  
stack, and the handler is trying to perform itself in the subStack,   
I get an error, something like "oject doesn't exist, "  which is  
logical. In almost every case of this occurance, I solved it by  
putting a "lock messages" in the handler in question before the  
substack is opened.  This works of course but when I just double  
click on a stack in the application browser to open it, the error of  
course still happens since messages are not locked.  I can live with  
that, as long as the stanalone functions correctly.  One problem  
though - some of the handlers in question call for a substack to be  
paletted, and just locking messages before the palette command  
doesn't prevent the error.  This one I can't live with, because these  
substacks open as palettes in front of other stacks, and I don't the  
palette stack to disappear to the back when you click on one of the  
stacks behind it.  Now, before I made the changes, the main stack had  
a preOpenCard handler, very much like the new one, and it never tried  
to run as other stacks were opened.  Since my changes weren't all  
that drastic, I guess my question is - what is it about main stack  
scripts that I don't understand?  Most of my subStacks have always  
had preOpenCard handlers in their stack scripts, and they have never  
tried to run at the wrong time.  Only the main stack script does this.
What is different about main stack scripts?  And if the lock messages  
prevent it, why doesn't that work for a paletted substack?


Help, as always, would be greatly appreciated!

Cheers,

Lars


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


Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2

2005-08-30 Thread Richard Gaskin

David Burgun wrote:
I'm with you:  Transcript's existing abbreviations are about as sparse 
as I'd like to go.


Yes, I don't really care how they are stored in the script as long as 
the editor could expand them to the way the user wants to see them. I 
the "C/C++" language there are formatters that allow you to see the 
source code formatted to a particular style, something similar would be 
good in RunRev.


That's what started me down the road of making my own editor.  I have 
yet to integrate it with even MetaCard's debugger, let alone Rev's, but 
debugging in the same thread that's running hasn't really been a great 
time even on the best of days.  But oh, the joys of typing a couple 
characters and seeing whole blocks of code put into place


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: emacsKeyBindings

2005-08-30 Thread Alex Tweedly

Richard Gaskin wrote:

I'm curious:  How many of you use the emacsKeyBindings property, and 
for what sorts of apps/audiences?




I've thought about using it - mostly for apps targetted at me.

But I ran into some problems the first time I tried, and never got back 
to it to try again (so I guess it's not that important to me :-).


1.  In the IDE, there are clashes with the menu accelerators, so some 
key bindings won't work. (The docs say this - so not a surprise or even 
a complaint - just a limitation). I usually sit in the IDE, so that 
would impact my own use.


2. Can't figure out what key bindings are supposed to be supported. The 
docs say


(For a complete list of supported key bindings, see the Emacs Key 
Bindings Reference.)


but I can't find the "Emacs Key Binding Reference". It's listed in the 
"See also" list - but clicking on it doesn't do anything.


3. Not enough key bindings supported.

Experimentation suggested that the number of key bindings supported 
wasn't as much as I would have hoped - so I gave up on it. In 
particular, neither of the standard keys for "undo" works, and the mark 
/ cursor bindings don't appear to be supported either, so you can't 
copy/cut/paste properly.




The big problem is that if you're a long term Emacs user, when you are 
"in emacs mode", you let your fingers take over the thinking and "stuff 
just happens" without conscious thought. So when you unthinkingly use an 
unsupported key combination, you are three or four keystrokes ahead 
before your eyes (and brain) catch up with the fact that the screen is 
wrong. And then you have to unwind the commands to figure out what went 
wrong - oh, oh - one of the unsupported keys bindings is "undo" !!

So I don't use it , but I nearly did, and I'd like to some day 
And if I did it would be only for my own use.

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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 26/08/2005

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


Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2

2005-08-30 Thread David Burgun

David Burgun wrote:


How about if we eliminate both and enforce just a single-character
typing convention for objects and numeric values only for object
identification? That way "field 3 of card 7" would come out to "f3c7"
for a minimum of typing. The engine's parser would, of course,
separate these into separate tokens "f 3 c 7" and be quite happy.
Developers would have to type just four characters and the code would
be much more readable because there's just one way to describe an
object instead of two. The engine's parser would also run faster
because it wouldn't have to discriminate between two different forms
of object description.


This sounds and looks just horrible!


WTM?  !comf w/abbr?

(Translation:  What's the matter?  Not comfortable with abbreviations?")

I'm with you:  Transcript's existing abbreviations are about as 
sparse as I'd like to go.


Yes, I don't really care how they are stored in the script as long as 
the editor could expand them to the way the user wants to see them. I 
the "C/C++" language there are formatters that allow you to see the 
source code formatted to a particular style, something similar would 
be good in RunRev.


But even if you had to type in the long form each time, the amount of 
time taken to type card or field instead of cd or fld is minimal, in 
fact, I reckon most people that are used to a keyboard would type the 
long forms more quickly. Also once you have cut/copy+paste it all 
becomes meaningless anyway. When I type a script, I'd say at least 
70% of it is pasted and then edited from previous lines anyway.


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


Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2

2005-08-30 Thread Richard Gaskin

David Burgun wrote:


How about if we eliminate both and enforce just a single-character
typing convention for objects and numeric values only for object
identification? That way "field 3 of card 7" would come out to "f3c7"
for a minimum of typing. The engine's parser would, of course,
separate these into separate tokens "f 3 c 7" and be quite happy.
Developers would have to type just four characters and the code would
be much more readable because there's just one way to describe an
object instead of two. The engine's parser would also run faster
because it wouldn't have to discriminate between two different forms
of object description.


This sounds and looks just horrible!


WTM?  !comf w/abbr?

(Translation:  What's the matter?  Not comfortable with abbreviations?")

I'm with you:  Transcript's existing abbreviations are about as sparse 
as I'd like to go.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2

2005-08-30 Thread David Burgun

This sounds and looks just horrible!

I vote to scrap the abbreviations and use the long forms! Should be 
easy enough to write a script to translate the short forms to the 
long forms, in fact the editor could change them dymanically as you 
type, thus getting the best of both worlds!


Just my 1.8 Euro Cents worth!

Cheers
Dave





A Modest Proposal:

How about if we eliminate both and enforce just a single-character
typing convention for objects and numeric values only for object
identification? That way "field 3 of card 7" would come out to "f3c7"
for a minimum of typing. The engine's parser would, of course,
separate these into separate tokens "f 3 c 7" and be quite happy.
Developers would have to type just four characters and the code would
be much more readable because there's just one way to describe an
object instead of two. The engine's parser would also run faster
because it wouldn't have to discriminate between two different forms
of object description.



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


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


Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2

2005-08-30 Thread Richard Gaskin

Mark Waddingham wrote:
But I fear for Mr. Waddingham when the citizens storm the Edinburgh 
offices with torches and pitchforks after discovering that the code 
style they've been using for years is no longer supported. ;)


Odd... I don't recall saying that the short form of object tokens would
be eliminated, I was merely trying to subtlety suggest that they can
make things a tad unreadable ;o)


10,000 lines later it's not so bad.  Besides, code is rarely read and 
more often skimmed, so in most cases (perhaps "sb" aside, but that 
wasn't my decision) it has minimal cognitive detriment, and possibly 
some benefit: symbols are symbols, all must be learned, and there's a 
few papers about the virtues of white space vs. noise but we digress.


In short, my fingers like abbreviations, and my contractors like bonuses 
for using parallel style. :)


FWIW, I adopted the style outlined at 
 (which is 
rather like RunRev's own style in most respects) specifically to avoid 
unreadable things like the example in the subject line.  It's possible 
to have lots of white space without sacrificing skimmability; I'd be 
surprised if anyone who ships commercial works actually codes like the 
example above.




It isn't an efficiency thing (the keywords are tokenised to internal
indices at the tokenisation phase - i.e. when you set the script) - it's
a stylistic thing and just like variable naming people are free to
choose.


Damn. I was hoping you'd announce that now that all three platforms are 
running on Intel we're going to see full up-front compilation. :)



Indeed, in the future there might be a whole zoo of control types, and
in this case naming becomes incredibly important to avoid clashes. Of
course, the solution to this is allow the individual developer to alias
types to whatever one, two, three or more character handles that they
wish...


Sounds good to me -- tommorrow afternoon, perhaps? :)

--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: problem waiting - spellchecker

2005-08-30 Thread xbury . cs
im using 2.6...

And it is missing the "condition"...

cheers
Xavier

[EMAIL PROTECTED] wrote on 30/08/2005 10:21:16:

> 
> On 30 Aug 2005, at 08:18, [EMAIL PROTECTED] wrote:
> 
> > Superb!!!
> >
> > Thanks all for your great help!!!
> >
> > We got a spellchecker almost working...
> >
> > The revDocs need help here!!! It sure wasn't clear at all...
> >
> > wait [for] number [seconds | ticks | milliseconds] [with messages]
> >
> > doesn't imply that you can add a condition to wait for! Only time...
> >
> > Where i was confused is that this looked like a
> >
> >   read from socket IP with message "whatever"
> 
> What version of Rev are you using? The current docs show these syntax 
> descriptions:
> 
>wait {until | while} condition [with messages]
>wait [for] number [seconds | ticks | milliseconds] [with messages]
>wait for messages
> 
> But I seem to remember in earlier versions that the "condition" 
> version wasn't listed.
> 
> Cheers
> Dave
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution



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

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

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

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


Re: Scripting conference - How to work with files and folders

2005-08-30 Thread David Burgun




Ken's scripting conference will be held at 1125763200 seconds. To 
find your local date and time, put this into the message box:


  get 1125763200; convert it to system date and time;put it



You mean that people can't work it out straight from the seconds field! lol

Take Care
Dave

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


Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2

2005-08-30 Thread Mark Waddingham
> But I fear for Mr. Waddingham when the citizens storm the Edinburgh 
> offices with torches and pitchforks after discovering that the code 
> style they've been using for years is no longer supported. ;)

Odd... I don't recall saying that the short form of object tokens would
be eliminated, I was merely trying to subtlety suggest that they can
make things a tad unreadable ;o)

It isn't an efficiency thing (the keywords are tokenised to internal
indices at the tokenisation phase - i.e. when you set the script) - it's
a stylistic thing and just like variable naming people are free to
choose.

Indeed, in the future there might be a whole zoo of control types, and
in this case naming becomes incredibly important to avoid clashes. Of
course, the solution to this is allow the individual developer to alias
types to whatever one, two, three or more character handles that they
wish...

Warmest Regards,

Mark.

--
 Mark Waddingham ~ [EMAIL PROTECTED] ~ http://www.runrev.com
   Runtime Revolution ~ User-Centric Development Tools

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


Re: problem waiting - spellchecker

2005-08-30 Thread Dave Cragg


On 30 Aug 2005, at 08:18, [EMAIL PROTECTED] wrote:


Superb!!!

Thanks all for your great help!!!

We got a spellchecker almost working...

The revDocs need help here!!! It sure wasn't clear at all...

wait [for] number [seconds | ticks | milliseconds] [with messages]

doesn't imply that you can add a condition to wait for! Only time...

Where i was confused is that this looked like a

  read from socket IP with message "whatever"


What version of Rev are you using? The current docs show these syntax  
descriptions:


  wait {until | while} condition [with messages]
  wait [for] number [seconds | ticks | milliseconds] [with messages]
  wait for messages

But I seem to remember in earlier versions that the "condition"  
version wasn't listed.


Cheers
Dave

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


re:commas in custom properties

2005-08-30 Thread Lars Brehmer

Thanks Mark, Mark & Malte!

I knew the answer was simple, both work as I want them to work.  I  
had never heard the term "token" before, otherwise I would have just  
looked it up in the docs dictionary or topics, which give a good  
explanation.  On the other hand, in defense of Rev's docs, I SHOULD  
have looked up "chunk expressions" in the topics.  To me it's just as  
valuable to get better at using the docs as it is to get better at  
using Rev, I suppose.


Cheers!

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


Re: problem waiting - spellchecker

2005-08-30 Thread xbury . cs
Superb!!!

Thanks all for your great help!!! 

We got a spellchecker almost working...

The revDocs need help here!!! It sure wasn't clear at all...

wait [for] number [seconds | ticks | milliseconds] [with messages]

doesn't imply that you can add a condition to wait for! Only time...

Where i was confused is that this looked like a 

  read from socket IP with message "whatever"

thansk again!
Xavier

[EMAIL PROTECTED] wrote on 30/08/2005 09:09:58:

> Recently, [EMAIL PROTECTED]  wrote:
> 
> > Is there supposed to be a handler checkContinue or can i just call
> > checkContinue
> > from my other button to "trigger" the "wait with" to continue?
> 
> Just check the value of a variable that is set by whatever 
controls/handlers
> cause your checking to be completed:
> 
>  wait until gCheckContinue with messages
> 
> And in a button (simplified):
> 
>  on mouseUp
>global gCheckContinue
>-- do my spellcheck stuff
>put true into gCheckContinue
>  end mouseUp
> 
> Make sense?
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, Multimedia & Design
> -
> E: [EMAIL PROTECTED]
> W: http://www.tactilemedia.com
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution



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

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

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

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


Re: problem waiting - spellchecker

2005-08-30 Thread Scott Rossi
Recently, [EMAIL PROTECTED]  wrote:

> Is there supposed to be a handler checkContinue or can i just call
> checkContinue
> from my other button to "trigger" the "wait with" to continue?

Just check the value of a variable that is set by whatever controls/handlers
cause your checking to be completed:

 wait until gCheckContinue with messages

And in a button (simplified):

 on mouseUp
   global gCheckContinue
   -- do my spellcheck stuff
   put true into gCheckContinue
 end mouseUp

Make sense?

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

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


Re: problem waiting - spellchecker

2005-08-30 Thread Brian Yennie

Xavier,

Check the docs on this one, your syntax is wrong. You don't specify a 
message to be called when the wait is complete, your script just 
continues. [with messages] is an optional qualifier added on to the end 
of an otherwise ordinary wait command.


wait until (someCondition is true) with messages
wait 5 seconds with messages

etc


  wait with messages "checkContinue"

doesn't compile

  wait with messages checkContinue

causes an execution error.

I quit MC, launch Rev to see the help about it... Ah, now i see the 
wait

... "with"

ok, so i tried...

wait 0 seconds with messages checkContinue

still an error!

Is there supposed to be a handler checkContinue or can i just call
checkContinue
from my other button to "trigger" the "wait with" to continue?

still lost...
Xav


[EMAIL PROTECTED] wrote on 30/08/2005 08:37:06:


Recently, [EMAIL PROTECTED]  wrote:


would wait... with messages "" block the gui too though?


Nope - you use "with messages" specifically to avoid any "blocking".

Try it in a test stack.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

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




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

IMPORTANT MESSAGE

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

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

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

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




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