Search code examples
automationkeysikuli

Use shift and tab key together in Sikuli


Using this script in the Sikuli IDE to run through a form. How do I use the shift and tab keys together to go back to previous fields?

type("w" + Key.TAB
    + "6378678&*(^%" + Key.TAB
    + "w" + Key.TAB
    + "6378678&*(^%" + Key.TAB
    + "w" + Key.TAB
    + "6378678&*(^%" + Key.TAB
    + "w" + Key.TAB
    + "6378678&*(^%" + Key.TAB
    + "w" + Key.TAB
    + "6378678&*(^%" + Key.TAB)

Solution

  • Not sure what all these symbols you have included, but try:

    type(Key.TAB, KeyModifier.SHIFT)