Sign in to follow this  
Followers 0
Valuater

FileExists(@ProgramFilesDir & "\AutoIt3\beta\AutoIt3.exe")

2 posts in this topic

#1 ·  Posted (edited)

I love it... great idea...

Dim $AutoIt_Beta_Exists = FileExists(@ProgramFilesDir & "\AutoIt3\beta\AutoIt3.exe")
Dim $SciTe_Exists = FileExists(@ProgramFilesDir & "\AutoIt3\SciTe\SciTe.exe")


If Not $AutoIt_Beta_Exists Then
$DownLoad_AutoIt_Beta = "http://www.autoitscript.com/autoit3/files/beta/autoit/"
DllCall("shell32.dll", "long", "ShellExecute", "hwnd", 0, "string", 'open', "string" _ 
, $DownLoad_AutoIt_Beta, "string", '', "string", @ScriptDir, "long", @SW_SHOWNORMAL)
EndIf

If Not $SciTe_Exists Then
$DownLoad_SciTe_Editor = "http://www.autoitscript.com/autoit3/scite/downloads.php"
DllCall("shell32.dll", "long", "ShellExecute", "hwnd", 0, "string", 'open', "string" _ 
, $DownLoad_SciTe_Editor, "string", '', "string", @ScriptDir, "long", @SW_SHOWNORMAL)
EndIf

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Blah!!

Yeah!

You could of PM'd that rather than starting a WHOLE THREAD on it B) !!

Edited by ronsrules

[center]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.[/center]

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