Forum Discussion

tyrus's avatar
tyrus
Contributor
9 years ago

Access Task bar

Hi I'm tryign to click the task bar to maximize my application

has anyone had succes doing this?

 

I have this so far but does not seem to work

 

var task = Sys.Process("explorer").Window("Shell_TrayWnd", "", 1).Window("ReBarWindow32", "", 1).Window("MSTaskSwWClass", "Running applications", 1).Window("MSTaskListWClass", "Running applications", 1);

  task.Button("MyApplication").Click();

 

 

thanks

2 Replies

    • tyrus's avatar
      tyrus
      Contributor

      thanks, I did use this method but my test case states specfically to click the task bar.. look like I have to do in through WINAPI

       

      thanks for the feedback... appreciate it