Sign in to follow this  
Followers 0
alex16

File loader

4 posts in this topic

Hey guys,

I am new to scripting and am willing to learn and am wondering if there is a way to create a GUI that can be run which will be able to show a specific list of a file structure and load a programe that is selected.

A little like a menu but there are more options built in other then just launching the file.

It is so that i can launch some .pdf's

Any ideas,

Code will be welcome.

This is the GUI that i have created but am not sure how to get the file structure in place or for the launch button to work properly.

#Region --- CodeWizard generated code Start ---

;MsgBox features: Title=Yes, Text=Yes, Buttons=OK and Cancel, Icon=Warning, Modality=Task Modal

If Not IsDeclared("iMsgBoxAnswer") Then Local $iMsgBoxAnswer

$iMsgBoxAnswer = MsgBox(8241,"Browse pc plus pdf","This will now load the PDF Archive wizard")

Select

Case $iMsgBoxAnswer = 1 ;OK

Case $iMsgBoxAnswer = 2 ;Cancel

EndSelect

#EndRegion --- CodeWizard generated code End ---

SplashTextOn("PC Plus Archive Loader", "Please be patient while we try and load the archive", -1, -1, -1, -1, 4, "", 24)

Sleep(3000)

SplashOff()

Thanks,

Alex

Share this post


Link to post
Share on other sites



FileOpenDialog()

FileSelectFolder()


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

Hey guys,

I am new to scripting and am willing to learn and am wondering if there is a way to create a GUI that can be run which will be able to show a specific list of a file structure and load a programe that is selected.

A little like a menu but there are more options built in other then just launching the file.

It is so that i can launch some .pdf's

Any ideas,

Code will be welcome.

This is the GUI that i have created but am not sure how to get the file structure in place or for the launch button to work properly.

#Region --- CodeWizard generated code Start ---

;MsgBox features: Title=Yes, Text=Yes, Buttons=OK and Cancel, Icon=Warning, Modality=Task Modal

If Not IsDeclared("iMsgBoxAnswer") Then Local $iMsgBoxAnswer

$iMsgBoxAnswer = MsgBox(8241,"Browse pc plus pdf","This will now load the PDF Archive wizard")

Select

Case $iMsgBoxAnswer = 1 ;OK

Case $iMsgBoxAnswer = 2 ;Cancel

EndSelect

#EndRegion --- CodeWizard generated code End ---

SplashTextOn("PC Plus Archive Loader", "Please be patient while we try and load the archive", -1, -1, -1, -1, 4, "", 24)

Sleep(3000)

SplashOff()

Thanks,

Alex

Share this post


Link to post
Share on other sites

Lets keep it to one topic on the same subject, not putting it in multiple forums.


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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