[jawsscripts] Re: custom dialogs

  • From: "Bryan Schulz" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "b.schulz" for DMARC)
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Fri, 13 Nov 2020 21:14:40 -0600

Hi,

I read through all of the ones starting with get and of course didn't go far 
enough.
Thanks so much as there are about 1,700 functions to read through.
Bryan


-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx <jawsscripts-bounce@xxxxxxxxxxxxx> On 
Behalf Of Csaba Árpádházy-Godo
Sent: Friday, November 13, 2020 12:58 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: custom dialogs

Hi Brian!

The function you looking for is InputBox ()

Function: InputBox
Description
This function displays a simple dialog box containing four controls. One 
control is an edit box in which you can enter information. Another control is a 
Static Text window containing the prompt of the edit box. 
The other two controls are the OK and Cancel buttons. If you enter text into 
the Edit box and press the OK button, the text you typed in the Edit box is 
returned to the calling function by way of the third variable of the function, 
which is a string variable that is passed by reference to the calling function.

Returns
Type: Int
Description: Returns 1 if the OK button was pressed. Returns 0 if the cancel 
button was pressed.


Parameters
Param 1:
Type: String
Description: The text of the message that you would like to be displayed 
in the prompt of the Edit Box.
Include: Required


Param 2:
Type: String
Description: The text of the Dialog Box's title.
Include: Required


Param 3:
Type: String
Description: This parameter is passed to the calling funcction or script 
by reference. If you type text in the Edit box and press the OK button, 
this parameter returns the text that you typed to JFW. If you do not 
enter text into the Edit box or you press the Cancel button, this 
parameter contains a NULL string,
Include: Required
* Returns data by reference


Version
This function is available in the following releases:

JAWS 4.51 and later


HTH

Chaba


2020. 11. 13. 19:27 keltezéssel, Bryan Schulz (Redacted sender b.schulz 
for DMARC) írta:

Hi,
  

Would there be a way to present a small custom window asking the user to
input a number then use that number in a variable to perform a calculation?

Bryan

  



__________ 

View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts

__________ 

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts


__________�

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: