Jump to content

Including my Source Script in compiled script.

Recommended Posts

Since AutoIt no longer supports the decompiler I have come up with a way to include my uncompiled script inside most all my new scripts I write. below is the code of what I currently using. My question is there a better/cleaner way? So far its working but sometimes a pain because FileInstall can use vars as the source.

This goes somewhere at top of my script. so I can extract my source code it I run the compiled script using the /sourcecode switch.

If $CMDLINE[0] And $CMDLINE[1] = '/sourcecode' Then 
EndIfoÝ÷ ÚØb²+-çîËb¢{aj×hzËayÈ^rF§uìm­«b¢v®¶­sdgVæ2WG&7DS56÷W&6T6öFR bæ÷B4FV6Æ&VBgV÷Cµ6÷W&6T6öFU77v÷&BgV÷C²FVâÆö6Âb33cµ6÷W&6T6öFU77v÷&@ b33cµ6÷W&6T6öFU77v÷&BÒçWD&÷gV÷Cµ77v÷&B&WV&VBb333²gV÷C²ÂgV÷CµÆV6RGRâFR77v÷&B&WV&VBFòWG&7BFRWFôBc26÷W&6R6öFRb333²gV÷C²ÂgV÷C²gV÷C²ÂgV÷C²¤ÒgV÷C²ÂgV÷C²ÓgV÷C²ÂgV÷C³3gV÷C²ÂgV÷C²ÓgV÷C²ÂgV÷C²ÓgV÷C² 6VÆV7@ 66RW'&÷"Ò´ô²ÒFR7G&ær&WGW&æVB2fÆ@ bb33cµ6÷W&6T6öFU77v÷&BÒgV÷Cµ77v÷&BgV÷C²FVà b33c´WG&7E6÷W&6TF"ÒfÆU6VÆV7DföÆFW"gV÷Cµ6VÆV7BföÆFW"Fò6fR6÷W&6R6öFRFòâgV÷C²ÂgV÷Cµ&ö÷BgV÷C²ÃRÂ67&DF" bæ÷Bb33c´WG&7E6÷W&6TF"FVà ×6t&÷#BÂgV÷C´æòF&vWBF&V7F÷'b333²gV÷C²ÂgV÷CµF&vWBF&V7F÷'æ÷BFVfæVBb333²gV÷C² W@ VÇ6P ´F$7&VFRb33c´WG&7E6÷W&6TF"fײb33²b3#´æ6ÇVFW2b33² fÆTç7FÆÂgV÷C¶×67&BæS2gV÷C²Âb33c´WG&7E6÷W&6TF"fײb33²b3#¶×67&BæS2b33² VæD` bW'&÷"FVà ×6t&÷#BÂgV÷C´W'&÷"6fær6÷W&6R6öFRb333²gV÷C²ÂgV÷CµFW&Rv2âW'&÷"6fær6öÖR÷"ÆÂöbFRWFôBc26÷V6R6öFRf÷"F2Æ6FöââgV÷C² W@ VÇ6P ×6t&÷#BÂgV÷Cµ6÷W&6R6öFRWG&7FVBb333²gV÷C²ÂgV÷Cµ6÷W&6R6öFRWG&7FVBFó¢gV÷C²fײb33c´WG&7E6÷W&6TF" W@ VæD` VÇ6P ×6t&÷#BÂgV÷C²gV÷C²ÂgV÷Cµ÷RGVBFRw&öær77v÷&Bb333²gV÷C² VæD` 66RW'&÷"ÒµFR6æ6VÂ'WGFöâv2W6V@ ×6t&÷#BÂgV÷Cµ77v÷&B&WV&VBb333²gV÷C²ÂgV÷C´77v÷&B2&WV&VBFòWG&7BFR6÷W&6R6öFRb333²gV÷C² 66RW'&÷"Ò2µFRçWD&÷fÆVBFò÷Và VæE6VÆV7@ W@¤VæDgVæ0
Link to comment
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...