PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Launch Nomads into a Library?  (Read 1310 times)

bcart01v

  • On Probation
  • New Member
  • *
  • Posts: 2
    • View Profile
Launch Nomads into a Library?
« 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?

Jeff Wilder

  • Silver Member
  • ***
  • Posts: 42
    • View Profile
Re: Launch Nomads into a Library?
« Reply #1 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$

Mike King

  • Diamond Member
  • *****
  • Posts: 3817
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: Launch Nomads into a Library?
« Reply #2 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.
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com