Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!uflorida!novavax!rm1!rm1.UUCP!myoung From: myoung@rm1.UUCP (Michael Young) Newsgroups: comp.windows.ms Subject: Re: WfW Macro FileOpen Convertion confirmation Message-ID: <1027@rm1.UUCP> Date: 20 Mar 91 19:10:17 GMT References: <1991Mar12.164620.10454@vaxa.strath.ac.uk> Sender: news@rm1.UUCP Reply-To: myoung@rm1.UUCP (Michael Young) Organization: Racal-Milgo, Sunrise, Florida Lines: 36 In article <1991Mar12.164620.10454@vaxa.strath.ac.uk>, cids05@vaxa.strath.ac.uk (@Dr Stephen K Tagg@) writes: >The only problem is the FileOpen command >when I get it to open the next file on the list correctly it insists >on bringing up a dialogue box in which I have to reply OK to confirm that >I want the file converted from .RFT format. > >I tried SendKeys and OK after the FileOpen statement but they had no effect. > >I am on WfW 1.1 but I presume my Technical Reference is for 1.0 (typical >publishers insisted it was the latest version here in the UK in the last month) > >ANY ideas? I believe your problem is you issued the SendKeys AFTER the FileOpen. You need to issue it BEFORE FileOpen. It will stuff the codes in the buffer and return to execute the FileOpen command. When FileOpen runs and puts up the dialog box it will get the "{enter}" string you issued via SendKeys. Be sure that you're using the "{enter}" mnemonic also. This should work. I have done it myself for another similar macro. > >Stephen Tagg >Lecturer in Marketing >University of Strathclyde >GLASGOW, SCOTLAND -- Mike Young -------------------------------------------------------------------------- Racal-Milgo 1601 N. Harrison Parkway Phone: (305) 846-6956 Sunrise, FL 33323-2899 UUCP: ...uflorida!novavax!rm1!myoung --------------------------------------------------------------------------