Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.ms-sqlserver > #1078

Re: Keyboard Input in Scripts

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From Erland Sommarskog <esquel@sommarskog.se>
Newsgroups comp.databases.ms-sqlserver, microsoft.public.sqlserver.programming
Subject Re: Keyboard Input in Scripts
Followup-To comp.databases.ms-sqlserver
Date Fri, 25 May 2012 23:24:39 +0200
Organization Erland Sommarskog
Lines 15
Message-ID <XnsA05EEE2635E9CYazorman@127.0.0.1> (permalink)
References <8nrvr79atdr001tg6g60sds609mktkhnm6@4ax.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 8bit
Injection-Info mx04.eternal-september.org; posting-host="nBFDv6s1VJQDuF1w6hpX2A"; logging-data="27872"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18iZmYHsNRn7Xef07pr6KuE"
User-Agent Xnews/2006.08.24 Mime-proxy/2.1.c.0 (Win32)
Cancel-Lock sha1:JNXh4Ny54WBYlNN3IuT4dKAslAA=
Xref csiph.com comp.databases.ms-sqlserver:1078

Cross-posted to 2 groups.

Followups directed to: comp.databases.ms-sqlserver

Show key headers only | View raw


Gene Wirchenko (genew@ocis.net) writes:
>      Is there a way to get keyboard input while executing a script?

As long as you write the script in a language which runs in an environment
that has access to your keyboard, it should be no problem.

If you have something that runs in a service with no desktop or keyboard,
the situation is considerably more dire, though.
-- 
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx

Back to comp.databases.ms-sqlserver | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Keyboard Input in Scripts Gene Wirchenko <genew@ocis.net> - 2012-05-25 14:03 -0700
  Re: Keyboard Input in Scripts Erland Sommarskog <esquel@sommarskog.se> - 2012-05-25 23:24 +0200
    Re: Keyboard Input in Scripts Gene Wirchenko <genew@ocis.net> - 2012-05-27 18:57 -0700
      Re: Keyboard Input in Scripts Erland Sommarskog <esquel@sommarskog.se> - 2012-05-28 07:40 +0000

csiph-web