Jump to content
  • Announcement

    The HyperSpin 2 beta is here!

    We’re starting the first public testing phase with Platinum Members to keep the scope manageable while we test the current feature set and begin to add more. In the future, we’ll provide a version for basic members as well.  On behalf of the entire HyperSpin team, we look forward to another exciting adventure with our community.

Run AHK code only if running extended desktop?


Dime333

Recommended Posts

Posted

Does anyone have an idea how to achieve this? I want to make a script that checks if you are running extended desktop and then execute certain code only if that is true.

Edit: I guess I could check the screen width and just execute the code if it's greater than my normal screen width (1920). Not sure if extended desktop works like that or if the screen width would still be 1920. But even if that works, it wouldn't work for anyone who is using a 4K screen for example. I'm just brainstorming. I can't test it right now.

Edit 2: I think this will work even better than what I was hoping for. Will do some testing.

SysGet, OutputVar, MonitorName , N

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...