PC Command Example

Use this board to ask questions or have discussions with other Atrium users.
Post Reply
k2R400
Profound User
Posts: 62
Joined: Sat Feb 18, 2012 12:03 pm
First Name: Patrick
Last Name: THOMAS
Company Name: Oo2
Country: France
Contact:

PC Command Example

Post by k2R400 »

Hello,

Is it possible to have an example in Atrium to launch a PC Command like calc.exe ?

Thank you in advance
User avatar
Glenn
Profound Logic Staff Member
Posts: 124
Joined: Mon Apr 14, 2014 4:08 pm
First Name: Glenn
Last Name: Hopwood
Company Name: Profound Logic Software
State / Province: Ohio
Country: United States
Contact:

Re: PC Command Example

Post by Glenn »

Patrick,

To launch a PC command from Atrium you would create a new navigation item and choose 'PC Command' as the 'Action type' of the item and you would then enter 'calc' or 'calc.exe' as the 'PC Command'. I've attached a screenshot of an example using notepad.
pc command sample.png
pc command sample.png (9.15 KiB) Viewed 1605 times
The link below shows the API that is used to call the PC Command. It shows how to call more complex applications.
http://www.profoundlogic.com/docs/pages ... d=15138842

Glenn
k2R400
Profound User
Posts: 62
Joined: Sat Feb 18, 2012 12:03 pm
First Name: Patrick
Last Name: THOMAS
Company Name: Oo2
Country: France
Contact:

Re: PC Command Example

Post by k2R400 »

Glenn,

Thank you but it doesn't work for me on Chrome, Firefox, ...
Profound version 5.0.9

Image
User avatar
Glenn
Profound Logic Staff Member
Posts: 124
Joined: Mon Apr 14, 2014 4:08 pm
First Name: Glenn
Last Name: Hopwood
Company Name: Profound Logic Software
State / Province: Ohio
Country: United States
Contact:

Re: PC Command Example

Post by Glenn »

Patrick,

The behavior you are seeing is usually caused by java not being installed. Our PC Command utility uses a java applet to interface with the PC. Try going to https://www.java.com/verify to see if it's installed. Note also that I believe that Chrome will block java by default.

Glenn
k2R400
Profound User
Posts: 62
Joined: Sat Feb 18, 2012 12:03 pm
First Name: Patrick
Last Name: THOMAS
Company Name: Oo2
Country: France
Contact:

Re: PC Command Example

Post by k2R400 »

It work fine now, thank you
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests