It is currently April 18th, 2024, 6:44 am

DVD disk size

Get help with creating, editing & fixing problems with skins
mrDark
Posts: 3
Joined: May 25th, 2010, 3:32 pm

DVD disk size

Post by mrDark »

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

Re: DVD disk size

Post by P2C »

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:\)
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: DVD disk size

Post by Chewtoy »

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

Re: DVD disk size

Post by mrDark »

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?
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: DVD disk size

Post by jsmorley »

I do not believe that CD/DVD drives are supported.
mrDark
Posts: 3
Joined: May 25th, 2010, 3:32 pm

Re: DVD disk size

Post by mrDark »

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