Kurto2021 Posted July 5, 2013 Share Posted July 5, 2013 (edited) I have recently just set up some automation with emails that come in that need to be keyed into the computer. Currently I am doing a lot of send("enter text here") but I was wondering is there any disadvantage to doing this clipput("enter text here") send ("^v") on the cell. In a quick experiment with notepad I found the pasting to be faster but was curious if I might experience any issues doing it this way and if so what would they be? Also as a side I think I would probably leave it as tabs but I was wondering if sending the mouse the coordinates would be faster as well instead of tabbing.....this is a dedicated machine that does nothing but process web requests. We process approximately 1,500 web requests per week during the slow time with 2000 to 3500 during peak season. I was looking to see if I could speed up this process in any way before that time comes. Edited July 5, 2013 by Kurto2021 Link to comment Share on other sites More sharing options...
water Posted July 5, 2013 Share Posted July 5, 2013 Which email client do you use (Outlook ...) and which browser do you use (Internet Explorer, Firefox ...)? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Kurto2021 Posted July 5, 2013 Author Share Posted July 5, 2013 not using any browser the emails come in and they are keyed into the mainframe. I would prefer to make a flat file or xml and have it imported but was told that is not an option so we have to open the window and key it in. That being said I was using send ("12342345") but found it faster to load the value to the clipboard and paste it. Just wondering if there was a negative impact in doing this. Link to comment Share on other sites More sharing options...
water Posted July 5, 2013 Share Posted July 5, 2013 Which program do you use to read you mails? If it is Outlook you can at least automate the Outlook side. How do you access the mainframe (PC3270 ...)? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Kurto2021 Posted July 6, 2013 Author Share Posted July 6, 2013 Using your outlook ex udf then loading the data to an array Link to comment Share on other sites More sharing options...
Kurto2021 Posted July 6, 2013 Author Share Posted July 6, 2013 (edited) Mainframe is executed through some qws3270.exe (something like that). Edited July 6, 2013 by Kurto2021 Link to comment Share on other sites More sharing options...
Bert Posted July 6, 2013 Share Posted July 6, 2013 Does your mainframe emulator have the ability to add hotkeys to act as macros? The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Kurto2021 Posted July 6, 2013 Author Share Posted July 6, 2013 Yes Link to comment Share on other sites More sharing options...
Bert Posted July 7, 2013 Share Posted July 7, 2013 Couple more questions: 1. Could you write a macro to handle the email? 2. Is the same sort of email template used for most of the emails sent? If yes then this would solve most of the problem. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Kurto2021 Posted July 7, 2013 Author Share Posted July 7, 2013 I'm not sure I'd want to do that. Right now we set up a rule where all the requests come in then the UDF code picks up the email in the folder parses it to the array then launches mainframe window and keys it in. I found it a bit slower then I wanted so I began loading to clipboard and pasting. Friday was my first day running it full bore and it was pretty fast. Just worried loading to clipboard my be an issue. I have never used the mainframe before so I'd have to ask the users for more details. I wanted to load the array to a SQL statement then insert it into the mf database but they said no to that too. Link to comment Share on other sites More sharing options...
Bert Posted July 9, 2013 Share Posted July 9, 2013 The reason I suggest the macro is simply for two reasons - First - that is what a macro is designed to do. Second - you stay inside the application. You would have no need to have a separate application to do the job you require. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now