How about a variable for cd-rom drive?

Got an idea, post it here

How about a variable for cd-rom drive?

Postby Naylia on Wed Nov 09, 2005 4:25 pm

Hey, how about a variable that is a reference for the cd-rom drive, which can be set by the user in the setup menu. This way all my play dvd commands could use a variable instead of hardcoding 'D:\' and having to have people go in and modify all the events that use 'D:\' if they happen to use 'E:\'.
Naylia
 
Posts: 530
Joined: Tue Oct 19, 2004 7:50 pm
Location: Boston, MA

Postby lar282 on Thu Nov 10, 2005 7:08 am

lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby vicom on Fri Nov 11, 2005 2:29 pm

+1 again...
vicom
 
Posts: 206
Joined: Tue Apr 20, 2004 6:16 am
Location: South Africa

Postby lar282 on Thu Apr 20, 2006 9:22 am

bump
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby Naylia on Thu Apr 20, 2006 2:50 pm

Please :)
Naylia
 
Posts: 530
Joined: Tue Oct 19, 2004 7:50 pm
Location: Boston, MA

Postby sagitaz on Thu Apr 27, 2006 3:03 pm

if you wan use a variable for drive letter.

1 - create a Drive database :
<xml>
<database>
<sortorder>display</sortorder>
<paths>
</paths>
<item>
<parameter>W:\</parameter>
<display>Drive</display>
</item>

</database>


parameter = you drive letter

2 - on your skin create a new screen with a category drive and asign it the drive database.

3 - if you need the drive letter for an event, use %drive>parameter% in the variable.
sagitaz
 
Posts: 114
Joined: Mon Jul 05, 2004 11:17 pm

Postby jowaldo on Thu Apr 27, 2006 3:36 pm

sagitaz wrote:if you wan use a variable for drive letter.

1 - create a Drive database :
<xml>
<database>
<sortorder>display</sortorder>
<paths>
</paths>
<item>
<parameter>W:\</parameter>
<display>Drive</display>
</item>

</database>


parameter = you drive letter

2 - on your skin create a new screen with a category drive and asign it the drive database.

3 - if you need the drive letter for an event, use %drive>parameter% in the variable.


smart thinkin!
jowaldo
 
Posts: 903
Joined: Wed May 21, 2003 7:17 pm

Postby lar282 on Thu Apr 27, 2006 5:20 pm

still for beginners and sharing skin among others, it would really be nice to have.

PS:the idea of your is smart:DS

//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby lar282 on Mon Mar 19, 2007 9:13 am

Steven, since u are gonna sell xlobby now and make it easy for users to set it up, maybe a variable is a good idea. both for Deamin tools drive and the regular dvd drive.

//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden