Page 1 of 1

AUTOGUI Menu Items result

Posted: 16 May 2019, 23:32
by Joerg Hamacher
Hi,
I have a big problem with AutoGUI Menu Items.
Apparently the result of AutoGUI Menu Item delivers a value with 3 characters.

Value result of "1. MenuItem1" will be BLANK BLANK 1
Value result of "99. MenuItem99" is BLANK 9 9

Problem: most of our ERP system menues contain Item ranges only from 1 to 99 and the screen field that uses the item numbers is defined as numeric field 2.0.
And now aXes crashes with the message "Too many characters entered".

What can I do to get only 2 character results from AutoGUI Menu Items? Would be fine if there is a possibility to define a new AutoGUI rule for this?

Cheeers,
Joerg

Re: AUTOGUI Menu Items result

Posted: 17 May 2019, 12:17
by Fairdinkum
Hi Joerg,

I have experienced situation which seemed to be similar to it. In my case, attached .json solved the problem.

If you try, the steps are:
1) Disable the original AutoGUI Menu items.
2) Import the attached file.

HTH.

Best Regards,
Hidekazu Tanaka

Re: AUTOGUI Menu Items result

Posted: 17 May 2019, 17:15
by Joerg Hamacher
Hi Hidekazu,
many thanks for your json example.
Unfortunately I do not know how to import it.
I copied the string into axautoguirules.json but everytime I start a developer session it seems that this will be overwritten...

Best regards,
Joerg

Re: AUTOGUI Menu Items result

Posted: 17 May 2019, 18:49
by Fairdinkum
Hi Joerg,

aXes v4.1.x can import/export AutoGUI+ rules. In this case, you can import like the following screen shot.
image.png
image.png (58.49 KiB) Viewed 7367 times
Thanks.

Best Regards,
Hidekazu Tanaka

Re: AUTOGUI Menu Items result

Posted: 17 May 2019, 19:25
by Joerg Hamacher
Hi Hidekazu,
thank you again.
It works just as I imagined - great!

Have a nice weekend,
Joerg