You can add a custom icon to the PowerBuilder IDE toolbar, and one option is to specify in the "Command Line" a path to launch a separate executable.
I'd like to create toolbar buttons that launch small custom utilities which operate against the current workspace or target.
Is there a way to pass a dynamic argument containing the path to the current workspace, or target, or anything else that could pass context)? I'm imagining something like:
/path/to/utility.exe workspace="@WorkspacePath"
Alternately, the help says you must fully-qualify the path to the executable (if it's not in the current search path). But I think I could make this work if it was possible to enter a relative path and PB would interpret that as "relative to the current workspace (or target or whatever)".
If this isn't possible, how can I log a feature request?
Thanks in advance.
>>you can use it with any Appeon PB release. For example: 2017 through PB2021 beta.
Hoping you misspoke and meant to say so you could use it with any target, right? Your comment has me concerned that you're saying it's relative to the PBxxx.exe, which is not what I want!
As I said above, my testing seemed to show it was relative to the Target (pbt). If so, I wouldn't think it matters which Appeon PB release I'm running to work with the target (as long as I've added the same custom button), or where the PBxxx.exe is running from. The custom toolbar button is launching a compiled exe, and I also wouldn't think it matters what release of PB was used to compile it.
Let me know if I'm missing something.
In my case .. All the Apps are in their respective high level folders that match the IDE version, for example ...
C:\Dev\PB2017R3
C:\Dev\PB2019R2
C:\Dev\PB2019R3
So any relative "..\xxxxx" folder designation is relative to the PB IDE version that I am using. HTH
Regards ... Chris