Opened 13 years ago

Closed 13 years ago

#1782 closed Feature Request (Rejected)

forcing targeting of commands to only one target process/executable

Reported by: anonymous Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


I am trying to write a GUI-script which should run unmanned (without a user session) on a remote computer (our buildserver). I occasionally take a look at itäs desktop and manage the computer using a remote desktop session. I have written a script, which works well on my computer as well as at the remote computer, when I have a user (desktop) session with them. However, when there is no session, the script does not run .. stops right in the beginning where I would first check a target window and interact with it. As there are many Windows concurrently open at the remote computer and possibly a virtual window at front (since no session is open) and new active windows (of other apps) may emerge at any time when the script is running, there is a possibility that commands may go to wrong window ..despite of various wait-functions. What would make script more robust, would be an option to target / direct ALL virtual-key and mouse + window title and text interactions to ONE SPECIFIED PROCESS. I would see this as a function that could be called in the script, for example. ForceTargetProcess("thecontrolledtargetapplication.exe"). Has this been thought before? This feature would make the scripts more robust. I Would be very glad to see support for this! (and think that this is a general Milky Way -class feature for any GUI-scripting language). Other current features of AutoItV3 seem to be well thought and quite completely produced - so thank you for this product!

Attachments (0)

Change History (2)

comment:1 Changed 13 years ago by TicketCleanup

  • Version deleted

Automatic ticket cleanup.

comment:2 Changed 13 years ago by Valik

  • Resolution set to Rejected
  • Status changed from new to closed

Sounds like an "I'm too lazy to correctly identify the correct application so I want you to do it for me" feature. Seriously, this takes less than 10 lines of code to write yourself depending on what you are trying to do.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.