Announcement

Collapse
No announcement yet.

Executable not staying in front

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

  • Executable not staying in front

    I applied the "File.Execute" to a button which starts another program called FlipAlbum. The FlipAlbum program stays in the back and doesn't come to the front.
    Any ideas?

  • #2
    Re: Executable not staying in front

    I hope you're not insinuating we kidnap the creators of FlipAlbum and throw them in the lake with nothing but socks on... Or drive them out of town with pointy sticks... Are you??? Because if you are, muhaha! I'll bring the banjo music...

    Corey Milner
    Creative Director, Indigo Rose Software

    Comment


    • #3
      Re: Executable not staying in front

      Try issuing a window.minimize command in your action list before you issue the file.execute command:
      ----------------------------------
      <IR_ACTIONS_LIST>
      <Action name="Minimize">
      <Type>3</Type>
      <Function>0</Function>
      <DTIndentLevel>0</DTIndentLevel>
      <Enabled>1</Enabled>
      <ErrorHandling>
      <UserNotificationMode>2</UserNotificationMode>
      <CustomErrorMessage />
      <OnErrorAction>0</OnErrorAction>
      <JumpToLabel />
      </ErrorHandling>
      <HWnd>%MenuHWnd%</HWnd>
      </Action>
      </IR_ACTIONS_LIST>
      ------------------------------

      'course if you wanted to be really slick, here's whatcha do.

      1) Do like I said above first
      2) Make sure your "Wait for program to finish..." box is checked in the file.execute command
      3) Add a window.restore command last in line to bring your app back from minimized state
      Eric Darling
      eThree Media
      http://www.ethreemedia.com

      Comment


      • #4
        Re: Executable not staying in front

        If you want to hide your AMS project while the Flip Album is running you could use the same method I did here.

        Tray Wait

        instead of executing the traywait.exe, could do the same with the FlipAlbum.EXE. Your app would be hidden until they closed the Flip Album.

        Comment


        • #5
          Re: Executable not staying in front

          LOL Corey! What a ***** up!!!!! LOL LMAO!

          Thanks guys, I'll give it a try. (LOL)

          Comment


          • #6
            Re: Executable not staying in front

            Hey Eric-

            I tried your idea and have a problem. AMS drops down, then wants to come back before the this garbage software can even start. Worm- How can I get AMS to come back from the tray?

            Comment


            • #7
              Re: Executable not staying in front

              I think the problem I'm having here is the "Wait for program to finish..." is not working... Hummm

              Comment


              • #8
                Re: Executable not staying in front

                With my method, a program would need to quit the outside app to get the restore command to kick in. Try Worm's idea to see if that works better.
                Eric Darling
                eThree Media
                http://www.ethreemedia.com

                Comment


                • #9
                  Re: Executable not staying in front

                  If you use the traywait.exe that I have, simply right click it and choose restore. If you execute the FlipAlbum EXE, using the same method, once you close Flip Album, the AMS app should become visible again.

                  Comment

                  Working...
                  X