Jump to content
Macro Express Forums

Selecting An Index On A Focused Control.


smilbuta

Recommended Posts

Hello, I am testing macro Express to use with some applications and i have come across a problem that i cannot seem to complete.

 

I have a VB.NET console application with a combo box. I have amacro that grabs the combo box control, but.. i want it to set it to a particular index when grabed if not a specific index.

 

Program Launch: "StatusConsole.exe"
Get Control %C1% (Techs On Call - Current User: tech: WindowsForms10.COMBOBOX.app1)
Mouse Single Left Click on Control %C1%
Variable Get Control Text: %C1% to %T1%
If Variable %T1% <> "Available"
 Variable Set Control Text %C1% to "Available"
End If
Wait Window Lose Focus: "Techs On Call - Current User: tech"
Program Shut Down: "Techs On Call - Current User: tech"

 

Any help would be apreciated...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...