Re: hard space in names of objects?

2005-08-17 Thread Erik Hansen


--- Jeanne A. E. DeVoto
[EMAIL PROTECTED] wrote:
 
 I use spaces all the time in object names...

i wasn't sure. residual DOS phobias.
those underlines are ugly.

thanks,

Erik Hansen

[EMAIL PROTECTED]http://www.erikhansen.org




Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
___
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 : Field List : disable field in a field list

2005-08-17 Thread AMACHADO
Thanks John.
I thought there was a function to do this.. Something like 'disable menuItem'.

But your proposition is correct : It works. 
The command I used for setting the colour to gray : 
set the foregroundcolor of line l of field My field to gray

But what an horrible code... Don't you think  ;-)


-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de John Ridge
Envoyé : mardi 16 août 2005 14:16
À : How to use Revolution
Objet : Re: Field List : disable field in a field list


Hi Alex

I'm sure someone will have a good answer to this!

But meanwhile I wonder if you could do the following:

(a) set the textColor of each of your disabled lines to gray, to  
simulate a menu. This does not disable the line, alas. So

(b) use the clickLine function to get the line number that has been  
clicked - if the number is in your list of disabled lines, ignore the  
selection.

I haven't tried this, but who knows, it might work...


On 16 Aug 2005, at 12:14, [EMAIL PROTECTED] wrote:

 Hi everyone,

 May be a basic question (still a beginner) but I still have problems 
 with field lists... I want to disable some items in my field list My 
 Field List (still visible but not clickable + in grey if possible)

 I tried the following :
 disable menuItem 1 of field My Field List
 But it seems that this command only works for menus :-(

 May be the solution can be :
 Set the disabled of XXX to true
 But what have I to use instead of XXX ?


 Thanks.
 Alex


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



L'integrité de ce message n'étant pas assurée sur Internet, Bouygues Telecom ne 
peut être tenue responsable de son contenu en ce compris les pièces jointes. 
Toute utilisation ou diffusion non autorisée est interdite. Si vous n'êtes pas 
destinataire de ce message, merci de le détruire et d'avertir l'expéditeur.

The integrity of this message cannot be guaranteed on the Internet. Bouygues 
Telecom cannot therefore be considered liable for the contents including its 
attachments. Any unauthorized use or dissemination is prohibited. If you are 
not the intended recipient of this message, then please delete it and notify 
the sender. 


___
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: Blowing in the Wind

2005-08-17 Thread John Ridge
Thanks, Scott. A superb effect - what seems to me particularly weird  
is to have it billowing smoothly as I read the emails about it!



On 16 Aug 2005, at 22:07, Scott Rossi wrote:


Greetings List:

For those of you who were unable to attend my presentation at  
RevConWest, I
showed some experiments with one of Rev's newest features: deep  
masks.  One
of the nice things about this feature is the ability of Rev to  
cache the
current window shape before switching to new shape.  This  
effectively allows
you to smoothly change shape of a window without it briefly  
disappearing or

flashing -- in essence creating an animated stack.

Today I came across a flag animation on the 'net and, just to see  
if it
would work, I tried applying the animation to the windowShape of a  
stack.
The result is a stack that whose shape and surface ripples as if  
blown in a

light breeze.

Execute the following in your message box:

  go url http://www.tactilemedia.com/download/breeze.rev;

This stack is about 600K so give it a minute to download (you  
should be able
to drag the stack around your desktop as well).  On my 667mHz  
laptop the

result is pretty nice; your mileage may vary...

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



Best wishes
John
[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: RE : Field List : disable field in a field list

2005-08-17 Thread John Ridge
I see what you mean! But perhaps the point is that if you want to do  
this sort of thing you really should use a menu - that's what they're  
for :-(  Human Interface Guidelines and all that...



On 17 Aug 2005, at 08:04, [EMAIL PROTECTED] wrote:


Thanks John.
I thought there was a function to do this.. Something like 'disable  
menuItem'.


But your proposition is correct : It works.
The command I used for setting the colour to gray :
set the foregroundcolor of line l of field My field to gray

But what an horrible code... Don't you think  ;-)


-Message d'origine-
De : [EMAIL PROTECTED] [mailto:use-revolution- 
[EMAIL PROTECTED] De la part de John Ridge

Envoyé : mardi 16 août 2005 14:16
À : How to use Revolution
Objet : Re: Field List : disable field in a field list


Hi Alex

I'm sure someone will have a good answer to this!

But meanwhile I wonder if you could do the following:

(a) set the textColor of each of your disabled lines to gray, to
simulate a menu. This does not disable the line, alas. So

(b) use the clickLine function to get the line number that has been
clicked - if the number is in your list of disabled lines, ignore the
selection.

I haven't tried this, but who knows, it might work...


On 16 Aug 2005, at 12:14, [EMAIL PROTECTED] wrote:



Hi everyone,

May be a basic question (still a beginner) but I still have problems
with field lists... I want to disable some items in my field list My
Field List (still visible but not clickable + in grey if possible)

I tried the following :
disable menuItem 1 of field My Field List
But it seems that this command only works for menus :-(

May be the solution can be :
Set the disabled of XXX to true
But what have I to use instead of XXX ?


Thanks.
Alex




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




L'integrité de ce message n'étant pas assurée sur Internet,  
Bouygues Telecom ne peut être tenue responsable de son contenu en  
ce compris les pièces jointes. Toute utilisation ou diffusion non  
autorisée est interdite. Si vous n'êtes pas destinataire de ce  
message, merci de le détruire et d'avertir l'expéditeur.


The integrity of this message cannot be guaranteed on the Internet.  
Bouygues Telecom cannot therefore be considered liable for the  
contents including its attachments. Any unauthorized use or  
dissemination is prohibited. If you are not the intended recipient  
of this message, then please delete it and notify the sender.



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

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



Best wishes
John
[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: Blowing in the Wind

2005-08-17 Thread david bovill

Lovely :)

Any chance of a Scottish Flag?
___
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


Image is empty?

2005-08-17 Thread David Bovill

How do I test to see if an image is empty?

The issue is that it is hard to filter the file dialog in such a way  
that only images or videos are selectable cross platform and then you  
have drag and drop... so I tried testing after a drag and drop (which  
sets the filename property) to see if the image has any data... so if  
you choose a text file or pdf the filename property is set (which is  
a pitty) and the imageData is not empy...


There is nothing that I now of like file is an image...

Any ideas of how to figure out after setting the filename of an image  
whether it worked or not?

___
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


Stop automatic actions in editing mode

2005-08-17 Thread Douglas Gilliland
Is it possible to stop an automatic action once you have placed the on
opencard script into the card.
I have a stack that has a curtain (card 1) open automatically to the
title (card 2). I used the card script on card 1:

on opencard
visual effect barn door open slow
go next
end opencard

I want to edit the first card but the opencard script prevents me from
doing so. I have looked through the documentation and manual but see
nothing on how to do this. It is probably very simple - but even the
simplest things are hard when you don't know the answer :)
Thanks,
Doug Gilliland
Sarasota, Fl
PS - If anyone is a high school chemistry/physics teacher and wants
some stacks I am using in my 9th grade Honors Physical Science classes
(measuring, SI system, sig figs and other science topics) I'd be happy
to share them.
___
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: Stop automatic actions in editing mode

2005-08-17 Thread Lynch, Jonathan
Use the application browser - found in the tools menu.

Right click on the icon for the card, which will be found under the icon
for the stack in the application browser - this will give you an option
to edit the card script.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Douglas
Gilliland
Sent: Wednesday, August 17, 2005 10:36 AM
To: use-revolution@lists.runrev.com
Subject: Stop automatic actions in editing mode

Is it possible to stop an automatic action once you have placed the on
opencard script into the card.
I have a stack that has a curtain (card 1) open automatically to the
title (card 2). I used the card script on card 1:

on opencard
visual effect barn door open slow
go next
end opencard

I want to edit the first card but the opencard script prevents me from
doing so. I have looked through the documentation and manual but see
nothing on how to do this. It is probably very simple - but even the
simplest things are hard when you don't know the answer :)
Thanks,
Doug Gilliland
Sarasota, Fl
PS - If anyone is a high school chemistry/physics teacher and wants
some stacks I am using in my 9th grade Honors Physical Science classes
(measuring, SI system, sig figs and other science topics) I'd be happy
to share them.
___
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


Menu Problem!

2005-08-17 Thread David Burgun

Hi,

I have a pop up menu that has two values, call them A and B. In the 
preOpenStack handler I want to set the menu back to A so I tried the 
following:


send menuPick A to button myButton

The Script on myButton is as so:

on menuPick theItemSelected
if theItemSelected = A then
-- Do Something

else
-- Do Something else
end if
end menuPick

When I manually enter A or B on the Pop Up all works ok. However when 
I run the preOpenStack handler, the Menu Stays a B even though I send 
an A to it. I have put a breakpoint in the menu pick handler and it 
receive the A ok. Do I need to set something else to have the menu 
update to A?


Thanks in Advance
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: Menu Problem!

2005-08-17 Thread Lynch, Jonathan
Try this:

Put A into tParm
Send menuPick tParm to button myButton


In a send command, items inside the quotes are still evaluated for their
value, rather than being literal. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Burgun
Sent: Wednesday, August 17, 2005 10:50 AM
To: How to use Revolution
Subject: Menu Problem!

Hi,

I have a pop up menu that has two values, call them A and B. In the 
preOpenStack handler I want to set the menu back to A so I tried the 
following:

send menuPick A to button myButton

The Script on myButton is as so:

on menuPick theItemSelected
if theItemSelected = A then
-- Do Something

else
-- Do Something else
end if
end menuPick

When I manually enter A or B on the Pop Up all works ok. However when 
I run the preOpenStack handler, the Menu Stays a B even though I send 
an A to it. I have put a breakpoint in the menu pick handler and it 
receive the A ok. Do I need to set something else to have the menu 
update to A?

Thanks in Advance
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


___
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: Stop automatic actions in editing mode

2005-08-17 Thread MisterX
Douglas 

There's more than one way than just with the application browser.

Remember the msg box is your friend ;)
Note, i didn't test #1. #3 may need tweaking.
and #2 is perenial, easy and works anywhere...

from the message (multiline):

  Lock messages
  go to cd 1

in your script (ma favorite)

on opencard
  if the shiftkey is down then
pass opencard
  or 
exit opencard
  end if
  [yourscript]

or also in msg

  set the clipboarddata to script of cd 1
  set the script of cd 1 to 
  go cd 1
  set the script of cd 1 to the clipbarddata

or ?

im sure now you can think of a few more ways ;)

cheers
Xav

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Douglas Gilliland
 Sent: Wednesday, August 17, 2005 16:36
 To: use-revolution@lists.runrev.com
 Subject: Stop automatic actions in editing mode
 
 Is it possible to stop an automatic action once you have 
 placed the on opencard script into the card.
 I have a stack that has a curtain (card 1) open automatically 
 to the title (card 2). I used the card script on card 1:
 
 on opencard
 visual effect barn door open slow
 go next
 end opencard
 
 I want to edit the first card but the opencard script 
 prevents me from doing so. I have looked through the 
 documentation and manual but see nothing on how to do this. 
 It is probably very simple - but even the simplest things are 
 hard when you don't know the answer :) Thanks, Doug 
 Gilliland Sarasota, Fl PS - If anyone is a high school 
 chemistry/physics teacher and wants some stacks I am using in 
 my 9th grade Honors Physical Science classes (measuring, SI 
 system, sig figs and other science topics) I'd be happy to share them.
 ___
 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: Menu Problem!

2005-08-17 Thread Ken Ray
On 8/17/05 9:49 AM, David Burgun [EMAIL PROTECTED] wrote:

 Hi,
 
 I have a pop up menu that has two values, call them A and B. In the
 preOpenStack handler I want to set the menu back to A so I tried the
 following:
 
 send menuPick A to button myButton

Actually, what you want to do is to set the menuHistory to a number
corresponding to the menu item you want selected. So if the menu displays
A as the first item, then B, you want to do:

  set the menuHistory of button myButton to 1

However keep in mind that this does the same thing as actually *selecting*
the menu item, so if you want to reset the menu, but *not* have it take
effect, you need to wrap the command in lock messages, like this:

  lock messages
  set the menuHistory of button myButton to 1
  unlock messages

HTH,

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


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


Re: RE : Field List : disable field in a field list

2005-08-17 Thread Ken Ray
On 8/17/05 2:04 AM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:

 Thanks John.
 I thought there was a function to do this.. Something like 'disable menuItem'.

Yes, but that works for menu *buttons*... fields aren't menus, so you can't
use the disable command.

Just FYI,

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [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: Menu Problem!

2005-08-17 Thread Lynch, Jonathan
I have used this sort of construction:

Put Insert Row Below into tChoice
Send menupick tChoice to button row options


And it worked fine, no need to use menuhistory at all. Is there a hidden
danger I am not aware of?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ken Ray
Sent: Wednesday, August 17, 2005 12:25 PM
To: Use Revolution List
Subject: Re: Menu Problem!

On 8/17/05 9:49 AM, David Burgun [EMAIL PROTECTED] wrote:

 Hi,
 
 I have a pop up menu that has two values, call them A and B. In the
 preOpenStack handler I want to set the menu back to A so I tried the
 following:
 
 send menuPick A to button myButton

Actually, what you want to do is to set the menuHistory to a number
corresponding to the menu item you want selected. So if the menu
displays
A as the first item, then B, you want to do:

  set the menuHistory of button myButton to 1

However keep in mind that this does the same thing as actually
*selecting*
the menu item, so if you want to reset the menu, but *not* have it take
effect, you need to wrap the command in lock messages, like this:

  lock messages
  set the menuHistory of button myButton to 1
  unlock messages

HTH,

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


___
use-revolution mailing list
use-revolution@lists.runrev.com
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: Menu Problem!

2005-08-17 Thread Ken Ray
On 8/17/05 11:36 AM, Lynch, Jonathan [EMAIL PROTECTED] wrote:

 I have used this sort of construction:
 
 Put Insert Row Below into tChoice
 Send menupick tChoice to button row options
 
 
 And it worked fine, no need to use menuhistory at all. Is there a hidden
 danger I am not aware of?

Well, the send menupick activates the menu option, but doesn't change the
label on the menu to correspond to the choice. So if you only want to
simulate the menu selection without setting the button's label, then it's a
fine approach.

Here's a summary of actions that can be taken:

1) put Blue into tChoice
send menupick tChoice to button 1

-- triggers the menupick in the button and acts on the choice, but
doesn't change the button's label, nor does it set the menuitem that is
directly under the mouse when then option button is selected the next time
(Mac only).

2) put Blue into tChoice
send menupick tChoice to button 1
set the label of button 1 to Blue

-- triggers the menupick in the button and acts on the choice, and sets
the label appropriately, but doesn't set the menuitem that is directly under
the mouse when then option button is selected the next time (Mac only).

3) set the menuhistory of button 1 to 1

-- (Assuming that Blue is the first menu item) Triggers the menupick
in the button and acts on the choice, sets the label appropriately, and set
the menuitem that is directly under the mouse when then option button is
selected the next time (Mac only).

HTH,

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


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


Re: Testing if an image is empty (blank)?

2005-08-17 Thread Trevor DeVore

On Aug 16, 2005, at 11:26 AM, david bovill wrote:


Thanks of the tip - works great for image object.

On 16 Aug 2005, at 17:44, Derek Bump wrote:



if (the imagePixMapID of img testImage) is empty then
  answer Unable to open the selected image. with OK
end if



Now for the player object? Do you have any scripts / appleScripts  
for figuring out whether the fileType of a file is supported by  
QuickTime? I am getting rather pleasant / unpleasant surprises here  
- what is being displayed for pdf's and text files?


Work in progress


For images and player objects you can check the result() after  
setting the fileName of the object.  If it isn't empty then there was  
an error.



--
Trevor DeVore
Blue Mango Multimedia
[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: Testing if an image is empty (blank)?

2005-08-17 Thread Klaus Major

Hi Trevor,


On Aug 16, 2005, at 11:26 AM, david bovill wrote:

Thanks of the tip - works great for image object.
On 16 Aug 2005, at 17:44, Derek Bump wrote:


if (the imagePixMapID of img testImage) is empty then
  answer Unable to open the selected image. with OK
end if
Now for the player object? Do you have any scripts / appleScripts  
for figuring out whether the fileType of a file is supported by  
QuickTime? I am getting rather pleasant / unpleasant surprises  
here - what is being displayed for pdf's and text files?

Work in progress
For images and player objects you can check the result() after  
setting the fileName of the object.  If it isn't empty then there  
was an error.


is this a new feature?

I remember that with earlier versions the result was always empty,  
even if you selected

a text (TXT) file.


--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]


Regards

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

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


Resetting a router

2005-08-17 Thread Mark Smith

Hi all.

 I have, at my workplace, an OS X machine that collects various bits of 
data from various places on the web at preset times (I have rev apps 
that are started as cron jobs that do the work). From time to time, the 
router drops the internet connection and generally seems to get it's 
little knickers in a twist. Resetting the router sorts it out, and I've 
created an ugly Rev/Applescript/QuicKeys combo that will reset the 
router if I'm not physically present, and, of course, it only seems to 
happen when I'm not there


I was away for a month just recently, and it all went wrong after about 
two weeks, so until I got back to reset things, the data was not 
collected. I can't help feeling that a simpler, probably Rev only 
solution would be more reliable, but I can't figure out how to get Rev 
to login to the router and press the right HTML buttons to do it.


Has anyone here had similar experiences and found a solution?

This is a Belkin adsl modem/router box, that has the usual HTML based 
control interface.


Thanks for any help,


Mark Smith





___ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.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: Testing if an image is empty (blank)?

2005-08-17 Thread Trevor DeVore

On Aug 17, 2005, at 10:56 AM, Klaus Major wrote:


Hi Trevor,


On Aug 16, 2005, at 11:26 AM, david bovill wrote:


Thanks of the tip - works great for image object.
On 16 Aug 2005, at 17:44, Derek Bump wrote:



if (the imagePixMapID of img testImage) is empty then
  answer Unable to open the selected image. with OK
end if

Now for the player object? Do you have any scripts / appleScripts  
for figuring out whether the fileType of a file is supported by  
QuickTime? I am getting rather pleasant / unpleasant surprises  
here - what is being displayed for pdf's and text files?

Work in progress

For images and player objects you can check the result() after  
setting the fileName of the object.  If it isn't empty then there  
was an error.


is this a new feature?

I remember that with earlier versions the result was always empty,  
even if you selected

a text (TXT) file.


Sorry, I need to clarify.  If an error occurs while opening Rev tries  
to open an image in an image object or any media in a player object  
then result() will not be empty.  When dealing with QuickTime, both  
text and PDF (pdf on os x only) are acceptable media types so no  
error is returned since there wasn't one.


You can use the EnhancedQT external AND the result() check for more  
control.  The function sqtCanOpenFile() AND qtGetMovieFileType() can  
be used in the EnhancedQT external.  qtCanOpenFile() can be set to  
disregard TEXT files so it will report false will you pass a text  
file to it.  qtGetMovieFileType() will report the type, multiframe  
graphic, image, unsupported, etc.  PDF and GIF would be multiframe  
graphic types.  You still need to check the result() because QT  
thinks it can open some MPEG files when it really can't.  You can  
check out the external at http://mangomultimedia.com/developer/ 
revolution/



--
Trevor DeVore
Blue Mango Multimedia
[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: Menu Problem!

2005-08-17 Thread Lynch, Jonathan
Thank you!

Most informative.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ken Ray
Sent: Wednesday, August 17, 2005 1:13 PM
To: Use Revolution List
Subject: Re: Menu Problem!

On 8/17/05 11:36 AM, Lynch, Jonathan [EMAIL PROTECTED] wrote:

 I have used this sort of construction:
 
 Put Insert Row Below into tChoice
 Send menupick tChoice to button row options
 
 
 And it worked fine, no need to use menuhistory at all. Is there a
hidden
 danger I am not aware of?

Well, the send menupick activates the menu option, but doesn't change
the
label on the menu to correspond to the choice. So if you only want to
simulate the menu selection without setting the button's label, then
it's a
fine approach.

Here's a summary of actions that can be taken:

1) put Blue into tChoice
send menupick tChoice to button 1

-- triggers the menupick in the button and acts on the choice, but
doesn't change the button's label, nor does it set the menuitem that is
directly under the mouse when then option button is selected the next
time
(Mac only).

2) put Blue into tChoice
send menupick tChoice to button 1
set the label of button 1 to Blue

-- triggers the menupick in the button and acts on the choice, and
sets
the label appropriately, but doesn't set the menuitem that is directly
under
the mouse when then option button is selected the next time (Mac only).

3) set the menuhistory of button 1 to 1

-- (Assuming that Blue is the first menu item) Triggers the
menupick
in the button and acts on the choice, sets the label appropriately, and
set
the menuitem that is directly under the mouse when then option button is
selected the next time (Mac only).

HTH,

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


___
use-revolution mailing list
use-revolution@lists.runrev.com
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: hard space in names of objects?

2005-08-17 Thread Jeanne A. E. DeVoto

At 11:14 PM -0700 8/16/2005, Erik Hansen wrote:

  I use spaces all the time in object names...

i wasn't sure. residual DOS phobias.
those underlines are ugly.


Some people are superstitious. ;-)
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.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: hard space in names of objects?

2005-08-17 Thread Lynch, Jonathan


rockI 


Uh oh...

Looks like I am stuck between a rock and a hard space!

J(patiently accepts all rotten fruit thrown at him)


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeanne A.
E. DeVoto
Sent: Wednesday, August 17, 2005 2:32 PM
To: How to use Revolution
Subject: Re: hard space in names of objects?

At 11:14 PM -0700 8/16/2005, Erik Hansen wrote:
   I use spaces all the time in object names...

i wasn't sure. residual DOS phobias.
those underlines are ugly.

Some people are superstitious. ;-)
-- 
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: Blowing in the Wind

2005-08-17 Thread Dan Shafer
But I thought the wind was always blowing so strongly in Scotland  
that flags don't ripple, they just stand straight out.


:-D

Dan

On Aug 17, 2005, at 5:21 AM, david bovill wrote:


Lovely :)

Any chance of a Scottish Flag?
___
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: Stop automatic actions in editing mode

2005-08-17 Thread Dan Shafer
Before you open the stack, click on the Messages icon in the Rev  
toolbar. That suspends all system messages until you toggle it back  
on. Saves my life about three times a month.



On Aug 17, 2005, at 7:36 AM, Douglas Gilliland wrote:


Is it possible to stop an automatic action once you have placed the on
opencard script into the card.




~~
Dan Shafer, Revolution Consultant and Author
http://www.shafermedia.com
Get my book, Revolution: Software at the Speed of Thought
From http://www.revolutionpros.com, Click My Stuff



___
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: Testing if an image is empty (blank)?

2005-08-17 Thread Klaus Major

Hi Trevor,


On Aug 16, 2005, at 11:26 AM, david bovill wrote:


Thanks of the tip - works great for image object.
On 16 Aug 2005, at 17:44, Derek Bump wrote:


if (the imagePixMapID of img testImage) is empty then
  answer Unable to open the selected image. with OK
end if

Now for the player object? Do you have any scripts /  
appleScripts for figuring out whether the fileType of a file is  
supported by QuickTime? I am getting rather pleasant /  
unpleasant surprises here - what is being displayed for pdf's  
and text files?

ork in progress
For images and player objects you can check the result() after  
setting the fileName of the object.  If it isn't empty then there  
was an error.

is this a new feature?
I remember that with earlier versions the result was always empty,  
even if you selected

a text (TXT) file.


Sorry, I need to clarify.  If an error occurs while opening Rev  
tries to open an image in an image object or any media in a player  
object then result() will not be empty.  When dealing with  
QuickTime, both text and PDF (pdf on os x only) are acceptable  
media types so no error is returned since there wasn't one.


You can use the EnhancedQT external AND the result() check for more  
control.  The function sqtCanOpenFile() AND qtGetMovieFileType()  
can be used in the EnhancedQT external.  qtCanOpenFile() can be set  
to disregard TEXT files so it will report false will you pass a  
text file to it.  qtGetMovieFileType() will report the type,  
multiframe graphic, image, unsupported, etc.  PDF and GIF would be  
multiframe graphic types.  You still need to check the result()  
because QT thinks it can open some MPEG files when it really  
can't.  You can check out the external at http:// 
mangomultimedia.com/developer/revolution/


Go figure :-)

Sorry, i only meant images and thought that the result was empty in  
any case in
earlier version when you tried to set the filename of an image to  
e.g. a text file.



Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]


Regards

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

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


Re: Testing if an image is empty (blank)?

2005-08-17 Thread Trevor DeVore

On Aug 17, 2005, at 11:56 AM, Klaus Major wrote:


Sorry, i only meant images and thought that the result was empty in  
any case in
earlier version when you tried to set the filename of an image to  
e.g. a text file.


I'm not sure about earlier version but in 2.5.1 if you set the  
filename of an image to a text file you get this in the result():


could not open image


--
Trevor DeVore
Blue Mango Multimedia
[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: Menu Problem!

2005-08-17 Thread Dan Shafer

David

First, are you trying to get the menu to execute the code associated  
with option A on openStack or are you just interested in making sure  
the button's label is set right? If the latter, rather than using  
menuPick just set the label of the button. That should work fine  
(untested).


Second, have you tried sending the menuPick message from a different  
place, e.g., another button? I set up a little test to do that. If I  
didn't explicitly set the label of the menu button, the script for  
the menu choice I entered would execute but the label of the menu  
button remained unchanged. So I suspect the secret is that you have  
to set the label of the menu button and then, if you want it to  
execute the choice, send the menuPick message.



On Aug 17, 2005, at 7:49 AM, David Burgun wrote:


Hi,

I have a pop up menu that has two values, call them A and B. In the  
preOpenStack handler I want to set the menu back to A so I tried  
the following:


send menuPick A to button myButton

The Script on myButton is as so:

on menuPick theItemSelected
if theItemSelected = A then
-- Do Something

else
-- Do Something else
end if
end menuPick

When I manually enter A or B on the Pop Up all works ok. However  
when I run the preOpenStack handler, the Menu Stays a B even though  
I send an A to it. I have put a breakpoint in the menu pick  
handler and it receive the A ok. Do I need to set something else  
to have the menu update to A?




~~
Dan Shafer, Revolution Consultant and Author
http://www.shafermedia.com
Get my book, Revolution: Software at the Speed of Thought
From http://www.revolutionpros.com, Click My Stuff



___
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


Newbie questions

2005-08-17 Thread AbilityForms
Hi Everyone

I'm in the middle of converting several HyperCard stacks into DreamCard. 

Question 1:
Since I often go from stack to stack gathering and distributing data I need 
to close and save each stack when I'm finished with it. HyperCard does this 
automatically as we know. How is this done in Revolution?

Question 2:
How do I delete a group of objects without losing the fields and buttons in 
the group?

Joe
Orlando Florida
___
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: Blowing in the Wind

2005-08-17 Thread MisterX

actually, it's more like most european flags, flogged down the downpour ;(

if you've been to Seattle, you know what i mean ;) 

;)

but this blowing stack really blows a lot of my expectations out of RunRev.
It could do openGL if it really wanted too and in total transparency...

just imagine the faces of the drulling developpers on other IDEs seeing
this!

cheers
X

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Dan Shafer
 Sent: Wednesday, August 17, 2005 20:44
 To: How to use Revolution
 Subject: Re: Blowing in the Wind
 
 But I thought the wind was always blowing so strongly in 
 Scotland that flags don't ripple, they just stand straight out.
 
 :-D
 
 Dan
 
 On Aug 17, 2005, at 5:21 AM, david bovill wrote:
 
  Lovely :)
 
  Any chance of a Scottish Flag?
  ___
  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: Testing if an image is empty (blank)?

2005-08-17 Thread Klaus Major

Hi Trevor,


On Aug 17, 2005, at 11:56 AM, Klaus Major wrote:

Sorry, i only meant images and thought that the result was empty  
in any case in
earlier version when you tried to set the filename of an image to  
e.g. a text file.
I'm not sure about earlier version but in 2.5.1 if you set the  
filename of an image to a text file you get this in the result():


could not open image


Yes, that's what i experienced an hour ago...

Maybe i am referring to even earlier versions, my memory works  
terribly well :-)



--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]


Regards

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

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


Re: Resetting a router

2005-08-17 Thread kee nethery
My preference on things such as this is to use a power controller and  
to toggle power to the router instead of trying to log into it and  
telling it to reset. If it is hosed, logging in might not work but  
power cycling it always works IF it is wedged and not defective.


I've used the PowerKey from sophisticated circuits and it is  
applescriptable and easy to use. There are tons of other power  
control devices out there, search for network power switch to get  
alternates.


Kee Nethery

On Aug 17, 2005, at 11:06 AM, Mark Smith wrote:


Hi all.

 I have, at my workplace, an OS X machine that collects various  
bits of data from various places on the web at preset times (I have  
rev apps that are started as cron jobs that do the work). From time  
to time, the router drops the internet connection and generally  
seems to get it's little knickers in a twist. Resetting the router  
sorts it out, and I've created an ugly Rev/Applescript/QuicKeys  
combo that will reset the router if I'm not physically present,  
and, of course, it only seems to happen when I'm not there


I was away for a month just recently, and it all went wrong after  
about two weeks, so until I got back to reset things, the data was  
not collected. I can't help feeling that a simpler, probably Rev  
only solution would be more reliable, but I can't figure out how to  
get Rev to login to the router and press the right HTML buttons to  
do it.


Has anyone here had similar experiences and found a solution?

This is a Belkin adsl modem/router box, that has the usual HTML  
based control interface.


Thanks for any help,


Mark Smith





___ Yahoo!  
Messenger - NEW crystal clear PC to PC calling worldwide with  
voicemail http://uk.messenger.yahoo.com

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

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



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


Can a substack icon in a standalone be rendered invisible?

2005-08-17 Thread Stgoldberg
Once again I'd like to approach the great minds on the Revolution forum.   
Hopefully, someone can offer a suggestion for the following issue:

I used   Revolution in Mac OS X to create   a standalone in which I'd like 
the user to be able to save data.   Since standalone's do not normally save 
data, I included a substack and checked off the Move substacks into individual 
stackfiles checkbox in the File Standalone settings.   This works fine, except 
that the standalones for Windows and for Mac OS 9 show the substack on the 
hard drive.   (The standalone for OS X is no problem since it is built as a 
single icon)   I'm concerned that the presence of two icons on Windows and OS 9 
may 
confuse the user, since it may not be obvious which icon to click on, the 
mainstack icon or the substack icon.

Is there a way in which the substack icon can be made invisible in both the 
Windows and OS 9 versions?   I tried putting the substack in a separate folder 
by checking off the Create folder for stackfiles option in the Standalone 
Application Settings, to get the substack out of view.   Also, I renamed the 
substack to something utterly boring that would not induce the reader to click 
on 
it.   (I tried checking off the Rename stackfiles generically option but 
this caused an error message in trying to save as a standalone).   It would be 
nice if the substack icon could just be invisible.   Is this possible?   
Thanks.
Steve Goldberg
___
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: Newbie questions

2005-08-17 Thread Ken Ray
On 8/17/05 2:10 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hi Everyone
 
 I'm in the middle of converting several HyperCard stacks into DreamCard.
 
 Question 1:
 Since I often go from stack to stack gathering and distributing data I need
 to close and save each stack when I'm finished with it. HyperCard does this
 automatically as we know. How is this done in Revolution?

You choose Save from the File menu before you go to the next stack.
 
 Question 2:
 How do I delete a group of objects without losing the fields and buttons in
 the group?

You 'ungroup' the group by selecting the group object and choosing Ungroup
Selected from the Object menu (or click the emboldened Group button on
the toolbar).


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [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: Stop automatic actions in editing mode

2005-08-17 Thread MisterX
 Before you open the stack, click on the Messages icon in 
 the Rev toolbar. That suspends all system messages until you 
 toggle it back on. Saves my life about three times a month.

Dan's always got an ace up in his sleeve ;) 

Just a question Dan, why is O'reilly not a possible publisher for your great
tutorials?

What would be the animal portreyed in the cover of the XTalk in RunRev book?

i would vote for a dolphin... 

The fun and social way to develop in wordly oceans for anyone aged 7-77 ;)

Thanks to Hugh from www.FlexibleLearning.com who just bumped my intelligence
to dolphin level in marketing ;)

cheers
Xav

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Dan Shafer
 Sent: Wednesday, August 17, 2005 20:47
 To: How to use Revolution
 Subject: Re: Stop automatic actions in editing mode
 
 Before you open the stack, click on the Messages icon in 
 the Rev toolbar. That suspends all system messages until you 
 toggle it back on. Saves my life about three times a month.
 
 
 On Aug 17, 2005, at 7:36 AM, Douglas Gilliland wrote:
 
  Is it possible to stop an automatic action once you have 
 placed the on 
  opencard script into the card.
 
 
 
 ~~
 Dan Shafer, Revolution Consultant and Author 
 http://www.shafermedia.com Get my book, Revolution: Software 
 at the Speed of Thought
  From http://www.revolutionpros.com, Click My Stuff
 
 
 
 ___
 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: Stop automatic actions in editing mode

2005-08-17 Thread Robert Brenstein

Is it possible to stop an automatic action once you have placed the on
opencard script into the card.
I have a stack that has a curtain (card 1) open automatically to the
title (card 2). I used the card script on card 1:

on opencard
visual effect barn door open slow
go next
end opencard

I want to edit the first card but the opencard script prevents me from
doing so. I have looked through the documentation and manual but see
nothing on how to do this. It is probably very simple - but even the
simplest things are hard when you don't know the answer :)
Thanks,
Doug Gilliland
Sarasota, Fl


type in the message box:

edit the script of cd 1

if by editing you mean editing objects on the card and you need to do 
it repeatedly, add escaping to your handler


on opencard
  if the controlKey is down then exit opencard
  visual effect barn door open slow
  go next
end opencard

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


Catching up... advice needed

2005-08-17 Thread graham samuel

Hi folks

I have been out of the loop since some time in May and I find it's 
impossible to catch up with the back numbers of the Digest of this list 
(I have **hundreds** of unread digests!). I'm thinking of starting a 
little project and wonder if anyone has any advice. Take these as 
newbie questions - I can't believe how fast the world of Runtime 
Revolution is moving!


Apple has a very useful internet application called iCal which allows 
one to construct a calendar and display it - IMHO the clever bits are:


1) the calendar can be updated from different computers (well, if 
you're a dotMac member) and all the machines will be kept in sync.


2) other people interested in the calendar can get it in read-only form 
using a web browser.


Great stuff, but what lets the thing down badly is its printing 
capability. Basically if you print say a month of appointments, the app 
may or may not show all of them on the printout; even if you take a 
screen shot and print that, there's no guarantee that all the events in 
the period will actually be shown on it... I understand that the app 
has been revised for Tiger (I haven't seen this yet) but that printing 
is still a headache.


It appears that Apple is using an established standard for the files 
for this app. The terms 'webDAV' and '.ics' spring to mind, and the 
format is in the public domain somewhere. So using RunRev, one could 
write an improved iCal calendar printer, and it could be 
cross-platform. My question is, does anyone know if this has already 
been done?


While I'm asking about Apple technologies, is it possible to write 
Dashboard Widgets for OSX Tiger using RunRev? Somebody must know.


TIA

Graham

Graham Samuel / The Living Fossil Co. / UK and France


___
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: Alias' on OS X

2005-08-17 Thread Dennis Brown

Ken,Jeanne,Jacqueline,

Yes I am on a Mac.
Yes Ken's script works on my alias', because the answer file resolves  
the alias.

Yes aliasReference() returns the right file.

No, my script does not work:

on mouseUp --this script works for the file alias
put aliasReference(gDBTVDataFolder  20040114  .csv) into  
field File path
put URL (file:  field File path) into field file text -- 
show for debug

end mouseUp

on mouseUp --this script works for the file, but the alias returns  
empty data

put gDBTVDataFolder  20040114  .csv into field File path
put URL (file:  field File path) into field file text -- 
show for debug

end mouseUp

So instead of resolving the alias, it is using the alias as the file.

I want to have a mix of alias' and files in a list without caring  
which is which.  How would I do that since the filenames are the same?


Dennis

On Aug 16, 2005, at 11:13 PM, Ken Ray wrote:


On 8/16/05 9:36 PM, Dennis Brown [EMAIL PROTECTED] wrote:



Hi,

I have a very large list of large files (thousands) that I use as a
database in my program.  I also use a subset of them for faster
testing.  At first I was duplicating the subset in another folder,
but I thought it would be nice to just have an alias of the files I
wanted to use in that folder.  The problem is that my program is
happy with the file names except it sees them as empty.  Shouldn't
they provide the get File: URL command with the data from the
original file?



Yes, and in fact that seems to still be the case. I created a text  
file and

an alias to the text file. I then ran this simple script:

on mouseUp
  answer file Pick the alias
  if it   then
put url(file:  it) into fld 1
  end if
end mouseUp

and it successfully put the contents of the original file into  
field 1.


Are you finding something else?


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [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: Alias' on OS X

2005-08-17 Thread Dennis Brown

Thanks for the prompts,

I answered my own question:
Try the alias first, and if the result is not empty, go for the file  
directly instead

My script works now.

Dennis

On Aug 17, 2005, at 5:56 PM, Dennis Brown wrote:


Ken,Jeanne,Jacqueline,

Yes I am on a Mac.
Yes Ken's script works on my alias', because the answer file  
resolves the alias.

Yes aliasReference() returns the right file.

No, my script does not work:

on mouseUp --this script works for the file alias
put aliasReference(gDBTVDataFolder  20040114  .csv) into  
field File path
put URL (file:  field File path) into field file text -- 
show for debug

end mouseUp

on mouseUp --this script works for the file, but the alias returns  
empty data

put gDBTVDataFolder  20040114  .csv into field File path
put URL (file:  field File path) into field file text -- 
show for debug

end mouseUp

So instead of resolving the alias, it is using the alias as the file.

I want to have a mix of alias' and files in a list without caring  
which is which.  How would I do that since the filenames are the same?


Dennis

On Aug 16, 2005, at 11:13 PM, Ken Ray wrote:



On 8/16/05 9:36 PM, Dennis Brown [EMAIL PROTECTED] wrote:




Hi,

I have a very large list of large files (thousands) that I use as a
database in my program.  I also use a subset of them for faster
testing.  At first I was duplicating the subset in another folder,
but I thought it would be nice to just have an alias of the files I
wanted to use in that folder.  The problem is that my program is
happy with the file names except it sees them as empty.  Shouldn't
they provide the get File: URL command with the data from the
original file?




Yes, and in fact that seems to still be the case. I created a text  
file and

an alias to the text file. I then ran this simple script:

on mouseUp
  answer file Pick the alias
  if it   then
put url(file:  it) into fld 1
  end if
end mouseUp

and it successfully put the contents of the original file into  
field 1.


Are you finding something else?


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [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: Resetting a router

2005-08-17 Thread HyperChris
You might also play with opening up a Telnet or SSH connection to the router 
as most routers have their own operating system with simple commands to do a 
reboot. I don't think there is a canned Telnet or SSH stack out there in Rev 
but I would look into writing a script for those apps and then just use Rev to 
launch that script using shell()

On Aug 17, 2005, at 11:06 AM, Mark Smith wrote:
 ...
 I was away for a month just recently, and it all went wrong after 
 about two weeks, so until I got back to reset things, the data was 
 not collected. I can't help feeling that a simpler, probably Rev 
 only solution would be more reliable, but I can't figure out how to 
 get Rev to login to the router and press the right HTML buttons to 
 do it.

 This is a Belkin adsl modem/router box, that has the usual HTML 
 based control interface.
___
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: Newbie questions

2005-08-17 Thread Timothy Miller

Hi Everyone

I'm in the middle of converting several HyperCard stacks into DreamCard.

Question 1:
Since I often go from stack to stack gathering and distributing data I need
to close and save each stack when I'm finished with it. HyperCard does this
automatically as we know. How is this done in Revolution?


Hi Joe,


Aside from Ken's worthy comment, another way to go, depending on how 
you use your stacks --


Sometimes it makes a sense to add to a script the line/s --

save stack whatever

--with or without--

close stack whatever


If it's a suitable script, you probably won't lose data simply 
because you forgot to save, or failed to save before a spontaneous 
quit due to an application migraine. A script like this saves when 
you need to, like only when you make a data change in a stack, 
without saving too often or too seldom, like with an auto-save stack.


HTH


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


Standalone Building Picking Up Tons of Cruft

2005-08-17 Thread Dan Shafer
I've run into a bizarre and troubling situation with the Standalone  
Builder. I wonder if anyone else has seen this. As far as I can tell,  
there's no Bugzilla report on it.


Open Rev new.
Create a new mainstack.
Open the Application Browser
You should see only your stack here (unless you have Rev UI  
components showing)

Set Standalone Application Settings
Close and re-open or refresh App Browser
Your stack is still the only one here
Save the stack
Close and re-open or refresh App Browser
Your stack is still the only one here
Save as a Standalone Application
Close and re-open or refresh App Browser
WHOA!!!

I don't know what you see, but I have a list of 17 stacks and dozens  
of substacks of thoe stacks. All of these are in the Revolution  
directory but not all of the stacks in that directory show up.


I have determined that this only happens if the Search for required  
inclusions radio button is on. If I Select inclusions semi- 
manually, the problem does not arise.


I'm running OS X 10.4.2 and Rev 2.6 build 108. If someone else can  
confirm this, I'll BZ it.





~~
Dan Shafer, Revolution Consultant and Author
http://www.shafermedia.com
Get my book, Revolution: Software at the Speed of Thought
From http://www.revolutionpros.com, Click My Stuff



___
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: Standalone Building Picking Up Tons of Cruft

2005-08-17 Thread Dan Shafer
Further research shows this happens even in a newly installed,  
pristine Rev app where the Standalone BUilder picks up two Rev- 
provided stacks as being in memory according to the App Browser  
after a build as described with the search for option on.


Incidentally, I'm not sure this is a major problem. Who knows? It  
came to my attention because of a bizarre turn of events. In trying  
to address the question of file type settings in the past two days, I  
took an old HyperCard stack and put it into the Rev 2.6 folder just  
for ease of reference. Today when I was saving a standalone at one  
point, Rev reported a compiler error in that HC stack, which is what  
led me to try to find out why that stack was even in memory. If I  
clicked on that stack and told Rev to close it and remove it from  
memory, Rev crashed consistently.


So I think there is at least *potential* here for mischief.


On Aug 17, 2005, at 4:27 PM, Dan Shafer wrote:

I've run into a bizarre and troubling situation with the Standalone  
Builder. I wonder if anyone else has seen this. As far as I can  
tell, there's no Bugzilla report on it.


Open Rev new.
Create a new mainstack.
Open the Application Browser
You should see only your stack here (unless you have Rev UI  
components showing)

Set Standalone Application Settings
Close and re-open or refresh App Browser
Your stack is still the only one here
Save the stack
Close and re-open or refresh App Browser
Your stack is still the only one here
Save as a Standalone Application
Close and re-open or refresh App Browser
WHOA!!!

I don't know what you see, but I have a list of 17 stacks and  
dozens of substacks of thoe stacks. All of these are in the  
Revolution directory but not all of the stacks in that directory  
show up.


I have determined that this only happens if the Search for  
required inclusions radio button is on. If I Select inclusions  
semi-manually, the problem does not arise.


I'm running OS X 10.4.2 and Rev 2.6 build 108. If someone else can  
confirm this, I'll BZ it.





~~
Dan Shafer, Revolution Consultant and Author
http://www.shafermedia.com
Get my book, Revolution: Software at the Speed of Thought
From http://www.revolutionpros.com, Click My Stuff



___
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


ChatRev (ca) one year old

2005-08-17 Thread Björnke von Gierke
I did some digging in the archives last July, and I found some  
interesting Mails regarding ChatRev. Unfortunately I missed the perfect  
date to post this info by 5 days, due to my laziness (and other  
circumstances).


Anyway: Yay to ChatRev's birtday, 13th August, and  to another  
prosperous year!
Also a big YAY to the chatters, you make this possible! In no  
particular order: Mark, Wouter, Malte, Hugh, Hazy, Xavier, Dan, Ro,  
Judy, Marielle, Jeff... (sorry if i have forgotten you)


Most simultaneous users: 25 (during appearance of the Kevin)
Longest Downtime: 3 Days during my move at the end of July
Most snidey remarks: during the first Pulp chat with the Kevin

Many people have learned their first steps with socket communication  
thanks to ChatRev, and maybe sometimes one of the Chatrev Coding  
Contest can become a big event for the community, unlike this year.  
(more on the coding contest in another mail)


Here come the Dates:

Sun Jul 18 2004
First chatting proposal by BvG on the list and on revolutionboard:

http://www.revolutionboard.de/cgi-bin/yabb/YaBB.pl?board=news; 
action=display;num=1090189969


http://lists.runrev.com/pipermail/use-revolution/2004-July/039782.html

wed jul 28
first runrev communitychat using AIM
http://lists.runrev.com/pipermail/use-revolution/2004-July/040659.html

fri august 13
chatrev 1.0 announced
http://lists.runrev.com/pipermail/use-revolution/2004-August/042013.html

mon aug 23
chatrev 1.1
http://lists.runrev.com/pipermail/use-revolution/2004-August/042560.html

tue aug 31
chatrev 1.2
http://lists.runrev.com/pipermail/use-revolution/2004-August/043038.html

sat sep 4
first alternative client by Mark Schonewille
Chatrev 1.2M13
http://lists.runrev.com/pipermail/use-revolution/2004-September/ 
043444.html


tue nov 4
chatrev 1.2.5
http://lists.runrev.com/pipermail/use-revolution/2004-November/ 
046161.html


mon dec 20
chatrev 1.3
http://lists.runrev.com/pipermail/use-revolution/2004-December/ 
048349.html


sat may 7 2005
ca around this time ChatRev 1.3b2
Chat with Kevin Miller
http://mail.runrev.com/pipermail/use-revolution/2005-May/056798.html

mon June 13
ChatRev Coding Contest starts
http://mail.runrev.com/pipermail/use-revolution/2005-June/060113.html

Greetings
Bjoernke
--

official ChatRev page:
http://chatrev.bjoernke.com

Chat with other RunRev developers:
go stack URL http://homepage.mac.com/bvg/chatrev1.3.rev;

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


help on design

2005-08-17 Thread Charles Hartman
The tutorial app that I hope I'm finishing up includes a reference  
substack that the user is likely to keep onscreen beside the main  
stack. It would be useful to have forward and (especially) back  
buttons for navigation within that substack. Here's how I thought of  
doing it:


In the stack script, I'd put an openStack handler that initialized a  
couple of globals:

put empty into gHistoryList
put 0 into gHistoryPointer
I'd put an openCard handler in each card, I guess:
put the name of this card after gHistoryList
put return after gHistoryList
add 1 to gHistoryPointer
and I'd copy a Back button onto the card with this mouseUp:
if gHistoryPointer  0 then
subtract 1 from gHistoryPointer
put line gHistoryPointer of gHistoryList into tDest
go to tDest
end if

Does this seem like the best approach? Or is there a better method --  
or something built into Rev -- that I'm missing?


Any suggestions on the trickier problem of the Forward button? The  
simple system I've outlined makes it seem easy (if gHistoryPointer is  
 the number of lines in gHistoryList then go to the card named on  
the next line in gHistoryList). But not at all clear what should  
happen when the user first clicks the Back button, and then navigates  
to some other card. I don't see an easy way to handle multiple-path  
Forwards. Somewhere, I have to delete lines from gHistoryList that  
are below the gHistoryPointer . . .


Confused  glad to get any advice,

Charles Hartman

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


Re: Stop automatic actions in editing mode

2005-08-17 Thread Douglas Gilliland
Thanks Jonathan. I never would have figured that one out on my own.
Doug Gilliland
Sarasota, FL

On 8/17/05, Lynch, Jonathan [EMAIL PROTECTED] wrote:
 Use the application browser - found in the tools menu.
 
 Right click on the icon for the card, which will be found under the icon
 for the stack in the application browser - this will give you an option
 to edit the card script.
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Douglas
 Gilliland
 Sent: Wednesday, August 17, 2005 10:36 AM
 To: use-revolution@lists.runrev.com
 Subject: Stop automatic actions in editing mode
 
 Is it possible to stop an automatic action once you have placed the on
 opencard script into the card.
 I have a stack that has a curtain (card 1) open automatically to the
 title (card 2). I used the card script on card 1:
 
 on opencard
 visual effect barn door open slow
 go next
 end opencard
 
 I want to edit the first card but the opencard script prevents me from
 doing so. I have looked through the documentation and manual but see
 nothing on how to do this. It is probably very simple - but even the
 simplest things are hard when you don't know the answer :)
 Thanks,
 Doug Gilliland
 Sarasota, Fl
 PS - If anyone is a high school chemistry/physics teacher and wants
 some stacks I am using in my 9th grade Honors Physical Science classes
 (measuring, SI system, sig figs and other science topics) I'd be happy
 to share them.
 ___
 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: Can a substack icon in a standalone be rendered invisible?

2005-08-17 Thread Chipp Walters

Hi Steve,

If I were you, I'd just not include the subStack in the Standalone build 
process, then just open it when you need if from your standalone. I 
never use the 'put substacks in separate folders' feature of standalone 
builder. My substacks are always either libraries, or special biz logic 
windows, never data storage stacks. IMO, it's important to keep content 
and biz logic separate, which is about 180 degrees off of what standard 
card based stack databases do. When you mix them both, you risk a whole 
new level of possible bugs which can be introduced.


You can always get the filepath to the standalone by using the address 
function.


best,
Chipp

[EMAIL PROTECTED] wrote:
Once again I'd like to approach the great minds on the Revolution forum.   
Hopefully, someone can offer a suggestion for the following issue:

Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII

I used   Revolution in Mac OS X to create   a standalone in which I'd like 
the user to be able to save data.   Since standalone's do not normally save 
data, I included a substack and checked off the Move substacks into individual 
stackfiles checkbox in the File Standalone settings.   This works fine, except 
that the standalones for Windows and for Mac OS 9 show the substack on the 
hard drive.   (The standalone for OS X is no problem since it is built as a 
single icon)   I'm concerned that the presence of two icons on Windows and OS 9 may 
confuse the user, since it may not be obvious which icon to click on, the 
mainstack icon or the substack icon.


Is there a way in which the substack icon can be made invisible in both the 
Windows and OS 9 versions?   I tried putting the substack in a separate folder 
by checking off the Create folder for stackfiles option in the Standalone 
Application Settings, to get the substack out of view.   Also, I renamed the 
substack to something utterly boring that would not induce the reader to click on 
it.   (I tried checking off the Rename stackfiles generically option but 
this caused an error message in trying to save as a standalone).   It would be 
nice if the substack icon could just be invisible.   Is this possible?   
Thanks.

Steve Goldberg
___
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: Stop automatic actions in editing mode

2005-08-17 Thread Douglas Gilliland
Thanks Dan. Together with Jonathan's method (Option-click on the card
icon in the application browser - allows you to edit the script) I now
have two ways to stop and edit an opencard script.
I appreciate the help. 
Doug Gilliland
Sarasota, FL

On 8/17/05, Robert Brenstein [EMAIL PROTECTED] wrote:
 Is it possible to stop an automatic action once you have placed the on
 opencard script into the card.
 I have a stack that has a curtain (card 1) open automatically to the
 title (card 2). I used the card script on card 1:
 
 on opencard
 visual effect barn door open slow
 go next
 end opencard
 
 I want to edit the first card but the opencard script prevents me from
 doing so. I have looked through the documentation and manual but see
 nothing on how to do this. It is probably very simple - but even the
 simplest things are hard when you don't know the answer :)
 Thanks,
 Doug Gilliland
 Sarasota, Fl
 
 type in the message box:
 
 edit the script of cd 1
 
 if by editing you mean editing objects on the card and you need to do
 it repeatedly, add escaping to your handler
 
 on opencard
if the controlKey is down then exit opencard
visual effect barn door open slow
go next
 end opencard
 
 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

___
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


Keydown combination

2005-08-17 Thread Mike
Hi all
I have keyboards with the  FN  key and was looking to use a key combination 
of keydown FN + F7 on opening a stack or card.  Anyone know how I can 
accomplish this key combination, is it possible ?  
Thanks 
Michaeld
___
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: Resetting a router

2005-08-17 Thread Mark Smith

This is a very good point. I'll check out the PowerKey thing.

Thanks,

Mark

On 17 Aug 2005, at 20:37, kee nethery wrote:

My preference on things such as this is to use a power controller and 
to toggle power to the router instead of trying to log into it and 
telling it to reset. If it is hosed, logging in might not work but 
power cycling it always works IF it is wedged and not defective.


I've used the PowerKey from sophisticated circuits and it is 
applescriptable and easy to use. There are tons of other power control 
devices out there, search for network power switch to get 
alternates.


Kee Nethery

On Aug 17, 2005, at 11:06 AM, Mark Smith wrote:


Hi all.

 I have, at my workplace, an OS X machine that collects various bits 
of data from various places on the web at preset times (I have rev 
apps that are started as cron jobs that do the work). From time to 
time, the router drops the internet connection and generally seems to 
get it's little knickers in a twist. Resetting the router sorts it 
out, and I've created an ugly Rev/Applescript/QuicKeys combo that 
will reset the router if I'm not physically present, and, of course, 
it only seems to happen when I'm not there


I was away for a month just recently, and it all went wrong after 
about two weeks, so until I got back to reset things, the data was 
not collected. I can't help feeling that a simpler, probably Rev only 
solution would be more reliable, but I can't figure out how to get 
Rev to login to the router and press the right HTML buttons to do it.


Has anyone here had similar experiences and found a solution?

This is a Belkin adsl modem/router box, that has the usual HTML based 
control interface.


Thanks for any help,


Mark Smith





___ Yahoo! 
Messenger - NEW crystal clear PC to PC calling worldwide with 
voicemail http://uk.messenger.yahoo.com

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

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



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

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





___ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.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: Stop automatic actions in editing mode

2005-08-17 Thread Douglas Gilliland
Thanks Xav. Between your scripts (I especially like the 2nd one),
Dan's Message Click and Jonathan's Option-click I now have 3 ways to
stop an autoscript. It's amazing how much one can learn from this
mailing list.
Doug Gilliland


On 8/17/05, MisterX [EMAIL PROTECTED] wrote:
 Douglas
 
 There's more than one way than just with the application browser.
 
 Remember the msg box is your friend ;)
 Note, i didn't test #1. #3 may need tweaking.
 and #2 is perenial, easy and works anywhere...
 
 from the message (multiline):
 
   Lock messages
   go to cd 1
 
 in your script (ma favorite)
 
 on opencard
   if the shiftkey is down then
 pass opencard
   or
 exit opencard
   end if
   [yourscript]
 
 or also in msg
 
   set the clipboarddata to script of cd 1
   set the script of cd 1 to 
   go cd 1
   set the script of cd 1 to the clipbarddata
 
 or ?
 
 im sure now you can think of a few more ways ;)
 
 cheers
 Xav
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of
  Douglas Gilliland
  Sent: Wednesday, August 17, 2005 16:36
  To: use-revolution@lists.runrev.com
  Subject: Stop automatic actions in editing mode
 
  Is it possible to stop an automatic action once you have
  placed the on opencard script into the card.
  I have a stack that has a curtain (card 1) open automatically
  to the title (card 2). I used the card script on card 1:
 
  on opencard
  visual effect barn door open slow
  go next
  end opencard
 
  I want to edit the first card but the opencard script
  prevents me from doing so. I have looked through the
  documentation and manual but see nothing on how to do this.
  It is probably very simple - but even the simplest things are
  hard when you don't know the answer :) Thanks, Doug
  Gilliland Sarasota, Fl PS - If anyone is a high school
  chemistry/physics teacher and wants some stacks I am using in
  my 9th grade Honors Physical Science classes (measuring, SI
  system, sig figs and other science topics) I'd be happy to share them.
  ___
  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: help on design

2005-08-17 Thread J. Landman Gay

Charles Hartman wrote:
The tutorial app that I hope I'm finishing up includes a reference  
substack that the user is likely to keep onscreen beside the main  
stack. It would be useful to have forward and (especially) back  
buttons for navigation within that substack. Here's how I thought of  
doing it:


In the stack script, I'd put an openStack handler that initialized a  
couple of globals:

put empty into gHistoryList
put 0 into gHistoryPointer
I'd put an openCard handler in each card, I guess:
put the name of this card after gHistoryList
put return after gHistoryList
add 1 to gHistoryPointer
and I'd copy a Back button onto the card with this mouseUp:
if gHistoryPointer  0 then
subtract 1 from gHistoryPointer
put line gHistoryPointer of gHistoryList into tDest
go to tDest
end if

Does this seem like the best approach? Or is there a better method --  
or something built into Rev -- that I'm missing?


Yup:

  go back
  go forth -- or the synonym go forward


If you want to exclude particular cards from the visited list, and you 
know the user will be going to one of those cards, set the lockrecent 
property to true ahead of time. When lockrecent is true, cards are not 
added to the history trail.


See the go entry in the dictionary for lots of other options too.

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


Re: Keydown combination

2005-08-17 Thread Sarah Reichelt
I have keyboards with the  FN  key and was looking to use a key  
combination of keydown FN + F7 on opening a stack or card.   
Anyone know how I can accomplish this key combination, is it  
possible ?

Thanks


I'm not quite sure what you want to achieve, but if you want to  
detect the F7 key, you need to use the functionKey message which will  
get sent whenever you press any function key. It sounds like your  
keyboard requires a modifier key to be held down to use the function  
keys, but that doesn't matter to Rev.


e.g.

on functionKey pKey
  if pKey = 7 then
-- do whatever you wanted to do when F7 was pressed
  else
pass functionKey
  end if
end functionKey

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: Can a substack icon in a standalone be rendered invisible?

2005-08-17 Thread J. Landman Gay

[EMAIL PROTECTED] wrote:
Once again I'd like to approach the great minds on the Revolution forum.   
Hopefully, someone can offer a suggestion for the following issue:


I used   Revolution in Mac OS X to create   a standalone in which I'd like 
the user to be able to save data.   Since standalone's do not normally save 
data, I included a substack and checked off the Move substacks into individual 
stackfiles checkbox in the File Standalone settings.   This works fine, except 
that the standalones for Windows and for Mac OS 9 show the substack on the 
hard drive.   (The standalone for OS X is no problem since it is built as a 
single icon)   I'm concerned that the presence of two icons on Windows and OS 9 may 
confuse the user, since it may not be obvious which icon to click on, the 
mainstack icon or the substack icon.


Is there a way in which the substack icon can be made invisible in both the 
Windows and OS 9 versions?   I tried putting the substack in a separate folder 
by checking off the Create folder for stackfiles option in the Standalone 
Application Settings, to get the substack out of view.   Also, I renamed the 
substack to something utterly boring that would not induce the reader to click on 
it.   (I tried checking off the Rename stackfiles generically option but 
this caused an error message in trying to save as a standalone).   It would be 
nice if the substack icon could just be invisible.   Is this possible?   


Not automatically, I don't think, but after the build it is pretty easy 
to just change the visibility manually. In Windows you can do it in the 
stack's Properties setttings. On OS 9 you'll need something like ResEdit 
or another utility to do it.


You'd have to use an installer, or else stress that the user should copy 
the entire folder over to the hard drive. Otherwise the invisible files 
wouldn't get copied.


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


Re: Keydown combination

2005-08-17 Thread Douglas Westbrook

Create a button with script
on mouseup
put the keysdown
end mouseup

put the result from the message box in a script similiar to

If 65476, (whatever # FN is) = the keysdown then go to stack whatever
On Aug 17, 2005, at 7:40 PM, Mike wrote:


Hi all
I have keyboards with the  FN  key and was looking to use a key  
combination of keydown FN + F7 on opening a stack or card.   
Anyone know how I can accomplish this key combination, is it  
possible ?

Thanks
Michaeld
___
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