View Single Post
Posts: 1,101 | Thanked: 1,185 times | Joined on Aug 2008 @ Spain
#10
Originally Posted by Addison View Post
One more question... How can I do a super long string with this?

I have it as

[1|user@Nokia-N800-43-7|~]xte 'str "test"'
""X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 132 (XTEST)
Minor opcode of failed request: 2 (X_XTestFakeInput)
Value in failed request: 0x0
Serial number of failed request: 17
Current serial number in output stream: 32

I take it that I'm not using the format correctly?

Anyway, I would like xte to rifle off all of this at once:

javascript:isIE=/*@cc_on!@*/false;isIE ? .....
xte "str 'test'" works for me, it throws the same error but it works, so the error can be ignored.
But.... xte "str test1" shows testq as result, because the "1" key is really the "q" key.
The correct command to get test1 is xte "str test" "keydown ISO_Level·_Shift" "str 1" "keyup ISO_Level3_Shift"
So you know now what task is to get that huge string
 

The Following User Says Thank You to maacruz For This Useful Post: