Welcome Guest.   Make a donation to an author on the site April 24, 2014, 04:11:09 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Read the Practical Guide to DonationCoder.com Forum Search Features
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: SOLVED: Screen rotation -> possible in AHK ?  (Read 5395 times)
ak_
Supporting Member
**
Posts: 223


see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« on: September 16, 2007, 05:16:49 PM »

Well, the title sums it up quite well. I have a new monitor that has rotation capabilities. The manual says you have to download some software to take full advantage of it but it sucks. I can change the screen rotation via the display properties but it takes too much time. So i tried iRotate which is pretty much what i'm looking for, but the hotkeys (Ctrl Alt Up, Ctrl Alt Left, etc) can't be changed, so it's really annoying.

So i thought i could try to do an ahk script to rotate display using hotkeys, the only problem is : i don't know where to start smiley So i'm not asking for anyone to do it for me, but i'm looking for any lead or information that could help me getting startes on this script.

Thanks smiley
Logged

jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: September 16, 2007, 06:42:05 PM »

If iRotate can do it and you only don't like the hotkeys, you could just remap them in ahk smiley
I have no idea to rotate the screen in ahk, though.
Logged

ak_
Supporting Member
**
Posts: 223


see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #2 on: September 16, 2007, 08:37:23 PM »

The problem is that these hotkeys already exist in Photoshop, so i'm going to rotate my screen without wanting to smiley
Logged

Nod5
Supporting Member
**
Posts: 716



View Profile Give some DonationCredits to this forum member
« Reply #3 on: September 17, 2007, 03:39:09 PM »

ak_,
if you have an ATI graphics card then the utility ATI Tray Tool (ATT) might work: http://www.guru3d.com/article/atitraytools/189/ .
It is free, supports screen rotation and can be set to use any hotkey you want.

And if you don't want it running all the time you could make an AHK script that, when a hotkey is pressed, launches ATT, sends the screen rotation hotkey, exits (and on next hotkey press toggles back). You could also easily add a step where some additional tool saves/restores the desktop icon positions (ATT can save/restore icon position but if I remember correctly it's not possible to do that through a hotkey)
And if you don't have an ATI card, you can forget all this. Grin
Logged
ak_
Supporting Member
**
Posts: 223


see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: September 17, 2007, 06:24:43 PM »

Nod5> thanks, but i have a nVidia card smiley

Anyway, i should get "RTFM" tattooed on my forehead because iRotate accepts command line parameters, so i just had to create ahk hotkeys and now it's perfect smiley You can also redefine hotkeys but it's not very flexible.
Logged

lanux128
Global Moderator
*****
Posts: 6,048



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #5 on: January 15, 2010, 09:03:40 PM »

reviving an old topic but i had been looking for something similar and found the solution via nVidia's DTCFG Desktop Configuration Commands.

Quote from: rotate
Description    Rotate a display to the designated orientation.
Format          rundll32.exe NvCpl.dll,dtcfg rotate <display#> <angle: 0,90,180,270>

Example        rundll32.exe NvCpl.dll,dtcfg rotate 2 90
                   Rotates display #2 to the 90 degree position.

http://docs.google.com/vi...%2FNVControlPanel_API.pdf
Logged

Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.036s | Server load: 0.12 ]