Indigo Rose Software

Go Back   Indigo Rose Software Forums > Visual Patch 3.5 > Visual Patch 3.5 Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 06-16-2009
amaazouz amaazouz is offline
Indigo Rose Customer
 
Join Date: May 2009
Posts: 5
ProgressBar/Scrolling Text Progress and a Shell program

Hello,

I was wondering if it's possible to use and update a ProgressBar or a Scrolling Text Progress with a shell program (Shell.Execute).

Thanks,
Abdessamad
Reply With Quote
  #2  
Old 06-16-2009
amaazouz amaazouz is offline
Indigo Rose Customer
 
Join Date: May 2009
Posts: 5
Progress bar

What I'm needing is to call a shell script (before patching) from a new screen having a Progress bar (cz my script takes several minutes).

Is that possible?

Thanks
Reply With Quote
  #3  
Old 06-16-2009
jassing's Avatar
jassing jassing is offline
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,899
Your best bet is to have whatever you're running display a progress bar.

however, if you want VP to do something, you'll need to do a File.Run() and NOT WAIT for it to complete; then your VP lua code can scan processes, and display "still working!' or something until it sense that your spawned process has completed.

-josh
ps: It's best not to reply to your own messages -- most of the time, I (and others) just scan forums for messages w/ no responses...
__________________
Reply With Quote
  #4  
Old 06-17-2009
amaazouz amaazouz is offline
Indigo Rose Customer
 
Join Date: May 2009
Posts: 5

Thanks Jassing.
I looped on the g_IsProcessRunning() function using an Application.wait() to update the Progressbar, and it worked perfectly.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -6. The time now is 06:16 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software