Jump to content

Toggling with a program return value


Recommended Posts

I am trying ty create a  a script to toggle my PC screen DPi resolution with the app "SetDpi.exe", which sets the DPI by simply entering the command: SetDpi.exe 125. If I run the command "setdpi.exe get" I get a printout of the current screen resolution, say, "Current Resolution: 150". How do I write a script that can toggle between that value and 100 dpi? I looked at the AutoIt function "$gToggleState" and I do not understand it at all. So, yes, I tried to do my research but failed.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...