Hello,
Been looking at the docs but can’t seem to be find the syntax to emulate COMMAND key on OSX.
Does it exist? Or are there any workaround assuming the script from Windows uses KEY_CTRL?
Thank you.
Hello,
Been looking at the docs but can’t seem to be find the syntax to emulate COMMAND key on OSX.
Does it exist? Or are there any workaround assuming the script from Windows uses KEY_CTRL?
Thank you.
Sorry, no workaround that I know of, but the command is very high on our todo list.
With today’s update, KEY_CMD is now available
I just uninstalled the old xmod and installed the new one and I’m getting the following error.
Failed to XType ‘${KEY_CMD}’
[info]
Macro failed (Runtime 0.47s)
Playing macro xxxx
Executing: | XType | ${KEY_META} | |
Failed to XType ‘${KEY_META}’
Macro failed (Runtime 0.46s)
As a test, does the DemoXType macro work that ships with Kantu? It uses KEY_CMD+KEY_S to open the save page dialog.
If this macro also fails, please include a screenshots of the XModules tab in the settings, so we can check if the correct new versions are installed.
The demo failed.
Playing macro DemoXType
Executing: | store | medium | !replayspeed |
Executing: | comment | Make sure the browser is in the foreground, so it receives the XTYPE keystrokes | |
Executing: | bringBrowserToForeground | | |
Executing: | open | Page Not Found | |
Executing: | comment | To save the page, open the browser save dialog with a shortcut | |
Executing: | if | “${!os}”==“mac” | |
Executing: | comment | Save web page in macOS is CMD+S | |
Executing: | XType | ${KEY_CMD+KEY_S} | |
Failed to XType ‘${KEY_CMD+KEY_S}’
Macro failed (Runtime 4.88s)
The install I used states:
This installation includes:
(1) FileAccess XModule for macOS, V1.0.6
(2) RealUser Simulation XModule for macOS, V1.0.12
(3) ComputerVision XModule for macOS, V1.0.16
As you can see tho, it only as 1.0.0 installed. I just downloaded it last night from here:
http://download.a9t9.com/kantu/kantu-xmodules-mac.zip
The installation looks good, the version numbers are ok. So I am not sure why it does not work.
Question:
What macOS version is this?
If Mojave: Make sure to give Kantu computer control permissions
It’s Mojave 10.14.3 (18D109)
As you can see below, Chrome is authorized. It works with other commands except KEY_CMD and KEY_META. IE KEY_ENTER works or KEY_DOWN. This makes me thing it’s an issue with the version itself. Shouldn’t RealUser XModule show 1.0.12?
I have the same problem, same setup save mac version, same Xtype (latest) version, Chrome has permissions to control OS.
{KEY_CMD+KEY_R} doesn't work for me. DemoXtype fails too with [error] Failed to XType '{KEY_CMD+KEY_S}’ all other typing actions work absolutely fine (as does ${KEY_BKSP} ) it’s just any KEY_CMD instructions that fail.
Hmm… indeed that sounds like the XModule installer contains an older version. We will test this ASAP and then update the ticket.
The Linux and Mac install scripts contained indeed an outdated version of the RealUser XModule. This has now been fixed and a new installer V201902 is available. The current RealUser XModule version number is V1.0.12 - and this version supports the KEY_CMD key
Thanks for your patience while we fixed this issue.
Using V1.0.12 on MAC but KEY_CMD not working and the DemoXType not working correctly because of KEY_CMD
DemoXType and KEY_CMD work fine in my test on Mac. See this screencast:
Hello,
I have the same problem.
All Xtype like ${KEY_CMD+KEY_S} are not working on my mac.
Here is a video : https://drive.google.com/open?id=1TjzDkqChr43-l8-mK7CbsUqxxVrrEztS
Thanks for you advice.
The screencast is useful.
I see you are using V4.2.5. Can you please try with V5.0.1? (but that should not make a difference).
What version of macOS is this?
Hello Ulrich,
Thanks for your answer.
I’m on 10.13.6 (17G7024). I just tried on v5.0.1 with your demo “DemoXType.json”. No difference on my side.
We currently think the issue is related to macOS High Sierra 10.13.6. But we need to test more to be sure. At least it works on all Mojave versions that we know.
Hello, I am on Mojave 10.14.5 with the XModules all installed and updated, and I am also having this problem.
We find there is an issue with KEY_CMD even if the XModules are installed correctly. We are working on it.
Any update on this? I need this asap, if you have a beta version you’d like to get tested let me know thx!!