AE ENHANCERS

Expressions/Scripts/Presets
It is currently Tue May 21, 2013 7:03 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Progress Bars and User Updates
PostPosted: Wed Nov 28, 2007 12:54 pm 
Offline

Joined: Tue Mar 14, 2006 2:16 pm
Posts: 98
Location: Atlanta, GA
Has anybody had any luck using Progress Bars and updating text while a script is running. The controls work fine until I hook it into a running script and then I only get a stream of updates after the body of the script is finished. It appears to be a threading problem where the Object methods are called out of order. If I step through the script they seem to be called correctly.

Also, the onDraw event seems to be the only regularly firing event outside of user controls and it also seems to be storing instructions and firing them in a bunch instead of in the programmatic order. Anybody else experiencing similar stuff?

Thanks,

Dale

_________________
Dale Bradshaw
Technology Director | Primal Screen
creative-workflow-hacks.com
Atlanta, GA


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 03, 2008 2:12 pm 
Offline
Enhancement master
User avatar

Joined: Thu Jun 17, 2004 9:27 am
Posts: 456
Location: New York City, NY
Hey Dale,

Are you seeing this on mac or windows? I just filed a bug for this exact problem (progress bar not updating) on mac. I used the SnpCreateProgressBar.jsx script that ships with the Bridge SDK to make sure it wasn't pilot error.

I would encourage you to file a bug as well so that it's prioritized.

-Lloyd

_________________
http://aescripts.com


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 11, 2008 11:15 am 
Offline

Joined: Tue Mar 14, 2006 2:16 pm
Posts: 98
Location: Atlanta, GA
Hey Lloyd,

Yes, on the mac and with the same sample script from Bridge. I'll file a bug.

thanks for confirming,

Dale

_________________
Dale Bradshaw
Technology Director | Primal Screen
creative-workflow-hacks.com
Atlanta, GA


Top
 Profile  
 
 Post subject: Re: Progress Bars and User Updates
PostPosted: Mon Aug 23, 2010 3:47 pm 
Offline

Joined: Tue Nov 29, 2005 3:00 am
Posts: 201
Location: Paris
In CS5, this bug has been fixed on Mac.
But the bug now appears on Windows (test on Windows 7) :roll: .
Can someone confirm that before I file a bug report ?
(I'm using the SnpCreateProgressBar.jsx script from ExtendScript toolkit CS5 > SDK > Samples > javascript)


Top
 Profile  
 
 Post subject: Re: Progress Bars and User Updates
PostPosted: Mon Aug 23, 2010 4:43 pm 
Offline
Enhancement master
User avatar

Joined: Thu Jun 17, 2004 9:27 am
Posts: 456
Location: New York City, NY
I hate to say you are correct Nab. I already confirmed and filed the bug for Win7 CS5 although I was only experiencing it on scripts run as panels not on scripts run as windows (ie from the scripts menu or launched from ExtendScript Toolkit)

-Lloyd

_________________
http://aescripts.com


Top
 Profile  
 
 Post subject: Re: Progress Bars and User Updates
PostPosted: Mon Aug 23, 2010 9:28 pm 
Offline

Joined: Tue Nov 29, 2005 3:00 am
Posts: 201
Location: Paris
Thanks Lloyd.
Neither panel nor palette work for me. Bug reported.


Top
 Profile  
 
 Post subject: Re: Progress Bars and User Updates
PostPosted: Sat Aug 28, 2010 3:48 am 
Offline

Joined: Tue Feb 03, 2009 6:30 pm
Posts: 84
Location: Paris - France
Does forcing the window to update with Window.update(); workarounds the bug ?

_________________
Sébastien
http://www.yenaphe.info


Top
 Profile  
 
 Post subject: Re: Progress Bars and User Updates
PostPosted: Sat Aug 28, 2010 11:38 pm 
Offline

Joined: Tue Nov 29, 2005 3:00 am
Posts: 201
Location: Paris
You're right Yenaphe (as long as the script is displayed in a Window, of course). I actually forgot that I was already using update() in CS4 (this was useful for Mac at that time!).

Here is a summarize table (nice symmetric bug :) ):

Image


Top
 Profile  
 
 Post subject: Re: Progress Bars and User Updates
PostPosted: Fri Oct 05, 2012 3:28 am 
Offline

Joined: Thu Jan 12, 2012 1:36 am
Posts: 28
Location: Ireland
Was there any update on this issue for CS6? On win7 works sometimes, then not others (in panel, haven't tested window...). Thanks. Alan.

_________________
Alan Eddie
_______________________
www.alaneddie.com
3d Animation and VFX
RTE
Dublin


Top
 Profile  
 
 Post subject: Re: Progress Bars and User Updates
PostPosted: Fri Oct 05, 2012 4:01 am 
Offline

Joined: Sat Jun 05, 2004 7:59 am
Posts: 645
Location: London, UK
From what I remember this issue was pretty much laid to rest as of CS5.5. Certainly I've stopped testing for it after it previously being a problem in some of my scripts. Are you using the update() method? I think that's necessary.


Top
 Profile  
 
 Post subject: Re: Progress Bars and User Updates
PostPosted: Sun Oct 07, 2012 9:52 am 
Offline

Joined: Thu Jan 12, 2012 1:36 am
Posts: 28
Location: Ireland
Yes, using the update() method. It's so strange, seems to work when it likes. On testing - works about 60 percent of the time, other times just jumps from 0 to 100 percent. Anyway it's no big deal there are other ways around it.
I tried exiting the main process and running the update in a separate function, then returning to the main etc.
Cheers.

_________________
Alan Eddie
_______________________
www.alaneddie.com
3d Animation and VFX
RTE
Dublin


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group