cannot jump to the area "context menu items" with the keyboard (autoit)

Help
merlinuwe
2013-08-08
2013-08-11
  • merlinuwe
    merlinuwe
    2013-08-08

    I would like to automate the installation and configuration of 7zip 9.20 with autoit. (Is there an autoit-script available, perhaps?)

    The problem is, that in "Tools->Options" the tab "7-Zip" doesn't allow to jump to the field "context menu items" by keyboard.

    Is there a way to solve this problem?

     
  • fernando
    fernando
    2013-08-08

    Try...

    Alt+T, Alt+O, Shift+Tab, Right-Arrow
    Tab, Tab, Down-Arrow

     
  • merlinuwe
    merlinuwe
    2013-08-08

    Ok, after this I'm in the right tab and on the second checkbox "cascaded context menu". But your last step "Down-Arrow" doesn't work (I'm on the tab 7-Zip).
    (My system is Windows 7 32-bit.)

     
  • fernando
    fernando
    2013-08-08

    Try three Tab keys...

    Alt+T, Alt+O, Shift+Tab, Right-Arrow
    Tab, Tab, Tab, Down-Arrow

     
  • merlinuwe
    merlinuwe
    2013-08-09

    No fernando, this doesn't work, too. (Under which OS does it work on your PC?)
    The screenshot shows the unavailable area (red rectangle).

    BTW: The autoit script for automatic deinstall, install and configure 7-Zip 9.20 is ready; I only need a solution for change these context menu items.

    Any ideas?

     
  • merlinuwe
    merlinuwe
    2013-08-11

    Hey myself,

    here is a workaround with the simulation of mouseclicks (autoit):

    ; Zweiter Registerreiter 7-Zip (entfernt die Haken)
    AutoItSetOption("MouseCoordMode", 0)
    BlockInput(1)
    Sleep($wartekurz)
    Send("^{TAB}") ; Strg-Tab
    Sleep($wartekurz)
    MouseClick("left", 37, 160, 1) ; OK entfernt: Öffnen >
    Sleep($wartekurz)
    MouseClick("left", 37, 175, 1) ; OK entfernt: Dateien entpacken
    Sleep($wartekurz)
    MouseClick("left", 37, 228, 1) ; OK entfernt: Archiv überprüfen
    Sleep($wartekurz)
    MouseClick("left", 37, 259, 1) ; OK entfernt: Hinzufügen zu <Archiv>.7z
    Sleep($wartekurz)
    MouseClick("left", 37, 295, 1) ; OK entfernt: Archivieren und versenden...
    Sleep($wartekurz)
    MouseClick("left", 37, 311, 1) ; OK entfernt: Archivieren in <Archiv>.7z und versenden...
    Sleep($wartekurz)
    MouseClick("left", 37, 328, 1) ; OK entfernt: Archivieren in <Archiv>.zip und versenden...
    Sleep($wartekurz)

    BlockInput(0)
    Send("!b") ; Übernehmen
    sleep($wartekurz)

    Perhaps someone has the same problem

    -merlinuwe