Search found 287 matches

by Cleptography
26 Jun 2011 08:30
Forum: DOS Batch Forum
Topic: HexToString
Replies: 2
Views: 3389

HexToString

So I added function HexToString for AutoCom which does exactly what it states. For instance if I do AutoCom HexToString 0x07 it makes a beep sound. Anyone know what the hex value to open the CD tray is?
I figure this function will probably be used to convert colors for the text.
by Cleptography
25 Jun 2011 10:47
Forum: DOS Batch Forum
Topic: AutoCom v1.0.0.1
Replies: 14
Views: 13204

Re: AutoCom v1.0.0.1

Looking for some ideas and input. So, in Autoit there are some commands that require the environment to be local to the au3 script to retain the function and command values, such as EnvGet, EnvSet. In keeping with the formula even though it is not needed as we can just use set var=value I still woul...
by Cleptography
25 Jun 2011 06:52
Forum: DOS Batch Forum
Topic: AutoCom v1.0.0.1
Replies: 14
Views: 13204

Re: AutoCom v1.0.0.1

it gives the message autocom is not a valid 32 application do you need auto it installed for it to work @allal Sorry about that was late and forgot to post the x32 Should be good to go now both x64 and x32 are available. @orange_batch Thanks for the positive feed very much appreciated. This is just...
by Cleptography
25 Jun 2011 04:52
Forum: DOS Batch Forum
Topic: AutoCom v1.0.0.1
Replies: 14
Views: 13204

AutoCom v1.0.0.1

Built on Autoit3 and for cmd.exe. I will not post the details here as there is a thread in a couple of places for this project already, so just links. There is a lot to explore if you find any bugs let me know, most everything is documented. If you enter a command and it returns nothing that is beca...
by Cleptography
25 Jun 2011 04:32
Forum: DOS Batch Forum
Topic: batch file that cleans desktop?
Replies: 7
Views: 7697

Re: batch file that cleans desktop?

rundll32.exe fldrclnr.dll,Wizard_RunDLL all
by Cleptography
23 Jun 2011 20:21
Forum: DOS Batch Forum
Topic: doskitXPx86
Replies: 39
Views: 41305

Re: DOS-KIT

[edit by Ed Dyreen 03 Feb 2012] Removed link, post locked From the original post: When I am finished i can do things like: Select all @Declare.Object ( $Hosts AsFile "C:\HostFile" ) @Attach.Object ( $Host.File ) @Move.Object ( $Host.File, "C:\backup\HostFile" ) @Delete.Object ( ...
by Cleptography
21 Jun 2011 19:15
Forum: DOS Batch Forum
Topic: Command Utilities v1.0
Replies: 0
Views: 5170

Command Utilities v1.0

Just sharing. Command Utilities v1.0 Contains string parsing commands, ini file processing commands, a sleep command to replace cmd's ping localhost method, and a few others. N-Joy http://www.scriptingpros.com/scripts/cleptography/ Check out the other projects as well some really good stuff there. h...
by Cleptography
20 Jun 2011 06:14
Forum: DOS Batch Forum
Topic: How do I get batch to click download
Replies: 7
Views: 7806

Re: How do I get batch to click download

Well if this is truly a "DOS" forum we should not be talking about batch scripts let alone vbscripts :wink:
I don't know what the hell wget is must be native on some version of windows I've never heard of.
by Cleptography
19 Jun 2011 21:51
Forum: DOS Batch Forum
Topic: How do I get batch to click download
Replies: 7
Views: 7806

Re: How do I get batch to click download

If you need to download something, use wget. If you need to "click" something, you can use VBScript WshShell's SendKeys method to do keyboard input. Why would you tell them to use wget? It is much slower... I would recommend wget if you plan on downloading and rendering entire pages, but ...
by Cleptography
19 Jun 2011 20:14
Forum: DOS Batch Forum
Topic: How do I get batch to click download
Replies: 7
Views: 7806

Re: How do I get batch to click download

For wget http://www.gnu.org/software/wget/manual/wget.html For autoit the included help is all you need. You may as well want to do a search on their forums You can also just do a google search "autoit to (do what you want to do)" which should give you some good results / scripts. As far a...
by Cleptography
19 Jun 2011 17:13
Forum: DOS Batch Forum
Topic: How do I get batch to click download
Replies: 7
Views: 7806

Re: How do I get batch to click download

If you are going to use wget, you mine as well use autoit.
by Cleptography
18 Jun 2011 21:59
Forum: DOS Batch Forum
Topic: [CONT] 8192
Replies: 18
Views: 13623

Re: [CONT] 8192

So as I continue on this we can use a for to transfer values to x as you can see we can pass a large amount of parameters to x I am working on building a macro example with 10000 bytes to pass to x. I am sure with call to things slow down a bit but not by much, and I can pass arguments beyond 8k whi...
by Cleptography
18 Jun 2011 01:41
Forum: DOS Batch Forum
Topic: [CONT] 8192
Replies: 18
Views: 13623

Re: [CONT] 8192

Ok so you can't set a variable beyond 8192 bytes using set var=8192bytes but you can... @echo off call :label some string beyond 8192 bytes exit /b :label echo;%* goto :eof ...or some command... call :label for /L %%%%- in (1,1,10) do echo;%%%%- exit /b :label %* goto :eof set PC=%%%%% set CMD=echo;...
by Cleptography
17 Jun 2011 18:09
Forum: DOS Batch Forum
Topic: Process Chars
Replies: 2
Views: 3209

Re: Process Chars

God I love your genius, thank you Jeb. What needs to happen is for each char to be checked and if $ is found prefixed in the sub string it needs to get everything up to the next space and replace it with another string. The other problem is if the last sub string is prefixed with $ the script hangs ...