Skip to main content
pclabm55562077
Participant
August 25, 2017
Answered

Read a txt file Using an Actions

  • August 25, 2017
  • 2 replies
  • 307 views

Hi All ;

I'm new in captivate and using version 9 , I would like to Execute an Advanced actions ( On Enter ) or java script to read a txt file .

My output file is an EXE ( will run in windows machine ) , so the script or actions will be written in the executable file and the txt file that we will read in the same path of the captivate project file .

The file contains one line only ;

I would like to put this line in the Variable ( Say named : GetTxtLine )  , I will use the variable entry to navigate through my project files .

Could Anyone help me to do that ?

Thanks in advanced 

Pmedia

This topic has been closed for replies.
Correct answer Lilybiri

Maybe you ignore this, but EXE-files are based on Flash. JS doesn't work at all with that type of output.

2 replies

pclabm55562077
Participant
September 6, 2017

Thanks for your reply . Lilybiri.

Lilybiri
LilybiriCorrect answer
Legend
August 25, 2017

Maybe you ignore this, but EXE-files are based on Flash. JS doesn't work at all with that type of output.

pclabm55562077
Participant
September 4, 2017

Thanks Lilybiri for your reply , I noticed that when building an EXE .
Is this means I couldn't do this task at all in the correct way ?
Regards ;

Lilybiri
Legend
September 4, 2017

I'm afraid my answer confirms your suspicion. Do not use EXE files anymore, certainly not when you want functionality like the one you described.