Hi, I'm new to RoboTask and am just getting a feel for the functionality to see if it can solve a problem in my office prior to purchasing a license but in my initial demo I'm having some difficulties and was hoping you could help. At the moment I am simply trying to get RoboTask to watch for the presence of a window and then either close it or show me a message or something, eventually I'd like it to do more but I'm simply troubleshooting now.
Using your samples, "Close alert window.tsk" & "Show alert message.tsk" I was able to create a Window Watcher Event for Firefox with a Window Command Action of Close and RoboTask is successful in closing the application when it opens so I know I've got the basics of the function correct. My problem is that I cannot get it to detect the specific window for which I'm evaluating RoboTask. To give you a little background on the problem window... Our office has a shared copier and everytime a user prints to it the printer driver pops up and asks them for their ID & password. What I'd like to do is when the user logs on to present a dialog asking them their ID & password and store those variables, then whenever this pop up window presents itself I'd like to enter that information into the window automatically until that user logs off. I'm currently just struggling with the window recognition though.
Here is the window I am trying to capture, this window is presented any time a user tries to print. I can never get RoboTask to perform any actions when this window appears. It's as if RoboTask doesn't recognize it.
Here is the Event settings,I have to select the "Child windows" box to even see this dialog window.:
and here are the action settings:
Thanks for any assistance you can provide.
Trouble with Window Watcher
Re: Trouble with Window Watcher
I think that you have to remove filter by Window Class.
I have one's doubts that you window has the class #32770
As a rule the class #32770 have system alerts like this (see screenshot) Try to choose the class of your window interactively: press the button at right of input field.
You will see the list of existing windows with their Captions (Titles) and Classes.
I have one's doubts that you window has the class #32770
As a rule the class #32770 have system alerts like this (see screenshot) Try to choose the class of your window interactively: press the button at right of input field.
You will see the list of existing windows with their Captions (Titles) and Classes.
Oleg Yershov
Re: Trouble with Window Watcher
Thanks. I had previously tested it by using the Interactive, select window control on the right and had to select the "Show Child Windows" to find it but my problem was that I didn't also select "Show Child Windows" on the Advanced tab. I was under the assumption that when I selected it in selecting the window that was all that was needed. I have that portion working now.
I've pretty much have RoboTask functionally performing this process however in my environment I have a shared computer that many users may randomly login to. I need this same set of tasks to run for all of the users on this computer. Is there a way to share a set of tasks for all users or do I have to individually configure the tasks for each user? If I have to configure the tasks for each user is there a registry key that I can push out to each user that would pre-configure these? Thanks!
I've pretty much have RoboTask functionally performing this process however in my environment I have a shared computer that many users may randomly login to. I need this same set of tasks to run for all of the users on this computer. Is there a way to share a set of tasks for all users or do I have to individually configure the tasks for each user? If I have to configure the tasks for each user is there a registry key that I can push out to each user that would pre-configure these? Thanks!
Re: Trouble with Window Watcher
RoboTask keeps own tasks in user profile by default.
So, each user have own separate set of tasks.
If you want to have the same set of tasks for each user on computer you should change RoboTask's settings for each user and direct the tasks folder into same public folder on local disk.
Of course you have to transfer necessary tasks into that folder.
Look at screenshot below:
So, each user have own separate set of tasks.
If you want to have the same set of tasks for each user on computer you should change RoboTask's settings for each user and direct the tasks folder into same public folder on local disk.
Of course you have to transfer necessary tasks into that folder.
Look at screenshot below:
Oleg Yershov