It is currently April 26th, 2024, 7:29 pm

How to make a widget on NXT-OS?

Get help with creating, editing & fixing problems with skins
User avatar
Lukaka
Posts: 21
Joined: August 9th, 2016, 5:03 pm

How to make a widget on NXT-OS?

Post by Lukaka »

I have a skin, and I was wondering how to add it to the NXT-OS dashboard? I can post the skin I want to add if it helps, but is there a way to do it with any skin? thanks! :welcome:
I'm a minecraft fan and I make custom rainmeter skins that show when a minecraft user is on! (the users have to be on a official server, for instance Mineplex will not work, but wildcraftmc will)
:welcome:
User avatar
balala
Rainmeter Sage
Posts: 16174
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: How to make a widget on NXT-OS?

Post by balala »

Lukaka wrote:I have a skin, and I was wondering how to add it to the NXT-OS dashboard? I can post the skin I want to add if it helps, but is there a way to do it with any skin? thanks! :welcome:
I think you have to create a folder under the NXT-OS, and copy your ini file there. If that skin uses resources, add them to the @Resources folder of the NXT-OS folder (so, to Skins\NXT-OS\@Resources\ folder).
Don't forget to refresh all, otherwise Rainmeter won't see the newly added skin.
User avatar
Lukaka
Posts: 21
Joined: August 9th, 2016, 5:03 pm

Re: How to make a widget on NXT-OS?

Post by Lukaka »

I'll check that out thanks...
I'm a minecraft fan and I make custom rainmeter skins that show when a minecraft user is on! (the users have to be on a official server, for instance Mineplex will not work, but wildcraftmc will)
:welcome:
User avatar
balala
Rainmeter Sage
Posts: 16174
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: How to make a widget on NXT-OS?

Post by balala »

Lukaka wrote:I'll check that out thanks...
Ok, check it and let me know if helped.
User avatar
Lukaka
Posts: 21
Joined: August 9th, 2016, 5:03 pm

Re: How to make a widget on NXT-OS?

Post by Lukaka »

That did not do it... any other ideas?
I'm a minecraft fan and I make custom rainmeter skins that show when a minecraft user is on! (the users have to be on a official server, for instance Mineplex will not work, but wildcraftmc will)
:welcome:
User avatar
Lukaka
Posts: 21
Joined: August 9th, 2016, 5:03 pm

Re: How to make a widget on NXT-OS?

Post by Lukaka »

I figured it out. I had to put it in skins\NXT-OS Data\widgets\Widgetname\Widget.ini


(the widget.ini had to be called widget.ini, to name it something just name the folder it is in)

You also had to add this to the top

Code: Select all

@Include=#SKINSPATH#NXT-OS\@Resources\Framework\Widget.Framework
I'm a minecraft fan and I make custom rainmeter skins that show when a minecraft user is on! (the users have to be on a official server, for instance Mineplex will not work, but wildcraftmc will)
:welcome:
User avatar
Lukaka
Posts: 21
Joined: August 9th, 2016, 5:03 pm

Re: How to make a widget on NXT-OS?

Post by Lukaka »

Im stuck again... So this worked:

Code: Select all

@Include=#SKINSPATH#NXT-OS\@Resources\Framework\Widget.Framework
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1

[Metadata]
Name=Radarmap for NXT-OS Dashboard
Author=Lukaka
Information=Dashboard Monitor Widged
Version=1.0
License=None



[MeasureAnimLoop]
Measure=Calc
Formula=(MeasureAnimLoop % 9) + 1
Disabled=1

[MeterToggle]
Meter=STRING
X=3
Y=3
Padding=15,5,15,5
FontColor=220,220,220
SolidColor=0,0,0,150
FontSize=8
FontFace=Segoe UI
StringStyle=BOLD
StringAlign=LEFT
AntiAlias=1
Text=Toggle Radar
LeftMouseUpAction=[!ToggleMeter "MeterAnimLoop"][!Redraw]

[MeasureImage]
Measure=Plugin
Plugin=WebParser
UpdateRate=100
URL=http://sirocco.accuweather.com/nx_mosaic_400x300_public/sir/inmasirCT_.gif
Download=1
DownloadFile=current.gif
ForceReload=1
FinishAction=[!CommandMeasure MeasureExtract "Run"]
disabled=0
@Include=#SKINSPATH#NXT-OS\@Resources\Framework\Widget.Framework

[MeasureExtract]
Measure=Plugin
Plugin=RunCommand
UpdateRate=600
StartInFolder=#CURRENTPATH#DownloadFile
FinishAction=[!SetOption MeterAnimLoop ImageName current0000[*MeasureAnimLoop*].png][!EnableMeasure MeasureAnimLoop]
Program=#CURRENTPATH#gif2frames.exe
Parameter=#CURRENTPATH#DownloadFile\current.gif


[MeterAnimLoop]
Meter=Image
ImagePath=#CURRENTPATH#DownloadFile
DynamicVariables=1
MiddleMouseUpAction=[!PauseMeasure "MeasureAnimLoop"]
LeftMouseDownAction=[!UnpauseMeasure "MeasureAnimLoop"]

[Background]
Meter=Image
ImageName=Resources/Images/Background.png
W=384
H=200

[CloseOverlay]
Meter=Image
MeterStyle=Widget.CloseOverlay

[CloseButton]
Meter=Image
MeterStyle=Widget.CloseButton

However this did not work:

Code: Select all

@Include=#SKINSPATH#NXT-OS\@Resources\Framework\Widget.Framework
[Rainmeter]
Author=ZachC
AppVersion=1.0
Update=1000


[Metadata]
Name=Radarmap for NXT-OS Dashboard
Author=Lukaka
Information=Dashboard Monitor Widged
Version=1.0
License=None

;End of added Metadata

;To change the maps, replace the URLs below with one provided on the list of readme.txt

[Variables]
NationalRadarURL=https://icons.wxug.com/data/weather-maps/radar/united-states/united-states-current-radar.gif

;-------------------------------
[MeterToggle]
Meter=STRING
X=3
Y=3
Padding=15,5,15,5
FontColor=220,220,220
SolidColor=0,0,0,150
FontSize=8
FontFace=Segoe UI
StringStyle=BOLD
StringAlign=LEFT
AntiAlias=1
Text=Toggle image
LeftMouseUpAction=[!ToggleMeter "MeterAnimLoop"][!Redraw]
;-------------------------------

[NationalRadarImage]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=6000
Url=#NationalRadarURL#
Download=1
FinishAction=!RainmeterRedraw

[NationalRadar]
Meter=IMAGE
X=0
Y=0
W=300.5
H=170.5
MeasureName=NationalRadarImage

[Background]
Meter=Image
ImageName=Resources/Images/Background.png
W=384
H=200

[CloseOverlay]
Meter=Image
MeterStyle=Widget.CloseOverlay

[CloseButton]
Meter=Image
MeterStyle=Widget.CloseButton



Instead of showing up on the NXT-OS Dash, it just shows up on my desktop. What is different?!!?! I can't figure it out!
I'm a minecraft fan and I make custom rainmeter skins that show when a minecraft user is on! (the users have to be on a official server, for instance Mineplex will not work, but wildcraftmc will)
:welcome: