Inactivity Timeout with PDFs

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
johnhibbert
Participant
Participant
Posts: 11
Joined: Thu Jun 24, 2010 6:21 am

Inactivity Timeout with PDFs

Post by johnhibbert »

Hi all,
While viewing an embedded PDF in PWB (v.2.11.7, Winxp, SP3), the inactivity timer counts down, despite clicking into it, moving the mouse, or filling out PDF forms (tax season, y'know...)
This will happen until the user clicks into the PWB toolbar, so they have to remember to do this every minute or so.

Is there a solution or workaround for this?

TIA
- john

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: Inactivity Timeout with PDFs

Post by Scott »

Because the Adobe Acrobat application runs in its own space and essentially takes over the input PWB does not see the keyboard presses, mouse movements or mouse clicks.

To work around this use the PWBIdler PWB add-on which installs a low level keyboard and mouse hook in order to see the keyboard and mouse activity.

--Scott

johnhibbert
Participant
Participant
Posts: 11
Joined: Thu Jun 24, 2010 6:21 am

Re: Inactivity Timeout with PDFs

Post by johnhibbert »

I copied the dll into the Public Web Browser folder, so the entry in the ini would be PWBIdler="C:\Program Files\TeamSoftware Solutions\Public Web Browser v2\PWBIdler.dll," but when I launched PWB I got a dialog box saying that the dll was not found.
I also tried placing the dll in the Windows directory, changing the path in the ini, but with the same results.
Did I miss something? It looks like a very useful tool. For now, I am just setting the timeout to 5 minutes, but I would like to get this to work.

- john

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: Inactivity Timeout with PDFs

Post by Scott »

"C:\Program Files\TeamSoftware Solutions\Public Web Browser v2\PWBIdler.dll,"
Do you have the comma in the path in the INI?

--Scott

johnhibbert
Participant
Participant
Posts: 11
Joined: Thu Jun 24, 2010 6:21 am

Re: Inactivity Timeout with PDFs

Post by johnhibbert »

No, the comma was just a punctuation thing in my sentence.

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: Inactivity Timeout with PDFs

Post by Scott »

Post the [Add-on] portion of your INI file here.

Post a screen shot of the error message PWB is giving you.

You can also try putting the DLL in a folder off the root for example in the C:\PWB folder instead of a folder within the "C:\Program Files" folder.

--Scott

johnhibbert
Participant
Participant
Posts: 11
Joined: Thu Jun 24, 2010 6:21 am

Re: Inactivity Timeout with PDFs

Post by johnhibbert »

I put the dll in a folder in the root of C:\ and it worked, but I will post the entry and screenshot, for posterity.

Here's the add-on entry I was using:
[Addons]
PWBIdler="C:\Program Files\TeamSoftware Solutions\Public Web Browser v2"

(screenshot attached)
Screenshot of error using PWBIdler
Screenshot of error using PWBIdler
PWBIdler error.JPG (19.37 KiB) Viewed 11471 times
I am surprised that it wasn't working using the paths I had before. The ini doesn't dislike quotes and spaces (example: InactivityMessageFile="C:\Program Files\TeamSoftware Solutions\Public Web Browser v2\Inactivity.txt"), so I dunno why it wasn't working. The user had full access to the Public Web Browser v2 folder.

- john

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: Inactivity Timeout with PDFs

Post by Scott »

johnhibbert wrote:I put the dll in a folder in the root of C:\ and it worked, but I will post the entry and screenshot, for posterity.
The "Program Files" folder has special restrictions and permissions that can cause this type of issue.

--Scott

Post Reply