ricky Posted January 25, 2012 Share Posted January 25, 2012 (edited) Hello, thanks for your very useful software, please find below the translation in french based on the code for the language give by RugWarrior. ElseIf StringInStr($SysLang, "French", False) Then $a_language[1] = "Options pour le fichier de sortie" $a_language[2] = "Créer une fonction basée sur le nom de sortie" $a_language[3] = "Ajouter les entêtes pour l'UDF" $a_language[4] = "Créer seulement un fichier avec le binaire" $a_language[5] = "Ajouter la compression LZNT native de Windows" $a_language[6] = "Niveau compression" $a_language[7] = "&Ouvrir un fichier" $a_language[8] = "Intégrer fichier" $a_language[9] = "Test" $a_language[10] = "Standard" $a_language[11] = "Avancement conversion: " $a_language[12] = "Quitter" $a_language[13] = "Lignes converties: " $a_language[14] = "Choisir un fichier pour " $a_language[15] = "Fichier" $a_language[16] = "Non!" $a_language[17] = "Test uniquement disponible avec l'option: " & '"' & $a_language[2] & '" activée!' $a_language[18] = "Patientez, creation du fichier .au3 ->" $a_language[19] = "Enregistrer le fichier tel que construit" $a_language[20] = "Compression en cours..." $a_language[21] = " - Terminé!" $a_language[22] = 'Le fichier "' $a_language[23] = '" a été converti en fichier .au3.' The button test doesn't work! Edited January 25, 2012 by ricky03 Link to comment Share on other sites More sharing options...
Belini Posted January 25, 2012 Share Posted January 25, 2012 (edited) I used this UDF to create a menu of programs, currently with 11 useful programs that can be added and many other portable programs, wanted to share with you just do not have time to translate into EnglishLink 1: http://www.4shared.com/rar/_mCJSUXA/Menu_de_programas.htmlLink 2: http://www.mediafire.com/?4bhmvk23216gh04Note: When the jscript function include imprinting folders can be included several other useful programs in this menu. Edited January 25, 2012 by Belini My Codes: Virtual Key Code UDF: http://www.autoitscript.com/forum/topic/138246-virtual-key-code-udf/ GuiSplashTextOn.au3: http://www.autoitscript.com/forum/topic/143542-guisplashtexton-udf/ Menu versions of Autoit: http://www.autoitscript.com/forum/topic/137435-menu-versions-of-autoit/#entry962011 Selects first folder of letters: ]http://www.autoitscript.com/forum/topic/144780-select-folders-by-letter/#entry1021708/spoiler] List files and folders with long addresses.: http://www.autoitscript.com/forum/topic/144910-list-files-and-folders-with-long-addresses/#entry102 2926 Program JUKEBOX made in Autoit:some functions:http://www.youtube.com/watch?v=WJ2tC2fD5Qs Navigation to search:http://www.youtube.com/watch?v=lblwOFIbgtQ Link to comment Share on other sites More sharing options...
SeF Posted January 25, 2012 Share Posted January 25, 2012 Hello,First of all, great UDF!!But when I try to use it without compressing the file, I get an error:ERROR: __fileB64(): undefined function.FileWrite($hFileHwnd, __fileB64($bData) Link to comment Share on other sites More sharing options...
JScript Posted January 28, 2012 Author Share Posted January 28, 2012 @ricky03Yes, the button test still doesn't work in this version, only in next! Thank's.@BeliniVery nice, but you could have opened a thread showing your program!@SeFWill be fixed in next version, thanks for reporting the error!Regards,João Carlos. http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!) Somewhere Out ThereJames Ingram Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere! Link to comment Share on other sites More sharing options...
Belini Posted February 8, 2012 Share Posted February 8, 2012 @BeliniVery nice, but you could have opened a thread showing your program!Sure I will do so then. My Codes: Virtual Key Code UDF: http://www.autoitscript.com/forum/topic/138246-virtual-key-code-udf/ GuiSplashTextOn.au3: http://www.autoitscript.com/forum/topic/143542-guisplashtexton-udf/ Menu versions of Autoit: http://www.autoitscript.com/forum/topic/137435-menu-versions-of-autoit/#entry962011 Selects first folder of letters: ]http://www.autoitscript.com/forum/topic/144780-select-folders-by-letter/#entry1021708/spoiler] List files and folders with long addresses.: http://www.autoitscript.com/forum/topic/144910-list-files-and-folders-with-long-addresses/#entry102 2926 Program JUKEBOX made in Autoit:some functions:http://www.youtube.com/watch?v=WJ2tC2fD5Qs Navigation to search:http://www.youtube.com/watch?v=lblwOFIbgtQ Link to comment Share on other sites More sharing options...
taurus905 Posted February 26, 2012 Share Posted February 26, 2012 Hello JScript, I wanted to thank you for sharing your UDF with the rest of us. Being able to use a variable as the path of the file to install is very appealing to me. And I also do not want to use compression. Like many others, I am looking forward to the release of your new version. taurus905 "Never mistake kindness for weakness."-- Author Unknown --"The highest point to which a weak but experienced mind can rise is detecting the weakness of better men."-- Georg Lichtenberg --Simple Obfuscator (Beta not needed.), Random names for Vars and Funcs Link to comment Share on other sites More sharing options...
JScript Posted March 11, 2012 Author Share Posted March 11, 2012 @taurus905Just this week I will be posting the update!Regards,João Carlos. http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!) Somewhere Out ThereJames Ingram Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere! Link to comment Share on other sites More sharing options...
FaridAgl Posted March 15, 2012 Share Posted March 15, 2012 Recently i have tried this UDF and i found this great. I saw this: ( $lToSave = False, $sPath = @TempDir, $lExecute = False ) I like to ask, what is the usage of data that will be returned if $lToSave = False ? Can this be used directly with any functions? Coz if have trued Run() and FileGetVersion with it without any success. http://faridaghili.ir Link to comment Share on other sites More sharing options...
JScript Posted March 17, 2012 Author Share Posted March 17, 2012 (edited) @D4RKON3 Maybe I didn't understand the question, but do an analysis in the sample below: ; Syntax ........: ( [ lToSave [, sPath [, lExecute ]]] ) ; Parameters ....: lToSave - [optional] If True, save the file, else, return binary data. Default is False. ; sPath - [optional] The path of the file to be save. Default is @TempDir ; lExecute - [optional] Flag to execute file saved. Default is False ; Return values .: Success - Returns decompressed binary data or saved. ; Failure - Returns 0 and set @error to 1. Regards, João Carlos. Edited March 17, 2012 by JScript http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!) Somewhere Out ThereJames Ingram Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere! Link to comment Share on other sites More sharing options...
FaridAgl Posted March 17, 2012 Share Posted March 17, 2012 Tnx, i mean: If True, save the file, else, return binary data. Default is False. What is the usage of returned binary data? Where can it be used? http://faridaghili.ir Link to comment Share on other sites More sharing options...
JScript Posted March 17, 2012 Author Share Posted March 17, 2012 OK!See a simple example of using the binary return (without writing the file in HDD)BinarySoundTest.zipThe same can be done with images, use your imaginationRegards,João Carlos. FaridAgl 1 http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!) Somewhere Out ThereJames Ingram Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere! Link to comment Share on other sites More sharing options...
FaridAgl Posted March 17, 2012 Share Posted March 17, 2012 Thanks, i got it, i understand what is the returned data now. http://faridaghili.ir Link to comment Share on other sites More sharing options...
JScript Posted March 17, 2012 Author Share Posted March 17, 2012 I'm glad that I have clarified your doubts! Regards, João Carlos. http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!) Somewhere Out ThereJames Ingram Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere! Link to comment Share on other sites More sharing options...
Venix Posted May 14, 2012 Share Posted May 14, 2012 (edited) I'm afraid i don't completely understand how i would refer my application to use this code to display a picture. Once i include the au3 that contains the picture i embedded i have no idea how i would tell the program to use that information. I'm probably doing things completely wrong. Please would you explain this to me using this example if possible . #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <EmbeddedFile.au3> #Region ### START Koda GUI section ### Form= $EmbedTest = GUICreate("File Embed Test", 577, 361, 192, 124) $Pic1 = GUICtrlCreatePic("EmbeddedFile.jpg", 0, 0, 576, 360) ; <--- What would i put here? GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Edited May 14, 2012 by Venix Link to comment Share on other sites More sharing options...
JScript Posted May 14, 2012 Author Share Posted May 14, 2012 (edited) @VenixHi, try this:$Pic1 = GUICtrlCreatePic(_EmbeddedFile(True), 0, 0, 576, 360)Excuse me for the lack of information in the first post, but I'm working on a new version with support for multiple languages and multiple examples of usage!Regards,João Carlos. Edited May 14, 2012 by JScript http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!) Somewhere Out ThereJames Ingram Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere! Link to comment Share on other sites More sharing options...
Venix Posted May 14, 2012 Share Posted May 14, 2012 Thanks that worked perfectly, don't worry about the information I'm still quite new so it can be hard for me to use some scripts . This is great by the way i have been looking for something like this for a long time to keep programs completely portable. Link to comment Share on other sites More sharing options...
armoros Posted May 14, 2012 Share Posted May 14, 2012 That is a great man cant wait..... [font="verdana, geneva, sans-serif"] [/font] Link to comment Share on other sites More sharing options...
JScript Posted May 14, 2012 Author Share Posted May 14, 2012 @Venix I'm glad it worked! @armoros You are welcome! Regards, João Carlos. http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!) Somewhere Out ThereJames Ingram Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere! Link to comment Share on other sites More sharing options...
skin27 Posted September 27, 2012 Share Posted September 27, 2012 @JScriptYou might include RunBinary also in the created UDF (). With this you can set lToSave to false and lExecute to true to run the embedded file from memory.Probably a function like EmbeddedFileSetExecutionParameters(InjectionModule, CommandLineParameters,StartUpParameters etc) is also needed for passing the parameters to this 'internal' function.Hereunder you can find the translation for dutch. Please set "English" as default if the @oslang is not known and create an option to change the language while running the tool. Thnx"Dutch" $a_language[1] = "Opties voor het output bestand." $a_language[2] = "Genereer een functie op basis van de naam van het output bestand." $a_language[3] = "Voeg voorbeelden voor een User Defined Functions (UDF) toe." $a_language[4] = "Genereer alleen een bestand met de binaire data." $a_language[5] = "LZNT compressie native Windows toevoegen." $a_language[6] = "Compressie niveau" $a_language[7] = "&Open bestand" $a_language[8] = "Voeg bestand toe" $a_language[9] = "Test" $a_language[10] = "Standaard" $a_language[11] = "Voortgang van de conversie:" $a_language[12] = "Sluiten" $a_language[13] = "Geconverteerde regels" $a_language[14] = "Kies een bestand" $a_language[15] = "Bestand" $a_language[16] = "Nee!" $a_language[17] = 'Test alleen met de optie: "Genereer een functie op basis van de naam van het output bestand" geactiveerd!' $a_language[18] = "'Een moment, genereer het bestand. AU3 indeling->" $a_language[19] = "Sla het bestand op na generatie" $a_language[20] = "Comprimeer het bestand ..." $a_language[21] = "- Voltooid!" $a_language[22] = 'Bestand" ' $a_language[23] = '"AU3 indeling is gegenereerd voor."' JScript 1 Link to comment Share on other sites More sharing options...
JScript Posted September 27, 2012 Author Share Posted September 27, 2012 @skin27 Thanks for the suggestion, I liked the idea! And about the translation I will add yours to its format that I created. JS http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!) Somewhere Out ThereJames Ingram Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere! 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