Description
Hi everyone,
I'm new to Flow Launcher, profecient in Python programming, and I like launchers. I used in the past Launchy, Google Desktop, Keypirinha and now Flow Launcher.
I ditched Keyprinha for Flow Launcher because the latter opened me the possibility of write my own plugins in the language I'm most confortable.
My new plugin was created to allow the launch of WinSCP, a remote resource navigator, with already stored profiles. The plugin receives the location of WinSCP, reads its configuration file (.ini based) displays all the profiles found and prompts for the server you want to connect to.
Question is, I couldn't understand (yet!) how to display a setting to prompt for the location of Winscp installation folder, in the case you are, for example, using the portable version. I would like for a text box to appear in the settings panel and don't know how to that since I'm using Python. The alternative I found was to call a "Open File" dialog (using the tkinter GUI framework that comes preinstalled with Python) when you input the "trigger word" (scp) and then will show in the items, besides the stored profiles, a option to locate WinSCP's installation folder. This setting is then stored in a .ini file inside the plugin own root folder.
Is there a way to present this option in the Plugin settings panel ?