Borje Posted March 12 Posted March 12 Hi everybody ! I can not have this to works I try to use the command line settings but all time i have error, please can anybody help me to have this to work and what is wrong. base32.au3 bobben.au3
argumentum Posted March 12 Posted March 12 15 minutes ago, Borje said: ..please can anybody help me.. get the rest from https://www.autoitscript.com/forum/topic/59003-base32-encode-decode/#findComment-444874 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Borje Posted March 12 Author Posted March 12 Hi argumentum I have already read and read but i cant have that to works. I hope some can help me with this problem.
argumentum Posted March 12 Posted March 12 (edited) is a CUI, not a GUI. You'll have to compile this utility. au3.212761-need-some-help-with-base32.zip Edited March 12 by argumentum Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
argumentum Posted March 12 Posted March 12 It compiles and runs encrypting and decrypting an ANSI text file. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Borje Posted March 12 Author Posted March 12 Hi argumentum I can not have it to works i downloaded your pack and i try to compile I use the -h and no help windows appear nothings happen, have you tested this? and what version of autoit you compile with?
Borje Posted March 12 Author Posted March 12 I can't understand what problem is, it still not working.
Musashi Posted March 12 Posted March 12 (edited) 4 hours ago, Borje said: ... i try to compile I use the -h and no help windows appear nothings happen ... , See correction in the post below ! The functions (e.g. ShowUsage) use ConsoleWrite commands, which means, that the output takes place in the STDOUT-Stream. If you start the program with the -h parameter, for example, it only pops up briefly. I have added a message box so that you can see the output. Please start the compiled program via the following .cmd file CMDStart.CMD @echo off CLS cd %~dp0 bobben.exe "-h" bobben.au3 Edited March 12 by Musashi bullshit "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."
Musashi Posted March 12 Posted March 12 (edited) 3 hours ago, Musashi said: If you start the program with the -h parameter, for example, it only pops up briefly. MY MISTAKE ! The STDOUT stream only pops up briefly when using ConsoleWrite because I started the program via a CMD. If the program is started directly via the command prompt, the output is displayed correctly. (I am using AutoIt 3.3.14.0) Edited March 13 by Musashi "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."
argumentum Posted March 13 Posted March 13 4 hours ago, Borje said: I can't understand what problem is, it still not working. 2 hours ago, Musashi said: If the program is started directly via the command prompt, the output is displayed correctly. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Borje Posted March 13 Author Posted March 13 First to all I want to big thanks to all so far but i have some problem with the syntax to encode and decode from file to to file when I test bobben -e / -d filname1.txt filname2.txt that creates a emty filname2.txt I think that I done something wrong please help with the correct syntax..
Borje Posted March 13 Author Posted March 13 bobben -e -d filname1.txt filname2.txt that creates a emty filname2.txt creates a empty filname2.txt
water Posted March 13 Posted March 13 What do you expect when you encode AND decode at the same time? Musashi 1 My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
Borje Posted March 13 Author Posted March 13 I have miss understood I am not so good in english but syntax for encode ?
water Posted March 13 Posted March 13 -e encodes a file, -d decodes a file. So which option should be removed from bobben -e -d filname1.txt filname2.txt to only encode a file? N.B. If you have problems with English use a translator like https://www.deepl.com/ My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
Borje Posted March 13 Author Posted March 13 It not helps if I want to have file1.txt converted I use bobben -e "abcdef" file1.txt not working it save nothing
Borje Posted March 13 Author Posted March 13 I have done more testes now and i have it to workswith txt files but exe encode exe file not works is there a solution to have that to works?
Musashi Posted March 13 Posted March 13 (edited) 47 minutes ago, Borje said: but exe encode exe file not works is there a solution to have that to works? I just did a quick test. Text files are encoded and decoded correctly. Binary files (i checked an EXE and a JPG) are apparently damaged during this process (file header etc.). Is there any reason why you don't want to use Base64 ? Edited March 13 by Musashi "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."
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