Re: Progress bar

2001-12-06 Thread Troy Rollins

John Cuccio  wrote:

> any idea how to do a progress bar in rev.

Basically you set the endValue of the scrollbar to your maximum (whatever
would equal 100%). Then increment the thumbPosition based on your events.
-- 
Troy
RPSystems
www.rpsystems.net

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: progress bar

2002-04-08 Thread Klaus Major

Bonjour mon ami :-)

ca va bien ?

> Hi,

> I'm fighting with Rev to make a window with a progress bar appearing in 
> the front of a stack during a loop.

please stop fighting :-)

> i can't.

Yet !

> For hypercard, there are many different XCMDs doing the job.
> Can someone help me explaining how to proceed ?
>
> I start with a genearal script
>
> put the number of cds of this stack into tCards
> repeat with x = 1 to tCards
>-- the script calling the new stack with the progression bar
>--  my script : go to cd x ...
> end repeat
> ...
> ...
>
>
>
> thanks.
> -- Greetings.
>
> Yves COPPE

just to be sure: you have stack A where you want to do something on all 
cards and
stack B, where a progress-bar should display the progress of these 
actions ?

OK, here we go:

on xxx
put the number of cds of this stack into tCards
put the long name of sb "le_progresse" of cd x of stack "B" into 
le_prog
## this put something like "scrollbar id 1003 of cd id 1004 of stack 
xxx" into the var,
### so you can refer to it with just a single word ;-), makes not 
much sense in this
   ### example, but you get the picture...

set the endvalue of le_prog to tCards
 ## so you don't have to count before ;-)

palette "B"
##or whatsoever...

repeat with x = 1 to tCards
set cursor to busy
### so you have this nice spinning beach-ball

set the thumbpos of le_prog to x
### set the progressbar
### do your card-stuff here
### if possible, do NOT go to cd x, this will speed up things 
heavily :-)
###  my script : go to cd x ...
end repeat
close stack "B"
end xxx


Hope this helps.


Regards/Au revoir

Klaus Major
[EMAIL PROTECTED]

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: progress bar

2002-04-08 Thread Klaus Major

Bonsoir Yves,

>
> ...
> Dear klaus,
>
> Try this :

no, i won't ;-)

But you should try this:

> on mouseUp
>   put the number of cds of this stack into tcards
>   put the long name of sb "le_progresse" of cd 1 of stack "B" into 
> le_prog
>   set the endvalue of le_prog to tcards
>   palette "B"
>   repeat with x = 1 to tcards
> set cursor to busy
> set the thumbpos of le_prog to x

#!  go cd x ###not necessary

> put return & fld "test"  of cd i after myVar
###! OF CD I :-)

> wait 1 sec --just to see what happens !
## Yes, MC is too fast :-)

>   end repeat
>   go cd 1 ### no more necessary
>   filter myVar with "*?"
>   close stack "B"
>   answer myVar
> end mouseUp


> So I want something that
> 1) show the progression of stack B
> 2) doesn't show the progression from card to card in stack A
>
> is it possible ?
>
> thanks.
> -- Greetings.
> Yves COPPE

Sure, see above

Au revoir

Klaus

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: progress bar

2002-04-08 Thread yves COPPE

Hello,




Here is my final script and it works fine (finally, thanks Klaus)

on mouseUp
   put the number of cds of this stack into tcards
   put the long name of sb "progressbar" of cd 1 of stack 
"Progression" into le_prog
   set the endvalue of le_prog to tcards
   palette "Progression"
   repeat with x = 1 to tcards
 set cursor to busy
 set the thumbpos of le_prog to x
 set the text of fld "prompt" of stack "Progression" to\
 "Fiche : "&x&"/"&tcards&"."
 put return & fld "test" of cd x after myVar
 wait 1 sec --just to see what happens !
   end repeat
   filter myVar with "*?"
   close stack "Progression"
   answer myVar
end mouseUp


Sorry, some words are in french, but it can easily be adapted in English
-- 
Greetings.

Yves COPPE

Email : [EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Progress Bar

2003-07-15 Thread Richard Gaskin
[EMAIL PROTECTED] wrote:

> Still checking out RunRev
> 
> I'm loading a file from the internet with "load URL". I've been trying
> to make a progress bar show it's status but cant seem to get it to
> work. Has anyone done this, and if so what is the best way to do this?

Check out the RevNet backscript; feel free to use anything there...

In summary, the process incvolves checking urlStatus periodically and
parsing the params to set the values in the progress bar.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.2: Publish any database on any site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Progress Bar

2003-07-15 Thread Alex Rice
On Tuesday, July 15, 2003, at 05:00  PM, Richard Gaskin wrote:
Check out the RevNet backscript; feel free to use anything there...

In summary, the process incvolves checking urlStatus periodically and
parsing the params to set the values in the progress bar.
See also the new in 2.0 transcript handler

libURLSetStatusCallback [messageName,objectLongID]

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Progress Bar?

2004-04-07 Thread xbury . cs
David,

set the endvalue of scrollbar "progress" to 100
set the startvalue of scrollbar "progress" to 0
set the thumbposition of scrollbar "progress" to 0

repeat with x = 1 to 100

  set the thumbposition of scrollbar "progress" to x

end repeat

something like that...
-=-
Xavier Bury
Clearstream Services
TNS NT LAN Server
ext 36465
Voice: +352 4656 43 6465
Fax: +352 4656 493 6465




David Burgun <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
07.04.2004 11:32
Please respond to How to use Revolution

 
To: How to use Revolution <[EMAIL PROTECTED]>
cc: 
Subject:Progress Bar?

.


Hi,

What is the best way to implement a a Progress Bar in RunRev?

The way I'd like to do it, it have something that looks at the amount 
of progress and updates the bar accordingly every so often.

Thanks a lot
Dave
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution





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

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

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

END OF DISCLAIMER
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: progress bar

2006-04-13 Thread David Burgun

Hi,

set the thumbPosition of me to 10

Or any control reference, like:

set the thumbPosition of scrollbar " ProgressScrollbar" to 10

Hope this Helps
All the Best
Dave

On 13 Apr 2006, at 22:40, Viktoras Didziulis wrote:



Hi!

I am new to Revolution and Transcript. Giving a try to Revolution  
today, and
somehow can't figure it out how to add number to current value  
property of
Progress Bar. Could someone please write a brief example on how  
current

value property of progress bar should be addressed.

Thanks a lot!
Viktoras
___
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: progress bar

2006-04-13 Thread Devin Asay

Viktoras,

You need to check the thumbPosition property of the scrollbar.

For scrollbars, the startValue and endValue properties determine the  
end points of the scrollbar, and the thumbPosition property  
determines the current value of the scrollbar.


Devin

On Apr 13, 2006, at 3:40 PM, Viktoras Didziulis wrote:


Hi!

I am new to Revolution and Transcript. Giving a try to Revolution  
today, and
somehow can't figure it out how to add number to current value  
property of
Progress Bar. Could someone please write a brief example on how  
current

value property of progress bar should be addressed.



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: progress bar

2006-04-13 Thread Björnke von Gierke

on mouseUp
set the thumbPosition of scrollbar "progress bar" to the thumbPosition 
of scrollbar "progress bar" + 1

end mouseUp

note that the default progress bar has a very high endValue, so you 
might not see any progress even though you press the button, so set it 
to something lower, like 100 or 20.



On Apr 13 2006, at 23:40, Viktoras Didziulis wrote:



Hi!

I am new to Revolution and Transcript. Giving a try to Revolution 
today, and
somehow can't figure it out how to add number to current value 
property of

Progress Bar. Could someone please write a brief example on how current
value property of progress bar should be addressed.

Thanks a lot!
Viktoras
___
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



--

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

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


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


Re: progress bar

2006-04-13 Thread Viktoras Didziulis
 
Thanks a lot for your very prompt help! 
 
Is there a way to change the default green-stripes background pattern that
shows progress to something else (like own bitmap or just single color)? 
 
Best wishes! 
Viktoras
___
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: progress bar

2006-07-20 Thread Mark Smith

I think I'd do something like:

button script:

on mouseDown
  send "startProgressing" to sb theProgressBar
end mouseDown

on mouseUp
  send "reset" to sb theProgressBar
end mouseUp


and in the sb script:

on startProgressing
  set the thumbPos of me to the thumbPos of me + 1
  send "startProgressing" to me in 20 milliseconds -- pick a value  
that suits

end startProgressing

on reset
  get lineOffset("startProgressing", the pendingMessages)
  if it > 0 then cancel item 1 of line it of the pendingMessages
  set the thumbPos of me to 0
end reset

Best,

Mark

On 21 Jul 2006, at 00:47, Nicolas Cueto wrote:


Hello List,

As a visual cue for a game, I'd like to
use a progress bar to indicate to a
user how long they are holding down
a button -- the reason being, the longer
the button is held down (mouseDown),
the faster an image object will move
upon the button's release (mouseUp)

One experiment I've tried is to use a
repeat loop within the mouseDown
handler so as to set the progress bar's
thumbPos property. Can't get it to
work, though.

Any sugestions?

Thank you.

--
Nicolas Cueto
___
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: progress bar

2006-07-20 Thread Sarah Reichelt

Just one addition to Mark's suggestion: include a mouseRelease handler
that does the same as the mouseUp. This will catch the mouse if the
user moves it off the control before releasing the button.

Sarah


On 7/21/06, Mark Smith <[EMAIL PROTECTED]> wrote:

I think I'd do something like:

button script:

on mouseDown
   send "startProgressing" to sb theProgressBar
end mouseDown

on mouseUp
   send "reset" to sb theProgressBar
end mouseUp


and in the sb script:

on startProgressing
   set the thumbPos of me to the thumbPos of me + 1
   send "startProgressing" to me in 20 milliseconds -- pick a value
that suits
end startProgressing

on reset
   get lineOffset("startProgressing", the pendingMessages)
   if it > 0 then cancel item 1 of line it of the pendingMessages
   set the thumbPos of me to 0
end reset

Best,

Mark

On 21 Jul 2006, at 00:47, Nicolas Cueto wrote:

> Hello List,
>
> As a visual cue for a game, I'd like to
> use a progress bar to indicate to a
> user how long they are holding down
> a button -- the reason being, the longer
> the button is held down (mouseDown),
> the faster an image object will move
> upon the button's release (mouseUp)
>
> One experiment I've tried is to use a
> repeat loop within the mouseDown
> handler so as to set the progress bar's
> thumbPos property. Can't get it to
> work, though.
>
> Any sugestions?
>
> Thank you.
>
> --
> Nicolas Cueto
> ___
> 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: Progress bar

2006-12-07 Thread Mark Schonewille
Here is a simple demo that shows the use of startValue, endValue and  
thumbPos.


on mouseUp
  repeat with x = (the startValue of scrollbar 1) to (the endValue  
of scrollbar 1) step 200

set the thumbPos of scrollbar 1 to x
  end repeat
  set the thumbPos of scrollbar 1 to the endValue of scrollbar 1
end mouseUp

This works fine with a default scrollbar, but you probably will want  
to change the startValue and endValue in the property inspector and  
might then want to change the size of the steps. You can also  
entirely remove the steps.


Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz


Op 7-dec-2006, om 21:48 heeft jhonken het volgende geschreven:


I've put a Progress bar in my application.  Can someone tell me how to
set the "Current value" of it. It looks like runrev calls it a  
scrollbar

and I've read about thumbposition but I'm not sure if thats whats used
or not.  It seems not to work when I try setting it.  It errors.  Any
help would be greatly appreciated.

___
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: Progress bar

2006-12-07 Thread Mark Smith

A fairly typical way might be, in a repeat loop:

set the endValue of sb "progress" to the number of lines in  
listToProcess

set the thumbPos of sb "progress" to 0
put 0 into lineCount
repeat for each line L in listToProcess
  doProcessing L
  add 1 to lineCount
  set the thumbPos of sb "progress" to lineCount
end repeat
set the thumbPos of sb "progress" to 0

best,

Mark

On 7 Dec 2006, at 20:48, jhonken wrote:


I've put a Progress bar in my application.  Can someone tell me how to
set the "Current value" of it. It looks like runrev calls it a  
scrollbar

and I've read about thumbposition but I'm not sure if thats whats used
or not.  It seems not to work when I try setting it.  It errors.  Any
help would be greatly appreciated.
___
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: Progress bar

2006-12-07 Thread jhonken
Mark,

 That did the trick. Thanks

-Original Message-
From: Mark Schonewille [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 07, 2006 4:01 PM
To: How to use Revolution
Subject: Re: Progress bar


Here is a simple demo that shows the use of startValue, endValue and  
thumbPos.

on mouseUp
   repeat with x = (the startValue of scrollbar 1) to (the endValue  
of scrollbar 1) step 200
 set the thumbPos of scrollbar 1 to x
   end repeat
   set the thumbPos of scrollbar 1 to the endValue of scrollbar 1 end
mouseUp

This works fine with a default scrollbar, but you probably will want  
to change the startValue and endValue in the property inspector and  
might then want to change the size of the steps. You can also  
entirely remove the steps.

Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz

Op 7-dec-2006, om 21:48 heeft jhonken het volgende geschreven:

> I've put a Progress bar in my application.  Can someone tell me how to

> set the "Current value" of it. It looks like runrev calls it a
> scrollbar
> and I've read about thumbposition but I'm not sure if thats whats used
> or not.  It seems not to work when I try setting it.  It errors.  Any
> help would be greatly appreciated.
___
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: progress bar

2010-01-05 Thread Andre Garzia
Jacques,

Revolution is single tread so you will not be able to move your progress bar
while the resizing is working for an individual file, only in the little
intervals between each file resize. One trick is setting the cursor to
watch, this will spin an hourglass which I think will keep spining during
the process, but to measure the resizing while it is happening, I don't
think this is possible.

Cheers
andre

On Tue, Jan 5, 2010 at 6:09 PM, Jacques Hausser wrote:

> Hi,
>
> I have a stack loading and rescaling big pictures (12 megapixels or more)
> by setting their filename and then their size. The user can choose their
> resizequality, and with "best" the process is rather slow, the final size
> being as big as possible. My question: how to link an "honest"  progress bar
> to this process ? It's only one line of code: set the rect of image "X"
> to..., and I do not see where to check the actual progress.
>
> Thank you for every idea
>
> Jacques
>
> **
> Prof. Jacques Hausser
> Department of Ecology and Evolution
> Biophore / Sorge
> University of Lausanne
> CH 1015 Lausanne
> please use my private address:
> 6 route de Burtigny
> CH-1269 Bassins
> tel/fax:++ 41 22 366 19 40
> mobile: ++ 41 79 757 05 24
> E-Mail: jacques.haus...@unil.ch
> ***
>
> ___
> 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
>



-- 
http://www.andregarzia.com All We Do Is Code.
___
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: progress bar

2010-01-05 Thread stephen barncard
Graphic operations seem to be a blocker. Have you tried doing any 'send in
time' experiments to see if those will run during the operation? You could
at least create a spinning watch or some kind of indicator that something is
happening.  I know animated gifs won't run during any blocking operation.
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


2010/1/5 Jacques Hausser 

> Hi,
>
> I have a stack loading and rescaling big pictures (12 megapixels or more)
> by setting their filename and then their size. The user can choose their
> resizequality, and with "best" the process is rather slow, the final size
> being as big as possible. My question: how to link an "honest"  progress bar
> to this process ? It's only one line of code: set the rect of image "X"
> to..., and I do not see where to check the actual progress.
>
> Thank you for every idea
>
> Jacques
>
> **
> Prof. Jacques Hausser
> Department of Ecology and Evolution
> Biophore / Sorge
> University of Lausanne
> CH 1015 Lausanne
> please use my private address:
> 6 route de Burtigny
> CH-1269 Bassins
> tel/fax:++ 41 22 366 19 40
> mobile: ++ 41 79 757 05 24
> E-Mail: jacques.haus...@unil.ch
> ***
>
> ___
> 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: progress bar

2010-01-05 Thread Robert Brenstein

On 05.01.2010 at 21:09 Uhr +0100 Jacques Hausser apparently wrote:

Hi,

I have a stack loading and rescaling big pictures (12 megapixels or 
more) by setting their filename and then their size. The user can 
choose their resizequality, and with "best" the process is rather 
slow, the final size being as big as possible. My question: how to 
link an "honest"  progress bar to this process ? It's only one line 
of code: set the rect of image "X" to..., and I do not see where to 
check the actual progress.


Thank you for every idea

Jacques



You can't have the engine call your progress stack, so all you can do 
is to put up a small dialog window with something like 
"Rescaling...", call set the rect of image "X" to..., then close the 
dialog window. Set a cursor to watch as well.


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


Re: progress bar

2010-01-05 Thread Jacques Hausser
Thanks, Andre,Stephen and Robert for your answers.

It is more or less what I guessed, but you never know.
[ I'm not sure it's correct in english... I don't mean that you don't know ;) ]
Stephen, I tried "send in time", but it is blocked too. 
I will probably turn to a mere "Please wait" or something like that.

Jacques

**
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel/fax:++ 41 22 366 19 40
mobile: ++ 41 79 757 05 24
E-Mail: jacques.haus...@unil.ch
***

___
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: Progress Bar examples

2005-02-16 Thread Dan Shafer
Why don't you add it to your user area in RevOnline?
Dan
On Feb 16, 2005, at 8:55 PM, Dwayne Rothe wrote:
I have put together a stack showing a system progress bar, a graphical 
progress bar and a slider bar in action!
If anyone would like a copy let me know and I will gladly email you. 
It only takes up about 8kb if someone wants to make it available on 
their website let me know!

Cheers Dwayne..
[EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Progress Bar Example

2006-03-24 Thread Sarah Reichelt
On 3/25/06, Jeff Honken <[EMAIL PROTECTED]> wrote:
>
> I would like to use a "progress bar" to monitor a "go stack URL".  I'm
> clueless on how to write the code.  Does someone have an example of this
> or can someone please point me in the correct direction. Jeff

I haven't done it using stacks, but I have done it for downloading
pictures from the web and I guess it's much the same. Firstly, you
need to use "load" instead of "go". This is non-blocking and reports
it's status so you can show what's happening.

Here is part of the handler I use to start a download. It sets the
status callback object to a progress bar and then starts loading. When
it is finished, it's going to call the "picDownloaded" handler.


on downloadFile pAddress
  libURLSetStatusCallback "showStatus", the long ID of sb "Progress"
of stack "Download"
  load URL pAddress with message "picDownloaded"
end downloadFile

In the script of the scrollbar, I have this:

on showStatus pURL, pStatus
  if item 1 of pStatus = "loading" then
put item 2 of pStatus into tNow
put item 3 of pStatus into tEnd

if the visible of sb "Progress" = false then
  -- hasn't started yet
  set the endValue of  sb "Progress" to tEnd
  set the thumbPos of  sb "Progress" to tNow
  show  sb "Progress"
else
  set the thumbPos of  sb "Progress" to tNow
end if

  else if pStatus = "error" then
libURLSetStatusCallback
set the dialogData to empty
close this stack
   end if
end showStatus

which sets the range of the progress bar and shows it if not already
visible, otherwise it just moves the progress bar. If there is an
error, it gets out.

Back in my download script, I have the handler that gets called after
the download is finished. This is in the same script as the
downloadFile handler:

on picDownloaded pURL, pStatus
libURLSetStatusCallback
set the dialogData to URL pURL
unload URL pURL
 end picDownloaded

This puts the newloy downloaded data into a variable (I'm using the
dialogData as it downloads from a separate dialog stack), and then
unloads the file so that it isn't held in two places of memory at
once.

At this point, you could have a "go to stack pURL" line.

Let me know if this doesn't work or if you have any further questions.

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


Re: Progress Bar Example

2006-03-24 Thread Dave Cragg


On 24 Mar 2006, at 21:42, Sarah Reichelt wrote:


On 3/25/06, Jeff Honken <[EMAIL PROTECTED]> wrote:


I would like to use a "progress bar" to monitor a "go stack URL".   
I'm
clueless on how to write the code.  Does someone have an example  
of this

or can someone please point me in the correct direction. Jeff


I haven't done it using stacks, but I have done it for downloading
pictures from the web and I guess it's much the same. Firstly, you
need to use "load" instead of "go". This is non-blocking and reports
it's status so you can show what's happening.


You can show status using "go" as well. libUrlSetStatusCallback works  
for both blocking (e.g. load url) and non-blocking (.e.g. get url)  
calls.


Below is the script of a *very crude* progress palette. The stack  
consists of two fields (one named "url" and the other named  
"status"), and a scrollbar (progress bar) named "progress" . Name the  
stack "url_status" (or anything you want).


Make this stack a substack of your main stack. Then somewhere (e.g in  
your mainstack's preopenstack handler), include the following:


  start using "url_status"

That's it. After that, it should work for all downloads and uploads  
(which may not be what you want).


Cheers
Dave

--
local sUrls

on libraryStack
  libUrlSetStatusCallback "urlCallback", the long id of me
  palette me
  hide me
end libraryStack

-
on releaseStack
  libUrlSetStatusCallback empty
  close me
end releaseStack
---

on urlCallback pUrl, pStatusString

  show me
  put pUrl into field "url" of card 1 of me
  put item 1 of pStatusString into tStatus
  put tStatus into field "status" of card 1 of me
  put 1 into sUrls[pUrl]
  if tStatus is among the items of "loading,downloading,uploading" then

put item 2 of pStatusString into tPart
put item 3 of pStatusString into tWhole
if tWhole <> empty then

  showProgress tPart,tWhole
else
  hide scrollbar "progress" of me
  put "," && tPart && "bytes" after field "status" of card 1 of me
end if
--unlock screen
  else if tStatus is among the items of  
"loaded,downloaded,uploaded,cached" then

delete local sUrls[pUrl]
if the visible of scrollbar "progress" of me then showProgress 1,1
send "hideStatus" to me in 200 milliseconds ##leave visible for  
short time


  else if tStatus is among the items of "error,timeout" then
delete local sUrls[pUrl]
send "hideStatus" to me in 200 milliseconds ##leave visible for  
short time

  else
hide scrollbar "progress" of me
  end if
end urlCallback
-
on showProgress pPart,pWhole
  put the endValue of scrollbar  "progress" of me into tMax
  set the thumbPosition of scrollbar "progress" of me to round(tMax  
* pPart / pWhole)

  show scrollbar "progress" of me
  wait 10 milliseconds
end showProgress
---
on hideStatus
  if keys(sUrls) is empty then
hide me
  end if
end hideStatus

___
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: Progress Bar Example

2006-03-24 Thread Jeff Honken
Sarah,
  Thanks for the reply.  I've tried using 
load stack URL http://www.x12help.com/x12provider.rev"; but it errors.
I've only been successful with "go"  Here's the code I'm using in a
button:

on mouseUp
  go stack URL "http://www.x12help.com/x12provider.rev";
end mouseUp

Is there some other syntax for "load" ?

Jeff


   -Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sarah
Reichelt
Sent: Friday, March 24, 2006 2:42 PM
To: How to use Revolution
Subject: Re: Progress Bar Example

On 3/25/06, Jeff Honken <[EMAIL PROTECTED]> wrote:
>
> I would like to use a "progress bar" to monitor a "go stack URL".  I'm
> clueless on how to write the code.  Does someone have an example of
this
> or can someone please point me in the correct direction. Jeff

I haven't done it using stacks, but I have done it for downloading
pictures from the web and I guess it's much the same. Firstly, you
need to use "load" instead of "go". This is non-blocking and reports
it's status so you can show what's happening.

Here is part of the handler I use to start a download. It sets the
status callback object to a progress bar and then starts loading. When
it is finished, it's going to call the "picDownloaded" handler.


on downloadFile pAddress
  libURLSetStatusCallback "showStatus", the long ID of sb "Progress"
of stack "Download"
  load URL pAddress with message "picDownloaded"
end downloadFile

In the script of the scrollbar, I have this:

on showStatus pURL, pStatus
  if item 1 of pStatus = "loading" then
put item 2 of pStatus into tNow
put item 3 of pStatus into tEnd

if the visible of sb "Progress" = false then
  -- hasn't started yet
  set the endValue of  sb "Progress" to tEnd
  set the thumbPos of  sb "Progress" to tNow
  show  sb "Progress"
else
  set the thumbPos of  sb "Progress" to tNow
end if

  else if pStatus = "error" then
libURLSetStatusCallback
set the dialogData to empty
close this stack
   end if
end showStatus

which sets the range of the progress bar and shows it if not already
visible, otherwise it just moves the progress bar. If there is an
error, it gets out.

Back in my download script, I have the handler that gets called after
the download is finished. This is in the same script as the
downloadFile handler:

on picDownloaded pURL, pStatus
libURLSetStatusCallback
set the dialogData to URL pURL
unload URL pURL
 end picDownloaded

This puts the newloy downloaded data into a variable (I'm using the
dialogData as it downloads from a separate dialog stack), and then
unloads the file so that it isn't held in two places of memory at
once.

At this point, you could have a "go to stack pURL" line.

Let me know if this doesn't work or if you have any further questions.

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



___
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: Progress Bar Example

2006-03-24 Thread Sarah Reichelt
On 3/25/06, Jeff Honken <[EMAIL PROTECTED]> wrote:
> Sarah,
>   Thanks for the reply.  I've tried using
> load stack URL http://www.x12help.com/x12provider.rev"; but it errors.
> I've only been successful with "go"  Here's the code I'm using in a
> button:
>
> on mouseUp
>   go stack URL "http://www.x12help.com/x12provider.rev";
> end mouseUp
>

  load URL "http://www.x12help.com/x12provider.rev";

then when it finishes, put the already downloaded data into a variable
& go to it from there:
  put URL "http://www.x12help.com/x12provider.rev"; into myStackData
  go stack myStackData

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


Re: Progress Bar Updates

2009-11-05 Thread Alex Tweedly

Bill Vlahos wrote:
I've successfully used libURLSetStatusCallback for getting the status 
when downloading from a web server and updating a progress bar. 
However, when I try it for opening a file from a file server it 
doesn't work. Below is the code for the file server open in a button.


global vSyslogFile

on mouseUp
   answer file "Open Syslog File:"
   if it is not empty then
  libURLSetStatusCallback "myProgress",the long ID of me
  show sb 1 -- progress bar
  put URL ("file:" & it) into vSyslogFile
  hide sb 1
   end if
end mouseUp

on myProgress theURL,theStatus
  if "loading" is item 1 of theStatus then set the thumbpos of sb 1 to 
(item 2 of theStatus/item 3 of theStatus)*(the endvalue of sb 
1-startvalue of sb 1)

end myProgress

Does this not work for these kinds of put URL commands?


No, it doesn't. The docs for it say

Summary:
Sets up a callback message to be sent periodically during uploads and 
downloads.

When you do, e.g., put URL ("file:abc.txt") into temp
control doesn't return to you until the put is complete.

-- Alex.

___
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: Progress Bar Updates

2009-11-05 Thread Sarah Reichelt
On Fri, Nov 6, 2009 at 4:31 AM, Bill Vlahos  wrote:
> I've successfully used libURLSetStatusCallback for getting the status when
> downloading from a web server and updating a progress bar. However, when I
> try it for opening a file from a file server it doesn't work.


Have a look at this revLesson:


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


Re: Progress Bar Updates

2009-11-05 Thread Josh Mellicker
Although not at all as comprehensive as Sarah's, this code updates a  
human-readable time left and download speed status text under the bar:


http://revcoders.org/calctimeremaining/


On Nov 5, 2009, at 2:49 PM, Sarah Reichelt wrote:


On Fri, Nov 6, 2009 at 4:31 AM, Bill Vlahos  wrote:
I've successfully used libURLSetStatusCallback for getting the  
status when
downloading from a web server and updating a progress bar. However,  
when I

try it for opening a file from a file server it doesn't work.



Have a look at this revLesson:



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

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


___
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: progress bar example

2008-07-10 Thread Pierre Sahores

Hello,

Perhaps can this lightweight code help ?


on mouseup
   load url (Stack_to_load) with message mainstatut
  progressbark
end mouseup

on mainstatut
  if the cachedurls contains Stack_to_load then
go url (Stack_to_load) in new window
unload url (Stack_to_load)
  else answer "La connexion avec le serveur" && quote & "IME" & quote  
&& "est rompue." & \
  return & "Vérifiez votre configuration d'accès à" &&  
"l'internet avant" & return & "de poursuivre..."

end mainstatut

on progressbark
  set the thumbposition of sb "jauge" of stack "ime_loader" to "0"
  put "0" into aa
  repeat 20
if urlstatus(Stack_to_load) is among the items of  
"contacted,cached" then

  add 10 to aa
  set the thumbposition of sb "jauge" of stack "ime_loader" to aa
end if
  end repeat
end progressbark


Best Regards,
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


Le 10 juil. 08 à 13:50, Nicolas Cueto a écrit :


Hello,

A few years back, Dave Cragg was
kind enough to explain in detail how
to build a stack that shows the progress
of a download (I've included his message
below).

The script works, but there's a glitch.
When the progress-stack is called up
only its edge can be seen. Its body,
instead of showing a progres bar
increasing as the download progresses,
shows nothing but a freeze-view of whatever
was on the screen beneath it before it
popped open.

I've tried setting buffer properties,
but that did not work.

Is there a way of getting this to work?

Thank you.

-- Nicolas Cueto



You can show status using "go" as well. libUrlSetStatusCallback works
for both blocking (e.g. load url) and non-blocking (.e.g. get url)
calls.

Below is the script of a *very crude* progress palette. The stack
consists of two fields (one named "url" and the other named
"status"), and a scrollbar (progress bar) named "progress" . Name the
stack "url_status" (or anything you want).

Make this stack a substack of your main stack. Then somewhere (e.g in
your mainstack's preopenstack handler), include the following:

  start using "url_status"

That's it. After that, it should work for all downloads and uploads
(which may not be what you want).

Cheers
Dave

--
local sUrls

on libraryStack
  libUrlSetStatusCallback "urlCallback", the long id of me
  palette me
  hide me
end libraryStack

-
on releaseStack
  libUrlSetStatusCallback empty
  close me
end releaseStack
---

on urlCallback pUrl, pStatusString

  show me
  put pUrl into field "url" of card 1 of me
  put item 1 of pStatusString into tStatus
  put tStatus into field "status" of card 1 of me
  put 1 into sUrls[pUrl]
  if tStatus is among the items of "loading,downloading,uploading"  
then


put item 2 of pStatusString into tPart
put item 3 of pStatusString into tWhole
if tWhole <> empty then

  showProgress tPart,tWhole
else
  hide scrollbar "progress" of me
  put "," && tPart && "bytes" after field "status" of card 1 of me
end if
--unlock screen
  else if tStatus is among the items of
"loaded,downloaded,uploaded,cached" then
delete local sUrls[pUrl]
if the visible of scrollbar "progress" of me then showProgress 1,1
send "hideStatus" to me in 200 milliseconds ##leave visible for
short time

  else if tStatus is among the items of "error,timeout" then
delete local sUrls[pUrl]
send "hideStatus" to me in 200 milliseconds ##leave visible for
short time
  else
hide scrollbar "progress" of me
  end if
end urlCallback
-
on showProgress pPart,pWhole
  put the endValue of scrollbar  "progress" of me into tMax
  set the thumbPosition of scrollbar "progress" of me to round(tMax
* pPart / pWhole)
  show scrollbar "progress" of me
  wait 10 milliseconds
end showProgress
---
on hideStatus
  if keys(sUrls) is empty then
hide me
  end if
end hideStatus
___
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: progress bar example

2008-07-10 Thread Eric Chatonet

Bonjour Nicolas,

Le 10 juil. 08 à 13:50, Nicolas Cueto a écrit :


A few years back, Dave Cragg was
kind enough to explain in detail how
to build a stack that shows the progress
of a download (I've included his message
below).


How to Download Data from the Internet tutorial might help you:
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.


You will access this tutorial through "Tutorials Picker" a free  
plugin that interfaces with the So Smart Software website in order to  
display all available tutorials stacks directly from the web.

You will find it by going to http://www.sosmartsoftware.com/.
Revolution/Plugins or Tutorials section.

Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/



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


RE: Progress Bar Help

2009-03-01 Thread Jim Bufalini
Hi Len,

The math "concept" sounds correct. Could it be you are setting your
percentage inside the repeat instead of outside, causing the percentage to
continually increase? If the jump of the increase in the scroll is
incremental instead of consistently always the same amount, then this could
be it. Also, you might want to use a round function to work with integers,
with a >= cleanup at the end.

Aloha from Hawaii,

Jim Bufalini

> -Original Message-
> From: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
> boun...@lists.runrev.com] On Behalf Of Len Morgan
> Sent: Sunday, March 01, 2009 3:38 AM
> To: use-revolution@lists.runrev.com
> Subject: Progress Bar Help
> 
> It seems I get stuck on the simplest things...
> 
> I have a progress bar and it's set to min=0, max=100 (I want to show
> percentage completed)
> 
> I have a list of files I want to process so I take 100 / the number of
> files to get a "per file percentage"  (about 5. for my current list
> of 18 files)
> 
> I use "i" as a counter to go through the lines of the files and set my
> thumbpos to:
> 
> i * perFilePercentage
> 
> This seems to work but the progress bar is already at 100% by the time
> I
> get to the 7th file.
> 
> Is my math wrong?  What am I missing?
> 
> Thanks again!
> 
> len morgan
> ___
> 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: Progress Bar Help

2009-03-01 Thread Len Morgan

Good Morning, Jim

No, I'm afraid it's an even more bone-headed mistake than that.  I just 
went back and added a field that showed me the percentage that I was 
actually setting the thumbpos to and it was TWICE what it was supposed 
to be.  After further investigation, I realized that in a modification a 
couple of hours ago, I wanted to increment my loop ("i") at the bottom 
of the loop instead of the top.  Needless to say, I forgot to delete the 
one at the top so what ended up happening was I was incrementing by two 
every time instead of one.


Sorry for the stupid coding error on my part.

len morgan
___
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: Progress Bar Help

2009-03-01 Thread dunbarx
I can affirm from my own rather extensive experience that there are no 
stupid coding errors, only stupid programmers.


Craig Newman


On Mar 1, 2009, at 9:05:52 AM, "Len Morgan"  
wrote:

Sorry for the stupid coding error on my part


___
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: Progress bar in Revolution

2006-05-17 Thread Ken Ray
On 5/17/06 3:23 AM, "Didier SANZ" <[EMAIL PROTECTED]> wrote:

> My application contains a script which uses the shell command Zip to
> compress (big) files.
> Does anybody know if it is possible to inform the user of the
> evolution of the process with a progress bar ?

I don't think so... AFAIK the shell command to zip doesn't provide any
status information on its own so there'd be no way to update a progresss
bar.


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

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


Re: progress bar... next question

2006-07-20 Thread Mark Smith

Nicolas, Rev doesn't presently offer a vertical progress bar :(

It's not too hard to make your own by using one image for the  
'unfilled' bar, and another on top of it for the 'fill'. You can then  
group them together and set the rect of the top 'fill' image  
incrementally. It's a bit more work, but I' seem to remember doing it  
at sometime in the past - I can't remember what it was for, but I'll  
have a look to see if iI can find the images I used.


Best,

Mark

On 21 Jul 2006, at 01:34, Nicolas Cueto wrote:


Hello again,

Thank you to Mark Smith
for the solution (in record
time, too!).

My next question is how to
make the thumbPos indicator
progress vertically rather than
horizontally.

Thanks

--
Nicolas Cueto
___
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: progress bar... next question

2006-07-20 Thread Mark Smith

Nicolas, I found it. I've put it on Rev Online,
name: Vertical Progress Bar
user: Mark Smith
Category: General

Best,

Mark

On 21 Jul 2006, at 01:34, Nicolas Cueto wrote:


Hello again,

Thank you to Mark Smith
for the solution (in record
time, too!).

My next question is how to
make the thumbPos indicator
progress vertically rather than
horizontally.

Thanks

--  
Nicolas Cueto

___
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: progress bar... next question

2006-07-20 Thread Scott Rossi
Recently, Mark Smith wrote:

>> My next question is how to
>> make the thumbPos indicator
>> progress vertically rather than
>> horizontally.

> It's not too hard to make your own by using one image for the
> 'unfilled' bar, and another on top of it for the 'fill'. You can then
> group them together and set the rect of the top 'fill' image
> incrementally. It's a bit more work, but I' seem to remember doing it
> at sometime in the past

Mark's right -- you can definitely roll your own, just like a custom slider.
Alternatively, you might want to check out our gauge-building tool called
'tm|gauge' which offers several display styles including a radial option,
and does all the work for you with the push of a button.  See the "Media"
tab on our site: http://www.tactilemedia.com.

Best 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: progress bar... next question

2006-07-20 Thread Nicolas Cueto

Mark, Thanks but couldn't download
it. Clicking on "Go to" results in
no action/message; however, your
other Rev Online stacks are downloable
(except for "id3lib" & "YwL5nC...", both
of which result in a "File not found"
message).

-- Nicolas Cueto

On 7/21/06, Mark Smith <[EMAIL PROTECTED]> wrote:

Nicolas, I found it. I've put it on Rev Online,
name: Vertical Progress Bar
user: Mark Smith
Category: General

Best,

Mark

On 21 Jul 2006, at 01:34, Nicolas Cueto wrote:

> Hello again,
>
> Thank you to Mark Smith
> for the solution (in record
> time, too!).
>
> My next question is how to
> make the thumbPos indicator
> progress vertically rather than
> horizontally.
>
> Thanks
>
> --
> Nicolas Cueto
> ___
> 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




--
Nicolas Cueto
niconiko language school
___
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: Progress bar with lock?

2010-10-21 Thread Mark Schonewille
Hi Charles,

No, you can't do this. However, you can show a screenshot of the card with a 
progress bad on top.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce 
Create installers for Mac and Windows on *every* Rev-compatible platform. No 
additional software needed.

On 21 okt 2010, at 21:14, charles61 wrote:

> 
> I have an app that I am working on that takes a few seconds to clear fields,
> reset radio buttons and checkboxes before it goes to the second card. During
> this time, the screen is locked. I wanted to show a progress bar during this
> process is going on. Is there anyway to show a progress bar while the screen
> is locked? Is there a way to fake a progress bar while the screen is locked?
> -- 


___
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: Progress bar with lock?

2010-10-21 Thread Scott Rossi
Recently, charles61 wrote:

> I have an app that I am working on that takes a few seconds to clear fields,
> reset radio buttons and checkboxes before it goes to the second card. During
> this time, the screen is locked. I wanted to show a progress bar during this
> process is going on. Is there anyway to show a progress bar while the screen
> is locked? Is there a way to fake a progress bar while the screen is locked?

AFAIK, there's no way to do this.  I could have sworn screen locking used to
affect whatever stack was active at the time it was called, but currently it
affects all stacks.  You might consider throwing up a text message "One
moment please..." while the cleanup happens, but I don't believe there's any
way to have just a portion of the screen locked.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


___
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: Progress bar with lock?

2010-10-21 Thread charles61

Hi Mark!

That is a great idea! But will the screenshot show the progress bar filling up 
or is it just a static screenshot?

Charles Szasz
csz...@mac.com




On Oct 21, 2010, at 3:18 PM, Mark Schonewille-3 [via Runtime Revolution] wrote:

> Hi Charles, 
> 
> No, you can't do this. However, you can show a screenshot of the card with a 
> progress bad on top. 
> 
> -- 
> Best regards, 
> 
> Mark Schonewille 
> 
> Economy-x-Talk Consulting and Software Engineering 
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553 
> 
> Download the Installer Maker plugin for Runtime Revolution at 
> http://qurl.tk/ce Create installers for Mac and Windows on *every* 
> Rev-compatible platform. No additional software needed. 
> 
> On 21 okt 2010, at 21:14, charles61 wrote: 
> 
> > 
> > I have an app that I am working on that takes a few seconds to clear 
> > fields, 
> > reset radio buttons and checkboxes before it goes to the second card. 
> > During 
> > this time, the screen is locked. I wanted to show a progress bar during 
> > this 
> > process is going on. Is there anyway to show a progress bar while the 
> > screen 
> > is locked? Is there a way to fake a progress bar while the screen is 
> > locked? 
> > -- 
> 
> 
> ___ 
> use-revolution mailing list 
> [hidden email] 
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences: 
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
> View message @ 
> http://runtime-revolution.278305.n4.nabble.com/Progress-bar-with-lock-tp3006132p3006138.html
>  
> To unsubscribe from Progress bar with lock?, click here.
> 


-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Progress-bar-with-lock-tp3006132p3006144.html
Sent from the Revolution - User mailing list archive at Nabble.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: Progress bar with lock?

2010-10-21 Thread charles61

Scott,

That is a good idea! It seems easy to do and would serve the same purpose. 
Thanks very much!  

Charles Szasz
csz...@mac.com




On Oct 21, 2010, at 3:19 PM, Scott Rossi [via Runtime Revolution] wrote:

> Recently, charles61 wrote: 
> 
> > I have an app that I am working on that takes a few seconds to clear 
> > fields, 
> > reset radio buttons and checkboxes before it goes to the second card. 
> > During 
> > this time, the screen is locked. I wanted to show a progress bar during 
> > this 
> > process is going on. Is there anyway to show a progress bar while the 
> > screen 
> > is locked? Is there a way to fake a progress bar while the screen is 
> > locked? 
> 
> AFAIK, there's no way to do this.  I could have sworn screen locking used to 
> affect whatever stack was active at the time it was called, but currently it 
> affects all stacks.  You might consider throwing up a text message "One 
> moment please..." while the cleanup happens, but I don't believe there's any 
> way to have just a portion of the screen locked. 
> 
> Regards, 
> 
> Scott Rossi 
> Creative Director 
> Tactile Media, UX Design 
> 
> 
> ___ 
> use-revolution mailing list 
> [hidden email] 
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences: 
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
> View message @ 
> http://runtime-revolution.278305.n4.nabble.com/Progress-bar-with-lock-tp3006132p3006141.html
>  
> To unsubscribe from Progress bar with lock?, click here.
> 


-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Progress-bar-with-lock-tp3006132p3006156.html
Sent from the Revolution - User mailing list archive at Nabble.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: Progress bar with lock?

2010-10-21 Thread Bob Sneidar
Here's a question: Would a window created by an external still update while the 
screen is locked? If so, then I think we need a progress bar external. Scott 
made some really nice controls a while back. How about if Scott made a 
standalone that could be called from Runtime Rev as an external. Is that even 
possible? Otherwise, a real compiled c++ or java external would have to be 
made. I bet a lot of people here on the list would pay for that. I know I 
would! I cannot code in c++ or java so I cannot do it. 

Bob


On Oct 21, 2010, at 12:14 PM, charles61 wrote:

> 
> I have an app that I am working on that takes a few seconds to clear fields,
> reset radio buttons and checkboxes before it goes to the second card. During
> this time, the screen is locked. I wanted to show a progress bar during this
> process is going on. Is there anyway to show a progress bar while the screen
> is locked? Is there a way to fake a progress bar while the screen is locked?
> -- 
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/Progress-bar-with-lock-tp3006132p3006132.html
> Sent from the Revolution - User mailing list archive at Nabble.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: Progress bar with lock?

2010-10-21 Thread Pierre Sahores
Else, instead of locking the screen, why don't you just hide the working window 
and popup a new stack containing your progress bar ?

Best,

Pierre

Le 21 oct. 2010 à 21:19, Scott Rossi a écrit :

> Recently, charles61 wrote:
> 
>> I have an app that I am working on that takes a few seconds to clear fields,
>> reset radio buttons and checkboxes before it goes to the second card. During
>> this time, the screen is locked. I wanted to show a progress bar during this
>> process is going on. Is there anyway to show a progress bar while the screen
>> is locked? Is there a way to fake a progress bar while the screen is locked?
> 
> AFAIK, there's no way to do this.  I could have sworn screen locking used to
> affect whatever stack was active at the time it was called, but currently it
> affects all stacks.  You might consider throwing up a text message "One
> moment please..." while the cleanup happens, but I don't believe there's any
> way to have just a portion of the screen locked.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
> 
> 
> ___
> 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
> 

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.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: Progress bar with lock?

2010-10-21 Thread charles61

Bob,

I think that is a great idea! Maybe Scott will see this and create one.

Charles Szasz
csz...@mac.com




On Oct 21, 2010, at 4:15 PM, Bob Sneidar-2 [via Runtime Revolution] wrote:

> Here's a question: Would a window created by an external still update while 
> the screen is locked? If so, then I think we need a progress bar external. 
> Scott made some really nice controls a while back. How about if Scott made a 
> standalone that could be called from Runtime Rev as an external. Is that even 
> possible? Otherwise, a real compiled c++ or java external would have to be 
> made. I bet a lot of people here on the list would pay for that. I know I 
> would! I cannot code in c++ or java so I cannot do it. 
> 
> Bob 
> 
> 
> On Oct 21, 2010, at 12:14 PM, charles61 wrote: 
> 
> > 
> > I have an app that I am working on that takes a few seconds to clear 
> > fields, 
> > reset radio buttons and checkboxes before it goes to the second card. 
> > During 
> > this time, the screen is locked. I wanted to show a progress bar during 
> > this 
> > process is going on. Is there anyway to show a progress bar while the 
> > screen 
> > is locked? Is there a way to fake a progress bar while the screen is 
> > locked? 
> > -- 
> > View this message in context: 
> > http://runtime-revolution.278305.n4.nabble.com/Progress-bar-with-lock-tp3006132p3006132.html
> > Sent from the Revolution - User mailing list archive at Nabble.com. 
> > ___ 
> > use-revolution mailing list 
> > [hidden email] 
> > Please visit this url to subscribe, unsubscribe and manage your 
> > subscription preferences: 
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> ___ 
> use-revolution mailing list 
> [hidden email] 
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences: 
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
> View message @ 
> http://runtime-revolution.278305.n4.nabble.com/Progress-bar-with-lock-tp3006132p3006223.html
>  
> To unsubscribe from Progress bar with lock?, click here.
> 


-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Progress-bar-with-lock-tp3006132p3006329.html
Sent from the Revolution - User mailing list archive at Nabble.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: Progress bar with lock?

2010-10-21 Thread Robert Brenstein

On 21.10.10 at 12:19 -0700 Scott Rossi apparently wrote:


AFAIK, there's no way to do this.  I could have sworn screen locking used to
affect whatever stack was active at the time it was called, but currently it
affects all stacks.  You might consider throwing up a text message "One
moment please..." while the cleanup happens, but I don't believe there's any
way to have just a portion of the screen locked.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


Instead of locking the screen, one can go to an empty card which has 
only a progress indicator and/or whatever message, do the cleanup 
remotely, then switch to the destination card.


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


Re: Progress bar with lock?

2010-10-22 Thread FlexibleLearning

Hi Charles,

According to the Scripter's Scrapbook:

"A useful tip for displaying a modal that will not block, for example, a
progress indicator.

The secret to having a modal dialog that you can update is this:

 go invisible stack "MyModal" as modal
 set visible of me to true

By opening the stack as invisible your scripts won't halt but you will
display a modal dialog."


Hugh Senior
FLCo


Charles wrote:
I have an app that I am working on that takes a few seconds to clear fields,
reset radio buttons and checkboxes before it goes to the second card. During
this time, the screen is locked. I wanted to show a progress bar during this
process is going on. Is there anyway to show a progress bar while the screen
is locked? Is there a way to fake a progress bar while the screen is locked?
Version: 10.0.1136 / Virus Database: 422/3210 - Release Date: 10/21/10

___
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: Progress bar with lock?

2010-10-22 Thread charles61

Hugh,

Thanks for this suggestion! I will give it a try.

Charles Szasz
csz...@mac.com




On Oct 22, 2010, at 3:26 AM, FlexibleLearning-2 [via Runtime Revolution] wrote:

> 
> Hi Charles, 
> 
> According to the Scripter's Scrapbook: 
> 
> "A useful tip for displaying a modal that will not block, for example, a 
> progress indicator. 
> 
> The secret to having a modal dialog that you can update is this: 
> 
>  go invisible stack "MyModal" as modal 
>  set visible of me to true 
> 
> By opening the stack as invisible your scripts won't halt but you will 
> display a modal dialog." 
> 
> 
> Hugh Senior 
> FLCo 
> 
> 
> Charles wrote: 
> I have an app that I am working on that takes a few seconds to clear fields, 
> reset radio buttons and checkboxes before it goes to the second card. During 
> this time, the screen is locked. I wanted to show a progress bar during this 
> process is going on. Is there anyway to show a progress bar while the screen 
> is locked? Is there a way to fake a progress bar while the screen is locked? 
> Version: 10.0.1136 / Virus Database: 422/3210 - Release Date: 10/21/10 
> 
> ___ 
> use-revolution mailing list 
> [hidden email] 
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences: 
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
> View message @ 
> http://runtime-revolution.278305.n4.nabble.com/Progress-bar-with-lock-tp3006132p3006728.html
>  
> To unsubscribe from Progress bar with lock?, click here.
> 


-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Progress-bar-with-lock-tp3006132p3007323.html
Sent from the Revolution - User mailing list archive at Nabble.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: Progress bar with lock?

2010-10-22 Thread Andre Garzia
There is yet another way.

Screen locking does not affect animated gifs, so if you have
an indeterminate progress bar in gif format (there are some bundled with rev
in the image libraries), you can show it and lock screen the thing will keep
spinning while you work.
___
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: Progress bar with lock?

2010-10-22 Thread Bob Sneidar
bt... it's not a real progress bar. It's only eye candy. Kind of like 
Microsoft's progress bars. Ever wanted to poke yourself in the eye with a sharp 
stick after waiting 15 minutes at 33%, only to have the bar jump to 85% then 10 
seconds later go back to 0%? Someone ought to beat that developer who thought 
THAT was a god idea!

Bob


On Oct 22, 2010, at 8:04 AM, Andre Garzia wrote:

> There is yet another way.
> 
> Screen locking does not affect animated gifs, so if you have
> an indeterminate progress bar in gif format (there are some bundled with rev
> in the image libraries), you can show it and lock screen the thing will keep
> spinning while you work.
> ___
> 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: Progress bar with lock?

2010-10-22 Thread Andre Garzia
On Fri, Oct 22, 2010 at 3:39 PM, Bob Sneidar  wrote:

> bt... it's not a real progress bar. It's only eye candy. Kind of like
> Microsoft's progress bars. Ever wanted to poke yourself in the eye with a
> sharp stick after waiting 15 minutes at 33%, only to have the bar jump to
> 85% then 10 seconds later go back to 0%? Someone ought to beat that
> developer who thought THAT was a god idea!
>
>
not a progress bar but a spinner, something to move and show that "hey,
we're still processing", this is better than locking up.




> Bob
>
>
> On Oct 22, 2010, at 8:04 AM, Andre Garzia wrote:
>
> > There is yet another way.
> >
> > Screen locking does not affect animated gifs, so if you have
> > an indeterminate progress bar in gif format (there are some bundled with
> rev
> > in the image libraries), you can show it and lock screen the thing will
> keep
> > spinning while you work.
> > ___
> > 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
>



-- 
http://www.andregarzia.com All We Do Is Code.
___
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: Progress bar height not saving

2004-07-21 Thread Jan Schenkel
--- Derek Bump <[EMAIL PROTECTED]>
wrote:
> Alright.  Everytime I make the height of my progress
> bar 16, lock the location, and save and close the
> stack, it reverts back to a height of 20 once the
> stack is loaded again.  There are no lines of code
> anywhere in the stack or any other stack for that
> matter that set the height to 20.  Any ideas?
>  
> 
> Derek Bump
> 

Hi Derek,

The only thing I cn think of right away is that you're
using Appearance Manager and that the Interface
Guidelines for the platform dictate the height of the
scrollbar to be 16.

Jan Schenkel.

=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)




__
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Progress bar height not saving

2004-07-21 Thread Derek Bump
> The only thing I cn think of right away is that you're
> using Appearance Manager and that the Interface
> Guidelines for the platform dictate the height of the
> scrollbar to be 16.

Well, yes, this is the case.  Except that the scrollbar height is growing from 16 to 
20 pixels every time I close the window and re-open it.  I guess I'll have to keep 
searching.  THanks.
 

Derek Bump
Dreamscape Software

Compress Images Easily with JPEGCompress
http://www.dreamscapesoftware.com
 

- Original Message - 
From: "Jan Schenkel" <[EMAIL PROTECTED]>
To: "How to use Revolution" <[EMAIL PROTECTED]>
Sent: Wednesday, July 21, 2004 4:10 AM
Subject: Re: Progress bar height not saving


> --- Derek Bump <[EMAIL PROTECTED]>
> wrote:
> > Alright.  Everytime I make the height of my progress
> > bar 16, lock the location, and save and close the
> > stack, it reverts back to a height of 20 once the
> > stack is loaded again.  There are no lines of code
> > anywhere in the stack or any other stack for that
> > matter that set the height to 20.  Any ideas?
> >  
> > 
> > Derek Bump
> > 
> 
> Hi Derek,
> 
> The only thing I cn think of right away is that you're
> using Appearance Manager and that the Interface
> Guidelines for the platform dictate the height of the
> scrollbar to be 16.
> 
> Jan Schenkel.
> 
> =
> "As we grow older, we grow both wiser and more foolish at the same time."  (La 
> Rochefoucauld)
> 
> 
> 
> 
> __
> Do you Yahoo!?
> Vote for the stars of Yahoo!'s next ad campaign!
> http://advision.webevents.yahoo.com/yahoo/votelifeengine/
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
> ___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution