nitro322 Posted May 18, 2005 Share Posted May 18, 2005 Does Auto-It support compile-time variables in any way? For example, I'd like to be able to set a variable in my script that's equal to the number of times a certain line appears in the script itself. I know that sounds kind of odd, but there's a reason. Can something like this be done? Thanks. http://www.legroom.net/ Link to comment Share on other sites More sharing options...
Alterego Posted May 18, 2005 Share Posted May 18, 2005 I have no idea what most of these do. #compiler_allow_decompile #compiler_au3check_dat #compiler_aut2exe #compiler_autoit3 #compiler_compression #compiler_icon #compiler_outfile #compiler_passphrase #compiler_prompt #compiler_res_comment #compiler_res_description #compiler_res_field #compiler_res_field1name #compiler_res_field1value #compiler_res_field2name #compiler_res_field2value #compiler_res_fileversion #compiler_res_legalcopyright #compiler_run_after #compiler_run_au3check #compiler_run_before This dynamic web page is powered by AutoIt 3. Link to comment Share on other sites More sharing options...
kjactive Posted May 18, 2005 Share Posted May 18, 2005 (edited) Well these included tags relate to the compiler modes - the executer control application and most of these tags match the controls in this intuition witch again control the aut2exe application that uses the UPX execute archiver and the ResHacker application to do the icon stuff... Long tail story - but most of these parametre actually controls the UPX archiver and ResHacker application... kjactive Edited May 18, 2005 by kjactive Au3PP 4.1 - Autoit3 preprocessor, optimize speed, performance to scripts and do executes....[/url]Au3Calibur - Create libraries of commonly used code excerptsWords manipulate UDF, functions that is lent from the rexx language, topics and index file includedCustomDialog UDF to include custom made dialogs like a extended colorpick requester to scripts...[url="ftp://fritidshjemmet.com/Autoit3/SysColor.zip"]SysColor UDF a low level color library to manipulate RGB and Hex values...Shell32 UDF to Automate Windows® operating tasks from native dialog and Wizards browsers... Optimized the CodeWicard with options to generate browser code etc... Link to comment Share on other sites More sharing options...
blademonkey Posted May 4, 2013 Share Posted May 4, 2013 (edited) Yes this is "possible" but it involves a bit of haberdashery. My intent for doing this was to create a constant whose content was randomly generated (for integrity and security reasons). Here's how i did it: - Created a primary script and added and include statement that pointed an include file which will create a global constant. - Created a secondary script that would generate the content that was randomized and output that content to include.au3. - Compiled that script into an exe. - Went into the compile options in Scite and specified to 1) run the secondary.exe before compile and 2) to delete the generated included.au3 file after compile. - Hit compile and voila! Kludgy, but it works. Edited May 4, 2013 by blademonkey ---"Educate the Mind, Make Savage the Body" -Mao Tse Tung Link to comment Share on other sites More sharing options...
jchd Posted May 4, 2013 Share Posted May 4, 2013 You're running for the "oldest necroed thread ever" award, right? blademonkey 1 This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
Developers Jos Posted May 4, 2013 Developers Share Posted May 4, 2013 These directives are all renamed to #AutoIt3Wrapper_* and are used by AutoIt3Wrapper script that comes with the Full version installer of SciTE4AutoIt3. *Click* SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts