Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

capturing the hostname to be recorded as a variable in Captivate

New Here ,
Apr 29, 2016 Apr 29, 2016

I am looking to record which PC a training was taken at. Is this possible? Thanks

383
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Apr 29, 2016 Apr 29, 2016

Yes, but it will be invasive to the trainee. And monitor live for odd-keyboard combinations that my interrupt their flow.

Will they know they're being recorded?

You'll need to have Captivate installed on the PC, setup a recording session, have them start training, and when they're done, switch back to Cp to end the session. Hoping the whole time that they don't switch to Cp on accident, as it will end the session.

If you're only wanting a movie of what they did, you might want to use a screen recorder rather than Cp.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 02, 2016 May 02, 2016

I am only looking to capture the pc name. I don't need to record a session. I am looking to use a variable that will be recorded to capture the pc name only of which machine training was done on, if that's possible. there are many pcs that can be used and I have noticed two individuals seem to always finish their training at the same time. every month. that is almost a improbability.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
May 02, 2016 May 02, 2016

My apologies, I focused on the recording keyword and missed the 'capturing the hostname.'

You'll likely want to look at the Common JS interface and research capturing that information in JavaScript and returning it to Captivate.

BTW, you're looking to populate a captivate variable with (PC OS) system information. There's no recording involved.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 02, 2016 May 02, 2016

ok I will look there and see if I can figure it out.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
May 02, 2016 May 02, 2016

It's not possible with JavaScript due to security reasons.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 02, 2016 May 02, 2016

is their a way to capture it then?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
May 02, 2016 May 02, 2016

You may be able to use server side scripts to get the info.

Can I ask why you need the computer name? Maybe there is another solution that is more feasible.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 02, 2016 May 02, 2016

there are quite a few pc's that the training can be taken at and I was asked if we could  capture which pc was used when an employee takes a training. I am currently deploying the monthly training as individual modules that record to their own spreadsheets. It was asked if we could also capture the pc used to take training on the spreadsheet as well.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 02, 2016 May 02, 2016

You might have more luck trying to capture the IP address of the computer instead (unless of course it's a dynamic IP).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 02, 2016 May 02, 2016

ok that works for me. is there an easy way to do this? thanks in advance

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
May 02, 2016 May 02, 2016

Again, I think you'll need third-party server side scripts.

You may be able to do it with activeX but those computer would need to be setup to allow the script. I don't think it would be across browser compatible.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 02, 2016 May 02, 2016
LATEST

Dave is correct that it usually involves server side scripts.  But there are some web services that advertise ability to do these things, but it would appear that you still need to have some good technical skills to get what you want.

Some info here:

http://stackoverflow.com/questions/391979/get-client-ip-using-just-javascript

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources