Ok. Sorry. Never mind. I actually think I read the lua to identify the dependency. I READ it! So cool. My brain just got smarterer.CodeCode wrote: ↑November 20th, 2021, 4:22 am Hello.
After realizing what I actually did, by modifying your driveinfo skin, I went back to the Titan Drives base and added the necessary sections etc that I needed.
I am now trying to implement and integrate the lua script's advantages to enhance Titan's functionality.
This bit of code is meant to retrieve all the specs of each drive:The output is literally what is in the Text option. So I surmise that there is a dependency for that to get the info rather then the literal string.Code: Select all
[DriveSpace1] Meter=String X=r Y=15r FontSize=8 StringAlign=LeftCenter Text=[&pName:GetSpaceLabel(1)] MeterStyle=Contents Hidden=(1-[&pName:IsDrive(1)]) DynamicVariables=1 Container=Container1
I dont really know where to look.
These are in the ini as well:So I am missing something for this purpose.Code: Select all
[Label] Measure=Plugin Plugin=DriveInfo Drive=G Type=FileSystem [pName] Measure=Script ScriptFile=#@#Scripts\TitanDrives.lua
Any help is appreciated.
It is currently September 8th, 2024, 2:41 am
Plugin DriveInfo
-
- Posts: 1383
- Joined: September 7th, 2020, 2:24 pm
- Location: QLD, Australia
Re: Plugin DriveInfo
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
-
- Rainmeter Sage
- Posts: 1398
- Joined: April 24th, 2021, 8:13 pm
Re: Plugin DriveInfo
You can post the skin here. Can't really say anything without looking at it.CodeCode wrote: ↑November 20th, 2021, 4:22 am Hello.
After realizing what I actually did, by modifying your driveinfo skin, I went back to the Titan Drives base and added the necessary sections etc that I needed.
I am now trying to implement and integrate the lua script's advantages to enhance Titan's functionality.
This bit of code is meant to retrieve all the specs of each drive:The output is literally what is in the Text option. So I surmise that there is a dependency for that to get the info rather then the literal string.Code: Select all
[DriveSpace1] Meter=String X=r Y=15r FontSize=8 StringAlign=LeftCenter Text=[&pName:GetSpaceLabel(1)] MeterStyle=Contents Hidden=(1-[&pName:IsDrive(1)]) DynamicVariables=1 Container=Container1
I dont really know where to look.
These are in the ini as well:So I am missing something for this purpose.Code: Select all
[Label] Measure=Plugin Plugin=DriveInfo Drive=G Type=FileSystem [pName] Measure=Script ScriptFile=#@#Scripts\TitanDrives.lua
Any help is appreciated.
from the Realm of Death
-
- Posts: 1383
- Joined: September 7th, 2020, 2:24 pm
- Location: QLD, Australia
Re: Plugin DriveInfo
This was the dependency. Added to every index:death.crafter wrote: ↑November 20th, 2021, 5:14 am You can post the skin here. Can't really say anything without looking at it.
Code: Select all
[mName1]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=FileName
Index=1
DynamicVariables=1
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
-
- Rainmeter Sage
- Posts: 1398
- Joined: April 24th, 2021, 8:13 pm
Re: Plugin DriveInfo
Ohh, yes it is. I process the measure's string value to get drive labels.CodeCode wrote: ↑November 20th, 2021, 6:04 am This was the dependency. Added to every index:Code: Select all
[mName1] Measure=Plugin Plugin=FileView Path=[mPath] Type=FileName Index=1 DynamicVariables=1
from the Realm of Death
-
- Posts: 1383
- Joined: September 7th, 2020, 2:24 pm
- Location: QLD, Australia
Re: Plugin DriveInfo
Hello d.c
I have a request, if you have the time?
Could this be implemented into the plugin? ::
Of course the code would be different, but having both ps1 and lua seems a bit tacky.
Thanks for this cool plugin![Great :great:](./images/smilies/dn.gif)
I have a request, if you have the time?
Could this be implemented into the plugin? ::
Code: Select all
[MeasureGetDriveBus]
Measure=Plugin
Plugin=PowershellRM
Line=Get-Partition | Out-Null
Line2=(Get-PhysicalDisk | Where-Object DeviceId -eq (Get-Partition -DriveLetter #DriveLetter#).DiskNumber).BusType
Thanks for this cool plugin
![Great :great:](./images/smilies/dn.gif)
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
-
- Rainmeter Sage
- Posts: 1398
- Joined: April 24th, 2021, 8:13 pm
Re: Plugin DriveInfo
I'll try. But I don't promise anything as I am a newbie.CodeCode wrote: ↑November 24th, 2021, 11:20 am Hello d.c
I have a request, if you have the time?
Could this be implemented into the plugin? ::Of course the code would be different, but having both ps1 and lua seems a bit tacky.Code: Select all
[MeasureGetDriveBus] Measure=Plugin Plugin=PowershellRM Line=Get-Partition | Out-Null Line2=(Get-PhysicalDisk | Where-Object DeviceId -eq (Get-Partition -DriveLetter #DriveLetter#).DiskNumber).BusType
Thanks for this cool plugin![]()
from the Realm of Death