Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want the display to turn off after a long press onto the Griffin Powermate. The software that Griffin provides for windows allows "opening an application"; but it cannot open the shortcut "C:\Windows\nircmd.exe monitor off" for example.

I do not wish to emulate a Keypress for the shortcut to the nircmd-Shortcut - I regard that as non-ideal because the keyboard shortcut can mess with all kinds of applications.

share|improve this question
1  
"but it cannot open the shortcut C:\Windows\nircmd.exe monitor off" Why not? What happens when you try to use that? Have you tried putting it in a batch file and launching that? –  Ƭᴇcʜιᴇ007 Jan 27 '13 at 15:49
1  
@techie007 well, telling it to open shortcut will only open nircmd.exe without any commands. I just tried a .bat script with`nircmd.exe monitor off` and griffin powermate can in fact open scripts. ~~However the display gets turned off only for a couple of seconds. I assume it has something to do with cmd running that it gets woken up again~~ EDIT: Nevermind, that was another issue. It works now! –  klyonrad Feb 7 '13 at 0:47

1 Answer 1

up vote 1 down vote accepted

Put the line to launch nircmd (C:\Windows\nircmd.exe monitor off in your case) into a batch file, and then launch the batch file from the Powermate software. :)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.