Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generate exe files, unable to respond to trigger hotkey
#52
Hello,
I have encountered a situation, using the above method, can not wait for the window Thanks in advance Smile

I found that each step of the window title is the same, but the text in the window is not the same, I can use the text in each window to distinguish the window? How to write code? Any suggestions are welcome Tongue

Software installation of the recording, have the same problem: the window title is the same, always in the playback can not find the window, hoping to have an office to solve this problem

Video operation demonstration:
https://youtu.be/yQ64a06ynC0

Software download address:
https://chmeditor.com/

Macro Macro1
Trigger SF9     Help - how to add the trigger to the macro
Code:
Copy      Help
spe 500
#region Recorded 2/19/2017 8:41:35 AM
;int w1=win("Program Manager" "Progman")
;dou 192 131 w1 1 ;;list 'Desktop', list item 'chmeditor-demo-3.1.0-setup'
;int w2=wait(15 win("Open File - Security Warning" "#32770"))
;lef 258 149 w2 1 ;;push button 'Run'
run "$desktop$\chmeditor-demo-3.1.0-setup.exe"
int w3=wait(16 win("CHM Editor Demo Setup" "#32770"))
lef 355 344 w3 1 ;;push button 'Next >'
wait 30 WT w3 "CHM Editor Demo Setup "
lef 356 335 w3 1 ;;push button 'I Agree'
lef 352 340 w3 1 ;;push button 'Install'

wait 5 -WV w3
int w4=wait(17 win("Open File - Security Warning" "#32770"))

lef 188 155 w4 1 ;;check box 'Run CHM Editor Demo'
lef 361 340 w4 1 ;;push button 'Finish'
#endregion


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)