It is currently January 22nd, 2022, 5:56 am

Hotkey Macros For Games (Full screen issue)

Help with creating, editing & fixing problems with skins
Ragnorrk
Posts: 1
Joined: January 14th, 2022, 4:07 am

Re: Hotkey Macros For Games (Full screen issue)

Post by Ragnorrk »

paulhdunlap wrote: August 19th, 2020, 5:08 pm I am trying to use nircmd in rainmeter to get a menu system to work.

I have win 10.
NEXTstart is being used to create specialized menus. NEXTstart is set to show a menu at my mouse location when a certain shortcut key combo is pressed. I have been able to use nircmd to activate the desktop manager, but for some reason when I try to activate a different menu using the shortcut keys created in NEXTstart it doesn't work.

I have tried the NEXTstart keyboard shortcuts obviously and it works as promised when I activate them using the keyboard.

here is the ini code:

Code: Select all

[Rainmeter]
Update=1000
Author=yhon1

[MeterApps]

[App1]
Meter=String
MeterStyle=TitleStyle
StringStyle=Bold
FontFace=calibri
FontColor=f2f2f2
FontSize=16
AntiAlias=1
FontEffectColor=0,0,0
Text=Finder   
X=52
Y=2
MouseActionCursor=1

[Square1]
Meter=Image
SolidColor=0,0,0,1
H=23
w=63
x=52
y=0
LeftMouseUpAction=!Execute ["nircmd.exe" sendkeypress ctrl+9]

[App2]
Meter=String
MeterStyle=TitleStyle
FontFace=Calibri
FontColor=f2f2f2
FontSize=15
AntiAlias=1
Text=File
x=6R
y=2

[Square2]
Meter=Image
SolidColor=0,0,0,1
H=23
w=28
x=124
y=0

[App3]
Meter=String
MeterStyle=TitleStyle
Text=View
FontFace=Calibri
FontColor=f2f2f2
FontSize=15
AntiAlias=1
x=8R
y=2
MouseActionCursor=1

[Square3]
Meter=Image
SolidColor=0,0,0,1
H=23
w=38
x=164
y=0
LeftMouseUpAction=!Execute ["nircmd.exe" sendkeypress ctrl+shift+n]

[App4]
Meter=String
MeterStyle=TitleStyle
Text=Go
FontFace=Calibri
FontColor=f2f2f2
FontSize=15
AntiAlias=1
x=8R
y=2

[Square4]

Meter=Image
SolidColor=0,0,0,1
H=23
w=20
x=213
y=0
LeftMouseUpAction=!Execute ["nircmd.exe" sendkeypress alt+a]

[app5]
Meter=STRING
MeterStyle=TitleStyle
Text=Window
FontColor=f2f2f2
FontFace=calibri
FontSize=15
AntiAlias=1
X=10R
Y=2

[Square5]

Meter=Image
SolidColor=0,0,0,1
H=23
w=75A
x=245
y=0
LeftMouseUpAction=!Execute ["nircmd.exe" sendkeypress lwin+tab]

[app6]
Meter=STRING
MeterStyle=TitleStyle
Text=Help
FontColor=f2f2f2
FontFace=calibri
FontSize=15
AntiAlias=1
X=10R
Y=2
MouseActionCursor=1

[Square6]
Meter=Image
SolidColor=0,0,0,1
H=23
w=38
x=332
y=0
LeftMouseDownAction=!Execute [winver]
Again the line

Code: Select all

LeftMouseUpAction=!Execute ["nircmd.exe" sendkeypress lwin+tab]
works great, but the other ones don't.

any thoughts are appreciated.
Since Rainmeter bangs are designed to be executed via the command line, you could try creating a batch file, creating a shortcut to it, and assigning a hotkey to it in the shortcut's Properties window. I've never had any luck with it because it always starts a new Rainmeter instance for me, but there could be something strange with my configuration.

If no one else can come up with a better solution, you can use this programme that I created. It's available for download here. It can be used to perform any Rainmeter bang, which in your instance would be the!RefreshApp bang. I use it to show/hide skins through hotkeys, but it can also be used to run any Rainmeter bang, which in your case would be the!RefreshApp bang.