Re: [Sikuli-driver] [Question #186261]: Randomising navigation keyboard inputs

2012-01-30 Thread Tim Brayne
Question #186261 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/186261 Status: Answered => Solved Tim Brayne confirmed that the question is solved: Many thanks RaiMan!!! I got your top example working with... def randomType(direction): if direction == "up": typ

Re: [Sikuli-driver] [Question #186261]: Randomising navigation keyboard inputs

2012-01-30 Thread RaiMan
Question #186261 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/186261 Status: Open => Answered RaiMan proposed the following answer: nice try, but that does not work this way ;-) using up = type(Key.UP) runs the type command in this moment and assigns either 0 or 1 (the

[Sikuli-driver] [Question #186261]: Randomising navigation keyboard inputs

2012-01-30 Thread Tim Brayne
New question #186261 on Sikuli: https://answers.launchpad.net/sikuli/+question/186261 Hi All, I am very new to sikuli and python and currently testing an action script app using flash player. I am trying to create some sort of array that contains the navigation inputs UP, DOWN, LEFT, RIGHT etc.