You are here: PSPad forum > English discussion forum > Re: Scripting question : inputText

Re: Scripting question : inputText

Goto Page: 1 2 Next

#1 Scripting question : inputText

Posted by: pythonui | Date: 2015-10-01 06:31 | IP: IP Logged

inputText(label [, default_value [, cancel_value]]: string): string
input text dialog. Cancel_value is returned after press Cancel button.

Is there any function like this to take two or more inputs in one dialog?

--
Thanks

Edited 1 time(s). Last edit at 2015-10-01 06:31 by pythonui.

Options: Reply | Quote | Up ^


#2 Re: Scripting question : inputText

Posted by: pspad | Date: 2015-10-01 06:57 | IP: IP Logged

no

Options: Reply | Quote | Up ^


#3 Re: Scripting question : inputText

Posted by: pythonui | Date: 2015-10-01 07:34 | IP: IP Logged

smiling smiley

Options: Reply | Quote | Up ^


#4 Re: Scripting question : inputText

Posted by: pspad | Date: 2015-10-01 08:03 | IP: IP Logged

Your request means let input box generate dynamically as much inputs as you will send into function as arguments.
It's nonsense to create separate functions with 2 arguments, 3 arguments, 4 arguments...

Options: Reply | Quote | Up ^


#5 Re: Scripting question : inputText

Posted by: pythonui | Date: 2015-10-06 05:46 | IP: IP Logged

Question : What is the purpose of Tools-> Calculate Block function ? How can I use it?

Options: Reply | Quote | Up ^


#6 Re: Scripting question : inputText

Posted by: pspad | Date: 2015-10-06 06:47 | IP: IP Logged

From the help:

Quote:
Calculate Block

Having selected a block of numbers, this function will give: Sum, Min, Max, Average, & Count of all the numbers.

Please look into help first.

Options: Reply | Quote | Up ^


#7 Re: Scripting question : inputText

Posted by: pythonui | Date: 2015-10-06 06:56 | IP: IP Logged

Which help you are talking about? in Help menu? ( Sorry )

Options: Reply | Quote | Up ^


#8 Re: Scripting question : inputText

Posted by: pspad | Date: 2015-10-06 07:42 | IP: IP Logged

pythonui:
Which help you are talking about? in Help menu? ( Sorry )

yes, first menu item in the help menu
Switch to index tab and write calculate block

Options: Reply | Quote | Up ^


#9 Re: Scripting question : inputText

Posted by: pythonui | Date: 2015-10-06 10:48 | IP: IP Logged

Ohh ! I got the docs for the same but I need a example.

Here is the example that I tried : 32+98 ... so what should be the value of this ?

Which delemiters I have to use between the numbers?

Options: Reply | Quote | Up ^


#10 Re: Scripting question : inputText

Posted by: pspad | Date: 2015-10-06 10:58 | IP: IP Logged

Calculate block is determined to calculate column of numbers.
If you need to evaluate expression, use Expression evaluator from the tool menu
In case you select it before you will call dialog, it will evaluate selected text.

Options: Reply | Quote | Up ^


Goto Page: 1 2 Next





Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR