Skip to main content
Known Participant
June 17, 2017
Answered

How can I detect non-hidden pdfs?

  • June 17, 2017
  • 1 reply
  • 635 views

Hi,

I want to only apply event to non-hidden files.  I tried the following but it did not bring up the app alert when I had a non-hidden pdf file in the sequence.  What am I doing wrong?  I know it must have something to do with the bolded text.

if (this.hidden = false)

{

if (3 == app.alert("Before proceeding, confirm scanned documents were backed up.  If not, click No to close the program and backup the scanned documents before executing the program.",1,2))

{

event.rc = false;

}

}

This topic has been closed for replies.
Correct answer Joel Geraci

A typo in the first line. It should be...

if (this.hidden == false)

1 reply

Joel Geraci
Community Expert
Joel GeraciCommunity ExpertCorrect answer
Community Expert
June 17, 2017

A typo in the first line. It should be...

if (this.hidden == false)

suemo22Author
Known Participant
June 17, 2017

OMG, yes, that was the problem.  I somehow missed this.  Thanks.