11-28-2011, 05:39 PM
I am trying to select “Link” Tab from the following Visual Studio 6 “Project Settings” dialog window.
With the following code I don’t get the expected behavior of left clicking on the “Link” tab to make it
Active and visible on top, then input data in the “Output file name:” textbox
If the default tab “General” is selected when dialog open my code below does not select the “Link” tab, then
Then “Output file name” textbox. What am I doing wrong ?
See attached image of dialog
QuickMacro Code:
;; Open Project Settings Menu Dialog
men(34048 win("Microsoft Visual C++"))
;;Select Link Tab
SelectTab(child("Link" "#32770" win("Project Settings" "Afx:400000:3:10013:10:*" "" 0x800) 0x1) 3)
;;Insert new Path in "Output file name:" text box
_s="c:\PATH"; _s.setwintext(id(19158 win("Project Settings" "Afx:400000:3:10013:10:*" "" 0x800)))
Warm Regards,
Edward
With the following code I don’t get the expected behavior of left clicking on the “Link” tab to make it
Active and visible on top, then input data in the “Output file name:” textbox
If the default tab “General” is selected when dialog open my code below does not select the “Link” tab, then
Then “Output file name” textbox. What am I doing wrong ?
See attached image of dialog
QuickMacro Code:
;; Open Project Settings Menu Dialog
men(34048 win("Microsoft Visual C++"))
;;Select Link Tab
SelectTab(child("Link" "#32770" win("Project Settings" "Afx:400000:3:10013:10:*" "" 0x800) 0x1) 3)
;;Insert new Path in "Output file name:" text box
_s="c:\PATH"; _s.setwintext(id(19158 win("Project Settings" "Afx:400000:3:10013:10:*" "" 0x800)))
Warm Regards,
Edward