Page 1 of 1

javaScript: how to get the workstationid

Posted: Thu Jul 18, 2013 4:28 am
by pepito84
Hi there,

is there any possibility to get the workstationId via javascript?
I want to replace the title with it.

Thanks in advance.

Greets

Pepito

Re: javaScript: how to get the workstationid

Posted: Thu Jul 18, 2013 9:46 am
by David
You can get it like this:

Code: Select all


pui.appJob.name;

If you are referring to the browser's document title, you can set it like this:

Code: Select all


document.title = pui.appJob.name;


Re: javaScript: how to get the workstationid

Posted: Fri Jul 19, 2013 2:30 am
by pepito84
Hey David,

thanks a lot!