You are here: PSPad forum > English discussion forum > Re: 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.
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...
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?
Posted by: pspad | Date: 2015-10-06 06:47 | IP: IP Logged
From the help:
Quote:Calculate BlockHaving selected a block of numbers, this function will give: Sum, Min, Max, Average, & Count of all the numbers.
Please look into help first.
Posted by: pythonui | Date: 2015-10-06 06:56 | IP: IP Logged
Which help you are talking about? in Help menu? ( Sorry )
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
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?
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.
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