Jump to content
Macro Express Forums

marteb

Members
  • Posts

    19
  • Joined

  • Last visited

Everything posted by marteb

  1. We currently use MEP to enter data into our ERP system using a desktop application. I use controls in my programs to watch for 'pop-ups' before continuing with the next step in the process. The desktop application is going away and the company has moved to an HTML5 web application. MEP doesn't seem to be able to see the 'pop-ups' in HTML5. Based on Cory's and acantor's posts, using controls will not work in HTML5 web pages, I would have to use code similar rberq's to make this work. is this correct? Thanks, Marteb
  2. Hello cbroome, We've been using Macro Express to enter data into the Datatel/ellucian desktop interface for several years. I am currently using Macro Express Pro and posted a question regarding Datatel Silverlight in that forum. Fortunately I still have access to the desktop interface and haven't needed to use webUI for major data entry projects. I hope to start working on a script for the webUI soon, but don't hold out much hope that it will work well or efficiently in Silverlight. My scripts depend on the 'popups' in the interface to determine what actions to take, handling errors, etc. My guess is that Silverlight is the problem, not Macro Express. As far as the shortcut keys you mentioned, some only work within the UI form itself. marteb
  3. Cory, Thanks for the help. I found a previous post with the an example of the VBScript you used to extract the HTML code and it works perfectly. Unfortunately the script download from Silverlight never changes no matter what is on the screen, it looks like some of the code is hidden. Do you know if there is another way to make this work? Thanks, Marteb
  4. Cory, thanks for the quick response. I do not know what Internet Explorer automation API is or how it works. Guess I have some research to do. Thanks again, Marte
  5. Good morning, I use MEP for data entry into our Datatel system. We are moving from desktop UI to a Silverlight web UI product. Many of my macros use controls (pop-up type alerts) to determine the next course of action. I am unable to capture controls using 'Get Control' in the web UI. The capture utility does not recognize the individual alert pop-ups just the entire Silverlight screen. I was able to use pixel color as a work around on a simple macro. This simply will not work on the more complicated scripts as some alert pop-ups contain text that is used to determine the next step. Is anyone currently using MEP with Datatel Silverlight UI? If so, how do you deal with the alert pop-ups? Love the forum and appreciate any suggestions. Thanks, Marte
  6. Kevin, Thanks, I appreciate your help. Marte
  7. Good morning, Can the font size be changed when printing a macro in ME Pro? This option exists in ME3 in the File command on the tool bar. Thanks, Marte
  8. Kevin, Thanks for the help. You were right, MEP was not really locked, the 'ESC' key restored functionality. I was not able to see the dialog box at all so Alt+space, m did not work. Since your reply explained that the dialog might be hidden, I was able to resolve the problem. I changed the size of the MEP window using 'Restore Down' and found the dialog box. It is now visible and the import worked perfectly. Marte
  9. Good morning, I have MEP installed on my PC and laptop. I generally create and test the macros on my PC then import to the laptop to run. I am unable to import the macros to the laptop and both machines are running 4.0.1.1. MEP freezes up and I am forced to terminate the program. Any help would be greatly appreciated. Thank you, Marte
  10. Thanks Cory, I had inadvertantly covered it up when I 'drug' the bottom of the scripting area down to enlarge it. Thanks for the heads up on the bug. Marte
  11. Good morning, I am looking for an option in MEP that will show the current value of the variables when a macro is aborted. This function was in the Scripting Editor 'Debug-Debug Windows-Variable Values' in ME3. I have only had MEP for a couple of days so I am still exploring. It does run much faster and I could have used the 'Go To' function about 3 months ago. Thanks, Marte
  12. Cory, Thanks for the suggestion, this certainly sounds more efficient. I am not quite sure how to parse the data into variables from the clipboard. Guess I will have to do some research in my spare time. marteb
  13. Floyd, Thanks for the help. I started working on this Friday and just could not get it to work (bad case of "brain lock"). Jumped into it this morning and finally got it working. I had to add a "Variable Set Integer %N1% to 1" statement because it kept crashing ME. Not sure what that was all about?? I also had to add "Variable Modify Integer: %N1% = %N1% + 1" to increment the variable. Should it incremented on its own? Since I'm using this as a subroutine, I added "Set Variable T99 from Clipboard" as a control instead of a "Repeat x times". Once the macro hits a blank cell, it will return to the main macro. Looks like this is going to be a work in progress. I just thought of a couple more possible tweaks while composing this message. Thanks again for all the help and I look forward to learning more. Marteb
  14. Hello, I have been using ME for 1 1/2 years and just love it. We are in the middle of a system/software conversion and ME has saved us considerable time and money. My macros have evolved and have become leaner and more efficent. I would like to know if there is anyway to set sequential string variables with data. I currently use the following to set T1 - T10 with values copied from a spreadsheet. There can be more than 10 values, I just stopped at 10 and added a repeat. This is a subroutine that is called from another macro. Clipboard Copy Variable Set String %T1% from Clipboard Delay 250 milliseconds Text Type: <Home> <Down Arrow> Clipboard Copy Variable Set String %T2% from Clipboard Delay 250 milliseconds Text Type: <Home> <Down Arrow> ....etc Clipboard Copy Variable Set String %T10% from Clipboard Delay 250 milliseconds Text Type: <Home> <Down Arrow> Now I return the the main macro and enter the data into a screen. Delay 800 milliseconds Text Type: %T1% <Enter> Delay 800 milliseconds Text Type: %T2% <Enter> .....etc Delay 800 milliseconds Text Type: %T10% <Enter> I would like to do something like this. (Obviously this is not the correct syntax) Clipboard copy Variable Set String %T1% from clipboard Delay Repeat Until something Clipboard copy If Clipboard not equal to blank increment %T_% by 1 (=next T variable) Variable Set String %T_% from clipboard End if Repeat End Now return to main macro and enter data using a similar process. Thank you, Marteb
  15. Hi Jason, Thanks for the speedy answer. I thought it my be the GUI that we use on our new system, but wasn't sure. Figured it wouldn't hurt to post the question here. I will check the support site for the GUI for more information. Thanks again, marteb
  16. Hello, I just started using Window controls in my macros and they have quit working. I am getting an "Error Running Script Command" dialog box with the error "6092 DialogBox: This dialog has not been shown. In Script: 0. The macro continues to run, but eventually starts behaving strangely. If I stop the macro and restart, it can't find the controls. Any ideas? Thanks, marteb
  17. Hello Joe and another1one, I have finally had time to research and play with the window control functions. I had been using Activate Window with delays built in to give the system time to respond. I like the window control much better, which brings up a few questions. 1) Am I understanding correctly that the Get Control command defines each control variable? If so, can you define all controls at the beginning of a macro? 2) By using the "Wait for Control" & "Set Focus" commands can I eliminate adding a delay between commands? Thanks for the help, marteb
  18. Joe, Thank you for the information. I won't have a chance to try this until sometime next week. We lost power at work Thursday evening and it had not been restored as of this morning (Saturday). I will let you know if any of these commands solve my problem. Thanks again, marteb
  19. Hello, I have been using Macro Express since November and have found answers to many questions in this Forum. Keep up the good work! java script:emoticon('') smilie I have been using Macro Express to "key" data from spreadsheets into the GUI on our new system during the conversion process. This has saved me countless hours and probably carpel tunnel to boot. Here's my problem. I have not figured out how to stop or pause Macro Express when an error message from the GUI pops up. I thought it would be a "window" command, but the "popups" have the same name as the main window. I have searched "help" and this forum with no luck. Perhaps I should be looking for a different command, but have no idea what it could be. If someone could point me in the right direction, I would certainly appreciate the help. Thanks, marteb
×
×
  • Create New...