Contributions
[Windows] Typing UTF-16 Characters
How come we cannot type UTF-16 characters into notepad (even though you can copy & paste them into notepad)? I'm using the following VBScript: Sub Test3 Dim obj Set obj = Sys.Process("notepad").Window("Notepad", "Untitled - Notepad", 1).Window("Edit", "", 1) Call obj.Keys("’ËŨz€ĿЂ") End Sub We are not allowed to use SetText or equivalent since we are testing actual key presses. I was also attempting to use KeyDown and KeyUp, but those require an integer value for the argument that corresponds to the character; according to the documentation, the virtual key-codes can be found online at (http://msdn.microsoft.com/en-us/library/windows/desktop/dd375731%28v=vs.85%29.aspx), making me think that those are the only values supported by KeyDown, and thus Keys since it is probably using KeyDown and KeyUp on the inside. Anyone have any information to share?1.2KViews0likes1CommentRe: Android Emulator
Have you tried using the emulator included in the Android SDK? In the SDK's install directory, find and run "AVD Manager.exe". It provides many customization options, including API levels. If you don't see the options for the API levels that you want, then maybe you have to run "SDK Manager.exe" in the same folder and download & install the API levels from there. I have not tested spying on objects using TC on the emulator, so I don't know if it'll work.1.2KViews1like0CommentsRe: Distribution-profiled app launch
Thank you for replying. I understood that it wasn't immediately possible as it was documented, but I was looking for a work-around if anybody had found any as the documentation also states "If you decide to use a profile of the distribution type, you will have to launch your application manually, or find a way to automate its start.", which in my view hints that there might be ways, in theory, to do so. It's an open question that may or may not have an optimal solution.1.2KViews0likes0Comments- 2KViews0likes0Comments
[iOS] Backspace, move cursor, etc. using Keys() method
It wasn't clear in the help files, but are there ways to do the mentioned actions using the Keys() method? For example, on windows controls one could specify Keys("abc[BS]"), which would type "abc" then do a backspace. I'm looking for an equivalent without having to do Device.PressButton(mbk<something>).Solved2.1KViews0likes2Comments[iOS] Close keyboard after type action
Hi, We are typing into a TextField object in VBScript using the Keys method as we want to simulate user input, therefore SetText is not an option, and that triggers the keyboard to pop-up; however, we are unable to close the keyboard after typing. Using Keys("[Enter]") just types it in as a literal, as do other commands like Keys("[BS]") for backspace. We have also tried using Device.PressButton(mbkEnter/mbkEscape/mbkHome, etc). None worked except for mbkEnter, but that triggers the action associated with the control (logging in, confirming, etc) that we do not want. All we want is to minimize the keyboard. Any suggestions?Solved2.8KViews0likes4Comments