Jump to content
Sign in to follow this  
crystalburner

search

Recommended Posts

crystalburner

Hi

Im trying to search certain folders and their subfolders for a file type

*.pst

*.ost

*.dbx

$search = FileFindFirstFile("c:\*.pst")

this command only looks in the current folder, what i want to do is say something like this

$search = FileFindFirstFile("*.PST,*.DBX,*.OST") in "c:\documents and settings" plus all subfolders

I guess the results would go into an array because there could be several folders found

Or did I just make a complete idiot of myself (blush)

Crystal

Share this post


Link to post
Share on other sites
BigDod
Another topic worth looking at.


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites
Qual-IT London

Thanks guys !

silly question but shouldn't the message boxes stay over the application?, like if you click on the application the message box falls behind it and then you get stuck! :o

Share this post


Link to post
Share on other sites
Qual-IT London

Thanks guys !

silly question but shouldn't the message boxes stay over the application?, like if you click on the application the message box falls behind it and then you get stuck! :o

Share this post


Link to post
Share on other sites
Valuater

check out the code wizard in scite

open SciTE

press Tools > CodeWizard

that will make message boxes for you and you can use the checkbox... set-on-top

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
crystalburner

check out the code wizard in scite

open SciTE

press Tools > CodeWizard

that will make message boxes for you and you can use the checkbox... set-on-top

8)

Oh okey!

um... whats SCiTE? :o

Is there no way of just telling AutoIT to put the box always on top?

Share this post


Link to post
Share on other sites
andyswarbs
crystalburner

www.autoitscript.com/autoit3/scite/ (imo) provides you with the most amazing and powerful development environment for au3.

so its not possible to just do this with autoIT?

there is a msgbox code for always on top but its only an OKbutton and I need yes / no

Share this post


Link to post
Share on other sites
BigDod

MsgBox(262148,"Message","This message box has yes/no buttons and is always on top")



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites
crystalburner

MsgBox(262148,"Message","This message box has yes/no buttons and is always on top")
cool!

why wasn't that in the manual!?

Share this post


Link to post
Share on other sites
BigDod

cool!

why wasn't that in the manual!?

It is in the help file

The flag parameter can be a combination of the following values:

and

** Only valid on Windows 2000/XP and above.

For example, to specify a SYSTEMMODAL box with the YES/NO buttons the flag value would be 4096+4 (or 4100) If using hexadecimal flags, that would be 0x1000+0x4 (or 0x1004).

Perhaps it could be a little clearer.


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

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.