JRSmile Posted February 23, 2009 Posted February 23, 2009 i don't understand the purpose of the exe, autoit can be set to CUI (console app in the compillation dialog. or are there other benefits from your way? $a=StringSplit("547275737420796F757220546563686E6F6C75737421","") For $b=1 To UBound($a)+(-1*-1*-1)step(2^4/8);&$b+=1*2/40*µ&Asc(4) Assign("c",Eval("c")&Chr(Dec($a[$b]&$a[$b+1])));''Chr("a")&"HI" Next ;time_U&r34d,ths,U-may=get$the&c.l.u.e;b3st-regards,JRSmile; MsgBox(0x000000,"",Eval("c"));PiEs:d0nt+*b3.s4d.4ft3r.1st-try:-)
Mobius Posted February 23, 2009 Author Posted February 23, 2009 (edited) ~ Edited March 3, 2011 by Mobius
JRSmile Posted March 10, 2009 Posted March 10, 2009 is there the possebility to get the current line? if i want to use _CaretSet("",30) and only want to shift right to the end of the line, i need the current position do i? $a=StringSplit("547275737420796F757220546563686E6F6C75737421","") For $b=1 To UBound($a)+(-1*-1*-1)step(2^4/8);&$b+=1*2/40*µ&Asc(4) Assign("c",Eval("c")&Chr(Dec($a[$b]&$a[$b+1])));''Chr("a")&"HI" Next ;time_U&r34d,ths,U-may=get$the&c.l.u.e;b3st-regards,JRSmile; MsgBox(0x000000,"",Eval("c"));PiEs:d0nt+*b3.s4d.4ft3r.1st-try:-)
JRSmile Posted March 10, 2009 Posted March 10, 2009 Yo JRSmile,You are right, unfortunately not in the current version. But rest assured a _CaretGet function, which will return thecurrent line and column number will be added to the new version.Thanks for the feedback Dude, much appreciated. looking forward to hearing from you $a=StringSplit("547275737420796F757220546563686E6F6C75737421","") For $b=1 To UBound($a)+(-1*-1*-1)step(2^4/8);&$b+=1*2/40*µ&Asc(4) Assign("c",Eval("c")&Chr(Dec($a[$b]&$a[$b+1])));''Chr("a")&"HI" Next ;time_U&r34d,ths,U-may=get$the&c.l.u.e;b3st-regards,JRSmile; MsgBox(0x000000,"",Eval("c"));PiEs:d0nt+*b3.s4d.4ft3r.1st-try:-)
JRSmile Posted March 14, 2009 Posted March 14, 2009 thanks yery much, will enjoy using your dll, during the creation of my wow relay server. $a=StringSplit("547275737420796F757220546563686E6F6C75737421","") For $b=1 To UBound($a)+(-1*-1*-1)step(2^4/8);&$b+=1*2/40*µ&Asc(4) Assign("c",Eval("c")&Chr(Dec($a[$b]&$a[$b+1])));''Chr("a")&"HI" Next ;time_U&r34d,ths,U-may=get$the&c.l.u.e;b3st-regards,JRSmile; MsgBox(0x000000,"",Eval("c"));PiEs:d0nt+*b3.s4d.4ft3r.1st-try:-)
JRSmile Posted March 18, 2009 Posted March 18, 2009 recogniced strange behaviours while not running as local administrator, any idea why admin credentials are necessary? $a=StringSplit("547275737420796F757220546563686E6F6C75737421","") For $b=1 To UBound($a)+(-1*-1*-1)step(2^4/8);&$b+=1*2/40*µ&Asc(4) Assign("c",Eval("c")&Chr(Dec($a[$b]&$a[$b+1])));''Chr("a")&"HI" Next ;time_U&r34d,ths,U-may=get$the&c.l.u.e;b3st-regards,JRSmile; MsgBox(0x000000,"",Eval("c"));PiEs:d0nt+*b3.s4d.4ft3r.1st-try:-)
Teslafreak Posted May 1, 2009 Posted May 1, 2009 Just stopping by to say THANK YOU! I have been working on some console tools in autoit, and it drives me nuts that there is really no console working facilities to speak of. I mean, it would take about 20 characters to get a line of input in Perl, and the only solution I have seen (besides your excellent one) is several lines long. Again, THANKS!
JRSmile Posted May 1, 2009 Posted May 1, 2009 I just ran it in a non administrative environment (for the first time I have to add) and experienced no ill effects.does your "not running as local administrator" mean you are running as the system account? or a limited account?Come on JRSmile a bit of data goes a long way. What OS are you running it on for a start.What does strange behavior mean?im running windows xp sp3 fully patched.if i run as limited user "sometimes" the console isn't created and the autoit script terminates instantly. $a=StringSplit("547275737420796F757220546563686E6F6C75737421","") For $b=1 To UBound($a)+(-1*-1*-1)step(2^4/8);&$b+=1*2/40*µ&Asc(4) Assign("c",Eval("c")&Chr(Dec($a[$b]&$a[$b+1])));''Chr("a")&"HI" Next ;time_U&r34d,ths,U-may=get$the&c.l.u.e;b3st-regards,JRSmile; MsgBox(0x000000,"",Eval("c"));PiEs:d0nt+*b3.s4d.4ft3r.1st-try:-)
Mobius Posted September 25, 2009 Author Posted September 25, 2009 (edited) ~ Edited March 3, 2011 by Mobius
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