View Single Post
Old 05-25-2016, 06:55 AM   #1535
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by encol View Post
Yes, it's true.
However it would be nice if we can directly pass some parameters to the script/application.
For example a script i made recently needed a password and a command as parameter.
If i can pass them directly by Kual (only a textbox would be sufficient) there is no need to write UI code every time
A KUAL button can pass parameters to a script or application already. Look at some exsiting KUAL extensions to see how that works (something other than my "Frontlight Control" extension -- not all extensions use such parameter passing). However, those parameters are either hard-coded or defined as environment variables. If you want a popup to request user input, that would be part of the application script that KUAL calls, and such a script may call other apps passing such user input as a username.

Now, if you really WANT a feature added to KUAL for (built-in) user-input textboxes or other input controls, the KUAL source code IS available (Via the magic of "open source", and you are certainly free to add such features. But in my case, rquesting user input in an intermediate script would be easier to implement.

Last edited by geekmaster; 05-25-2016 at 07:02 AM.
geekmaster is offline   Reply With Quote