Golang. How to get event that user change input language in windows - windows

how to get an event that user change locale, for example pressed ctrl+shift and changed input language from EN to DE

Related

SweetAlert2 reacts differently to keypresses for input type text vs textarea

In SWAL2, if input: 'text' is set, one can type in text but the confirm button is also triggered when pressing enter - a perfect combination.
But for input: 'textarea', all keypresses end in the textarea, and Enter doesn't confirm the alert.
How can I have the Enter key (Or Shift+Enter, or Ctrl+Enter) confirm the alert regardless of input type?
One more detail, allowEnterKey and focusConfirm are already explicitly set to true.

How to create shortcuts to call forms from an existing form in oracle forms 12c

I want to create user defined shortcut keys (e.g shift A) to call another form in my oracle weblogic application. The shortcut keys are user defined and stored in a table through another form.
The main menu itself is a form actually.
Basically im just asking how to call a form from an already open form when the user presses a certain key.
Is it necessary to create a custom javascript trigger?
What does the KEY-OTHERS trigger do?
edit : well Alt by default opens this menu so I cant use Alt
What you described, sounds like an access key - if this "main menu" form uses buttons to navigate to other forms.
If that's so, then
open button's Property Palette (left part of the screenshot)
go to its "Access Key" property
put a letter in there
for example, in a screenshot I posted, letter "A" is a "natural" choice as that button's label begins with that letter
when you run the form (middle part of the screenshot), access key is underlined
for more info, press the F1 keyboard key while in Property Palette's "Access Key" property
Also, you might be interested in reading about keyboard shortcuts.

Use input for update message in a Teams Flow - Post Adaptive Card action

With the "Post an adaptive card" action in Flow / Power Automate -> Microsoft Teams there's the option to specify an "update message" following the user response to the card.
How can I access the data inputs and the submitActionId for use in this message?
The use case is as follows:
user receives the card and enters data into a textfield.
user clicks one of two buttons (similar to "approve" and "reject")
(what I want to do:) card is updated to show what text the user entered and which button was pressed.
I can access other dynamic data that have been created by previous actions in the "update message" field. But the output of this adaptive card action itself is not available "within" the action, not by normal means anyway. Later in the flow it's necessary to parse the JSON output of this action.
Supplementary question: Is it possible to style the "update message". Currently it appears all bold.
Supplementary info: the "update message" field does not appear to accept another adaptive card (would have been logical...). If I enter adaptive card json there, it just gets spat back out literally in Teams.

.fmx Oracle Form automatization

I have a requirement and I dont know how to start?
My client has an Oracle Form (.fmx), when you open the .fmx file a dialog asking for username and password is open.
After inserting the username and password and pressing the Enter key a new form is open with an input asking for a specific ID.
What I need to do is to set up the username and password and hit enter automatically (using a script or something else)
how can I make that posible?
Note: what to do ? type username and pass hit enter, next windows loads,set focus to the id input and type the id value
It sounds like you want something to automatically fill in the fields and press a button. You can do this by using the Windows SendKeys API. There are various ways to do it with VBScript/PowerShell/AutoHotKey/AutoIt. Pick your poison.
I would probably do it in AutoHotKey because you can have it compile the script as an EXE to hide the username and password it enters.
You can have it search for the Window and focus it:
http://www.autohotkey.com/docs/commands/WinActivate.htm
Then send keystrokes and button clicks to it:
http://www.autohotkey.com/docs/commands/Send.htm
You can navigate the form by sending they Alt + hotkey of the form field. The hotkeys are normally underlined when you press the alt key on a form. So use this technique to focus the first field, and then either use it again or send the tab key to change focus to other fields. I would suggest avoiding use of tab and use the Alt + hotkey approach to select send input to all fields and to focus the form submission button.

Validation in Adobe PDF form submitted via email?

I have a form that I created in Adobe Acrobat Professional that accepts approximately a dozen fields. I want to be able to validate phone numbers and emails using regular expressions but I'm unsure on how to do this. I know where to enter the custom script in the Validaiton tab of the field's properties but when I click on submit button nothing fires and Adobe launches the following window.
My submit action is set up like this.
It may not need to be done using validation. I'm not sure if this function is available to older versions of Acrobat, but in Acrobat X Pro, if you select the form field> right click> properties> Format> Special you can select pre-defined format of "Phone Number" for the phone number field and then possible input an arbitrary mask into the arbitrary mask field for the email one.
I believe the phone number one might be limited to USA phone numbers, but it's worth a shot and might be much simpler that writing code to validate it.

Resources