It is currently April 18th, 2024, 6:44 am
Get help with creating, editing & fixing problems with skins
mrDark
Posts: 3 Joined: May 25th, 2010, 3:32 pm
Post
by mrDark » May 25th, 2010, 5:57 pm
How to read the DVD disk size?
Following configuration is not working:
Code: Select all
[MeasureDiskTotal]
Measure=FreeDiskSpace
IgnoreRemovable=0
Drive=#DISK#
Total=1
Sorry for my English - translated by Google
P2C
Posts: 45 Joined: November 13th, 2009, 10:22 pm
Location: near Würzburg, Germany
Post
by P2C » May 25th, 2010, 7:57 pm
Drive=#Disk# probably won't work
Try:
Code: Select all
[MeasureDiskTotal1]
Measure=FreeDiskSpace
IgnoreRemovable=0
Drive=E:\
Total=1
or whereever your DVD-disk is located. (normaly either E:\ or F:\)
Chewtoy
Moderator
Posts: 995 Joined: June 10th, 2009, 12:44 pm
Location: Sweden
Post
by Chewtoy » May 25th, 2010, 11:25 pm
Depends on if #Disk# is defined or not.
If it isn't, it wont work. But it is a variable so it might very well be defined.
I don't think, therefore I'm not.
mrDark
Posts: 3 Joined: May 25th, 2010, 3:32 pm
Post
by mrDark » May 26th, 2010, 4:49 pm
Not working:
Code: Select all
[Variables]
DISK=M:
[MeasureDiskTotal]
Measure=FreeDiskSpace
IgnoreRemovable=0
Drive=#DISK#
Total=1
Not working:
Code: Select all
[MeasureDiskTotal]
Measure=FreeDiskSpace
IgnoreRemovable=0
Drive=M:\
Total=1
The result is always 0.
Any idea?
jsmorley
Developer
Posts: 22629 Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA
Post
by jsmorley » May 26th, 2010, 4:54 pm
I do not believe that CD/DVD drives are supported.
mrDark
Posts: 3 Joined: May 25th, 2010, 3:32 pm
Post
by mrDark » May 27th, 2010, 5:32 pm
Can read a name of the DVD.
Is it possible to do something like this:
If exist name of the DVD, it ... = !Execute [!RainmeterShowMeter IconDVD]
If NO exist name of the DVD, it ... = !Execute [!RainmeterHideMeter IconDVD]
Sorry for my English - translated by Google