It is currently March 29th, 2024, 6:51 am

Gamehub launch with hotkey

Get help with creating, editing & fixing problems with skins
Venom
Posts: 7
Joined: September 9th, 2021, 6:55 pm

Re: Gamehub launch with hotkey

Post by Venom »

balala wrote: September 11th, 2021, 10:51 am Alright, then it's quite easy to achieve what you want. Here is an example, please try it out:

Code: Select all

[Rainmeter]
Update=-1

[MeasureActivate]
Measure=Plugin
Plugin=HotKey
HotKey=CTRL G
KeyDownAction=[!ActivateConfig "GameHUB 2" "GameHUB.ini"]
DynamicVariables=1

[MeterPI]
Meter=STRING
X=0
Y=0
Padding=15,5,15,5
FontColor=220,220,220
FontEffectColor=0,0,0
StringEffect=Shadow
SolidColor=0,0,0,150
FontSize=8
FontFace=Segoe UI
StringStyle=BOLD
StringAlign=LEFT
AntiAlias=1
Text=Toggle GameHUB 2
LeftMouseUpAction=[!ActivateConfig "GameHUB 2" "GameHUB.ini"]
This skin shows a Toggle GameHUB 2 string. For now you can either click this string or hit the Ctrl-G key combination to activate the skin. The key combination can easily be changed to (almost) whatever you want. What key combination would you want to use?
Later if needed we can eliminate the visual element (the Toggle GameHUB 2 string). Do you want this?
do i replace that with my code in GameHUB file?
because if i do the skin doestn work anymore at all
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Gamehub launch with hotkey

Post by balala »

Venom wrote: September 11th, 2021, 10:08 pm do i replace that with my code in GameHUB file?
because if i do the skin doestn work anymore at all
No, no, at all. This has to be a new skin (if you don't know how to create it, here is a short description). The key hit will execute the associated skin activation ONLY if this skin is loaded.
If you don't succeed, please let me know for assistance.
Venom
Posts: 7
Joined: September 9th, 2021, 6:55 pm

Re: Gamehub launch with hotkey

Post by Venom »

balala wrote: September 12th, 2021, 10:12 am No, no, at all. This has to be a new skin (if you don't know how to create it, here is a short description). The key hit will execute the associated skin activation ONLY if this skin is loaded.
If you don't succeed, please let me know for assistance.
works perfectly. thank you so much
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Gamehub launch with hotkey

Post by balala »

Venom wrote: September 13th, 2021, 4:08 pm works perfectly. thank you so much
Great! :thumbup:
d3m9n_am3y
Posts: 2
Joined: November 18th, 2022, 1:52 am

Re: Gamehub launch with hotkey

Post by d3m9n_am3y »

Wow your knowledge so over the roof. Thanks for the guide. That helped me a lot. Thanks.
d3m9n_am3y
Posts: 2
Joined: November 18th, 2022, 1:52 am

Re: Gamehub launch with hotkey

Post by d3m9n_am3y »

Please can you tell me how to remove the text. It will be so helpful.Thanks in advanced.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Gamehub launch with hotkey

Post by balala »

d3m9n_am3y wrote: November 18th, 2022, 2:01 am Please can you tell me how to remove the text. It will be so helpful.Thanks in advanced.
Which text would you like to remove?