Skip to main content
17-Peridot
November 11, 2019
Solved

J-Link_Creo 5_external_applications

  • November 11, 2019
  • 12 replies
  • 4697 views

Hello!


Please tell me how I can run external applications from Creo using J-Link (for example, a Windows calculator). I already created a button in the taskbar, now I want to assign it such functionality.

 

Best Regards!

Best answer by DavidBigelow

That should be a straight up Java thing:

 

https://javaconceptoftheday.com/how-to-launch-external-applications-through-java-program/

 

Dave

12 replies

18-Opal
November 11, 2019
VladiSlav17-PeridotAuthor
17-Peridot
November 12, 2019

Thanks for the answer!


This I understood how to do, the code works.
But I need to open a website or application using a button from Creo. For this, I think that the created class object should be in the application session.
I don’t know how to add it there. If I'm on the right track at all..

 

Best Regards!

17-Peridot
November 13, 2019

I think this is two separate task:

 

1) to open a website pfcWindow.Window.SetURL

 

2) Creo macros can call external application. From J-Link you can a macros

pfcSession.BaseSession.RunMacro
wfcWSession.WSession.ExecuteMacro