Illustrator scripting textarea - scripting

I use a textarea in my CEP panel for Illustrator.
I've got a strange problem. When I add some characters like = or ~, they don't appear in textarea !!!
In the same way when I try to delete some characters with backspace, that don't work !!!
Why ?
Anyone have a solution ?
Thanks

OK
In fact I use a fancytree in my panel and I forgot to deactivate keyboard !
Now it's work fine !
Sorry for I should have done more tests before posting a question!

Related

Visual Studio Code intellisense showing one suggestion at any time

Normally when I used to type in my VSCode editor, the intellisense showed all the possible suggestions for the entered query.
However, now as I type, only one suggestion is shown that best matches the query.
For instance, when I type in b, the intellisense just shows a suggestion for the HTML <b> element — not a list of suggestions including tags such as <button>.
Is there any way to change this? I have searched a lot of the net but couldn't find any sort of help.
VS Code 1.51 made the list of suggestions resizable so it's possible your suggest widget is simply shrunken down to be a single line high.
To fix this, trigger suggestions and then click and drag at the bottom edge of the suggest widget to increase the number of visible suggestions.
Note that you can always use the arrow keys to navigate through suggestions, even if only one suggestion is visible. Use this to check if the widget is simply too small or if there really is only one suggestion
I wasted time on this too... (bummed)
Solution:
Open: Command Palette
Type: ">Reset Suggest Widget Size"
Select: 'click' or [ENTER]
Opinion:
Wish I saw Matt Bierner's answer sooner.
(The suggestion window can be resized by dragging its borders with your cursor.)

What the heck is this icon in the Atom Editor and how do I get rid of it?

It might have popped up when I was trying shortcuts out but even after trying a variety of the atom shortcuts I can't seem to get rid of it.
Have you tried Window: Reload command (shortcut: pressing ctrl-alt-cmd-l), it will try to reload the entire window and refresh everything.
Can you provide more details on what shortcut have you tried?
Asked on the atom.io discussion board, turns out I just have to wait for atom to update it's electron to a version where this bug doesn't happen.

jsFiddle issue with specific word

I am unable to get jsfiddle to save any fiddles containing the word allocation
example
var care_allocation = 34; alert(care_allocation)
Pressing save just clears the screen.
I'm assuming jsfiddle maybe uses some reserved keywords, is there a list of these and can anybody suggest a workaround. I realize I could just use a different variable name but I have already written an awful lot of code.
Thanks very much in advance
[EDIT]
Running the fiddle without saving is fine, this issue occurs when I try and SAVE it. I have asked a colleague who is able to re create the issue
No. Allocation is not a reserved word in jsFiddle. I have tried out and working properly. Please check settings on the left side.

How to automate text writing in popup

I want to automate text writing in popup. Is it possible? if yes, then please guide me. Any help will be well appreciated.
If it's a browser popup, it sounds like you're looking for:
driver.switchTo().alert().sendKeys("some text to enter");
I got the solution:
driver.switchTo().frame(0);
driver.findElement(By.id("id of the view to enter text in the popup")).sendKeys("some text to enter");

How to handle dialog box through selenium with python?

I am new in Selenium automation. Could you please explain me how to use this (if one exists) tag? It would be really helpful if you can give example.
The scenario where I am facing problem is: there is a save button, if we click on it a dialog box pops up. I need to enter some text in two text boxes and press save/cancel button on the same dialog. I am using Selenium as a tool and Python as a scripting language. Any help on this will be appreciated.
Thanks in advance!
sel.click("idOfSaveButton")
sel.wait_for_pop_up("popupWindowName", "30000")
sel.select_window("name=popupWindowName")
sel.type("idOfTextBox1", "someText")
sel.type("idOfTextBox2", "someText")
sel.click("idOfCloseButton")
sel.select_window("null")
You can also select the popup window using title=.
You can wait for the confirm box, then switch to it and do whatever you want. I asked familiar question before and the answer is here. Hope it helps.