View unanswered posts | View active topics It is currently Sun Dec 08, 2019 4:05 am



Reply to topic  [ 4 posts ] 
Take periodic screenshots 
Author Message
New Member

Joined: Thu Jul 07, 2016 8:58 pm
Posts: 2
Reply with quote
Post Take periodic screenshots
Hey guys,

What I'm attempting to do is take a screenshot of the game I'm playing every 6 seconds. It sounds ridiculous but it's for an art project.

I configured screenshots to F4 in ZSNES (1.51) and composed an AutoHotkey script that press F4 every 6 seconds. I get confirmation that the script is working (menus popping up, scrolling, etc.) in other programs but it does not work in ZSNES. I have tried a physical key press of F4 several times during the game it it works just fine.

Is there something I'm missing here? I'm not tied to F4 by any means; it was just what I tried.

Any help will be very appreciated!

Jefus


Thu Jul 07, 2016 9:03 pm
Profile
Official tech support dood

Joined: Wed Jan 25, 2006 7:57 am
Posts: 2092
Reply with quote
Post Re: Take periodic screenshots
does AutoHotKey offer any method to send legacy DirectInput7 events instead of raw keystrokes?

_________________
Why yes, my shift key *IS* broken.


Fri Jul 08, 2016 2:01 am
Profile
New Member

Joined: Thu Jul 07, 2016 8:58 pm
Posts: 2
Reply with quote
Post Re: Take periodic screenshots
Here's how I got it working; there may have been other ways but I know that this works...

I started using SNES9X for my emulator
I have my AutoHotkey script hitting F12 (the default screenshot key for that emulator) every 6 seconds
I launch the emulator then back out of it and start the script, running the script as Administrator
Also, I changed the default message display time in the config file to 0 so it doesn't show a message every time I take a screenshot

I'm not saying this won't work with ZSNES. I tried a few emulators and SNES9X happened to be the one I was using when I got it to work.


Fri Jul 08, 2016 2:53 am
Profile
ZSNES Shake Shake Prinny
User avatar

Joined: Wed Jul 28, 2004 4:15 pm
Posts: 5615
Location: PAL50, dood !
Reply with quote
Post Re: Take periodic screenshots
odditude wrote:
legacy DirectInput7 events

dinput8
(ddraw is the one at 7)

_________________
皆黙って俺について来い!!
Code:
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)

Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54


Sun Jul 17, 2016 10:25 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software.