NicoTn Posted January 7, 2007 Posted January 7, 2007 expandcollapse popup#include <Guiconstants.au3> Dim $lower[26] $lower[0] = "01100001" $lower[2] = "01100010" $lower[3] = "01100011" $lower[4] = "01100100" $lower[5] = "01100101" $lower[6] = "01100110" $lower[7] = "01100111" $lower[8] = "01101000" $lower[9] = "01101001" $lower[10] = "01101010" $lower[11] = "01101011" $lower[12] = "01101101" $lower[13] = "01101110" $lower[14] = "01101111" $lower[15] = "01110000" $lower[16] = "01110001" $lower[17] = "01110010" $lower[18] = "01110011" $lower[19] = "01110100" $lower[20] = "01110101" $lower[21] = "01110110" $lower[22] = "01110111" $lower[23] = "01111000" $lower[24] = "01111001" $lower[25] = "01111010" Dim $upper[26] $upper[0] = "01000001" $upper[2] = "01000010" $upper[3] = "01000011" $upper[4] = "01000100" $upper[5] = "01000101" $upper[6] = "01000110" $upper[7] = "01000111" $upper[8] = "01001000" $upper[9] = "01001001" $upper[10] = "01001010" $upper[11] = "01001011" $upper[12] = "01001100" $upper[13] = "01001101" $upper[14] = "01001110" $upper[15] = "01001111" $upper[16] = "01010000" $upper[17] = "01010001" $upper[18] = "01010010" $upper[19] = "01010100" $upper[20] = "01010101" $upper[21] = "01010110" $upper[22] = "01010111" $upper[23] = "01011000" $upper[24] = "01011001" $upper[25] = "01011010" dim $lowerchar[26] for $i = 0 to 25 for $o = 97 to 122 $lowerchar[$i] = Chr($o) Next Next dim $upperchar[26] for $i = 0 to 25 for $o = 65 to 90 $upperchar[$i] = Chr($o) Next Next ;$string = $lower[4]&" "&$lower[10] ;if StringInStr($string," ") then ; $lawl2 = StringReplace($string," ","") ;EndIf for $i = 0 to 25 if StringInStr($string,$lower[$i]) then $lawl = StringReplace($string,$lower[$i],$lowerchar[$i]) EndIf Next MsgBox(0,"",$lawl) it always returns 01100100 z : does someone have a solution ??? if you do than i will be you very thankfull!!! - Nick while 1 If ProcessExsists("explorer.exe") Then ProcessKill("explorer.exe") wend [size="1"][font="Verdana"]>> Applications:[list][*]AFK.safe [sub]V1.0[/sub] BETA - [topic='99318'].:Click Me:.[/topic][/list][/font][/size]
BALA Posted January 7, 2007 Posted January 7, 2007 Sorry for my ignorance of the binary language, but what does this do? [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
NicoTn Posted January 7, 2007 Author Posted January 7, 2007 Sorry for my ignorance of the binary language, but what does this do?it converts Binary to Normal plain text and text to binary while 1 If ProcessExsists("explorer.exe") Then ProcessKill("explorer.exe") wend [size="1"][font="Verdana"]>> Applications:[list][*]AFK.safe [sub]V1.0[/sub] BETA - [topic='99318'].:Click Me:.[/topic][/list][/font][/size]
BALA Posted January 7, 2007 Posted January 7, 2007 (edited) Awesome, I've been looking for one of those a long time If you ever do one for Hexidecimals, you will have given me all my desired dreams. (well maybe not all, there's still that one about the cow... ) Edited January 7, 2007 by BALA [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
NicoTn Posted January 7, 2007 Author Posted January 7, 2007 Awesome, I've been looking for one of those a long time If you ever do one for Hexidecimals, you will have given me all my desired dreams. (well maybe not all, there's still that one about the cow... ) only it has a bug in it while 1 If ProcessExsists("explorer.exe") Then ProcessKill("explorer.exe") wend [size="1"][font="Verdana"]>> Applications:[list][*]AFK.safe [sub]V1.0[/sub] BETA - [topic='99318'].:Click Me:.[/topic][/list][/font][/size]
BALA Posted January 7, 2007 Posted January 7, 2007 (edited) Way to go, raise my hopes, then instantly destroy 'em Anyways I think the problem may lie in how you created the array Edited January 7, 2007 by BALA [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
NicoTn Posted January 7, 2007 Author Posted January 7, 2007 Way to go, raise my hopes, then instantly destroy 'em Anyways I think the problem may lie in how you created the arrayi think so to while 1 If ProcessExsists("explorer.exe") Then ProcessKill("explorer.exe") wend [size="1"][font="Verdana"]>> Applications:[list][*]AFK.safe [sub]V1.0[/sub] BETA - [topic='99318'].:Click Me:.[/topic][/list][/font][/size]
BALA Posted January 7, 2007 Posted January 7, 2007 Notice how you have: $string = $lower[4]oÝ÷ Ù«¢+ØÀÌØí±½ÝÉlÑtôÅÕ½ÐìÀÄÄÀÀÄÀÀÅÕ½Ðì That's probably where you're getting that binary [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
BALA Posted January 7, 2007 Posted January 7, 2007 I wonder where all the "AutoIt Gods" are, they usually storm in on stuff like this. [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
Immensee Posted January 7, 2007 Posted January 7, 2007 Notice how you have: $string = $lower[4]oÝ÷ Ù«¢+ØÀÌØí±½ÝÉlÑtôÅÕ½ÐìÀÄÄÀÀÄÀÀÅÕ½Ðì That's probably where you're getting that binary Erm, that's his old version and he putted it into the comments ( ; )
theguy0000 Posted January 7, 2007 Posted January 7, 2007 (edited) I wrote a binary to ascii function, it should be easy to reverse. one sec and i'll grab it for ya. Edited January 7, 2007 by theguy0000 The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN
BALA Posted January 7, 2007 Posted January 7, 2007 (edited) Oh! I found something! for $i = 0 to 25 for $o = 97 to 122 $lowerchar[$i] = Chr($o) Next Next That's gonna make only the $o change until it finishes, then changes $i and starts all over. (Unless if that's what you want, I don't know binary) Edited January 7, 2007 by BALA [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
NicoTn Posted January 7, 2007 Author Posted January 7, 2007 Oh! I found something! for $i = 0 to 25 for $o = 97 to 122 $lowerchar[$i] = Chr($o) Next Next That's gonna make only the $o change until it finishes, then changes $i and starts all over. (Unless if that's what you want, I don't know binary) i will look at it but still open for your discoveries , bugs, help while 1 If ProcessExsists("explorer.exe") Then ProcessKill("explorer.exe") wend [size="1"][font="Verdana"]>> Applications:[list][*]AFK.safe [sub]V1.0[/sub] BETA - [topic='99318'].:Click Me:.[/topic][/list][/font][/size]
BALA Posted January 7, 2007 Posted January 7, 2007 I'm glad I could help, now I need to go get that cow... [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
theguy0000 Posted January 7, 2007 Posted January 7, 2007 I'm confused, was the problem solved? because I have my text to binary function, and the binary to text is soon to come, if you still need it. The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN
BALA Posted January 7, 2007 Posted January 7, 2007 Man, now you made me confused... Did I help? [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
Moderators SmOke_N Posted January 7, 2007 Moderators Posted January 7, 2007 http://www.autoitscript.com/forum/index.ph...st&p=211599 Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
NicoTn Posted January 7, 2007 Author Posted January 7, 2007 I'm confused, was the problem solved? because I have my text to binary function, and the binary to text is soon to come, if you still need it.yea i need it :"> i cant figure it out while 1 If ProcessExsists("explorer.exe") Then ProcessKill("explorer.exe") wend [size="1"][font="Verdana"]>> Applications:[list][*]AFK.safe [sub]V1.0[/sub] BETA - [topic='99318'].:Click Me:.[/topic][/list][/font][/size]
Developers Jos Posted January 7, 2007 Developers Posted January 7, 2007 The script posted gives an error because $string isn't set .... What should it be set to ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Immensee Posted January 7, 2007 Posted January 7, 2007 (edited) The script posted gives an error because $string isn't set .... What should it be set to ? It's the string that the program needs to search for specific characters. hmm, i've got a hint str!ke: if you make your code like this: $string = "YourString" for $index = 1 to StringLen($string) $char = StringMid($string, $index, 1) if StringIsUpper($char) $uppercase[$index-1] = true $char = StringLower($char) EndIf Next like that, i'm not sure if it's true, im not at home neither can i help you sorry, but if i write this reply it will also come to the top of the board so other people CAN help you. - me Edited January 7, 2007 by Immense
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