Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2007
    Posts
    452

    Grin progress bar help

    i want to show progress bar for process... it is about 12.5 seconds i have the code working i just need to add progress bar... can someone please help me ???

    this my working code

    Code:
    site = Input.GetText("Input1");
    File.Run("AutoPlay\\Docs\\ccc.exe", "/URL "..site.." /Filename \"c:\\"..site..".png\" /DisableScrollBars 1 /BrowserAutoSize 1", "", SW_SHOWNORMAL, false);
    Application.Sleep(12500);
    File.Open("c:\\"..site..".png", "", SW_SHOWNORMAL);

  2. #2
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    Code:
    site = Input.GetText("Input1");
    File.Run("AutoPlay\\Docs\\ccc.exe", "/URL "..site.." /Filename \"c:\\"..site..".png\" /DisableScrollBars 1 /BrowserAutoSize 1", "", SW_SHOWNORMAL, false);
    for i=1, 12500 do
        Progress.SetCurrentPos("Progress1", 100*(i/12500)); --Progress range: 1 - 100
        Application.Sleep(1);
    end
    File.Open("c:\\"..site..".png", "", SW_SHOWNORMAL);
    I guess this will stall the application though, but you can try

    It's a long wait though
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

Similar Threads

  1. only this please - progress bar start when the file start deleting .
    By melissa in forum AutoPlay Media Studio 7.5
    Replies: 4
    Last Post: 07-15-2010, 05:16 AM
  2. Help needed with my progress bar.
    By TheProg in forum AutoPlay Media Studio 6.0
    Replies: 10
    Last Post: 06-11-2008, 05:11 PM
  3. Skinned Progress Bar!
    By screwed over in forum AutoPlay Media Studio 7.5
    Replies: 1
    Last Post: 04-30-2008, 09:28 AM
  4. Progress bar while executing batch file
    By StealthShadow in forum Setup Factory 7.0
    Replies: 3
    Last Post: 10-25-2005, 09:59 PM
  5. Progress Bar...
    By tealmad in forum Setup Factory 7.0
    Replies: 14
    Last Post: 02-05-2005, 12:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts