Andromo - Start Making Apps - Free Signup

Announcement

Collapse
No announcement yet.

Show Progress Indicator

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Show Progress Indicator

    I have a rather large Powerpoint Slideshow (.pps) which I need to be able to launch from a menu item.
    I would like to show if possible, some sort of File Progress Indicator so that the user knows that the presentation is being loaded.

    If this is not possible, does anyone know of an alternative method to show that something is happening. I played around with the Busy action but couldn't get the mouse cursor to change, and when the presentation exited, the Busy message is still there.
    The pps file is large and hence does take a long time to load etc. so am looking for a nice way to handle it.
    Thanks in advance
    Chris

  • #2
    Re: Show Progress Indicator

    It probably is not the best way, but what about a timed message. Have a dialog popup for 10 seconds stating that the file is loading.

    Like I said, not accurate as far as the real time it take for the application to load but it is something.

    <IR_ACTIONS_LIST>
    <Action name="Timed Message">
    <Type>52</Type>
    <Function>0</Function>
    <DTIndentLevel>0</DTIndentLevel>
    <Enabled>1</Enabled>
    <ErrorHandling>
    <UserNotificationMode>2</UserNotificationMode>
    <CustomErrorMessage/>
    <OnErrorAction>0</OnErrorAction>
    <JumpToLabel/>
    </ErrorHandling>
    <DialogMessage>Please Wait...</DialogMessage>
    <Seconds>5</Seconds>
    </Action>
    </IR_ACTIONS_LIST>
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

    Comment


    • #3
      Re: Show Progress Indicator

      Just a note about the "Dialog - Busy" action...it's made so you turn it on with TRUE, and then use another "Dialog - Busy" action to turn it off with FALSE.
      --[[ Indigo Rose Software Developer ]]

      Comment


      • #4
        Re: Show Progress Indicator

        Just to be dense, based on the information above can you do a file execute with the wait function to open the file you want to open. Could you have the Dialog.busy set to true just before this and when the wait is done have another dialog.busy set to false to have it disappear?

        Thinking out loud
        TJ-Tigger
        "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
        "Draco dormiens nunquam titillandus."
        Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

        Comment


        • #5
          Re: Show Progress Indicator

          Yes, exactly.
          --[[ Indigo Rose Software Developer ]]

          Comment


          • #6
            Re: Show Progress Indicator

            Great!!

            Doesn't work. I get an error when I try to execute a .mov file. it states:

            Error Executing file
            <file path and file name>

            I can do a file.open on the file and it works great. But when I try to execute it I get the error. Are there other arguments I need to optain and specify before I can execute a .mov file? Should I get the default viewer? Specify a working directory?

            Here is what I have in the actions "On Mouse Click"

            <IR_ACTIONS_LIST>
            <Action name="Busy">
            <Type>135</Type>
            <Function>0</Function>
            <DTIndentLevel>0</DTIndentLevel>
            <Enabled>1</Enabled>
            <ErrorHandling>
            <UserNotificationMode>2</UserNotificationMode>
            <CustomErrorMessage/>
            <OnErrorAction>0</OnErrorAction>
            <JumpToLabel/>
            </ErrorHandling>
            <Display>TRUE</Display>
            <Text>Please Wait...</Text>
            </Action>
            <Action name="Execute">
            <Type>8</Type>
            <Function>0</Function>
            <DTIndentLevel>0</DTIndentLevel>
            <Enabled>1</Enabled>
            <ErrorHandling>
            <UserNotificationMode>2</UserNotificationMode>
            <CustomErrorMessage/>
            <OnErrorAction>0</OnErrorAction>
            <JumpToLabel/>
            </ErrorHandling>
            <FileName>%SrcDir%\movie\P4060807.MOV</FileName>
            <CommandLine/>
            <WorkingDir/>
            <RunMode>0</RunMode>
            <WaitForReturn>1</WaitForReturn>
            </Action>
            <Action name="Busy">
            <Type>135</Type>
            <Function>0</Function>
            <DTIndentLevel>0</DTIndentLevel>
            <Enabled>1</Enabled>
            <ErrorHandling>
            <UserNotificationMode>2</UserNotificationMode>
            <CustomErrorMessage/>
            <OnErrorAction>0</OnErrorAction>
            <JumpToLabel/>
            </ErrorHandling>
            <Display>FALSE</Display>
            <Text>Please Wait...</Text>
            </Action>
            </IR_ACTIONS_LIST>
            TJ-Tigger
            "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
            "Draco dormiens nunquam titillandus."
            Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

            Comment


            • #7
              Re: Show Progress Indicator

              It works with a file open, but the Dialog.Busy goes away before the application is drawn to the screen. I put a sleep in here for 5 seconds and it looks better. I will have to keep trying the execute thing. Don't know if that will be better or not. Will keep playing
              TJ-Tigger
              "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
              "Draco dormiens nunquam titillandus."
              Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

              Comment

              Working...
              X