| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| Zoc goes fast https://mail.black-squirrel.com/viewtopic.php?f=15&t=13019 |
Page 1 of 2 |
| Author: | PHX [ Fri Apr 30, 2004 5:40 pm ] |
| Post subject: | |
Well I have uncovered an old mystery that always made me turn off zoc and switch to jtwat whenever using large macros and thought id share the knowledge. Several people in these forums tried to help me figure out my problem but couldn't understand what exactly my problem was I think. And now I just figured it out on my own...year and a half later. If you didn't already figure it out for yourselves... In zoc, click Options, Edit Session Profile, Transfer-2 TAB, Text/Clipboard Settings. Set the Char Delay to 0! Now you can paste several thousand command macros into zoc and it will fly with no pauses, delays, etc. ZOC only needs one more thing to make me get rid of jtwat permanantly. A Small macro recording tool. Does anyone know where to find a keystroke recorder that appears as a small window on the screen. NOT, a spy program for paranoid spouses, hackers, etc. Something of a individual program that can resend the text into the current app a desired number of times. Basically, take Jtwats macro tool, with swath's ability to repeat x amount of times. |
|
| Author: | Harley Nuss [ Fri Apr 30, 2004 11:21 pm ] |
| Post subject: | |
How often do you need to paste large chunks of text to the terminal program? Isn't that what macros/scripts are for? |
|
| Author: | PHX [ Sat May 01, 2004 4:36 am ] |
| Post subject: | |
I use those large chunks for coloing, ppting in games with heavily upgraded ports, moving products...I find them to be much faster than any stoopid script....But the tool I want is only for the smaller macros...like shielding up a planet one trip at a time, planet busting, etc. How often? Daily. |
|
| Author: | Orion_Blastar [ Sun May 02, 2004 11:09 am ] |
| Post subject: | |
Hhmmmm, some of the REXX/ZOC scripts that I have calculate things like the port buy/sell value and then do a fast buydown using psuedo-macros or whatever. All I can say is that it appears to be as fast as copying and pasting test or using macros. The fast colonizing script does the same thing. So I think it depends on how the script is written on how fast it can go. Your milage may vary. [:D] |
|
| Author: | PHX [ Sun May 02, 2004 12:39 pm ] |
| Post subject: | |
Yes some scripts do macro stuff out like that....but I haven't seen one yet that can macro out 2000 trips to terra and back for colonizing. I am happy with my current method. And..I only use rexx scripts when I absolutely cannot find a twx script to do the job, or don't have patience or time to try and make a twx script to do it at that moment. They can be good scripts yes, but they just can't beat the speed of twx. |
|
| Author: | Slim Shady [ Sun May 02, 2004 5:26 pm ] |
| Post subject: | |
macro 2000 trips to terra.. ick, well, use a twx colo script, use a zoc script. u can make a zoc script and just go zocsend "XXX" and copy paste as much as you would like XXX=your macro then u can copy paste it 2000 times (copy 10, 10 times, copy that 100, paste 10 times, copy that, paste once) and set it and go take a **** if you want. i think that is what u are talking about making zoc do. the only advantage to recording a macro/script would be because you dont know what to type to make it do what you want, im sure there are plenty out there to help if that is only reason. Slim |
|
| Author: | Alexio [ Mon May 03, 2004 2:21 am ] |
| Post subject: | |
copy and paste Darn... try: do 2000 call zocsend <macro> end |
|
| Author: | Slim Shady [ Mon May 03, 2004 4:48 pm ] |
| Post subject: | |
well i tend to try not to have to use this method since its rather unsafe, but if i do, thats an even handier trick heh Slim |
|
| Author: | Vid Kid [ Tue May 04, 2004 10:15 am ] |
| Post subject: | |
quote:Originally posted by PHX Well I have uncovered an old mystery that always made me turn off zoc and switch to jtwat whenever using large macros and thought id share the knowledge. Several people in these forums tried to help me figure out my problem but couldn't understand what exactly my problem was I think. And now I just figured it out on my own...year and a half later. If you didn't already figure it out for yourselves... In zoc, click Options, Edit Session Profile, Transfer-2 TAB, Text/Clipboard Settings. Set the Char Delay to 0! Now you can paste several thousand command macros into zoc and it will fly with no pauses, delays, etc. ZOC only needs one more thing to make me get rid of jtwat permanantly. A Small macro recording tool. Does anyone know where to find a keystroke recorder that appears as a small window on the screen. NOT, a spy program for paranoid spouses, hackers, etc. Something of a individual program that can resend the text into the current app a desired number of times. Basically, take Jtwats macro tool, with swath's ability to repeat x amount of times. On my hints & tips page I have a rexx looper , all you will need to do is make one macro run of what you want to do. As was stated earlyer from someone ..there are no saftys built in. But you can loop unlimited times ..turns willing. |
|
| Author: | PHX [ Sun May 09, 2004 6:19 am ] |
| Post subject: | |
Ok I have created this to serve as a substitute. It works fine up untill there is a * in my macro. then it just sits waiting. getinput $cmds "What are the commands?" getinput $total "How many times?" setvar $loop 1 while ($loop <= $total) send $cmds setVar $loop ($loop + 1) end I tried changing it to... getinput $cmds "What are the commands?" getinput $total "How many times?" setvar $loop 1 while ($loop <= $total) send "$b" $cmds setVar $loop ($loop + 1) end result is the same. |
|
| Author: | Alexio [ Sun May 09, 2004 12:24 pm ] |
| Post subject: | |
try this getinput $cmds "What are the commands?" getinput $total "How many times?" setvar $loop 1 replaceText $cmds #42 "*" replaceText $cmds "^m" "*" while ($loop <= $total) send $cmds setVar $loop ($loop + 1) end |
|
| Author: | Jasper [ Sun May 09, 2004 1:24 pm ] |
| Post subject: | |
quote:Originally posted by Alexio try this replaceText $cmds #42 "*" What does this line do? Jasper |
|
| Author: | PHX [ Sun May 09, 2004 3:55 pm ] |
| Post subject: | |
****...wtf...my post isnt here now i gotta retype all this ****. Thanks again alexio. Jasper, I figured, checked myself...and am right...that command replaces * with #42, which is ASCII code for *, which twx in turn converts it back to *. Seems kinda roundabout dumb don't it. Look what I found. http://www.ascii.cl/ |
|
| Author: | Vid Kid [ Mon May 10, 2004 6:39 am ] |
| Post subject: | |
quote:Originally posted by PHX Ok I have created this to serve as a substitute. It works fine up untill there is a * in my macro. then it just sits waiting. getinput $cmds "What are the commands?" getinput $total "How many times?" setvar $loop 1 while ($loop <= $total) send $cmds setVar $loop ($loop + 1) end I tried changing it to... getinput $cmds "What are the commands?" getinput $total "How many times?" setvar $loop 1 while ($loop <= $total) send "$b" $cmds setVar $loop ($loop + 1) end result is the same. Try substituting * for ^M the way swath and rexx see's the ENTER key |
|
| Author: | PHX [ Mon May 10, 2004 8:30 pm ] |
| Post subject: | |
Alexio's modification did the trick...And I never had an ^M in the script because its not a rexx...its twx. |
|
| Page 1 of 2 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|