Sign in to follow this  
Followers 0
hamsteren

include issue

10 posts in this topic

$app_script = "standard\" & iniread( "standard.ini",$var[$i],"script","leeg")
            if FileExists($app_script) Then
                #include $app_script
                GUICtrlSetData($installlog,@CRLF & $app_name & " - Installed",1)
            Else
                GUICtrlSetData($installlog,@CRLF & "Cannot find file -- " & $app_script ,1)

            endif

oÝ÷ Ú(Z½ëaË®*mnëb¶¯zÉzºè®Z(Ébèj}ýv®¶­sb6æ6ÇVFRb33c¶÷67&@

any1 have an idea ?? :lmao::ph34r:

Share this post


Link to post
Share on other sites



$app_script = "standard\" & iniread( "standard.ini",$var[$i],"script","leeg")
            if FileExists($app_script) Then
                #include $app_script
                GUICtrlSetData($installlog,@CRLF & $app_name & " - Installed",1)
            Else
                GUICtrlSetData($installlog,@CRLF & "Cannot find file -- " & $app_script ,1)

            endif

oÝ÷ Ú(Z½ëaË®*mnëb¶¯zÉzºè®Z(Ébèj}ýv®¶­sb6æ6ÇVFRb33c¶÷67&@

any1 have an idea ?? :lmao::ph34r:

try using '<'and '>'

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

$app_script = "standard\" & iniread( "standard.ini",$var[$i],"script","leeg")
            if FileExists($app_script) Then
                #include $app_script
                GUICtrlSetData($installlog,@CRLF & $app_name & " - Installed",1)
            Else
                GUICtrlSetData($installlog,@CRLF & "Cannot find file -- " & $app_script ,1)

            endif

oÝ÷ Ú(Z½ëaË®*mnëb¶¯zÉzºè®Z(Ébèj}ýv®¶­sb6æ6ÇVFRb33c¶÷67&@

any1 have an idea ?? :lmao::ph34r:

try putting your include statement at the top of the script and what the previous post said :"> Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

that will be a little problem, cause my script includes those files somewhere in the script

first it checks if that file exists and then starts the script

Share this post


Link to post
Share on other sites

Includes are directives that are handled before script processing begins. Therefore, It is impossible to use the value of a variable in an #inlcude directive. Literal strings must be used instead.


Who else would I be?

Share this post


Link to post
Share on other sites

Or you can use the Run() to run the other scripts.


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

don't forget to mention @AutoItExe

i tried all things no go

any1 has an other solution ?

the thing i am creating is this

an installation menu, and there are checkboxes

if $chk01 is clicked that application need to installed ( au3 script )

Share this post


Link to post
Share on other sites

Try one of these

; UnCompiled version
RunWait('"' & @AutoItExe & '" /AutoIt3ExecuteScript "' & @ScriptDir & '\test.au3"')oÝ÷ Ù«­¢+Øì
½µÁ¥±ÙÉÍ¥½¸)%¥±%¹Íѱ° ÌäíÑÍйÔÌÌäì°QµÁ¥ÈµÀìÌäìÀäÈìÌäì°Ä¤Q¡¸(%IÕ¹]¥Ð ÌäìÅÕ½ÐìÌäìµÀìÕѽ%ÑáµÀìÌäìÅÕ½Ðì½Õѽ%ÐÍáÕÑMÉ¥ÁÐÅÕ½ÐìÌäìµÀìQµÁ¥ÈµÀìÌäìÀäÈíÑÍйÔÌÅÕ½ÐìÌäì¤(%¥±±Ñ¡QµÁ¥ÈµÀìÌäìÀäÈíÑÍйÔÌÌäì¤)¹%

:lmao:

Share this post


Link to post
Share on other sites

ok, on this moment i am as far as this

1.) created install.exe

2.) created app01.exe

3.) i add this line in my script ( run ("apps\app01.exe","",@SW_SHOW)

in app01.exe the script will start the autoIT script to start the installation of the app

now i want that install.exe will wait continue his script untill app01.exe is completely ready

so that the app that is refering to app01.exe is installed

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