PxPlus User Forum

Main Board => Discussions => Nomads => Topic started by: bcart01v on March 18, 2020, 04:33:45 PM

Title: Launch Nomads into a Library?
Post by: bcart01v on March 18, 2020, 04:33:45 PM
This isn't pressing, just wondering if it's possible...

Is there way to launch the Nomads editor straight into a library? I can launch Nomads by using "Execute "NOM" but outside of that I can't find anything that would allow me to pass any parameters to it. Is that even possible?
Title: Re: Launch Nomads into a Library?
Post by: Jeff Wilder on March 18, 2020, 05:09:07 PM
I have successfully used a call to the NOM system command program:

Code: [Select]
CALL "*cmd/system/nom ",Screen_Lib$or
Code: [Select]
CALL "*cmd/system/nom ",Screen_ID$+" "+Screen_Lib$
Title: Re: Launch Nomads into a Library?
Post by: Mike King on March 18, 2020, 05:14:11 PM
If you mean having PxPlus start up directly in the Nomads Panel editor then the answer is yes.  Actually we do this all the time with the IDE and Windows does this when you right click on a ".pxpnl" file and select EDIT from the file explorer.

The easiest way to do this might be to call the NOM command directly. 

Create a program that takes ARG(1) and passed it to *cmd/system/nom.  Now you can launch pxplus with:

.../pxplus.exe yourprog -arg library

BTW: If you pass a panelname follewed by a semi-colon and then the library, the system will open that specific panel for editing.