Main menu

Search
Login
Signup
Links
<< Previous thread | Next thread >>   
Compilare X-Launcher con AutoIt3 v3.2.4.0 e successivi

Go to page   <<      
Author Post
zandet2
Fri 15 Oct 2010 - 09:52

online

Registered Member #3184
Joined: Tue 06 Mar 2007 - 11:52
Location: Busto Arsizio
Posts: 3301
Nuvolari,
stai usando la versione di AutoIt che ti ho indicato?

Back to top
Nuvolari
Fri 15 Oct 2010 - 10:04

online
Registered Member #4173
Joined: Mon 16 Apr 2007 - 12:27
Posts: 294
zandet2 wrote ...

Nuvolari,
stai usando la versione di AutoIt che ti ho indicato?





No, sto provando con la 3.3.6.1 , pensavo che i problemi di retrocompatibilità cui ti riferivi fossero inerenti al discorso ANSI.

Sul sito di AutoIt non mi sembra di trovare link per vecchie versioni, dove posso trovare la 3.2.12.1 (magari .zip)?
Poi ci posso unire l'ultima di "AutoIt Script Editor" (2/28/2010)?

Grazie per l'aiuto


EDIT: Mi correggo, ho trovato... provo e faccio sapere


[ Edited Fri 15 Oct 2010 - 10:07 ]
Back to top
zandet2
Fri 15 Oct 2010 - 10:11

online

Registered Member #3184
Joined: Tue 06 Mar 2007 - 11:52
Location: Busto Arsizio
Posts: 3301
Guarda nella pagina di download di AutoIt -Link- :
a metà pagina trovi il link diretto per la 3.2.12.1 e il rimando all'archivio storico delle versioni -Link- .

Non so dirti se è compreso anche Scite4Autoit3, ma non dovrebbero esserci problemi anche per la nuova versione.

La retrocompatibilità non è solo per l'Ansi, ma AutoIt stesso dalla versione 3.3 non supporta più i SO meno recenti; al suo interno diverse funzioni sono state riscritte.
Back to top
Nuvolari
Fri 15 Oct 2010 - 10:26

online
Registered Member #4173
Joined: Mon 16 Apr 2007 - 12:27
Posts: 294
Con AutoIt 3.2.12.1 e l'ultimo AutoIt Script Editor (2/28/2010) tutto funziona a meraviglia
Grazie per l'aiuto e per la pazienza
Back to top
Taf
Tue 05 Jan 2016 - 08:46

online

Registered Member #251
Joined: Mon 22 Jan 2007 - 10:12
Location: Buttrio (UD)
Posts: 3357
ENGLISH VERSION OF Tittoproject ORIGINAL POST (I'm sorry for my "basic" English... )

WARNING!: All following informations has been tested with AutoIt3 v3.2.4.9 e SciTe4AutoIt3 6/18/2007.

UNICODE support
Since Autoit rel. 3.2.4.0, program is compiled with Unicode support.

So, after this implementation all x-launcher compiled with AutoIt v3.2.4.0 and newer versions will NOT run on Windows 98 and ME (but You can compile also in ANSI mode. See related infos in this post).

How to compile a "x-launcher"
First of all, to compile a "x-launcher" must be installed AutoIt3 and Scite4AutoIt3. Moreover, if You want to modify file infos (icon, author, etc...) You must use Resource Hacker. This program must be located into "AutoIt3Wrapper" folder, present in Scite4AutoI3 installation folder (typical path: C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper)

New sintax for compiling intructions
Since AutoIt 3.2.4.0 some modifications in compiling sintax are introduced.
This small issue is easy to solve: for compiling instructions update, you need only a small text replacement in some strings.

You need to substitute:
a) ALL strings #Compiler_ with #AutoIt3Wrapper_
b) starting string #Region Compiler directives section with #Region

This is an example with OLD syntax:
#Region Compiler directives section

;** AUT2EXE settings
#Compiler_Icon = x-icon.ico
#Compiler_UseUpx = y

;** Target program Resource info
#Compiler_Res_Description = X-Firefox
#Compiler_Res_Comment = by tittoproject
#Compiler_Res_Fileversion = 1.1
#Compiler_Res_LegalCopyright = GNU General Public License
#Compiler_Res_Field = Web|www.winpenpack.com
#Compiler_Res_Field = eMail|tittoproject@gmail.com
#Compiler_Res_Field = AutoIt Version|%AutoItVer%

#EndRegion

;** Include X-Launcher's source code
#include 'x-launcher.au3'

And here you can see UPDATED syntax of same example:
#Region

;** AUT2EXE settings
#AutoIt3Wrapper_Icon = x-icon.ico
#AutoIt3Wrapper_UseUpx = y

;** Target program Resource info
#AutoIt3Wrapper_Res_Description = X-Firefox
#AutoIt3Wrapper_OutFile = X-Firefox
#AutoIt3Wrapper_Res_Comment = by tittoproject
#AutoIt3Wrapper_Res_Fileversion = 1.1
#AutoIt3Wrapper_Res_LegalCopyright = GNU General Public License
#AutoIt3Wrapper_Res_Field = Web|www.winpenpack.com
#AutoIt3Wrapper_Res_Field = eMail|tittoproject@gmail.com
#AutoIt3Wrapper_Res_Field = AutoIt Version|%AutoItVer%

#EndRegion

;** Include X-Launcher's source code
#include 'x-launcher.au3'

Last passage is a Scite compiling (Tools --> Compile). Following window will be opened, where you can modify compiling options. IMPORTANT: Here you can also compile using ANSI mode to have a x-launcher supported also in Win98/ME.



If you want ANSI mode as DEFAULT you need to add following instruction:
#AutoIt3Wrapper_UseAnsi = y


[ Edited Tue 05 Jan 2016 - 08:51 ]
Back to top

Go to page   <<      
Moderators: Danix, Taf, Rcs, Energy, zandet2, ZioZione, Admin, LordJim60

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System