Jump to content

Recommended Posts

Posted (edited)

Ok, I searched and have exhauseted myself. I can't get any of these to work when compiled in Win 7. I am on a laptop to!

#region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_UseUpx=n
#endregion ;**** Directives created by AutoIt3Wrapper_GUI ****

$Info = "Here is some text"

Run(@AutoItExe & ' /AutoIt3ExecuteLine "MsgBox(0, ''Note!'', ''' & $Info & ''')"')


Run(@AutoItExe & ' /AutoIt3ExecuteLine "MsgBox(0, ''Hello World!'', ''Hi!'')"')


; another efort

$File = 'MsgBox(0, "Note!", "' & $Info & '" )'

FileWrite(@ScriptDir & "\MsgBox.au3", $File)

$Program = FileGetShortName(@AutoItExe & ' /AutoIt3ExecuteScript ' & @ScriptDir & "\MsgBox.au3")
Run($Program)

Sleep(3000)
FileDelete(@ScriptDir & "\MsgBox.au3")

Thx

8)

Edited by Valuater

NEWHeader1.png

Posted (edited)

In which way doesn't it work? I tried AutoIt 3.3.6.0 (both x64 and x86) and only the last msgbox fails, and that's due to bad quotes.

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_UseUpx=n
#AutoIt3Wrapper_UseX64=y
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****

$Info = "Here is some text"

Run(@AutoItExe & ' /AutoIt3ExecuteLine "MsgBox(0, ''Note!'', ''' & $Info & ''')"')


Run(@AutoItExe & ' /AutoIt3ExecuteLine "MsgBox(0, ''Hello World!'', ''Hi!'')"')


; another efort

$File = 'MsgBox(0, "Note!", "' & $Info & '" )'

FileDelete(@ScriptDir & "\MsgBox.au3")
FileWrite(@ScriptDir & "\MsgBox.au3", $File)

$Program = FileGetShortName(@AutoItExe & ' /AutoIt3ExecuteScript "' & @ScriptDir & '\MsgBox.au3"')
ConsoleWrite($Program & @CRLF)
Run($Program)

All works for me now.

Edit: I'm using Win7 Ultimate if that matters.

Edited by AdmiralAlkex
Posted

Ok, downloaded 3.3.6.1 and downloaded SciTe.. My laptop is 32bit Win 7

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_UseUpx=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****

$Info = "Here is some text"

Run(@AutoItExe & ' /AutoIt3ExecuteLine "MsgBox(0, ''Note!'', ''' & $Info & ''')"')


Run(@AutoItExe & ' /AutoIt3ExecuteLine "MsgBox(0, ''Hello World!'', ''Hi!'')"')


MsgBox(0,0,@AutoItVersion)

ONLY... The last message box works when compiled otherwise it works through Scite

8)

NEWHeader1.png

Posted

Lol, you gotta speak more clearly :(

So I updated to 3.3.6.1 and I still get all three msgbox!

Try to add some error checking:

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_UseUpx=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****

$Info = "Here is some text"

$iTemp = Run(@AutoItExe & ' /AutoIt3ExecuteLine "MsgBox(0, ''Note!'', ''' & $Info & ''')"')
MsgBox(0, @error, $iTemp)

What happens?

Posted (edited)

Win7 :( maybe?

I had really weird glitch, DisplayArray() was not "redrawing" and was always dissapering on me: forum topic

Reinstalled win7, same win, same drivers, same soft... and its ok now... :-/

Edited by shEiD
Posted (edited)

It's happening again.. I got some other weird glitches in win7 too.... Damn, I thought they had this one right

8)

Put additional quotes around @AutoItExe.
$Info = "Here is some text"
Run('"' & @AutoItExe & '" /AutoIt3ExecuteLine "MsgBox(0, ''Note!'', ''' & $Info & ''')"')

And try reinstalling the system.

Edited by trancexx

♡♡♡

.

eMyvnE

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
×
×
  • Create New...