Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generate exe files, unable to respond to trigger hotkey
#54
Thank you very much, use the following code, successfully get Smile

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$\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'

int w=win("CHM Editor Demo Setup " "#32770")
int w1=wait(0 WA id(1203 w)) ;;check box 'Run CHM Editor Demo'
int w2=win("CHM Editor Demo Setup " "#32770")
lef 7 8 id(1203 w2) 1 ;;check box 'Run CHM Editor Demo'
int w4=win("CHM Editor Demo Setup " "#32770")
lef 38 10 id(1 w4) 1 ;;push button 'Finish'
#endregion


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)