🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #3075

Re: Sendkeys

#3075
From: Gigio2k [work]
Date: Wed, 20 Nov 2002 11:24
16 lines
1671 bytes
<dosca@libero.it> ha scritto nel messaggio
news:AKuC9.50482$8E3.1447248@twister2.libero.it...
> N.B.: non proponetemi altre soluzioni come quella dell'utilizzo delle API
> per intercettare la finestra
> alla quale devo inviare i dati: per ora devo assolutamente impiegare il
> comando 'sendkeys'.

be allora usare un alt tab mi sembra un po grezzotta , per risolvere il
problema esiste la funzione
appactivate(Title[Wait])

per esempio se la tua finestra ha come titolo "Microzozz word - Nuovo
documento" basta fare :

appactivate "Microzozz", true
sendkeys "Ciao" & "~"
Technical Details
Message-ID: <khKC9.50$2B1.829@twister2.libero.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
References: <AKuC9.50482$8E3.1447248@twister2.libero.it>

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII-7-bit
X-Google-Thread: f94ee,4c43ec37be15dfcb
X-Google-Attributes: gidf94ee,public
X-Google-Thread: 10b997,4c43ec37be15dfcb
X-Google-Attributes: gid10b997,public
X-Google-ArrivalTime: 2002-11-20 03:24:01 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
From: "Gigio2k [work]" <no@mail.please>
Newsgroups: free.it.visual-basic,it.comp.lang.visual-basic
References: <AKuC9.50482$8E3.1447248@twister2.libero.it>
Subject: Re: Sendkeys
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <khKC9.50$2B1.829@twister2.libero.it>
Date: Wed, 20 Nov 2002 11:24:00 GMT
NNTP-Posting-Host: 151.27.186.236
X-Complaints-To: abuse@libero.it
X-Trace: twister2.libero.it 1037791440 151.27.186.236 (Wed, 20 Nov 2002 12:24:00 MET)
NNTP-Posting-Date: Wed, 20 Nov 2002 12:24:00 MET
Organization: [Infostrada]