Sign in to follow this  
Followers 0
SYRAU3

how to encode and decode using __Au3Obj_Mem_Base64Decode

6 posts in this topic

hi all, in this topic, i get the solution using example, but he used __Au3Obj_Mem_Base64Decode to reduce the inlineSWF file size,

I have added little input control, you'll figure out what's it for. By using AutoItObject you get Ward's base64 decoder for free. I used that to shrink the size of the embedded file.

how to encode it like that? i have an SWF file with 9 MB of size! and reading it as string makes my script very very huge! please HELP.

Share this post


Link to post
Share on other sites



in vbs, to encode is:

Set oConv = DotNetFactory.CreateInstance ( "System.Convert" )

Set oAscii = DotNetFactory.CreateInstance ( "System.Text.ASCIIEncoding" )

sReturnBase64 = oConv.ToBase64String ( oAscii.GetBytes ( sCallersItemToEncode ) )

Set oConv = Nothing

Set oAscii = Nothing

to decode is:

Set oConv = DotNetFactory.CreateInstance ( "System.Convert" )

Set oAscii = DotNetFactory.CreateInstance ( "System.Text.ASCIIEncoding" )

sReturnDecodedBase64= oAscii.GetString ( oConv.FromBase64String ( base64Str ) )

Set oConv = Nothing

Set oAscii = Nothing


IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

Share this post


Link to post
Share on other sites

Looked a bit...you could always create a bat file to call :/


IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

Share this post


Link to post
Share on other sites

Here is probably what you are looking for

that's it man! thank you very much...... VIVA AUTOIT ;)

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