Sign in to follow this  
Followers 0
PlatinumHex

File Properties

6 posts in this topic

Could someone tell me how to edit a compiled Autoit script's properties?

Like: File Description, File Version, File Comment, Copyright etc.

Thanks!

Share this post


Link to post
Share on other sites



PlatinumHex,

if you download the full version of SciTE4AutoIt3, which you can find here, you also get a load of additional goodies. One of these is Jos' AutoItWrapper which lets you add directives to you script like this:

#AutoIt3Wrapper_Res_Description=                ;Description field
#AutoIt3Wrapper_Res_Fileversion=                ;File Version
#AutoIt3Wrapper_Res_ProductVersion=             ;Product Version. Default is the AutoIt3 version used.
#AutoIt3Wrapper_Res_Language=                   ;Resource Language code . default 2057=English (United Kingdom)
#AutoIt3Wrapper_Res_LegalCopyright=

I would strongly recommend that you download and install this full version of SciTE to replace the cut-down version that is bundled with the AutoIt install - I have yet to meet anyone who has regretted it. :mellow:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

PlatinumHex,

if you download the full version of SciTE4AutoIt3, which you can find here, you also get a load of additional goodies. One of these is Jos' AutoItWrapper which lets you add directives to you script like this:

#AutoIt3Wrapper_Res_Description= ;Description field
#AutoIt3Wrapper_Res_Fileversion= ;File Version
#AutoIt3Wrapper_Res_ProductVersion= ;Product Version. Default is the AutoIt3 version used.
#AutoIt3Wrapper_Res_Language= ;Resource Language code . default 2057=English (United Kingdom)
#AutoIt3Wrapper_Res_LegalCopyright=

I would strongly recommend that you download and install this full version of SciTE to replace the cut-down version that is bundled with the AutoIt install - I have yet to meet anyone who has regretted it. :mellow:

M23

Thank you for the tip. And I thought I was using the full-version of SciTe all along!

When I compile it, the exe didn't show. Where did it go?

Edited by PlatinumHex

Share this post


Link to post
Share on other sites

PlatinumHex,

The exe is usually in the same folder as the script - unless you have asked for it to be elsewhere using AutoIt3Wrapper. Are you sure it compiled? Did you get any warnings?

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Melba23, rajeshontheweb

Thanks for replying my post.

>"F:\Program Files\AutoIt\SciTe\SciTE4AutoIt3\AutoIt3Wrapper\AutoIt3Wrapper.exe" /ShowGui /in "C:\Users\Gavin\Desktop\Project_HM\Code_Source.au3"
+>15:44:52 Starting AutoIt3Wrapper v.2.0.1.22   Environment(Language:0409 Keyboard:00000409 OS:WIN_VISTA/Service Pack 2 CPU:X64 OS:X86)
-> 1 Change(s) made.
>Running AU3Check (1.54.19.0) from:F:\Program Files\AutoIt
+>15:45:07 AU3Check ended.rc:0
>Running:(3.3.4.0):F:\Program Files\AutoIt\aut2exe\aut2exe.exe /in "C:\Users\Gavin\Desktop\Project_HM\Code_Source.au3" /out "C:\Users\Gavin\Desktop\Project_HM\Code_Source.exe" /nopack /icon "C:\Users\Gavin\Desktop\Project_HM\AppIco.ico" /comp 2
+>15:45:09 Aut2exe.exe ended.rc:0
>15:45:09 Performing the Program Resource Update steps:
...>Updating Program Version information.
+>15:45:11 Program Resource updating finished successfully.rc:0
>Running:(3.3.0.0):F:\Program Files\AutoIt\aut2exe\upx.exe" --best --compress-icons=0 -qq "C:\Users\Gavin\Desktop\Project_HM\Code_Source.exe"
    835426 ->   500578 59.92%   win32/pe    Code_Source.exe
+>15:45:15 UPX Ended: rc:0
+>15:45:15 Created program:C:\Users\Gavin\Desktop\Project_HM\Code_Source.exe
->15:45:15 Warning: This is an Unicode compiled script and will not run on Win9x/ME.
>Exit code: 0   Time: 26.951

Above is the output results. To my surprise, this time it worked! I got my Au3 compiled into a nice EXE. Thanks for all your help.

Still, why didn't it work last time I tried? I wonder if my anti-virus removed it.

Yeah, Mcafee doesn't inform me when it removes stuff. I hate it!:mellow:

Or is it you can't have "space" in filename when compiling? eg: File Name.au3

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