Let me first explain why you are having issues placing the button where you want.
The icon image I used is actually 10 times larger than the image you see in the skin. This is accomplished by the TransformationMatrix code in the meter. It modifies the displayed image to my scale variable which is 0.1, so the icon appears one-tenth of it's actual size. The TransformationMatrix code modifies the displayed image, but it DOES NOT CHANGE THE ORIGINAL SIZE OF THE IMAGE. So although you see a small icon, the skin is 10 times larger vertically and horizontally. The reddish area in the image below shows the actual size of the skin if the icon was scaled to 1x; that is why you can not move it all the way to the right edge or to the screen bottom. The simplest solution is to edit the image in a graphic editor and make it the size you want in your skin (I did it below), but did not edit the code to use that image.
You removed the [Rainmeter] section from the code, which had the action bang. Without that, there is no toggle of all skins, no modifying of the OnUpdateAction in the meter, and no refresh the skin to reset the skin for the next action (basically the heart and soul of my skin)... but this will still show all skins all the time every second. So when you toggle your skins with the button, 1 second later the OnUpdateAction will show all skins again!
What you posted will only toggle your active group when you left click the string meter, and then use the [#Action[#Action]] variable in the OnUpdateAction to show all skins, because there is no [Rainmeter] section, and the skin updates at the default 1000 ms.
I would suggest NOT putting it back into the code unless you want to hide all skin (including this one), then toggle your group; I haven't tried doing that since I do not know what you want to happen in your code.
I would suggest editing the icon to the size you want, use that in the image meter, remove the TransformationMatrix line from the image meter, remove the OnUpdateAction line, and add some left padding to the string meter so the text does not cover the icon. That will let you move the button almost anywhere and toggle your skin group.
Code: Select all
; ========= Variables ==========
[Variables]
Scale=0.1
; Scale Suggested Sizes
; Scale 0.0625 will match notification area icon size
; Scale 0.0625 will also match Windows 10 small taskbar icon size
; Scale 0.1 will match Windows 10 taskbar size
;
;VVVVVVVVVVVVVVV <<<< This button (Image) I want to use instead of the framed Text= Button above.
; DO NOT EDIT THESE
Action=0
Action1=[!Hide *][!show "MyToggleSkinGroup"][!Redraw]
Action0=[!Show *][!Redraw]
; ========= Meters ==========
[ToggleTelemetry]
Meter=String
SolidColor=100,100,100,100
Padding=24,8,8,8
FontColor=255,255,255
Text="Toggle Skins"
LeftMouseUpAction=[!ToggleGroup "MyToggleSkinGroup"]
[Image]
Meter=Image
ImageName=#@#Images\Rainmeter_256
SolidColor=0,0,0,1
OnUpdateAction=[#Action[#Action]]
TransformationMatrix=#Scale#;0;0;#Scale#;0;0
DynamicVariables=1