PlatinumHex Posted February 15, 2010 Posted February 15, 2010 Could someone tell me how to edit a compiled Autoit script's properties? Like: File Description, File Version, File Comment, Copyright etc. Thanks!
Moderators Melba23 Posted February 15, 2010 Moderators Posted February 15, 2010 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. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
PlatinumHex Posted February 16, 2010 Author Posted February 16, 2010 (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. 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 February 16, 2010 by PlatinumHex
Moderators Melba23 Posted February 16, 2010 Moderators Posted February 16, 2010 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 Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
rajeshontheweb Posted February 16, 2010 Posted February 16, 2010 when u look at the bottom pane, the output status is shown (view > Output) which will detail the target file's location (by default it is the same folder as the source au3 file..) Started late is much better than having never started it!!!!Failure is another step towards success. I've been messing around with: Adding Entry to 'Hosts'File Information Lister (Logger)Yet Another AutoIT Error Handler Yet Another AutoIT Error Handler & Debugger Control your App's TaskBar Button YCurrency Ticker (Latest Release : 16 Apr 2009)_WinInetInternetCheckConnection UDF Symantec Definitions Lister UDF _GetLocalIPAddresses UDF UDF to get Special Folder Information WMI_NetworkAdapterConfiguration2Array WMI_CDRomDriveCapabilities _ScriptExists - Check if your au3 script is running!! Uninstaller UDF Get Version for your application (at script level or compiled stage) Uninstaller Pro - faster alternative to windows application removal applet
PlatinumHex Posted February 17, 2010 Author Posted February 17, 2010 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! Or is it you can't have "space" in filename when compiling? eg: File Name.au3
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now