Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Win32::OLE Outlook and E-mail security update

by ThinMonk (Initiate)
on Feb 11, 2005 at 13:12 UTC ( #430078=note: print w/replies, xml ) Need Help??


in reply to Re: Win32::OLE Outlook and E-mail security update
in thread Win32::OLE Outlook and E-mail security update

Small Optim,

Replace all those SendKeys with one:

Win32::GuiTest::SendKeys('%y');

I actually did pretty much the same save I have a separate script that that lives for 2 minutes who's sole purpose in life is to kills off that popup window. In the calling application I call Win32::Process::Create as a detached_process just before causing the window to popup.

p1:..code.. p1:Win32::Process::Create(,'allow_outlook_send.pl',,,DETACHED_PROCESS, +) p2:started, on loop look for window p1:access outlook p1:hang on output p2:found window, click yes (till yes is available) p2:exit p1:got output p1:..code..
TM

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://430078]
help
Chatterbox?
[marto]: it does literally nothing, solves no problems that aren't already addressed, but it's real easy to mine, because nobody is doing it
[LanX]: cb60.datenzoo.de is producing broken links for me ...
erix foresees fungibility problems ;)
erix goes afk - catch y'all later
[Corion]: LanX: Broken links in what sense?
[Discipulus]: neurocent goes always up with the same curve of population raise
[marto]: believe in derp coin
[Corion]: Oh - I see ...
[LanX]: like http://cb60. datenzoo.de/:// perlmonks.org/ index.pl?node_id= 1215217
[Discipulus]: username links i bet

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2018-05-25 15:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?