Re: Creative ways to time scripts?
- From: John Doe <jdoe@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 12 May 2006 22:37:36 GMT
"Anthony Jones" <Ant yadayadayada.com> wrote:
"John Doe" <jdoe usenetlove.invalid> wrote in message
news:Xns97C0880B085F0123456789 207.115.17.102...
What I mean by "creative" is to avoid using Wait/Pause/Whatever
commands, but commands that also don't do anything. The command
would try to get the system to tell when the current program is
ready for input and the next script line should be executed. I
realize that is a difficult task, and that timing oftentimes
depends on the circumstance. Any guesses would be appreciated.
It's not clear what you want to acheive and/or why.
I wonder the same about Visual Basic Scripting programmers/users.
The command is part of the current program or a shelled program?
The script could be for either.
Perhaps if you outlined a scenario it would be clearer.
I'm talking about running a script that manipulates data and/or
Windows. Either in a single program or systemwide (in Windows of
course). Running a script without manually entered timing is often
impossible, the program/system cannot keep up. I have been writing
macros/scripts since Windows 3.1's Macro Recorder. Systemwide
macroing/scripting has been so much fun, I wrote my own macro
recorder in C++. Before switching to Windows XP, I nearly perfected
playback so that manually entered timing was not necessary.
Something went wrong when I switched to Visual C++2003 in Windows
XP, it might have been a simple programming mistake on my part. But
at the same time I switched to Dragon NaturallySpeaking Professional
and voice activated scripting. The benefit of voice activation is
extreme in that you have practically unlimited two syllable
activators as opposed to a very limited number of keyboard shortcut
activators, so I have mostly forgotten about my program. Apparently
the commands available in DNS are similar to Visual Basic Scripting.
When you write a script, do you use timing commands? Wouldn't you
rather have the script execute as fast as possible without having to
guess at how much time the program/system needs?
From: "Anthony Jones" <Ant yadayadayada.com>
References: <Xns97C0880B085F0123456789 207.115.17.102>
Subject: Re: Creative ways to time scripts?
Date: Fri, 12 May 2006 13:23:07 +0100
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1807
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807
Message-ID: <e8vkU7bdGHA.1656 TK2MSFTNGP02.phx.gbl>
Newsgroups: microsoft.public.scripting.vbscript
NNTP-Posting-Host: 82-37-90-4.cable.ubr04.dudl.blueyonder.co.uk 82.37.90.4
Path: newssvr14.news.prodigy.com!newsdbm05.news.prodigy.com!newsmst01b.news.prodigy.com!prodigy.com!newscon06.news.prodigy.com!prodigy.net!newshub.sdsu.edu!msrtrans!TK2MSFTFEEDS01.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP02.phx.gbl
Xref: prodigy.net microsoft.public.scripting.vbscript:184522
.
- References:
- Creative ways to time scripts?
- From: John Doe
- Re: Creative ways to time scripts?
- From: Anthony Jones
- Creative ways to time scripts?
- Prev by Date: Re: Copy a recordset (multiple rows) into an array
- Next by Date: Re: AD Queries
- Previous by thread: Re: Creative ways to time scripts?
- Next by thread: Re: Creative ways to time scripts?
- Index(es):
Relevant Pages
|