Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently October 14th, 2024, 3:14 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Keylogger
PostPosted: June 19th, 2006, 3:51 am 
Offline

Joined: June 13th, 2006, 4:18 pm
Posts: 10
Location: Perth, Western Australia
Opus: 8.12 (V9 purchased but not yet installed)
OS: Windows 8.1 (64bit)
Hi all. Love the forum - it has been really useful for a number of solutions. I'm glad I'm not the only one that gets stuck.

I was hoping to see if anyone can help me with this problem. I'm using Opus Pro and currently writing an stretch and ergonomics application. One of the things that I'd like to do is monitor the number of keystrokes being performed and collate this information as part of the program stats. I'm not interested in the actual keystrokes, just the number of keystrokes performed during the session. I've go absolutely no idea on how to do this.

Thanks again.


For this message rick@ifs has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: June 19th, 2006, 10:19 am 
Offline

Joined: October 26th, 2004, 10:23 am
Posts: 666
Location: Digital Workshop
Off the top of my head... Add an Any Key keypress trigger with an action to increment a variable by one to an object on a Master Page (an empty frame will work if you haven't got anything else to show on the Master). Use that master page on all pages in the publication and the variable you have used will then contain a keypress count.

_________________
ddww Opus Developer


For this message Duncan Lilly has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject:
PostPosted: June 19th, 2006, 10:33 am 
Offline

Joined: June 13th, 2006, 4:18 pm
Posts: 10
Location: Perth, Western Australia
Opus: 8.12 (V9 purchased but not yet installed)
OS: Windows 8.1 (64bit)
Hi Duncan,

I was thinking along those lines earlier today, however, if the focus is not on the publication, then I don't think that the keystrokes will be recorded. I think I need to be able to read some sort of windows variable, but this is where I get lost.

In any case, I appreciate the reply.


For this message rick@ifs has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: June 19th, 2006, 11:03 am 
Offline

Joined: October 26th, 2004, 10:23 am
Posts: 666
Location: Digital Workshop
If you don't have focus there's no simple way to count keystrokes. The only solution would be to write and install a keylogger service that ran on the the customer's PC and reported information back to you somehow. However this is morally dubious unless you explicitly get their permission first and would certainly set off any anti-virus package worth it's salt, since that is exactly the kind of thing trojans do to steal your passwords etc.

_________________
ddww Opus Developer


For this message Duncan Lilly has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject:
PostPosted: June 19th, 2006, 2:21 pm 
Offline

Joined: June 13th, 2006, 4:18 pm
Posts: 10
Location: Perth, Western Australia
Opus: 8.12 (V9 purchased but not yet installed)
OS: Windows 8.1 (64bit)
Thanks Duncan - I may need to hunt down the Trojan people.
Cheers.


For this message rick@ifs has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: June 20th, 2006, 11:33 am 
Offline

Joined: November 8th, 2004, 5:23 pm
Posts: 279
Opus: Opus Pro 9
OS: Win 10/64
I think this can be done via windows API functions. Windows has a build in keystroke detector e.g. for invoking the monitor or switching off a screensaver.

It should be possible to use the windows API with a little VB or C program.

T.

_________________
Opus Pro 9.75, Win 10/64, 8 GB RAM, Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz (4 CPUs), ~3.4GHz, NVIDIA GeForce GTX 660 Ti, Roland OctaCapture


For this message Tarantoga has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject:
PostPosted: June 20th, 2006, 1:37 pm 
Offline

Joined: June 13th, 2006, 4:18 pm
Posts: 10
Location: Perth, Western Australia
Opus: 8.12 (V9 purchased but not yet installed)
OS: Windows 8.1 (64bit)
I'm onto it - where's my C manual.............

Thanks heaps.


For this message rick@ifs has been thanked by : mackavi


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


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