Jump to content

Recommended Posts

Posted

Hi, I need help on these 2 questions, and I am using the latest AutoIt scripts and SciTE4AutoIt3 Version 1.71

(1) I am creating a script to do stuffs from my external drive, what is the command to read the volume of a drive?

(2) when using Scite, when I goto "Tools\Go (F5)", it does not run the script, what must I do?

Thanks

Posted

(1) I am creating a script to do stuffs from my external drive, what is the command to read the volume of a drive?

If you mean the volume label (straight from the help file):
#include <WindowsConstants.au3>
#include <ButtonConstants.au3>

If you mean lower level details, like from WMI, you'll have to be more specific about what you want to read.

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Posted

If you mean the volume label (straight from the help file):

#include <WindowsConstants.au3>
#include <ButtonConstants.au3>

If you mean lower level details, like from WMI, you'll have to be more specific about what you want to read.

:)

Thanks,

I found it in help file and What I mean is to find the volume label like this

$var = DriveGetLabel( "g:\" )

Posted

Thanks,

I found it in help file and What I mean is to find the volume label like this

$var = DriveGetLabel( "g:\" )

Glad you got it, and a quote from DriveGetLabel() is exactly what I meant to post.

What wound up in my earlier post was code from another topic I was responding to. Sorry for the confusion.

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...