Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 23rd, 2024, 8:38 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Resolve the users PC name.
PostPosted: June 26th, 2007, 12:09 pm 
Offline

Joined: June 26th, 2007, 11:59 am
Posts: 60
Opus: Opus 9.01
OS: Windows 7
System: Heinz 57
Can anyone tell me how I can resolve the end users "PC name" and insert it into an Opus variable in a web based publication?

I know that there is a system variable for the "SYSTEM_USERNAME" but would also like to know the name of the PC that the publication is running on.

Dave Bryant


Top
 Profile  
 
 Post subject:
PostPosted: June 26th, 2007, 12:55 pm 
You could use the registry read from this key....HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters...Hostname.

And write that into a Variable.


Top
   
 
 Post subject:
PostPosted: June 26th, 2007, 2:16 pm 
Offline

Joined: June 26th, 2007, 11:59 am
Posts: 60
Opus: Opus 9.01
OS: Windows 7
System: Heinz 57
Thanks for your prompt reply David,

I can see this is the information I require in the registry, but how exactly do I enter the path in the label of the "Read data from Registry" action.

Is the last part "Parameters...Hostname" or "Parameters\Hostname" or something else? I have not used this action before!!

Thanks
Dave


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 37 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group