Sign in to follow this  
Followers 0
crystalburner

search

13 posts in this topic

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



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

Another topic worth looking at.

Thanks guys !

Share this post


Link to post
Share on other sites

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

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

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

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

Share this post


Link to post
Share on other sites

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

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

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

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  
Followers 0