Re: pause, rew and forwad an audio

2005-07-12 Thread Jeanne A. E. DeVoto

At 8:36 PM -0700 7/11/2005, Dan Shafer wrote:
Thanks for pointing those out. Searching the docs proves once again 
to be less than useful.


But the docs at least imply that a playRate  1 plays forward at 
slower speed. Would a negative number then result in a rewind?



You could look at the useless docs for playRate and find: A negative 
playRate plays the movie or sound backward.


;-)
--
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: PLEASE HELP PLEASE HEP.........

2005-07-12 Thread Eric Chatonet

Hi Ban and others who replied,

In a scrolling list field, line selection is automated at mouseDown  
by the engine.
So one single line in both scripts is enough (without using global,  
value function or anything else :-)


answer the hilitedText of fld My scrolling list field -- of me in  
the field script if you prefer


If you allow me, one word on top of that about ergonomics: however is  
the platform, guide lines say that selecting a line in a list just do  
that and nothing else :-)


Le 11 juil. 05 à 21:08, Ban Nguyen a écrit :


I have this code in the scrolling list field:

global textOfClickedLine
on mouseUp
   select the clickLine
   put the value of the clickLine into textOfClickedLine
   answer textOfClickedLine
end mouseUp

It prints the value of the clickline correctly

And then created a button on the same card

And have this code for the button:

on mouseUp
answer value(textOfClickedLine)
end mouseUp

but it prints out the whole text textOfClickedLine not the value.  
How

can I get the value of the textOfClickedLine to print out


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: Buggy debugger?

2005-07-12 Thread Eric Chatonet

Hello,

There is another case where the debugger does not work: when the  
stack name begin with rev.
It's not a bug but a feature, an annoying feature when you write  
plugins ;-)


Le 12 juil. 05 à 04:46, J. Landman Gay a écrit :


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



The details of my debugger frustration, previously described:

It works fine on, for example, a simple mouseUp script in a  
simple button. However, if the button sends a message to a  
handler in a stack script (for instance), which then sends  
another message to another handler, nested or not, the debugger  
won't follow along. Script debug mode is definitely turned on.  
Step Into, etc., are absent and/or dimmed out, typically.  
Sometimes, I can see the script window open, several windows  
back, but I can't get to it until the script is done executing.  
I've tried setting multiple breakpoints in each handler, tried  
setting breakpoints by script. The script rolls right past them.




I think Eric mentioned this after you wrote last time, but the  
debugger doesn't track send to messages. It tracks everything  
else, but if you send a handler to another object the debugger  
won't follow along.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com



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: control and option keys not working on Tiger with 2.6?

2005-07-12 Thread Eric Chatonet

Hello Sivakatirswami,

I would add that logging out/in, restarting Rev, the computer, etc.  
are always things to try when you encounter a weird behaviour :-)
Just an example: sometimes and suddenly shortcuts do not work  
properly in Rev. Restarting a new session fixes the issue.


Le 12 juil. 05 à 04:43, J. Landman Gay a écrit :


On 7/11/05 8:57 PM, Sivakatirswami wrote:


OK, it's OSX... I shut down.. rebooted with cmd-S ran fsck - 
fy ...  twice... there were some errors... now the option key and  
control  work in Rev.
Question remains though, why they worked in other apps and not in  
Rev.




I'm not sure why other apps work, but the what's new that ships  
with Rev has this in it:


Issue:  On OS X systems, the controlKey and optionKey functions  
occasionally return false even if the keys are being pressed. This  
issue is an OS problem.
Workaround:  Log out of OS X, then log back in. This clears the key  
detection.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com


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: Dreamcard Spell Check

2005-07-12 Thread Scott Morrow

Derek
What about the rest of us?  At least some of us anxious as well.
-Scott Morrow

Elementary Software
(Now with 20% less chalk dust !)
web http://elementarysoftware.com/
email   [EMAIL PROTECTED]

-
On Jul 11, 2005, at 7:38 PM, Derek Bump wrote:


Sivakatirswami wrote:

Derek... any news on your spell checker plugin?


Sorry, was taken away from that project.  I'll send you what I've got 
in the morning.  And yes, it does all that you want it to do.



Derek Bump
Dreamscape Software
___
Compress Photos for the Web with JPEGCompress
http://www.dreamscapesoftware.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: pause, rew and forwad an audio

2005-07-12 Thread Malte Brill

Just a sidenote:

If you need it to work on Win 98 setting the playrate to 0 seems to 
unexpectedly quit rev (using version 2.2). Not tested on other windows 
systems nor 2.5 or higher


Cheers,

Malte

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


[ANN][EN][FR] 18th Tutorial from So Smart Software available

2005-07-12 Thread Eric Chatonet

Paris, Tuesday, 12 July 2005 12:30:00 +0100

-- English version -

Hello,

So Smart Software has the pleasure to announce the avaibility of a  
18th tutorial:

How to download data from the internet

This stack explains how to test the user connection, an url validity,  
why and how to use get url or load url, retrieve data from framed  
pages, give an account of download progress, manage errors, display  
retrieved data (web pages, stacks, compressed or not), etc.

Print function included.

This new How-To stack will appear automatically in the Tutorials  
Picker list (a plugin you can download from my web-site).
If you don't have a broadband connection, you can dowload this  
tutorial separately as a 31 KB zip archive. But note that only  
versions accessible by Tutorials Picker are if necessary updated.


Enjoy,
Best regards from Paris,

Eric Chatonet.

- Version française 

Bonjour,

So Smart Software a le plaisir d'annoncer la sortie d'un 18ème  
didacticiel:

Comment télécharger des données depuis internet

Cette pile explique comment tester la connection internet de  
l'utilisateur, la validité d'une url, pourquoi et comment utiliser  
get url ou load url, récupérer des pages web construites avec des  
cadres, rendre compte de l'avancement d'un téléchargement, gérer les  
erreurs, afficher les données récupérées (pages web, piles,  
compressées ou non), etc.

Fonction d'impression incluse.

Ce nouveau didacticiel apparaîtra automatiquement dans la liste de  
Tutorials Picker, plugin que vous pouvez télécharger depuis mon site  
web.
Si vous ne disposez pas d'une connection haut-débit, vous pouvez  
télécharger ce didacticiel depuis le site sous la forme d'une archive  
zip de 31 Ko. Mais sachez que seules les versions accessibles via  
Tutorials Picker bénéficient d'éventuelles mises à jour.


Bonnes découvertes,
Cordialement,

Eric Chatonet.

---
So Smart Software

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

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch
---
Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0) 143 317 762
Mobile33 (0) 620 745 086
---___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: pause, rew and forwad an audio

2005-07-12 Thread Jon
Here is a handler that rewinds a player 10 seconds when a button is 
clicked.  Call this repeatedly and periodically and you would get some 
sort of rewind effect


on mouseUp
 local t
 put the currentTime of player myPlayer into t
 subtract (10 * the timeScale of player myPlayer) from t
 set the currentTime of player myPlayer to t
end mouseUp

:)

Jon



Dan Shafer wrote:

Assuming you are using a QuickTime Player object to do this work, you  
can use the following properties to control pause and loudness:


set the playLoudness of player foo to 0
set the paused of player foo to true (and false to un-pause)

However, Rev does not include any commands to place the playback head  
where you want it. Trevor DeVore of Mango Multimedia, who hangs out  
here, wrote an external for Rev to provide better interaction with QT  
movies but a quick perusal of the version I have doesn't include  
implementation of rewind or fast forward (i.e., frame-specific  
positioning) as far as I can tell.


Dan

On Jul 11, 2005, at 1:07 PM, Ban Nguyen wrote:


I use play and stop command to play and stop an audio.  What  command do
I need to use to pause, rew and forwad an audio.  How do I control the
volume? Thank you for your help.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

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




___
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 RevXML converting illegals to entities

2005-07-12 Thread Ken Ray

 p.s. Ken:
 
 a) would your library give us control over this kind of thing?

Yes.

 b) if I installed your library on a server I could use start using
 and call it from a CGI?

Yes. It's pure Transcript, so it can be used wherever a normal Transcript
library can be used.


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



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


Re: mac file name fonkyness

2005-07-12 Thread mark
Thanks to Scott and Mark W., this works like a champ if your using long  
file names on a mac and trying to set the fileName of a player to these  
long names.  I suppose another option is to use the rename command to  
generate shorter file names,  but then you screw yourself if you want  
to continue to use the same media in itunes.

thanks again,
mark in japan

Scott wrote:


A workaround was provided by Mark Waddingham: set the filename of
a your player to a *file* URL, ie
file:///Volumes/Primary/Users/mark/Desktop/ 
really_really_really_long_filenam

e.mp3

Important: make sure to replace any spaces in the name with %20, even  
though

you should *not* use a fully URL encoded path.


___
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: pause, rew and forwad an audio

2005-07-12 Thread Dan Shafer

G.

Well, first of all I didn't easily find playRate when I was searching  
for info for my first response. I realize what I did; I did a Filter  
on Objects for the word player rather than searching objects for  
the word player. Now, I've gotten into that habit because: (a)  
searching is too slow; and (b) it brings up way more than I want to  
know.


The old docs had a much more useful feature that somehow got left out  
in the upgrade to the new design (which I do like in many ways). It  
is still described in the present docs but no longer accurate:


 To see a list of messages that can be sent to a player as a result  
of user actions or internal Revolution events, open the Transcript  
Language Dictionary page of the main Documentation window, and  
choose Player Messages from the Show menu at the top. To see a list  
of all the properties a player can have, choose Player Properties  
from the Show menu.


I miss that.


On Jul 11, 2005, at 10:37 PM, Jeanne A. E. DeVoto wrote:


At 8:36 PM -0700 7/11/2005, Dan Shafer wrote:

Thanks for pointing those out. Searching the docs proves once  
again to be less than useful.


But the docs at least imply that a playRate  1 plays forward at  
slower speed. Would a negative number then result in a rewind?





You could look at the useless docs for playRate and find: A  
negative playRate plays the movie or sound backward.


;-)
--
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






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




___
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: play videoClip nameOfVideo does not work, Please help

2005-07-12 Thread Devin Asay


On Jul 11, 2005, at 6:08 PM, Ban Nguyen wrote:


I create a button name play
I put this script on button:
on mouseUp
   play videoClip MENTORS at 100,100
end mouseUp

It did not work.  Please help me, thank you


Did you import the clip into the stack? If so, open the Application  
Browser (Tools menu) and find the imported video clip. Make sure you  
are using the correct name, including extension if any. Also, the  
play command doesn't handle various types of compression well. (Klaus  
Major is the expert in this area.) The QuickTime player object is  
much better at playing compressed files, especially audio compression.)


If you did not import the clip, but are trying to play it as an  
external file, you must specify the entire file path, like this:


play videoClip C:/My folder/My other folder/MENTORS.avi

The exception to this is if you have set the defaultFolder property  
to the folder that contains the video clip file.


Hope this helps.

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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: different UI approach

2005-07-12 Thread Devin Asay


On Jul 11, 2005, at 5:31 PM, Erik Hansen wrote:




--- Chipp Walters [EMAIL PROTECTED] wrote:



My inclination is to agree with you, Dan,



agree with the agreement, but...

it -felt- good.


Whoa. It drove me crazy! I hate an interface that tries to guess what  
I want to do. A click is a quick, easy event to generate. Interfaces  
that respond to mouse points feel like waving a loaded gun around  
without quite knowing just when it will decide to fire.


If fact, I think I'll create an interface that eliminates mouse  
pointing and only responds to clicks. Let's see... one click  
activates the top rightmost button, two clicks pulls down the first  
menu, two and a half clicks chooses menu item 1 of menu 1...


;-)

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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: Spell Checker

2005-07-12 Thread Bob Earp

Dear Derek,
Is there any chance you could share this with the rest of us.  To be able to 
add a spell checker to Rev would be quite fantastic given my spelling and 
typing dyslexia ;-)


Thanks for responding.  Bob...

Bob Earp - White Rock, British Columbia



~
Date: Mon, 11 Jul 2005 21:38:42 -0500
From: Derek Bump [EMAIL PROTECTED]
Subject: Re: Dreamcard Spell Check
To: How to use Revolution use-revolution@lists.runrev.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Sivakatirswami wrote:

Derek... any news on your spell checker plugin?


Sorry, was taken away from that project.  I'll send you what I've got in
the morning.  And yes, it does all that you want it to do.


Derek Bump
Dreamscape Software
___
Compress Photos for the Web with JPEGCompress
http://www.dreamscapesoftware.com/

~

_
Take charge with a pop-up guard built on patented Microsoft® SmartScreen 
Technology  
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.


___
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: Spell Checker

2005-07-12 Thread Derek Bump

Bob Earp wrote:
Is there any chance you could share this with the rest of us.  To be 
able to add a spell checker to Rev would be quite fantastic given my 
spelling and typing dyslexia ;-)


I'm working hard on completing the Spell Checker Plugin.  I wanted to 
have something by this morning, but work was busy last night so I didn't 
have a lot of free time (I'm in law enforcement).


Rest assured though, I will put it up for everyone to download...the 
question then is do I charge a fee? :)  (just kidding about the fee)



Derek Bump
Dreamscape Software
___
Compress Photos for the Web with JPEGCompress
http://www.dreamscapesoftware.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


Folder size

2005-07-12 Thread Chris Carroll-Davis

Hello folks -

Anyone know if there is an easy way in Rev of getting the size of a  
folder (together with all it's sub-folders).  I know I can do a loop  
using detailed files and detailed folders but that seems a bit  
long-winded, and I'm sure I'd be re-inventing the wheel!  Is there  
another way, or is there an existing function anywhere that I can pinch?


TIA

Chris


___
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: play videoClip nameOfVideo does not work, Please help

2005-07-12 Thread J. Landman Gay

On 7/12/05 9:09 AM, Devin Asay wrote:

If you did not import the clip, but are trying to play it as an  
external file, you must specify the entire file path, like this:


As long as we're talking about videoclips, is there a way to store a QT 
movie as an imported file in a stack, but still set a player to use it? 
I know I can write the movie to disk temporarily and play it from there, 
but it would be cleaner if I could just refer to it in the stack. Using 
the play command to run it doesn't give enough control, I need to use 
a player object.


--
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: play videoClip nameOfVideo does not work, Please help

2005-07-12 Thread Ban Nguyen

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of J. Landman
Gay
Sent: Tuesday, July 12, 2005 8:33 AM
To: How to use Revolution
Subject: Re: play videoClip nameOfVideo does not work, Please help

On 7/12/05 9:09 AM, Devin Asay wrote:

 If you did not import the clip, but are trying to play it as an  
 external file, you must specify the entire file path, like this:

As long as we're talking about videoclips, is there a way to store a QT 
movie as an imported file in a stack, but still set a player to use it? 
I know I can write the movie to disk temporarily and play it from there,

but it would be cleaner if I could just refer to it in the stack. Using 
the play command to run it doesn't give enough control, I need to use 
a player object.






-  Could you  give an example how to use the player object?  I did
imported the moive (MENTORS.wmv) into the stack (videoClips)
___
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: play videoClip nameOfVideo does not work, Please help

2005-07-12 Thread Ban Nguyen


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of J. Landman
Gay
Sent: Tuesday, July 12, 2005 8:33 AM
To: How to use Revolution
Subject: Re: play videoClip nameOfVideo does not work, Please help

On 7/12/05 9:09 AM, Devin Asay wrote:

 If you did not import the clip, but are trying to play it as an  
 external file, you must specify the entire file path, like this:

As long as we're talking about videoclips, is there a way to store a QT 
movie as an imported file in a stack, but still set a player to use it? 
I know I can write the movie to disk temporarily and play it from there,

but it would be cleaner if I could just refer to it in the stack. Using 
the play command to run it doesn't give enough control, I need to use 
a player object.






-  Could you  give an example how to use the player object?  I did
imported the moive (MENTORS.wmv) into the stack (videoClips)




- Does it play .wmv movie?
This is what I did:
I create a button and put this code in there
on mouseUp
   play videoClip MENTORS.wmv at 100,100
end mouseUp

I didnot not work. What did I do wrong?  Please help





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


random number help...

2005-07-12 Thread Paul Salyers

I need help on putting a random number in a array.

Here is my random code to get a random number 0-5:

on mouseUp
  put random(6) -1 onto tFNF1
  put tFNF1 into field FNF
  put random(6) -1 onto tSNF1
  put tSNF1 into field SNF
end mouseUp


What I need to do is to do that 100 times and store the random number is an 
aray


I guess repeat for 10 times has replaced For / Next

I can live with that, but how to I store the random number in an array 
field eX:


tFNF1 tFNF2 tFNF3 tFNF4 / tFNF100 the same for the tSNF

Then I'll put the tFNF1-100 and tSNF1-100 into the correct fields ad need be.




Paul Salyers
PS1 - Senior Rep.
[EMAIL PROTECTED]
Http://ps1.SoftSeven.org 



___
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: pause, rew and forwad an audio

2005-07-12 Thread Richard Gaskin

Dan Shafer wrote:
 To see a list of messages that can be sent to a player as a result  of 
user actions or internal Revolution events, open the Transcript  
Language Dictionary page of the main Documentation window, and  choose 
Player Messages from the Show menu at the top. To see a list  of all 
the properties a player can have, choose Player Properties  from the 
Show menu.


I miss that.


Your old friend need not be missed -- seems it's there, just in a 
different location:


  Help-Objects-Player-Message

--
 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: play videoClip nameOfVideo does not work, Please help

2005-07-12 Thread Devin Asay


On Jul 12, 2005, at 9:57 AM, Ban Nguyen wrote:


- Does it play .wmv movie?
This is what I did:
I create a button and put this code in there
on mouseUp
   play videoClip MENTORS.wmv at 100,100
end mouseUp

I didnot not work. What did I do wrong?  Please help


To the best of my knowledge, Revolution (and most other software  
video players) can not play .wmv files. This is a proprietary  
Microsoft technology whose format is not open source.


Others may be more familiar with this issue than I am.

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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: play videoClip nameOfVideo does not work, Please help

2005-07-12 Thread Devin Asay

On Jul 12, 2005, at 9:32 AM, J. Landman Gay wrote:


On 7/12/05 9:09 AM, Devin Asay wrote:


If you did not import the clip, but are trying to play it as an   
external file, you must specify the entire file path, like this:




As long as we're talking about videoclips, is there a way to store  
a QT movie as an imported file in a stack, but still set a player  
to use it? I know I can write the movie to disk temporarily and  
play it from there, but it would be cleaner if I could just refer  
to it in the stack. Using the play command to run it doesn't give  
enough control, I need to use a player object.


I've never been able to find a way to do it. Seems like a no-brainer,  
though. BZ request, anyone?


Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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


place the window in the middle of screen?

2005-07-12 Thread Ban Nguyen
Hello,

How to place the window in the center of the screen?  Please help
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: pause, rew and forwad an audio

2005-07-12 Thread Dan Shafer

OK, this is Dan with egg all over his face.

Thanks, Richard.

I hate to admit this but when I first got the new docs and poked  
around a bit, I never took the time to see what the left pane would  
expand to. Not me, the super user. No, sirree. I'll do a search and  
filter and find everything i want in that hard-to-do-it macho way  
that sort of matches some of my coding techniques.


Yeesh.

Lesson learned.

dan

On Jul 12, 2005, at 9:19 AM, Richard Gaskin wrote:


Dan Shafer wrote:

 To see a list of messages that can be sent to a player as a  
result  of user actions or internal Revolution events, open the  
Transcript  Language Dictionary page of the main Documentation  
window, and  choose Player Messages from the Show menu at the  
top. To see a list  of all the properties a player can have,  
choose Player Properties  from the Show menu.

I miss that.



Your old friend need not be missed -- seems it's there, just in a  
different location:


  Help-Objects-Player-Message

--
 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




___
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: place the window in the middle of screen?

2005-07-12 Thread Klaus Major

Hi Ban,


Hello,

How to place the window in the center of the screen?  Please help


...
set the loc of stack xyz to the screenloc
...

:-)


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: random number help...

2005-07-12 Thread Dar Scott


On Jul 12, 2005, at 12:09 PM, Paul Salyers wrote:

What I need to do is to do that 100 times and store the random number 
is an aray


I'm not sure what you are asking for.  Maybe this gets you to walking 
distance:


  repeat with i = 1 to 100
put random(6)-1 into a[i]
  end repeat

Dar

--
**
DSC (Dar Scott Consulting  Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**

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


RE: place the window in the middle of screen?

2005-07-12 Thread Ban Nguyen

 Hello,

 How to place the window in the center of the screen?  Please help

...
set the loc of stack xyz to the screenloc
...

:-)



Should I put this code in the main stack?  Where should I put this code.
Thank you for your help





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


Re: place the window in the middle of screen?

2005-07-12 Thread Klaus Major

Hi Ban,


Hello,

How to place the window in the center of the screen?  Please help

...
set the loc of stack xyz to the screenloc
...

:-)

Should I put this code in the main stack?  Where should I put this  
code.


This should go into the stackscript into an preopenstack handler
so the window will appear in the middle of the screen:

on preopenstack
  set the loc of this stack to the screenloc
  ...
end preopenstack


Thank you for your help


You're welcome :-)


Best from germany

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: pause, rew and forwad an audio

2005-07-12 Thread Richard Gaskin

Dan Shafer wrote:
 Dan Shafer wrote:

  To see a list of messages that can be sent to a player as a  result
 of user actions or internal Revolution events, open the  Transcript
 Language Dictionary page of the main Documentation  window, and
 choose Player Messages from the Show menu at the  top. To see a
 list  of all the properties a player can have,  choose Player
 Properties  from the Show menu.
 I miss that.


 Your old friend need not be missed -- seems it's there, just in a
 different location:

   Help-Objects-Player-Message

 Thanks, Richard.

 I hate to admit this but when I first got the new docs and poked
 around a bit, I never took the time to see what the left pane
 would  expand to.
 Not me, the super user. No, sirree. I'll do a search and  filter and
 find everything i want in that hard-to-do-it macho way  that sort of
 matches some of my coding techniques.

 Yeesh.

 Lesson learned.

I learned the same lesson:  Some time ago I posted a suggestion here 
about this, and Jeanne showed me where to find it.


Sometimes it takes a second try to teach us ol' dogs a new trick, but at 
least we learn in the end. :)


--
 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: place the window in the middle of screen?

2005-07-12 Thread Ban Nguyen

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Klaus
Major
Sent: Tuesday, July 12, 2005 9:48 AM
To: How to use Revolution
Subject: Re: place the window in the middle of screen?

Hi Ban,

 Hello,

 How to place the window in the center of the screen?  Please help
 ...
 set the loc of stack xyz to the screenloc
 ...

 :-)

 Should I put this code in the main stack?  Where should I put this  
 code.

This should go into the stackscript into an preopenstack handler
so the window will appear in the middle of the screen:

on preopenstack
   set the loc of this stack to the screenloc
   ...
end preopenstack

 Thank you for your help

You're welcome :-)


Best from germany

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


-  Thanks Klaus it works





___
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: place the window in the middle of screen?

2005-07-12 Thread Klaus Major

Xin chào Ban,


...
This should go into the stackscript into an preopenstack handler
so the window will appear in the middle of the screen:

on preopenstack
   set the loc of this stack to the screenloc
   ...
end preopenstack



Thank you for your help


You're welcome :-)


Best from germany

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


-  Thanks Klaus it works


I am not surprised :-D


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


building an audio player

2005-07-12 Thread Ban Nguyen
Xin chào Klaus,


I am new to Revolution.  I am building an audio player.  So far I got the play, 
stop, next, previous buttons work

Do you have any idea to do the pause button and I want to use the slider to 
control the audio id user want to play fast or play back (you know what I mean)

I want to have a volume control to control the sound

BTW I am using the scrolling list field to list the audio files and let user 
click on each songit works 

Please help
Thank you
___
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


Serial communication in Tiger

2005-07-12 Thread Dennis Brown

Hi All,

I just ran into a problem that perhaps I can use Rev to solve, but I  
don't know if I can, or where to start looking, so perhaps one of you  
can point me in the right direction.


I have a robotic glass cutting machine I built 12 years ago.  It uses  
a serial communications port to initially program its internal  
EPROM.  I used a Mac (since deceased) with a serial port and terminal  
communication software to send two small files to program the machine  
when I first built it.  Now the machine is acting up, and I have  
replacement chips for it, but I have to program them.  I use a  
Keyspan USB to Serial port device and driver which work with a serial  
terminal app.  I can communicate with all the hardware, but I can't  
control the app in the way I need to.


All I need to do is send a file one character at a time to the device  
and wait for the echo before sending the next character --piece of cake.


Anyone know if I can use Rev to do this?

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


Script editor - non-existent changes.

2005-07-12 Thread Alex Tweedly


One of the things that has annoyed me, on and off, about the script 
editor is that it will ask me
 Do you want to apply the changes . 
  [Apply]   [ Cancel]  [Don't Apply]


even when I didn't think I had made any changes. Today, it got annoying 
enough for me to investigate (rather than just curse under my breath and 
carry on with what I was trying to do).


The revScriptEditor script contains


  if pTheKey is among the items of 65361,65362,65363,65364,65360 then
-- navigation key, arrow, home, end, change selection
selectionChanged
pass rawKeyUp
  end if


Any other key will set the modified flag, and force the question to be 
asked when the script editor is closed.


So it looks to me as though:
1. regardless of what the comment says, the home key is in the list, 
so it doesn't set the flag; the end key isn't, so it does set the flag

2. Even unimportant keys will set the flag (e.g. Ctl, Alt, etc.)

Am I missing something ?  Can ctl or alt affect the content of the script ?
is there anything different between home and end keys that would require 
this to be different ?


I can (probably will) just change it and see what happens - but there 
are too many key combinations to trust any results from simple testing, 
so if anyone has answers to these questions it might save me some time.


Thanks,

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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.12/46 - Release Date: 11/07/2005

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


Re: different UI approach

2005-07-12 Thread Ken Norris


On Jul 12, 2005, at 9:18 AM, [EMAIL PROTECTED] 
wrote:



Date: Tue, 12 Jul 2005 08:32:25 -0600
From: Devin Asay [EMAIL PROTECTED]
Subject: Re: different UI approach



On Jul 11, 2005, at 5:31 PM, Erik Hansen wrote:




--- Chipp Walters [EMAIL PROTECTED] wrote:



My inclination is to agree with you, Dan,



agree with the agreement, but...

it -felt- good.


Whoa. It drove me crazy! I hate an interface that tries to guess what
I want to do. A click is a quick, easy event to generate. Interfaces
that respond to mouse points feel like waving a loaded gun around
without quite knowing just when it will decide to fire.


Yes!! FWIW, that's exactly how it felt to me too. Thanks for putting it 
in words


I think it's evil, like horizontal scrolling (Note: I even keep the 
dock on my Mac on the left side instead of the bottom ;-))


Actually, I think a little circular motion with grow buttons would be 
cool (a circular dock? -- circular menus?). But I still need to fire 
the gun (click) if and when _I_ want to do it.


All the best,
Ken N.

___
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: Serial communication in Tiger

2005-07-12 Thread Gordon Tillman

Hi Dennis,


On Jul 12, 2005, at 12:43, Dennis Brown wrote:


Hi All,

I just ran into a problem that perhaps I can use Rev to solve, but  
I don't know if I can, or where to start looking, so perhaps one of  
you can point me in the right direction.


I have a robotic glass cutting machine I built 12 years ago.  It  
uses a serial communications port to initially program its internal  
EPROM.  I used a Mac (since deceased) with a serial port and  
terminal communication software to send two small files to program  
the machine when I first built it.  Now the machine is acting up,  
and I have replacement chips for it, but I have to program them.  I  
use a Keyspan USB to Serial port device and driver which work with  
a serial terminal app.  I can communicate with all the hardware,  
but I can't control the app in the way I need to.


All I need to do is send a file one character at a time to the  
device and wait for the echo before sending the next character -- 
piece of cake.


Anyone know if I can use Rev to do this?


This should be no problem at all.  I wrote a complete driver for both  
NCS/Pearson and ScanTron (bubble-form) scanners and had to do much  
the same type of thing.  Works great on a Mac with the Keyspan adapter.


--gordon


___
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: building an audio player

2005-07-12 Thread Klaus Major

Xin chào Ban,


Xin chào Klaus,

I am new to Revolution.  I am building an audio player.  So far I  
got the play, stop, next, previous buttons work


Do you have any idea to do the pause button and I want to use the  
slider to control the audio id user want to play fast or play back  
(you know what I mean)


you mean the user clicks (and holds the mouse!) on the fastforward  
button

and the sound plays very fast, until the user releases the mouse again?

Hint:
To be able to control the sound like you want to, you must use a  
player“ object!
If you just use play ac xyz then you do not have much control over  
the playback!

No fast forward/backward etc...

In that case i use a button (2 buttons, on for forward and one for  
backwards)

with this script, this is the fastforward button:

on mousedown
   set the playrate of player your audio playername here to 2
  ## plays double speed...
  ## This is the normal behaviour of such a button, i think ;-)
end mousedown

on mouseup
set the playrate of player your audio playername here to 1
end mouseup

on mouserelease
  set the playrate of player your audio playername here to 1
end mouserelease


That's all :-)
...
set the playrate of ... to -2
...

In the fast backward button.


I want to have a volume control to control the sound


Simply use a slider, vertical of horizontal.

Set the startvalue to 0
The endvalue to 100

And put this into the script of the slider:

on scrollbardrag t_value
   set the playloudness of player your audio playername here to  
t_value

end scrollbardrag

Done :-)

The message scrollbardrag is being sent to Revolution continuously
while the user drags the slider. The message can have 1 parameter,
the current value of the slider, so this script will work in realtime.

Hope this helps.

BTW I am using the scrolling list field to list the audio files and  
let user click on each songit works


Please help
Thank you


Không có chi. (I just love Google ;-)

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: building an audio player

2005-07-12 Thread Ban Nguyen

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Klaus Major
Sent: Tuesday, July 12, 2005 10:54 AM
To: How to use Revolution
Subject: Re: building an audio player

Xin chào Ban,

 Xin chào Klaus,

 I am new to Revolution.  I am building an audio player.  So far I  
 got the play, stop, next, previous buttons work

 Do you have any idea to do the pause button and I want to use the  
 slider to control the audio id user want to play fast or play back  
 (you know what I mean)

you mean the user clicks (and holds the mouse!) on the fastforward  
button
and the sound plays very fast, until the user releases the mouse again?

Hint:
To be able to control the sound like you want to, you must use a  
player object!
If you just use play ac xyz then you do not have much control over  
the playback!
No fast forward/backward etc...

In that case i use a button (2 buttons, on for forward and one for  
backwards)
with this script, this is the fastforward button:

on mousedown
set the playrate of player your audio playername here to 2
   ## plays double speed...
   ## This is the normal behaviour of such a button, i think ;-)
end mousedown

on mouseup
 set the playrate of player your audio playername here to 1
end mouseup

on mouserelease
   set the playrate of player your audio playername here to 1
end mouserelease


That's all :-)
...
set the playrate of ... to -2
...

In the fast backward button.

 I want to have a volume control to control the sound

Simply use a slider, vertical of horizontal.

Set the startvalue to 0
The endvalue to 100

And put this into the script of the slider:

on scrollbardrag t_value
set the playloudness of player your audio playername here to  
t_value
end scrollbardrag

Done :-)

The message scrollbardrag is being sent to Revolution continuously
while the user drags the slider. The message can have 1 parameter,
the current value of the slider, so this script will work in realtime.

Hope this helps.

 BTW I am using the scrolling list field to list the audio files and  
 let user click on each songit works

 Please help
 Thank you

Không có chi. (I just love Google ;-)

Regards


-


I used the player object but it did not work. How can I have a list of songs 
in there?

I want to use the slider to control the song forward and backward and use 
another slider to make the volume

Is there anyway to do that?

Thank you very much for your help
Ban


___
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: Buggy debugger -- solved?

2005-07-12 Thread Timothy Miller

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


The details of my debugger frustration, previously described:

It works fine on, for example, a simple mouseUp script in a simple 
button. However, if the button sends a message to a handler in a 
stack script (for instance), which then sends another message to 
another handler, nested or not, the debugger won't follow along. 
Script debug mode is definitely turned on. Step Into, etc., are 
absent and/or dimmed out, typically. Sometimes, I can see the 
script window open, several windows back, but I can't get to it 
until the script is done executing. I've tried setting multiple 
breakpoints in each handler, tried setting breakpoints by script. 
The script rolls right past them.


I think Eric mentioned this after you wrote last time, but the 
debugger doesn't track send to messages. It tracks everything 
else, but if you send a handler to another object the debugger 
won't follow along.





Thanks to Eric, Jacque and Mark on this thread. And thanks to Dan, again.

First, let me clarify what happens, and what doesn't. The script 
window opens at the breakpoint, but it does not come to the front, 
and the script does not pause at the breakpoint. After the script is 
done executing, I can move the script window to the front, but it 
does me no good.


Oops! I just solved part of the puzzle, but mysteries remain. Feel 
free to skip to the second row of asterisks if you want. The details 
lie between the asterisks if anyone is interested.



** the dull details, perhaps now irrelevant, follow:


Here's a typical sequence of events.

On mouseup
get this
put that into field theotherthing
etc.
 goForIt -- this is a message sent to the background script. The 
bg script does receive it, and the script executes fine, but I can't 
debug it.

end mouseup

Now, in the background script

On goForIt
 handler1 -- this massages some data, without changing stacks or 
backgrounds. It terminates, so the script moves onto the next handler 
in goForIt

 handler2 -- more of the same
 handler3 -- this goes to another stack, picks up some data and 
returns. It also terminates
 handler4 -- this is a handler that doesn't terminate. The next 
handler is nested, in other words. Depending on an operator, it calls 
either handler5 or handler6

end goForIt

The command send does not appear anywhere in this sequence.

In reaction to the good comments of the good people on this thread, 
and also in reaction to my desire not to look like a whiner or an 
idiot, I re-tested. Same results. As follows:


If I put the breakpoint in the button, the button script does open, 
and I can step into through the lines of the button. Once the 
script gets to the goForIt message, the script executes without 
pausing, even though the window of the bg script opens.


If I put the breakpoint at the beginning of the goForIt handler in 
the bg script, at the the handler1 message, at the beginning of the 
handler1 handler, in the middle of the handler1 handler, or all of 
the above, or do the same with any other handler in this sequence, 
the same thing happens. The script window opens, but it's not the 
front window, and the script runs to completion, without pausing. 
When the script has executed, the script window remains open.


After reading the docs again, I realized that I can initiate 
debugging when the error window opens. So, I deliberately placed an 
error at various points in the goForIt handler, or in hanlder1, 
handler2, etc. The debug button on the error window did respond, and 
took me to the error. The script has paused, the script window opens, 
but the debugger buttons at the bottom of the script window (step 
into, etc.) are absent, and the corresponding items in the debug 
window are dimmed out. The script stalls. All I can do is remove the 
offending line, save, and run the script again.




**  The more productive part starts below:



Maybe there's something about background scrips. As I write this, it 
strikes me that I've put most scripts of this nature in the 
background script. I just tried a similar kind of 
button-handler-handler-etc situation, where all the handlers are in 
the stack script. These seem to debug just fine.


Maybe this is why the debugger seems to have worked at some times, 
not at others. I didn't notice the pattern before.


Now I'm going back to the script described above. I'm moving handler1 
to the stack script. If I put the breakpoint at hanlder1 in the stack 
script, I can step into all the way thru handler1. When it 
terminates, and control reverts to the bg script, I can't debug any 
further.


My hypothesis is -- there is something different about bg scripts -- 
maybe several things. In a way I hope so. I'm gonna feel really 
stupid if no one can reproduce this issue at this point.


If background scripts are different, what's different about them? I 
looked through the 

Re: Script editor - non-existent changes.

2005-07-12 Thread Jon
I agree that this behavior is annoying.  It is one of the reasons I 
don't really trust the editor.  Neat that you were able to locate the 
reason for the bizarre behavior...


:)

Jon



Alex Tweedly wrote:



One of the things that has annoyed me, on and off, about the script 
editor is that it will ask me
 Do you want to apply the changes .   [Apply]   [ Cancel]  [Don't 
Apply]


even when I didn't think I had made any changes. Today, it got 
annoying enough for me to investigate (rather than just curse under my 
breath and carry on with what I was trying to do).


The revScriptEditor script contains


  if pTheKey is among the items of 65361,65362,65363,65364,65360 then
-- navigation key, arrow, home, end, change selection
selectionChanged
pass rawKeyUp
  end if



Any other key will set the modified flag, and force the question to 
be asked when the script editor is closed.


So it looks to me as though:
1. regardless of what the comment says, the home key is in the list, 
so it doesn't set the flag; the end key isn't, so it does set the flag

2. Even unimportant keys will set the flag (e.g. Ctl, Alt, etc.)

Am I missing something ?  Can ctl or alt affect the content of the 
script ?
is there anything different between home and end keys that would 
require this to be different ?


I can (probably will) just change it and see what happens - but there 
are too many key combinations to trust any results from simple 
testing, so if anyone has answers to these questions it might save me 
some time.


Thanks,


___
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: play videoClip nameOfVideo does not work, Please help

2005-07-12 Thread Judy Perry
Also,  I may be wrong, but I think from a previous email of his that he
may have used a wmv format which I think is proprietary and perhaps
unsupported?

Anybody know about this?

Judy

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


Ann: Video player posted on RevNet

2005-07-12 Thread Mark Talluto
With all the talk about forwarding and rewinding video, I thought it  
might be useful to release a project I created as a proof of concept  
for video on demand.  It could really use a moment with Scott Rossi  
to make it look good.  The code is very short and simple.  It was  
designed to access a QT streaming server.  It could easily be  
modified with a single line change to work with videos locally.  If  
you need any help making changes, I am here to answer your questions.


You can take a look at how forwarding and rewinding was implemented  
for some ideas.  The stack can be found using RevNet and is called:   
CS Video on Demand



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

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


RE: building an audio player

2005-07-12 Thread Stephen Barncard

HI,
Ban Nguyen, could you do us all a favor and EDIT your text a little 
before replying? --


1. Try and trim most of the quoted and viewed posts in your responses 
- cut it back to the essence where we can pick up the thread. Many 
people are on digests and to have so much unneeded verbiage could be 
considered rude.


2. If you must quote large bodies of text, then please put your new 
response up at the top of the email message.


3. This is what your posts look like to Eudora users in their mail browsers:


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Klaus 
Major

...snip...
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

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


What you said got snipped in my mail browser - Eudora looks at the 
first few lines and when it sees quotes, it puts in ...snip I 
never see what you said.


That's all I initially see in my mail browser, which is all I use to 
read email. I have to actually open your message and scroll down to 
read the new information.



thanks!
stephen barncard
___
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: Serial communication in Tiger

2005-07-12 Thread Dennis Brown

Thanks Gordan,

I just found Sarah's SerialTest.rev stack and it can communicate to  
my device.  So I am home free now --just have to make a few  
adjustments to her stack.


Thanks also to Sarah --when you get here!
Dennis


On Jul 12, 2005, at 1:48 PM, Gordon Tillman wrote:


Hi Dennis,


On Jul 12, 2005, at 12:43, Dennis Brown wrote:



Hi All,

I just ran into a problem that perhaps I can use Rev to solve, but  
I don't know if I can, or where to start looking, so perhaps one  
of you can point me in the right direction.


I have a robotic glass cutting machine I built 12 years ago.  It  
uses a serial communications port to initially program its  
internal EPROM.  I used a Mac (since deceased) with a serial port  
and terminal communication software to send two small files to  
program the machine when I first built it.  Now the machine is  
acting up, and I have replacement chips for it, but I have to  
program them.  I use a Keyspan USB to Serial port device and  
driver which work with a serial terminal app.  I can communicate  
with all the hardware, but I can't control the app in the way I  
need to.


All I need to do is send a file one character at a time to the  
device and wait for the echo before sending the next character -- 
piece of cake.


Anyone know if I can use Rev to do this?



This should be no problem at all.  I wrote a complete driver for  
both NCS/Pearson and ScanTron (bubble-form) scanners and had to do  
much the same type of thing.  Works great on a Mac with the Keyspan  
adapter.


--gordon


___
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: play videoClip nameOfVideo does not work, Please help

2005-07-12 Thread Jeanne A. E. DeVoto

At 10:32 AM -0500 7/12/2005, J. Landman Gay wrote:
As long as we're talking about videoclips, is there a way to store a 
QT movie as an imported file in a stack, but still set a player to 
use it? I know I can write the movie to disk temporarily and play it 
from there, but it would be cleaner if I could just refer to it in 
the stack. Using the play command to run it doesn't give enough 
control, I need to use a player object.


Aren't you describing a videoclip? The videoclip object is played 
through a player, so you can show its controller:


  set the showController of the templatePlayer to true
  play videoclip My Clip

Since playing a clip creates a temporary player for display, the 
settings of the templatePlayer are used when playing the clip.

--
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: play videoClip nameOfVideo does not work, Please help

2005-07-12 Thread J. Landman Gay

On 7/12/05 1:56 PM, Jeanne A. E. DeVoto wrote:


At 10:32 AM -0500 7/12/2005, J. Landman Gay wrote:

As long as we're talking about videoclips, is there a way to store a 
QT movie as an imported file in a stack, but still set a player to use 
it? I know I can write the movie to disk temporarily and play it from 
there, but it would be cleaner if I could just refer to it in the 
stack. Using the play command to run it doesn't give enough control, 
I need to use a player object.



Aren't you describing a videoclip? The videoclip object is played 
through a player, so you can show its controller:


  set the showController of the templatePlayer to true
  play videoclip My Clip

Since playing a clip creates a temporary player for display, the 
settings of the templatePlayer are used when playing the clip.


Oh! Excellent, thank you! This is perfect. I should have known you'd 
know. ;)


--
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: Script editor - non-existent changes.

2005-07-12 Thread Mark Schonewille

Hi Alex,

You are completely right. Yet, if you decide to change it, then 
change it right. When the script editor opens, store the 
md5digest of the htmlText of fld Script in a custom property. 
When it closes, compare the new md5digest with the custom 
property and pop up the dialog if they are different.


Best regards,

Mark

Alex Tweedly wrote:


One of the things that has annoyed me, on and off, about the script 
editor is that it will ask me
 Do you want to apply the changes .   [Apply]   [ Cancel]  [Don't 
Apply]


even when I didn't think I had made any changes. Today, it got annoying 
enough for me to investigate (rather than just curse under my breath and 
carry on with what I was trying to do).


The revScriptEditor script contains


  if pTheKey is among the items of 65361,65362,65363,65364,65360 then
-- navigation key, arrow, home, end, change selection
selectionChanged
pass rawKeyUp
  end if



Any other key will set the modified flag, and force the question to be 
asked when the script editor is closed.


So it looks to me as though:
1. regardless of what the comment says, the home key is in the list, 
so it doesn't set the flag; the end key isn't, so it does set the flag

2. Even unimportant keys will set the flag (e.g. Ctl, Alt, etc.)

Am I missing something ?  Can ctl or alt affect the content of the script ?
is there anything different between home and end keys that would require 
this to be different ?


I can (probably will) just change it and see what happens - but there 
are too many key combinations to trust any results from simple testing, 
so if anyone has answers to these questions it might save me some time.


Thanks,



--

eHUG coordinator
mailto:[EMAIL PROTECTED]
http://www.ehug.info
http://home.wanadoo.nl/mark.sch
http://www.economy-x-talk.com

Please inform me about vacancies in the field of
general economics at your institute. I am also looking
for new freelance programming projects.

___
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: play videoClip nameOfVideo does not work, Please help

2005-07-12 Thread Ban Nguyen
 
 As long as we're talking about videoclips, is there a way to store a 
 QT movie as an imported file in a stack, but still set a player to
use 
 it? I know I can write the movie to disk temporarily and play it from

 there, but it would be cleaner if I could just refer to it in the 
 stack. Using the play command to run it doesn't give enough
control, 
 I need to use a player object.
 
 
 Aren't you describing a videoclip? The videoclip object is played 
 through a player, so you can show its controller:
 
   set the showController of the templatePlayer to true
   play videoclip My Clip
 
 Since playing a clip creates a temporary player for display, the 
 settings of the templatePlayer are used when playing the clip.

Oh! Excellent, thank you! This is perfect. I should have known you'd 
know. ;)



How do you set the location for this video?
___
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: play videoClip nameOfVideo does not work, Please help

2005-07-12 Thread Klaus Major

Hi Jeanne,


At 10:32 AM -0500 7/12/2005, J. Landman Gay wrote:

As long as we're talking about videoclips, is there a way to store  
a QT movie as an imported file in a stack, but still set a player  
to use it? I know I can write the movie to disk temporarily and  
play it from there, but it would be cleaner if I could just refer  
to it in the stack. Using the play command to run it doesn't  
give enough control, I need to use a player object.




Aren't you describing a videoclip? The videoclip object is played  
through a player, so you can show its controller:


  set the showController of the templatePlayer to true
  play videoclip My Clip

Since playing a clip creates a temporary player for display, the  
settings of the templatePlayer are used when playing the clip.


Sure?

I thought the controller is a Quicktime-only feature...
And the play command does not use Quicktime (except on a mac)
as far as i know?


--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com


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: building an audio player

2005-07-12 Thread Klaus Major

Hi Ban,


-Original Message-
From: [EMAIL PROTECTED] [mailto:use- 
[EMAIL PROTECTED] On Behalf Of Klaus Major

Sent: Tuesday, July 12, 2005 10:54 AM
To: How to use Revolution
Subject: Re: building an audio player

Xin chào Ban,

Xin chào Klaus,

I am new to Revolution.  I am building an audio player.  So far I
got the play, stop, next, previous buttons work

Do you have any idea to do the pause button and I want to use the
slider to control the audio id user want to play fast or play back
(you know what I mean)

...
-
I used the player object but it did not work. How can I have a  
list of songs in there?


How did you script the listfield with the play command?
I am sure we can quickly change that script to work with players, too

Since player objects will always reference a file, you can
set the filename of player xyz to Path to sound or video file

I want to use the slider to control the song forward and backward  
and use another slider to make the volume

Is there anyway to do that?


Short question: Can't you use the controller bar of player objects?

Thsi way you would eliminate the need for these 2 sliders (scrub +  
volume),

since they are already build in :-)


Thank you very much for your help
Ban


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: play videoClip nameOfVideo does not work, Please help

2005-07-12 Thread Ban Nguyen

 At 10:32 AM -0500 7/12/2005, J. Landman Gay wrote:
 
 As long as we're talking about videoclips, is there a way to store a 
 QT movie as an imported file in a stack, but still set a player to
use 
 it? I know I can write the movie to disk temporarily and play it from

 there, but it would be cleaner if I could just refer to it in the 
 stack. Using the play command to run it doesn't give enough
control, 
 I need to use a player object.
 
 
 Aren't you describing a videoclip? The videoclip object is played 
 through a player, so you can show its controller:
 
   set the showController of the templatePlayer to true
   play videoclip My Clip
 
 Since playing a clip creates a temporary player for display, the 
 settings of the templatePlayer are used when playing the clip.

Oh! Excellent, thank you! This is perfect. I should have known you'd 
know. ;)




How do you set the location for this video?






___
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: play videoClip nameOfVideo does not work, Please help

2005-07-12 Thread J. Landman Gay

On 7/12/05 1:56 PM, Jeanne A. E. DeVoto wrote:

Since playing a clip creates a temporary player for display, the 
settings of the templatePlayer are used when playing the clip.


So now if I want to stop the movie with the controller and then get rid 
of it, how do I remove it from the card? It only disappears if the movie 
completes and I can't find a way to set the currenttime to the duration.


--
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


simple questions

2005-07-12 Thread Brad Borch
1) Is there a function that executes when exiting edit mode and entering 
 browse mode (e.g., to automatically initialize variables)?


2) Is there a handler generated when focus is returned to a stack (say, 
after a modal or other type of substack is closed)?


3) Where do I keep images or other objects that will be used in 
buttons? Should I include them in the stack on a card that is not 
accessed, or just have them anywhere but invisible?


___
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: play videoClip nameOfVideo does not work, Please help

2005-07-12 Thread Mark Swindell


On Jul 12, 2005, at 12:35 PM, Ban Nguyen wrote:



How do you set the location for this video?



Set the loc of player 1 to 100,100

Are you using the built-in  documentation at all for your project?

Mark
___
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: play videoClip nameOfVideo does not work, Please help

2005-07-12 Thread Mark Swindell

On Jul 12, 2005, at 12:35 PM, Ban Nguyen wrote:


How do you set the location for this video?



The location of any object can be set by the following:

Set the loc of object to x,y

An object's location is a property of the object.


From the docs:

location property  (any object)
loc
Platform support:
Introduced in version 1.0

Specifies where an object is.

set the location of object to point

if the location of button 1 is within the rect of field 1 then selectIt
set the location of this stack to the mouseLoc
---



Hope this helps,
Mark
___
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: random number help...

2005-07-12 Thread Brad Borch

Dar Scott wrote:



On Jul 12, 2005, at 12:09 PM, Paul Salyers wrote:

What I need to do is to do that 100 times and store the random number 
is an aray



I'm not sure what you are asking for.  Maybe this gets you to walking 
distance:


  repeat with i = 1 to 100
put random(6)-1 into a[i]
  end repeat

Dar


You can sort items (string items) by random:

sort items of myVar numeric \
 by random(the number of items in myVar)

Perhaps this works with an array? If not, put items in a container, sort 
by random, then put in array.


Brad

___
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: simple questions

2005-07-12 Thread Eric Chatonet

Hi Brad,

1. Have a look at the newTool message.
2. Have a look at the resumeStack message.
3. There are many ways to keep images you want to use as icons: both  
you mentioned may be used. Another one I use often is to put the  
images on the first card (nevertheless they can be accessed from any  
card, even in a substack, but it's more handy to know that you follow  
a rule to locate them easily) without hiding them but just putting  
them out of the card window (bottomRight at -1,-1 for instance).


Hope this helps.

Le 12 juil. 05 à 21:40, Brad Borch a écrit :

1) Is there a function that executes when exiting edit mode and  
entering  browse mode (e.g., to automatically initialize variables)?


2) Is there a handler generated when focus is returned to a stack  
(say, after a modal or other type of substack is closed)?


3) Where do I keep images or other objects that will be used in  
buttons? Should I include them in the stack on a card that is not  
accessed, or just have them anywhere but invisible?


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: random number help...

2005-07-12 Thread Eric Chatonet

Hi Paul,

There are many ways that other nice guys pointed.
But I wonder...
Could you tell us why do you need an array?
In other words, what exactly your problem?
Then, may be :-) shall we be able to help you more efficiently?
I guess here an architecture issue rather than a code issue...

Le 12 juil. 05 à 20:09, Paul Salyers a écrit :


I need help on putting a random number in a array.

Here is my random code to get a random number 0-5:

on mouseUp
  put random(6) -1 onto tFNF1
  put tFNF1 into field FNF
  put random(6) -1 onto tSNF1
  put tSNF1 into field SNF
end mouseUp


What I need to do is to do that 100 times and store the random  
number is an aray


I guess repeat for 10 times has replaced For / Next

I can live with that, but how to I store the random number in an  
array field eX:


tFNF1 tFNF2 tFNF3 tFNF4 / tFNF100 the same for the tSNF

Then I'll put the tFNF1-100 and tSNF1-100 into the correct fields  
ad need be.


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: Buggy debugger?

2005-07-12 Thread Mark Wieder
Eric-

Tuesday, July 12, 2005, 12:31:48 AM, you wrote:

EC There is another case where the debugger does not work: when the
EC stack name begin with rev.
EC It's not a bug but a feature, an annoying feature when you write  
EC plugins ;-)


Take a look at the trace handler in the debugger button of the
revLibrary stack. It's revTargetStack() that's the culprit. Comment
out the true part of the conditional and leave everything after the
else - makes life bearable again.

NB: most of the time you want the default behavior - *not* tracing
through the rev stacks - as the debugger will trip over itself in
various ways. However, being able to drill down into the rev libraries
themselves is essential if you're developing plugins or working with
the libraries themselves. Caveat Revver.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: Buggy debugger?

2005-07-12 Thread Eric Chatonet

Hi Mark,

Great tip :-)
At least for some of us.
Thank you a lot.
I am used to dig in Rev IDE scripts but since Rev displays a super  
warning message when you want to name a stack as revSomething, I took  
the habit to rename a plugin stack when finished.

The issue came when I want to make some corrections...
Thanks to you, I shall not be obliged to loose time switching the names.

Le 12 juil. 05 à 22:13, Mark Wieder a écrit :


Tuesday, July 12, 2005, 12:31:48 AM, you wrote:

EC There is another case where the debugger does not work: when the
EC stack name begin with rev.
EC It's not a bug but a feature, an annoying feature when you write
EC plugins ;-)


Take a look at the trace handler in the debugger button of the
revLibrary stack. It's revTargetStack() that's the culprit. Comment
out the true part of the conditional and leave everything after the
else - makes life bearable again.

NB: most of the time you want the default behavior - *not* tracing
through the rev stacks - as the debugger will trip over itself in
various ways. However, being able to drill down into the rev libraries
themselves is essential if you're developing plugins or working with
the libraries themselves. Caveat Revver.


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


surprising filter benchmarks

2005-07-12 Thread Richard Gaskin


I figured the filter command would carry at least some overhead for its 
convenience, but I had no idea how much!


I wrote the test below to compare it with walking through a list line by 
line, and the results were surprising:


on mouseUp
  put  fwdbCurTableData() into s -- gets 10,800 lines of
  --tab-delimited data
  --
  -- Method 1: filter command
  --
  put format(*a*\t*r*\tr\t*\t*\t*\t*\t*) into tFilter   
  put s into result1
  put the millisecs into t
  filter result1 with tFilter
  put the millisecs - t into t1
  --
  --
  -- Method 2: repeat for each
  --
  set the itemdel to tab
  put the millisecs into t
  repeat for each line tLine in s
if item 1 of tLine contains a \
AND item 2 of tLine contains r\
AND item 3 of tLine is r then
  put tLinecr  after result2
end if
  end repeat
  delete last char of result2
  put the millisecs - t into t2
  --
  put result1 into fld result
  put result2 into fld result2
  --
  put Filter: t1 cr Repeat: t2
end mouseUp



Results -
   Filter: 745
   Repeat: 40

Did I miss something, or am I just seeing the penalty for the filter 
command's generalization?


--
 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


Buggy debugger -- solved?

2005-07-12 Thread Timothy Miller
It looks like this thread might die. I hope not. I hope a 
knowledgeable someone is going to reply. I'd sure appreciate it. I'm 
depending on you guys. I've searched the docs, learned nothing, and 
taken all advice offered so far. Where else can I turn?


The gist is, the debugger works fine in stack scripts, but I am not 
able to debug any background script. I'm talking about bg scripts 
that work perfectly, every time.


If I move any background script to the stack script, the debugger 
works perfectly. I can replicate the problem, every time. If I split 
a sequence of handlers between a background script and a stack 
script, I can debug those in the stack, but not those in the 
background.


Is this a bug or a feature? Is it well known? Documented? If so, 
where? If it's a bug, has it been reported? Has it been fixed?



Cheers,


Tim



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


The details of my debugger frustration, previously described:

It works fine on, for example, a simple mouseUp script in a 
simple button. However, if the button sends a message to a 
handler in a stack script (for instance), which then sends 
another message to another handler, nested or not, the debugger 
won't follow along. Script debug mode is definitely turned on. 
Step Into, etc., are absent and/or dimmed out, typically. 
Sometimes, I can see the script window open, several windows 
back, but I can't get to it until the script is done executing. 
I've tried setting multiple breakpoints in each handler, tried 
setting breakpoints by script. The script rolls right past them.


I think Eric mentioned this after you wrote last time, but the 
debugger doesn't track send to messages. It tracks everything 
else, but if you send a handler to another object the debugger 
won't follow along.





Thanks to Eric, Jacque and Mark on this thread. And thanks to Dan, again.

First, let me clarify what happens, and what doesn't. The script 
window opens at the breakpoint, but it does not come to the front, 
and the script does not pause at the breakpoint. After the script is 
done executing, I can move the script window to the front, but it 
does me no good.


Oops! I just solved part of the puzzle, but mysteries remain. Feel 
free to skip to the second row of asterisks if you want. The details 
lie between the asterisks if anyone is interested.



** the dull details, perhaps now irrelevant, follow:


Here's a typical sequence of events.

On mouseup
get this
put that into field theotherthing
etc.
 goForIt -- this is a message sent to the background script. The 
bg script does receive it, and the script executes fine, but I can't 
debug it.

end mouseup

Now, in the background script

On goForIt
 handler1 -- this massages some data, without changing stacks or 
backgrounds. It terminates, so the script moves onto the next 
handler in goForIt

 handler2 -- more of the same
 handler3 -- this goes to another stack, picks up some data and 
returns. It also terminates
 handler4 -- this is a handler that doesn't terminate. The next 
handler is nested, in other words. Depending on an operator, it 
calls either handler5 or handler6

end goForIt

The command send does not appear anywhere in this sequence.

In reaction to the good comments of the good people on this thread, 
and also in reaction to my desire not to look like a whiner or an 
idiot, I re-tested. Same results. As follows:


If I put the breakpoint in the button, the button script does open, 
and I can step into through the lines of the button. Once the 
script gets to the goForIt message, the script executes without 
pausing, even though the window of the bg script opens.


If I put the breakpoint at the beginning of the goForIt handler in 
the bg script, at the the handler1 message, at the beginning of the 
handler1 handler, in the middle of the handler1 handler, or all of 
the above, or do the same with any other handler in this sequence, 
the same thing happens. The script window opens, but it's not the 
front window, and the script runs to completion, without pausing. 
When the script has executed, the script window remains open.


After reading the docs again, I realized that I can initiate 
debugging when the error window opens. So, I deliberately placed an 
error at various points in the goForIt handler, or in hanlder1, 
handler2, etc. The debug button on the error window did respond, and 
took me to the error. The script has paused, the script window 
opens, but the debugger buttons at the bottom of the script window 
(step into, etc.) are absent, and the corresponding items in the 
debug window are dimmed out. The script stalls. All I can do is 
remove the offending line, save, and run the script again.




**  The more productive part starts below:



Maybe there's something about background scrips. As I write this, it 
strikes me that I've put most scripts of this nature in the 
background 

Re: surprising filter benchmarks

2005-07-12 Thread Eric Chatonet

Hi Richard,

I think the speed depends on the filter complexity.
For instance:

on mouseUp
  repeat 10
if random (2) = 1 then put zaz  cr after tList
else put zbz  cr after tList
  end repeat
  -
  put the milliseconds into tStart1
  filter tList with *a*
  put the milliseconds - tStart1 into tResult1
  -
  put the milliseconds into tStart2
  repeat for each line tLine in tList
if a is in tList then put tLine  cr after tNewList
  end repeat
  delete char -1 of tNewList
  put the milliseconds - tStart2 into tResult2
  -
  put Filter:   tResult1  cr Repeat:   tResult2
end mouseUp

Results -
   Filter: 41
   Repeat: 117

So may be we have to choose the right method according to the context.
Two cents that do not make life easier :-)

Le 12 juil. 05 à 22:26, Richard Gaskin a écrit :

I figured the filter command would carry at least some overhead for  
its convenience, but I had no idea how much!


I wrote the test below to compare it with walking through a list  
line by line, and the results were surprising:


on mouseUp
  put  fwdbCurTableData() into s -- gets 10,800 lines of
  --tab-delimited data
  --
  -- Method 1: filter command
  --
  put format(*a*\t*r*\tr\t*\t*\t*\t*\t*) into tFilter
  put s into result1
  put the millisecs into t
  filter result1 with tFilter
  put the millisecs - t into t1
  --
  --
  -- Method 2: repeat for each
  --
  set the itemdel to tab
  put the millisecs into t
  repeat for each line tLine in s
if item 1 of tLine contains a \
AND item 2 of tLine contains r\
AND item 3 of tLine is r then
  put tLinecr  after result2
end if
  end repeat
  delete last char of result2
  put the millisecs - t into t2
  --
  put result1 into fld result
  put result2 into fld result2
  --
  put Filter: t1 cr Repeat: t2
end mouseUp



Results -
   Filter: 745
   Repeat: 40

Did I miss something, or am I just seeing the penalty for the  
filter command's generalization?


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


slide show questions???

2005-07-12 Thread Ban Nguyen
Hello

I am using this code I found from this list:

I create a substack and put this code into it:


global the_advancing

on openCard
  send advanceSlide to me in 2 seconds
  global the_advancing
  put the result into the_advancing
end openCard

on advanceSlide
  visual dissolve
  go next cd
end advanceSlide

on mouseUp
  global the_advancing
end mouseUp


Then I create 4 cards, each card has one image.

It works fine but the substack pops up when I open the script panel.  

I wrote close stack gallery because I want to close this substack so
user can click on other button

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


Re: Buggy debugger -- solved?

2005-07-12 Thread Eric Chatonet

Hi Tim,

I made some tests in a brand new stack.
Works perfectly here.
Could be a specific issue in your stack?
As usual, when you get a problem, try to isolate it in a new stack.
There are so many parameters we often miss ;-)

Le 12 juil. 05 à 22:40, Timothy Miller a écrit :

It looks like this thread might die. I hope not. I hope a  
knowledgeable someone is going to reply. I'd sure appreciate it.  
I'm depending on you guys. I've searched the docs, learned nothing,  
and taken all advice offered so far. Where else can I turn?


The gist is, the debugger works fine in stack scripts, but I am not  
able to debug any background script. I'm talking about bg scripts  
that work perfectly, every time.


If I move any background script to the stack script, the debugger  
works perfectly. I can replicate the problem, every time. If I  
split a sequence of handlers between a background script and a  
stack script, I can debug those in the stack, but not those in the  
background.


Is this a bug or a feature? Is it well known? Documented? If so,  
where? If it's a bug, has it been reported? Has it been fixed?


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: Buggy debugger -- solved?

2005-07-12 Thread J. Landman Gay

On 7/12/05 3:40 PM, Timothy Miller wrote:

The gist is, the debugger works fine in stack scripts, but I am not able 
to debug any background script. I'm talking about bg scripts that work 
perfectly, every time.


If I move any background script to the stack script, the debugger works 
perfectly. I can replicate the problem, every time. If I split a 
sequence of handlers between a background script and a stack script, I 
can debug those in the stack, but not those in the background.


Is this a bug or a feature? Is it well known? Documented? If so, where? 
If it's a bug, has it been reported? Has it been fixed?



It sounds like another anomaly with your stack; I've never had any 
problems debugging background scripts. If you create a new stack with a 
single shared background you will probably find that it debugs 
perfectly. I'm afraid these very old HC stacks have their own 
personalities. If the stack was created with HC 1.0, even worse. :(


One test you might try is to create a new mainstack with a new 
background group. Copy your bg script into the new group. Then see if 
the debugger works there.


Another thing to try: copy your bg script to a word processor. Look for 
unusual characters. BBEdit is good because it can show you invisibles. 
Remove everything that isn't strictly ASCII text, then paste the script 
back into your background and see if it behaves any differently. HC used 
to add some junk you couldn't see sometimes.


--
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: surprising filter benchmarks

2005-07-12 Thread Richard Gaskin

Eric Chatonet wrote:

Hi Richard,

I think the speed depends on the filter complexity.
For instance:

on mouseUp
  repeat 10
if random (2) = 1 then put zaz  cr after tList
else put zbz  cr after tList
  end repeat
  -
  put the milliseconds into tStart1
  filter tList with *a*
  put the milliseconds - tStart1 into tResult1
  -
  put the milliseconds into tStart2
  repeat for each line tLine in tList
if a is in tList then put tLine  cr after tNewList
  end repeat
  delete char -1 of tNewList
  put the milliseconds - tStart2 into tResult2
  -
  put Filter:   tResult1  cr Repeat:   tResult2
end mouseUp

Results -
   Filter: 41
   Repeat: 117


To get cleaner results I think the second test's is in tList should be 
is in tLine, which also cuts execution time down dramatically.


But the central point remains:  with a small number of criteria the 
filter command does a fine job compared to repeat loops, but for complex 
criteria (in my app it's rare that we'll ever have fewer than three 
distinct comparisons) repeat for each does well.


Another advantage of repeat for each is that it allows or in additon 
to and, which would require multiple passes with filter, and makes 
it easy to structure comparisons using parentheses to control the order 
of precedence.


For the moment I'm sticking with the repeat loop for the situation I'm 
currently using it in, but it's good to know that filter is quick for 
simple searches.


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com




So may be we have to choose the right method according to the context.
Two cents that do not make life easier :-)

Le 12 juil. 05 à 22:26, Richard Gaskin a écrit :

I figured the filter command would carry at least some overhead for  
its convenience, but I had no idea how much!


I wrote the test below to compare it with walking through a list  line 
by line, and the results were surprising:


on mouseUp
  put  fwdbCurTableData() into s -- gets 10,800 lines of
  --tab-delimited data
  --
  -- Method 1: filter command
  --
  put format(*a*\t*r*\tr\t*\t*\t*\t*\t*) into tFilter
  put s into result1
  put the millisecs into t
  filter result1 with tFilter
  put the millisecs - t into t1
  --
  --
  -- Method 2: repeat for each
  --
  set the itemdel to tab
  put the millisecs into t
  repeat for each line tLine in s
if item 1 of tLine contains a \
AND item 2 of tLine contains r\
AND item 3 of tLine is r then
  put tLinecr  after result2
end if
  end repeat
  delete last char of result2
  put the millisecs - t into t2
  --
  put result1 into fld result
  put result2 into fld result2
  --
  put Filter: t1 cr Repeat: t2
end mouseUp



Results -
   Filter: 745
   Repeat: 40

Did I miss something, or am I just seeing the penalty for the  filter 
command's generalization?


___
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: surprising filter benchmarks

2005-07-12 Thread Alex Tweedly

Richard Gaskin wrote:



I figured the filter command would carry at least some overhead for 
its convenience, but I had no idea how much!


I wrote the test below to compare it with walking through a list line 
by line, and the results were surprising:


on mouseUp
  put  fwdbCurTableData() into s -- gets 10,800 lines of
  --tab-delimited data
  --
  -- Method 1: filter command
  --
  put format(*a*\t*r*\tr\t*\t*\t*\t*\t*) into tFilter   
  put s into result1


Richard, I'm too busy (lazy??) to create some data and test this for 
timings right now, but this filter is more complex than you need - it 
verifies that there are the right number of tabs. You could simplify it to

put format(*a*\t*r*\tr\t*) into tFilter

and should get the same results more quickly.

-- Alex.

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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.12/46 - Release Date: 11/07/2005

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


Re: Buggy debugger -- solved?

2005-07-12 Thread Mark Wieder
Timothy-

Tuesday, July 12, 2005, 11:13:26 AM, you wrote:

TM If background scripts are different, what's different about them? I
TM looked through the documentation pretty carefully, but didn't find
TM any mention of this.

Take a look at Richard Gaskin's tutorial stack on the message-passing
hierarchy.

http://support.runrev.com/scriptingconferences/

TM Should I have known that the debugger doesn't work properly in bg
TM scripts? Or maybe this is an un-reported bug in the debugger?

While I haven't had any problems running the debugger in background
scripts I haven't used HCaddressing in a long time. Just tried
breakpoints in a background script to make sure I wasn't deluding
myself and it still works.

-- 
-Mark Wieder
 [EMAIL PROTECTED]


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


Re: surprising filter benchmarks

2005-07-12 Thread Eric Chatonet

Hi Richard,

You are right, I made an error writing tList instead of tLine (then  
we gain about 25/30%).
But unfortunately it's not enough to say that a method or another is  
always the better one.

That would be good news...

Le 12 juil. 05 à 23:10, Richard Gaskin a écrit :


Eric Chatonet wrote:


Hi Richard,
I think the speed depends on the filter complexity.
For instance:
on mouseUp
  repeat 10
if random (2) = 1 then put zaz  cr after tList
else put zbz  cr after tList
  end repeat
  -
  put the milliseconds into tStart1
  filter tList with *a*
  put the milliseconds - tStart1 into tResult1
  -
  put the milliseconds into tStart2
  repeat for each line tLine in tList
if a is in tList then put tLine  cr after tNewList
  end repeat
  delete char -1 of tNewList
  put the milliseconds - tStart2 into tResult2
  -
  put Filter:   tResult1  cr Repeat:   tResult2
end mouseUp
Results -
   Filter: 41
   Repeat: 117



To get cleaner results I think the second test's is in tList  
should be is in tLine, which also cuts execution time down  
dramatically.


But the central point remains:  with a small number of criteria the  
filter command does a fine job compared to repeat loops, but for  
complex criteria (in my app it's rare that we'll ever have fewer  
than three distinct comparisons) repeat for each does well.


Another advantage of repeat for each is that it allows or in  
additon to and, which would require multiple passes with  
filter, and makes it easy to structure comparisons using  
parentheses to control the order of precedence.


For the moment I'm sticking with the repeat loop for the situation  
I'm currently using it in, but it's good to know that filter is  
quick for simple searches.




___
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: surprising filter benchmarks

2005-07-12 Thread Alex Tweedly

Alex Tweedly wrote:


   You could simplify it to
put format(*a*\t*r*\tr\t*) into tFilter

and should get the same results more quickly.


No you can't - I'll go back to sleep now 
(You need all that\t*\t sequence  to ensure the  *a* is in the first 
item - right ?)


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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.12/46 - Release Date: 11/07/2005

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


Re: random number help...

2005-07-12 Thread Paul Salyers

At 01:01 PM 7/12/2005, you wrote:

Hi Paul,

There are many ways that other nice guys pointed.
But I wonder...
Could you tell us why do you need an array?
In other words, what exactly your problem?
Then, may be :-) shall we be able to help you more efficiently?
I guess here an architecture issue rather than a code issue...



I'm building a math program for school age kids. It will preselect the 
numbers to be used in the math program Flash Cards


the program puts up 2 X 2 = []   the user types a 4 in  the text box 
then the program goes on to the next math problem.


Not really rocket sciences but a way for kids to study math  hopefully 
improve their grades.



Paul Salyers
PS1 - Senior Rep.
[EMAIL PROTECTED]
Http://ps1.SoftSeven.org


___
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: slide show questions???

2005-07-12 Thread Eric Chatonet

Hi Ban,

I really don't know where you have found this weird code ;-)
You might try something like the following you will put in your  
stack's script:


on openCard
  if the number of this cd = the number of cds then exit to top
  -- slide show is finished
  send NextSlide to me in 2 seconds
end openCard
-
on NextSlide
  visual effect dissolve -- [very] slow, [very] fast, etc.
  go next cd
end NextSlide

Le 12 juil. 05 à 22:49, Ban Nguyen a écrit :


I am using this code I found from this list:

I create a substack and put this code into it:


global the_advancing

on openCard
  send advanceSlide to me in 2 seconds
  global the_advancing
  put the result into the_advancing
end openCard

on advanceSlide
  visual dissolve
  go next cd
end advanceSlide

on mouseUp
  global the_advancing
end mouseUp


Best Regards from Paris,

Eric Chatonet.

So Smart Software

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

Free plugins and tutorials on my website

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


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


Printing one card on multiple pages

2005-07-12 Thread Hershel Fisch
Hi I have a long fld I'd need to break it up into a few pages, how do I do
it ?
Thanks, Hershel

___
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: slide show questions???

2005-07-12 Thread Ban Nguyen

You might try something like the following you will put in your  
stack's script:

on openCard
   if the number of this cd = the number of cds then exit to top
   -- slide show is finished
   send NextSlide to me in 2 seconds
end openCard
-
on NextSlide
   visual effect dissolve -- [very] slow, [very] fast, etc.
   go next cd
end NextSlide

-

Thanks for your help

I tried this and it work fine but it pops up on top of other card and
play
I have 1 main stack: Home
And 3 substacks: gallery, about, and partner 

Stack gallery has 4 cards: pic1, pic2, pic3, pic4
I put the above script into gallery's stack

On the home stack I have 4 buttons : Home, gallery, about, partner.  I
put this code go stack . into each button

For some reason after clicking on gallery (see it fine with the slide
show) but after I clicked on the next button (example button about to go
to about page) the gallery pops up on top of it.  Don't know why..

Please help thank you very much
___
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: surprising filter benchmarks

2005-07-12 Thread Sumner,Walt
The difference is quite a bit smaller if the loop checks the number of items,
as the filter is designed to do. Still usually a 3 to 6 fold difference, loop
being faster.

...
if item 1 of tLine contains a \
 AND item 2 of tLine contains r\
 AND item 3 of tLine is r \
AND number of items of tLine is 8\  - new
then
...

Filter: 277
Repeat: 61

--- You wrote ---
From: Richard Gaskin [EMAIL PROTECTED]
Subject: surprising filter benchmarks
To: How to use Revolution use-revolution@lists.runrev.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed


I figured the filter command would carry at least some overhead for its
convenience, but I had no idea how much!

I wrote the test below to compare it with walking through a list line by
line, and the results were surprising:

on mouseUp
   put  fwdbCurTableData() into s -- gets 10,800 lines of
   --tab-delimited data
   --
   -- Method 1: filter command
   --
   put format(*a*\t*r*\tr\t*\t*\t*\t*\t*) into tFilter   
   put s into result1
   put the millisecs into t
   filter result1 with tFilter
   put the millisecs - t into t1
   --
   --
   -- Method 2: repeat for each
   --  
   set the itemdel to tab
   put the millisecs into t
   repeat for each line tLine in s
 if item 1 of tLine contains a \
 AND item 2 of tLine contains r\
 AND item 3 of tLine is r then
   put tLinecr  after result2
 end if
   end repeat
   delete last char of result2
   put the millisecs - t into t2
   --
   put result1 into fld result
   put result2 into fld result2
   --
   put Filter: t1 cr Repeat: t2
end mouseUp



Results -
Filter: 745
Repeat: 40

Did I miss something, or am I just seeing the penalty for the filter
command's generalization?
___
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


Window Positioning Bug?

2005-07-12 Thread Scott Rossi
When I run the following script, I actually see the offscreen-intended
window appear every *other* time, in other words a reliable failure that
occurs 50% of the time:

on showWindow
  set topLeft of stack progind to 1,1
  palette stack progind
  put windowID of stack progind into tID
  import snapshot from rect (rect of grc pie of stack progind) of window tID
  close stack progind
  choose browse tool
end showWindow

(MacOSX 10.3.9)

The results are the same even if the position is set to negative numbers.
I've noticed this failure in other stacks but wasn't sure if this was a
result of my code.  Now it seems very repeatable, and I believe other folks
have mentioned window positioning problems as well.

Can anyone else verify this?  Is this a coding problem or bug?

Thanks  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


Scrollbars in Rev

2005-07-12 Thread Mark Swindell
What exactly are the built-in Rev scroll bars, sliders?  Can one get  
into the images they use and modify them, or create others and have  
them available, or does one have to roll one's own completely, ala  
Klaus's banana bar?  It would be cool to have more style options  
built in.


Thanks,
Mark
___
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: Script editor - non-existent changes.

2005-07-12 Thread Alex Tweedly

Mark Schonewille wrote:


Hi Alex,

You are completely right. Yet, if you decide to change it, then change 
it right. When the script editor opens, store the md5digest of the 
htmlText of fld Script in a custom property. 


It already does that (I think).

When it closes, compare the new md5digest with the custom property and 
pop up the dialog if they are different.



It already does that (I think).

Apparently it doesn't do it properly - but it certainly has code that 
checks a number of custom props

 cCheckSum
 cCardSaved
 cDontCheck

I've found it difficult to debug this - I think I'm running into the 
issues of special cases for revXxx scripts, and even trying to put 
things to the msg box doesn't appear to work.


So I'm going to, for the short term, try making only the dumb change 
to the setting of the modified flag, and BZ it to let someone who 
hopefully has more background knowledge in how these things are supposed 
to fit together do it right.


If that works (i.e. causes no problems, and makes it better, even if not 
completely cured), I'll post a stack to automate the change.


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




--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.12/46 - Release Date: 11/07/2005

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


Re: Scrollbars in Rev

2005-07-12 Thread Scott Rossi
Recently, Mark Swindell  wrote:

 What exactly are the built-in Rev scroll bars, sliders?  Can one get
 into the images they use and modify them, or create others and have
 them available, or does one have to roll one's own completely, ala
 Klaus's banana bar?

The latter.

Check the mail archives -- several folks have built custom slider routines,
and Malte Brill made one with a proportional thumb.

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: Buggy debugger -- solved?

2005-07-12 Thread Timothy Miller

Hi Tim,

I made some tests in a brand new stack.
Works perfectly here.
Could be a specific issue in your stack?
As usual, when you get a problem, try to isolate it in a new stack.
There are so many parameters we often miss ;-)



Hi Eric,

Thanks very much for the extra effort.

I've gotten some back channel messages from Rev experts. Very nice 
and generous people here. No one thinks it's a bug. Everyone thinks 
there's something wrong with these stacks. Who am I to disagree?


If I started with a brand new stack and failed to replicate the 
error, I would be no better off than I am now. Meanwhile, I've run 
out of ideas about how to isolate the problem. I'm inclined to agree 
with the experts anyway. Probably not a bug.


In any case, I can move any script I need to debug to the stack 
script, temporarily or permanently. I don't even need to do that. I 
can always debug with the answer command. It's slow, but it always 
works. My main concern is that other odd behavior will eventually 
cause new and more serious problems, if I don't find the problem and 
solve it now.


I might try a new bare stack just out of curiosity, though. I'll let 
the list know.


In the interim, can anyone think of some bg, stack or global 
attribute that might need to be turned on or off?


I think I'm going to have to put my Rev consultant back on the 
payroll to solve this one.



Cheers,



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


passing quotes parameters to a 'send' message...

2005-07-12 Thread Chipp Walters

Hmmm
I know this isn't supposed to be this hard...

create a button named 'fred'

on mouseUp
  put the long name of me into tName
  send (putInMsg  tName) to me
end mouseUp

on putInMsg p
  put p
end putInMsg

I get nadda. I know the quotes are screwing it up someway. Do I need to 
encode with some sort of quote function?


I've tried

send (putInMsg  quote  tName  quote) to me

but this adds 2 quotes, 1 before and 1 after. I seem to remember being 
able to do it the first way before...


-Chipp

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


Re: passing quotes parameters to a 'send' message...

2005-07-12 Thread Jeanne A. E. DeVoto

At 5:45 PM -0500 7/12/2005, Chipp Walters wrote:

Hmmm
I know this isn't supposed to be this hard...

create a button named 'fred'

on mouseUp
  put the long name of me into tName
  send (putInMsg  tName) to me
end mouseUp

on putInMsg p
  put p
end putInMsg


Try

  send putInMsg tName to me
--
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


How to import track into player

2005-07-12 Thread Ban Nguyen
Does anyone know how to import track into player object? Thank you







___
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: passing quotes parameters to a 'send' message...

2005-07-12 Thread Jim Bufalini
This worked for me.
All in button Fred:

on mouseUp
  put quote  the long name of me  quote into tName
  send putInMsg   tName to me
end mouseUp

on putInMsg tName
  answer I got the  tName
end putInMsg

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Chipp
Walters
Sent: Tuesday, July 12, 2005 12:46 PM
To: Use-Revolution
Subject: passing quotes parameters to a 'send' message...


Hmmm
I know this isn't supposed to be this hard...

create a button named 'fred'

on mouseUp
   put the long name of me into tName
   send (putInMsg  tName) to me
end mouseUp

on putInMsg p
   put p
end putInMsg

I get nadda. I know the quotes are screwing it up someway. Do I need to
encode with some sort of quote function?

I've tried

send (putInMsg  quote  tName  quote) to me

but this adds 2 quotes, 1 before and 1 after. I seem to remember being
able to do it the first way before...

-Chipp

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



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


Re: passing quotes parameters to a 'send' message...

2005-07-12 Thread Alex Tweedly

Jeanne A. E. DeVoto wrote:



Try

  send putInMsg tName to me


OK, it works. But *why* ?  In any other context,  the content of a 
quoted string is not evaluated -

put putInmsg tName after msg
puts that literal string into the message box.

Even stranger, you can also do
 send (putInMsg extratext  tName) to me
and in that case it comes through with the parameter set to
  extratext button Button of card id 1002 of stack Untitled 1

but removing the 'extratext' makes it not work.

I tried checking the docs (always an optimist), and it gives the example
   send goThere  field Where To to stack Destination in 30
I tried that (changing the destination to be me) and that fails with 
the same problem Chipp reported.


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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.12/46 - Release Date: 11/07/2005

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


Re: play videoClip nameOfVideo does not work, Please help

2005-07-12 Thread Jeanne A. E. DeVoto

At 2:36 PM -0500 7/12/2005, J. Landman Gay wrote:
Since playing a clip creates a temporary player for display, the 
settings of the templatePlayer are used when playing the clip.


So now if I want to stop the movie with the controller and then get 
rid of it, how do I remove it from the card? It only disappears if 
the movie completes and I can't find a way to set the currenttime to 
the duration.


Ugh. That I'm not sure about.

There doesn't seem to be a player reference while the thing is 
playing, either. It does return a number in the result that looks an 
awful lot like a pending message ID, but it isn't in the 
pendingMessages... Hmmm.

--
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


creating an animation banner

2005-07-12 Thread Ban Nguyen
Hello everyone

I like to create an animation banner (with 3 images changing every 15
seconds) and ach image has it own like to its website.

Example 
when image 1 shows, user click on it, it will take to url1
when image 2 shows, user click on it, it will take to url2


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


Re: Printing one card on multiple pages

2005-07-12 Thread Dan Shafer

Hershel

It's not as easy as it should be.

You have two values to deal with. One is the formattedHeight of the  
field. The other is the height of the field.


As explained to me by Chipp Walters as part of my research into  
printing for my eBook on Basic Printing in Rev:


1. Put the text into the field.
2. If the formattedHeight is equal to or less than the height, you're  
done.
3. If not, go to the end of the text and start deleting lines or  
paragraphs or whatever you choose, each time checking formattedHeight  
against height.
4. When they match or formattedHeight is smaller than the field  
height, you can lop off the portion that fit into the field, create a  
new card with that field in a background group, put the remaining  
text into the field and start over again.


Ugly, eh?

Dan

On Jul 12, 2005, at 2:36 PM, Hershel Fisch wrote:

Hi I have a long fld I'd need to break it up into a few pages, how  
do I do

it ?
Thanks, Hershel

___
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: passing quotes parameters to a 'send' message...

2005-07-12 Thread Jim Bufalini
You know what's funny on this that I forgot to mention, if you leave out the
second *quote* as in

 put quote  the long name of me into tName

it still works and you don't get an extra quote at the end. But leave out
both quotes and you get nothing??? Must have something to do with there
being quotes in the long name of...

-Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jim
Bufalini
Sent: Tuesday, July 12, 2005 1:19 PM
To: [EMAIL PROTECTED]; How to use Revolution
Subject: RE: passing quotes parameters to a 'send' message...


This worked for me.
All in button Fred:

on mouseUp
  put quote  the long name of me  quote into tName
  send putInMsg   tName to me
end mouseUp

on putInMsg tName
  answer I got the  tName
end putInMsg



___
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: creating an animation banner

2005-07-12 Thread Dan Shafer

Ban.

It might be useful for you to spend some time reading the  
documentation and looking at sample stacks and tutorials *before* you  
attempt a multimedia application. You've been asking a lot of  
questions -- which is good. We love newbies here and we always try to  
help kindly. But every question you've asked so far could have been  
answered by you if you simply took the time to learn the language a bit.


This is like me trying to learn to speak Vietnamese (which I'm  
guessing is your native tongue) by interrupting you every few seconds  
to ask how do you say this in Vietnamese? without being willing to  
get some basic language skills and vocabulary first.


Please do not think I am criticizing you. And as you have seen, you  
will get lots of help. But I think you will benefit more in the long  
run if you will take the time to learn a bit more about Revolution  
and how it works. Then a lot of your questions will be answered for  
you before you ask them.





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




___
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


Problem with standalone built with Rev 2.6 ?

2005-07-12 Thread Alex Tweedly


This is all on Win XP.

I have a stack, and built from it a standalone. When I run this (on any 
of 3 Win-XP machines), I regularly get a fatal error

 app name has encountered an error and needs to close
 (Please send an error report to Microsoft)

This usually happens within the first 2 minutes or so - and I've never 
got more than 5 minutes without crashing.


When I build the same app under 2.5 it is (apparently) ok.  I say 
apparently because I've only run it for 10 - 15 minutes; so it's 
possible that if I keep running it for longer, I'd see problems - but it 
certainly seems to be fine. (A slightly earlier version of the stack, 
built under 2.5, has been run for hours - but I have modified the stack 
slightly since then).


This is just a first warning that there might be a problem. I'm going to 
go off and submit a BZ report on this, and mark it as serious. Is there 
anything I could, or should, do to help debug it or to find a work-around ?


(If anyone would like to build a copy and see if it fails for you, the 
stacks can be downloaded from

www.tweedly.net/RunRev/CribbageGame.zip
it decompresses into three stacks - Cribbage.rev is the one to run / build).

btw -as a game,  it (should) run just fine, but isn't quite ready for 
announcement in general because the UI is a bit unpolished, and it's 
still way too easy to beat the computer.


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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.12/46 - Release Date: 11/07/2005

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


Re: Window Positioning Bug?

2005-07-12 Thread Buster

Hi Scott,

This works in Rev 2.6, OS X 10.4.1 without a flicker or reappearance  
of the stack.


on showWindow
  --set topLeft of stack progind to 1,1
  --palette stack progind
  go invisible stack progind
  go back
  set topLeft of stack progind to 1,1
  set the visible of stack progind to true
  put windowID of stack progind into tID
  import snapshot from rect (rect of grc 1 of stack progind) of  
window tID

  close stack progind
  choose browse tool
end showWindow

Better not set the style of  stack Submarine to palette or the  
import is done in the palette stack.


Changing window style or window shape on hidden or offscreen stacks  
will make the system redraw the window within the screen rect, hence  
the flicker or reappearance.
But why it is doing this every second time with your script, I don't  
know.

So if it is a bug or a coding problem is for others to decide.

Greetings,
Wouter

On 13 Jul 2005, at 00:13, Scott Rossi wrote:


When I run the following script, I actually see the offscreen-intended
window appear every *other* time, in other words a reliable failure  
that

occurs 50% of the time:

on showWindow
  set topLeft of stack progind to 1,1
  palette stack progind
  put windowID of stack progind into tID
  import snapshot from rect (rect of grc pie of stack progind) of  
window tID

  close stack progind
  choose browse tool
end showWindow

(MacOSX 10.3.9)

The results are the same even if the position is set to negative  
numbers.
I've noticed this failure in other stacks but wasn't sure if this  
was a
result of my code.  Now it seems very repeatable, and I believe  
other folks

have mentioned window positioning problems as well.

Can anyone else verify this?  Is this a coding problem or bug?

Thanks  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



___
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: play videoClip nameOfVideo does not work, Please help

2005-07-12 Thread J. Landman Gay

On 7/12/05 6:28 PM, Jeanne A. E. DeVoto wrote:


At 2:36 PM -0500 7/12/2005, J. Landman Gay wrote:

Since playing a clip creates a temporary player for display, the 
settings of the templatePlayer are used when playing the clip.



So now if I want to stop the movie with the controller and then get 
rid of it, how do I remove it from the card? It only disappears if the 
movie completes and I can't find a way to set the currenttime to the 
duration.



Ugh. That I'm not sure about.

There doesn't seem to be a player reference while the thing is playing, 
either. It does return a number in the result that looks an awful lot 
like a pending message ID, but it isn't in the pendingMessages... Hmmm.


Right. Well, I guess I'll have to go the route where I write the movie 
to disk temporarily. It was a valiant try. ;) Maybe Devin is right and I 
should feature-request it.


--
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: preserve vertical white space in XML?

2005-07-12 Thread Ken Ray
 Ken... just a thought... you might sell more software if you had a
 full demo that timed out... even if you only gave it 24 hours or 72
 hours...
 
 I generally always want to know what I'm getting. and since the
 standard ediiton of your XML library is locked... I can't see the
 scripts.

Thanks, I'll consider it... but the library is kind of a black box, so I
was consdering people only needing access to the scripts if they were
wanting to change the default behavior... but as I'm in the middle of
upgrading the library, I'll think about your suggestion before I release the
next version.

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



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


CGI to send back a file to save

2005-07-12 Thread Sivakatirswami
Short version: I need to know the proper HTTP header to set to force  
a browser to save the incoming data to a file. (at least I *think*  
that's what I need to know.)


Long Scenario:

Goal: create a CGI that responds to a GET request that will  
automatically generate a


fooSoundFile.ram  file in a variable

 based on the query string e.g.

$QUERY_STRING = audioFile=hawaii_papayas.mp3

then the .ram filename should be hawaii_papayas.ram

and contain the string:

http://www.himalayanacademy.com/audio/tropical_fruit_music/ 
hawaii_papayas.mp3


[you should hear those papayas sing!]

Now, generating all that is a easy enough.

But the usual scenario is that you have all these .ram files prebuilt  
(which is what I am trying to avoid. Old .ram files lying around the  
web site are a *big* nuisance to maintain) and the user clicks on  
a link


a href=/audio/tropical_fruit_music/hawaii_papayas.ramReal Player/a

and the .ram file is downloaded-saved to the client side disk... Real  
Player is mapped to .ram in the internet helper apps, boots and reads  
this file and streams the audio.


I want the CGI to take over that process and serve the .ram file  
dynamically.


OK, so all I know how to do is:

put http://www.himalayanacademy.com/audio/tropical_fruit_music/ 
hawaii_papayas.mp3 into tRamFile
http://www.himalayanacademy.com/audio/tropical_fruit_music/ 
hawaii_papayas.mp3


  put Content-Type: text/plain  cr
  put Content-Length:  the length of tRamFile  cr  cr
  put tRamFile

of course this is not going to work... that string will appear as a  
literal in the user's browser.  is it as simple as something like:


# just guessing.. I haven't a clue...

  put Content-Type: binary/file  cr
  put Content-Length:  the length of tRamFile  cr  cr
  put tRamFile

# where the browser can't read it, so it saves it

??

i.e. we can of course do a redirect, like this:
put
http://www.himalayanacademy.com/audio/tropical_fruit_music/ 
hawaii_papayas.mp3 into tRamFile
put tRamFile into url (file:  audio/tropical_fruit_music/ 
hawaii_papayas.ram)


  put Status: 301 Moved Permanently  cr
  put Location:http://www.himalayanacademy.com/audio/ 
tropical_fruit_music/hawaii_papayas.ram  cr  cr


But, then I end up once again, with all these .ram files on disk...  
so I was hoping to find a way to pipe it straight out of the CGI...  
i.e. to take what is coming back from port 80 and save it instead of  
trying to render it...maybe this is the wrong place to ask this... I  
will take it to Experts-Exchange if no one here knows.


TIA

Sivakatirswami





___
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: is it me?

2005-07-12 Thread Richard Gaskin

Sarah Reichelt wrote:
It seems that buttons of style default do not give any visual  
indication that they're being pressed in Tiger, even with the  
autoHilite set to true.


Have any of you seen this?



Checking this with a dialog in Safari containing one normal button   
one default, this is what I get:

with no mouse-click, default button pulses blue, other button just grey
hold down mouse button on default button - pulsing stops
hold down mouse button on other button - blue color leaves default  
button and moves to other button, but does not pulse.


In Rev, the blue color does not leave the default button when another  
button is clicked, and the pulsing does not stop while clicked. Apart  
from these, OS X seems to allow for almost no feedback itself, so I'm  
not sure it is really a Rev problem.


So the behavior is implemented differently in Rev than in other Aqua 
programs, confirmed?


I'll BZ it...

Done:
http://support.runrev.com/bugdatabase/show_bug.cgi?id=2999

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


Re: passing quotes parameters to a 'send' message...

2005-07-12 Thread Dar Scott


On Jul 12, 2005, at 5:24 PM, Alex Tweedly wrote:


Try

  send putInMsg tName to me


OK, it works. But *why* ?  In any other context,  the content of a 
quoted string is not evaluated -


Think of it as a 'do' that also specifies the message path location and 
maybe changes the defaultStack.


The statement is executed right up until the actual invocation (the 
parameters are evaluated by this time), and then there's an optional 
wait until some time, and then it is dropped into the message path 
pinball machine.


Dar

--
**
DSC (Dar Scott Consulting  Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**

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


Re: Window Positioning Bug?

2005-07-12 Thread Chipp Walters

Hey man,

couple things you should consider trying.
1) check the windowBoundingRect and set it larger.
2) set the stack's formatForPrinting property to true, this will ignore 
the windowBoundingRect; be aware of editing any text of a stack who's 
formatForPrinting prop is true.

3) Don't use a palette, instead copy and paste the image to your topstack
4) Consider using some form of:

open inv stack progInd
set the topLeft of stack progInd to 1000,1000
show stack progInd

best,

Chipp



Scott Rossi wrote:

When I run the following script, I actually see the offscreen-intended
window appear every *other* time, in other words a reliable failure that
occurs 50% of the time:

on showWindow
  set topLeft of stack progind to 1,1
  palette stack progind
  put windowID of stack progind into tID
  import snapshot from rect (rect of grc pie of stack progind) of window tID
  close stack progind
  choose browse tool
end showWindow

___
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


  1   2   >