javaScript: how to get the workstationid

Use this board to ask questions or have discussions with other Genie users.
Post Reply
pepito84
New User
Posts: 2
Joined: Wed Jun 19, 2013 11:04 am
First Name: Peter
Last Name: Brem
Company Name: LOXXESS AG
Contact:

javaScript: how to get the workstationid

Post 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
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: javaScript: how to get the workstationid

Post 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;

pepito84
New User
Posts: 2
Joined: Wed Jun 19, 2013 11:04 am
First Name: Peter
Last Name: Brem
Company Name: LOXXESS AG
Contact:

Re: javaScript: how to get the workstationid

Post by pepito84 »

Hey David,

thanks a lot!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest