Sign in to follow this  
Followers 0
Mobius

Console Dll's and Tools

18 posts in this topic

#1 ·  Posted (edited)

~

Edited by Mobius

Share this post


Link to post
Share on other sites



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:-)

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

~

Edited by Mobius

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

~

Edited by Mobius

Share this post


Link to post
Share on other sites

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:-)

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

~

Edited by Mobius

Share this post


Link to post
Share on other sites

Yo JRSmile,

You are right, unfortunately not in the current version. But rest assured a _CaretGet function, which will return the

current line and column number will be added to the new version.

Thanks for the feedback Dude, much appreciated. :P

looking forward to hearing from you :unsure:


$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:-)

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

~

Edited by Mobius

Share this post


Link to post
Share on other sites

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:-)

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

~

Edited by Mobius

Share this post


Link to post
Share on other sites

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:-)

Share this post


Link to post
Share on other sites

#12 ·  Posted (edited)

~

Edited by Mobius

Share this post


Link to post
Share on other sites

#13 ·  Posted

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!

Share this post


Link to post
Share on other sites

#14 ·  Posted

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:-)

Share this post


Link to post
Share on other sites

#15 ·  Posted (edited)

~

Edited by Mobius

Share this post


Link to post
Share on other sites

#16 ·  Posted (edited)

~

Edited by Mobius

Share this post


Link to post
Share on other sites

#17 ·  Posted (edited)

~

Edited by Mobius

Share this post


Link to post
Share on other sites

#18 ·  Posted (edited)

~

Edited by Mobius

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0