Is there a way for my user input box to accept a "pasted" value using a JMP script?Hi, I have a script that has a couple user input boxes. I had been just typing in the values, but wanted to see if there was a setting or something that can be changed on that input box for it to accept a value that has been copied and pasted into that box? When I try this it just leaves the box blank and does not accept a value. I have attached the user input box portion of my script as needed. Thanks in advance for any input.
Clear Symbols();
Names Default To Here( 1 );
framex_value = "";
lotid_value = "";
w = New Window( "Requested Information", // opens a window with a title and this content...
<<RETURN result=""></RETURN>
ScriptingRe: Is there a way for my user input box to accept a "pasted" value using a JMP script?Are you saying that when you paste something from the clipboard it doesn't appear in the display box? It should - so long as the data type is correct. You have Number Edit Boxes - these can only take numeric values so wont accept a value if it is text (and they probably are not too happy with you setting the initial value to "." ).
Re: Is there a way for my user input box to accept a "pasted" value using a JMP script?Thanks, interesting. So I am actually able to do it if I clear out the "." and paste a value, and then click somewhere else in the window and the value shows up. Is there a way to remove that "." so that you are able to just paste in the box and not have to clear out the ".". I ended up testing a Text Edit box and it does not have the "." there, and accepted my numerical value. Even if I remove setting that "." value from my script it is still showing up there?
Also after pasting the value you have to click somewhere or hit enter for it to show up, you cannot just have it show up after you paste it?
Thanks again for all the help!