SYRAU3 Posted May 16, 2012 Share Posted May 16, 2012 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. Link to comment Share on other sites More sharing options...
jdelaney Posted May 16, 2012 Share Posted May 16, 2012 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. Link to comment Share on other sites More sharing options...
jdelaney Posted May 16, 2012 Share Posted May 16, 2012 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. Link to comment Share on other sites More sharing options...
Zedna Posted May 16, 2012 Share Posted May 16, 2012 You can try this But I don't think it will shrink size of SWF too much ... Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Zedna Posted May 16, 2012 Share Posted May 16, 2012 (edited) Here is probably what you are looking for Edited May 16, 2012 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
SYRAU3 Posted May 16, 2012 Author Share Posted May 16, 2012 Here is probably what you are looking forthat's it man! thank you very much...... VIVA AUTOIT Link to comment Share on other sites More sharing options...
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