Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
process of macro recording encountered some problems
#1
Hello, in the process of macro recording encountered some problems, hope to get your help! I tried to record the window、control、 send key, are not successful, I recorded the process of operation into a video, easy to check! Thanks a lot!
Download LinksSadBecause the link can not be made, so the address can only be written in the picture)
The code in the video:

Macro Macro1
Trigger SF9     Help - how to add the trigger to the macro
Code:
Copy      Help
run "$desktop$\iMindQ_8_1_1_51836.exe"
int w=wait(30 WA win("iMindQ® - InstallShield Wizard" "MsiDialogCloseClass"))

;#region Recorded 12/26/2016 4:56:24 AM
;int w1=act(win("iMindQ® - InstallShield Wizard" "MsiDialogCloseClass"))
;lef 35 8 id(2851 w1) 1 ;;push button 'Next >'
;int w2=wait(16 win("iMindQ® - InstallShield Wizard" "MsiDialogCloseClass"))
;lef 9 9 id(2689 w2) 1 ;;radio button 'I accept the terms in the l...'
;lef 39 5 id(2851 w2) 1 ;;push button 'Next >'
;int w3=wait(19 win("iMindQ® - InstallShield Wizard" "MsiDialogNoCloseClass"))
;lef 13 5 id(4172 w3) 1 ;;check box 'FreeMind (.mm) files'
;lef 12 8 id(4175 w3) 1 ;;check box 'MindJet MindManager (.mmap)...'
;lef 47 14 id(2851 w3) 1 ;;push button 'Next >'
;int w4=wait(19 win("iMindQ® - InstallShield Wizard" "MsiDialogCloseClass"))
;lef 47 12 id(2922 w4) 1 ;;push button 'Install'
;int w5=wait(108 win("iMindQ® - InstallShield Wizard" "MsiDialogCloseClass"))
;lef 35 9 id(2890 w5) 1 ;;push button 'Finish'
;#endregion

#region Recorded 12/26/2016 5:00:22 AM
int w1=act(win("iMindQ® - InstallShield Wizard" "MsiDialogCloseClass"))
lef 340 337 w1 1 ;;push button 'Next >'
int w2=wait(15 win("iMindQ® - InstallShield Wizard" "MsiDialogCloseClass"))

'Aa             ;; Alt+A
'An             ;; Alt+N

;lef 19 256 w2 1 ;;radio button 'I accept the terms in the l...'
;lef 351 333 w2 1 ;;push button 'Next >'
int w3=wait(20 win("iMindQ® - InstallShield Wizard" "MsiDialogNoCloseClass"))
lef 70 254 w3 1 ;;check box 'FreeMind (.mm) files'
lef 68 276 w3 1 ;;check box 'MindJet MindManager (.mmap)...'
lef 343 328 w3 1 ;;push button 'Next >'
int w4=wait(20 win("iMindQ® - InstallShield Wizard" "MsiDialogCloseClass"))
lef 341 331 w4 1 ;;push button 'Install'
int w5=wait(97 win("iMindQ® - InstallShield Wizard" "MsiDialogCloseClass"))
lef 356 334 w5 1 ;;push button 'Finish'
#endregion


Attached Files Image(s)
   


Messages In This Thread

Forum Jump:


Users browsing this thread: 9 Guest(s)