Jump to content
Sign in to follow this  
MSLx Fanboy

Restrict FileSelectFolder to Drive

Recommended Posts

MSLx Fanboy

Is there a way to allow a user to only select a drive from FileSelectFolder, and not go any deeper? I'm writing a GUI for cdburn (resource kit), and need the user to just select a drive.

Thanks


Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post


Link to post
Share on other sites
Valuater

i don't think so... but i would use this

DriveGetDrive

--------------------------------------------------------------------------------

Returns an array containing the enumerated drives.

DriveGetDrive ( "type" )

Parameters

type Type of drive to find:

"ALL", "CDROM", "REMOVABLE", "FIXED", "NETWORK", "RAMDISK", or "UNKNOWN"

just test for the "CDROM"

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
MSLx Fanboy

hehe, I looked up and down the tree for that...I just didn't look at that function ;)


Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post


Link to post
Share on other sites
Valuater

i knew that you knew that i knew that you knew that

i figured that you figured that i figured that

you knew that!

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
MSLx Fanboy

You love to go out of your way to make people think about what you say?

Anyways...All I have to do now if find a cmd-line app to create iso files...oh joy...


Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.