Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2008
    Posts
    182

    Huh? GET STATUS of a TASK or RUNNING APPLICATION

    My first question did not get any response, so I thought I would rephrase the question.


    If an launched application crashed the STATUS under Windows Task Manager turns from Running to Aborted. Is there any way I can have AMS see this?

    Hope this is clearer.


    Thanks
    (Awaiting anxiously)

  2. #2
    Join Date
    Apr 2009
    Posts
    277
    My first question did not get any response, so I thought I would rephrase the question.
    you mean the one you asked 2 hours before this one ?

    anyways, a simple soultion to your problem would be to use AMSWaves super AutoIT plugin

    Test

    On Show
    Code:
    result = File.Run(_WindowsFolder.."\\notepad.exe", "", "", SW_SHOWNORMAL, false);
    
    AutoIt.WinWaitActive("Untitled - Notepad", "", 10)
    
    if AutoIt.WinActive("Untitled - Notepad","") == 0 then
    	Dialog.Message("Error","Window Not Active")
    else
    	Page.StartTimer(500)
    end
    On Timer
    Code:
    if AutoIt.WinActive("Untitled - Notepad","") == 0 then
    	Page.StopTimer()
    	Dialog.Message("Error","Window Not Active")
    end
    not very pretty but it works

  3. #3
    Join Date
    Jun 2008
    Posts
    182
    Sorry for posting the same question twice in such a short period! I was just in such a hurry, because I had to deliver a presentation today and I was completely freaked out at the idea that the application launched from AMS would crash while presenting!!

    Thank God it went smoothly.....

    Thanks for the great reply, I will try and add it to my program to be safe for the next presentation.


    Thanks again!

Similar Threads

  1. Application Losing Focus when TrueUpdate is running
    By Elleah in forum TrueUpdate 2.0
    Replies: 1
    Last Post: 07-06-2005, 07:07 AM
  2. Running an Application After Rebooting
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-26-2003, 09:15 AM
  3. Running my Application Only Once
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-26-2003, 08:46 AM
  4. INFO: Dynamically Resizing an Application at Runtime
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-21-2002, 02:23 PM
  5. HOWTO: Make an AutoPlay Application Expire
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-09-2002, 10:10 AM

Posting Permissions

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