ScriptSpot

Forum topic · General Scripting

progress bar

By fajar · 2012-07-11

Description

1. I made some batch script to load file and export it to fbx file, the problem is i made progressbar (max progressbar (via progressStart "my batch") which works fine if I loading file only, but its completely overided by fbx file exporter progress bar if I add export script, can I made the progress bar of fbx bar didnt appear or overided progress bar ?

2. second I try to make dialog that contain progress bar (not max progress bar but dialog progress bar), but it was always got blinked after reseting the max file, can i make my dialog not blinked when the max file reseted and opened ?

3. 3rd question, simply but still cant find the answer through the net tho, how to cancel the batch process, I know little bit bout exit command but i want to triger it by button , how to do that ? somthing like

on btn_cansel do (command to cancel the batch procces)

this is for all I know


for i=1 to mf.count do
(
mf[i]

if keyboard.escPressed then
  (
    exit
  )
else
  (
    ---command to exporting file
  )
)

Thanks for the attention

Best regard

fajar

Comments (1)

JokerMartini · 2012-08-06

Might be tricky to override the existing progress bar. You could possibly create a dotNet one which would be displayed overtop the max one.