Jump to content
Macro Express Forums

Rustywinger

Members
  • Posts

    120
  • Joined

  • Last visited

Everything posted by Rustywinger

  1. I have Acrobat running with two files present. One is a reference file I keep open all the time and the second one is a form which gets filled with data by another ME Macro. I have a lot of issues with how ME and Acrobat interact with this dynamic form so I close the file and reopen it every time I fill it out so it starts fresh. I have instructed the macro to close the specific window "Adobe Reader - [flag for manual review.pdf]", and what happens is that it closes the entire program. Checking off "Close current window" also closes all the windows. Suggestions, gentlemen?
  2. Drat. I suppose this is a good thing.... I guess I could work my way around this by setting a variable and writing an argument which would be local only to user 'A''s computer.
  3. I have a MEX that is being used by multiple people over a network, and there are some macro sets within this file that share the same activation keys but one set will be "disabled" while the other is "enabled". My question is: If user X enables set 'A' on their machine, and user Y, who is on a different machine, disables 'A' and enables 'B', will user X still be using set 'A' without any problem? Thanks!
  4. Johnboy, I get more ideas from the great people in this forum than I know what to do with, but It's all going on my list because I see potential in almost everything posted here. I'll have to put in a proposal to the boss to dedicate more of my job to this stuff! :-) PS- Joe, Thanks for that fantastic fix!
  5. This is less of a question and more of a feature request: I sometimes want to rename or reorganize things in the MEX file and since I have a lot of repetitive code, I reference it out with "Macro Run" to make any modifications to that code much simpler to do. I have noticed that if you change the name of a referenced macro it will break any other macros that link to it. It would be cool if "Macro Run" used some tag other than the file name to identify the macro it is referencing. Any tips on organizing macro files would be appreciated! The file I have running on the network currently has over 200 macros in it for running 3 different applications that work together in our office.
  6. Why is it when I put in the instruction to wait for enter key, ME will make this "retroactive"? Meaning if the last key I pressed before the wait command was ENTER, then that's good enough for the argument and it goes on its merry way to screw everything else up! :-)
  7. This doesn't seem to be downloading right for me... I keep ending up with a file titled index.php, which is obviously not what you intended, eh? :-) Thanks!
  8. How long it takes for a window to appear wouldn't necessarily affect how quickly your macro can enter data into it once it does appear, does it? Are you waiting for a window to appear? I use some repeat loops that wait for a window to lose focus before continuing that accommodate computer speed slowdowns.
  9. I'm also going through these "growing" pains, and as Cory suggested here, I have been trying to get processes to be a little more aware of what they are doing by waiting for cues. However it has been hit and miss because not all programs allow you to set controls or even allow ME to recognize the presence of a visible/focused window. I have a Window "A" that gets opened and closed all day, however Window "A"'s name does not appear in the list inside ME. I have no idea how to add it and just typing in the name of Window "A" does not work. There is a menu in this window that ME does recognize when I drag the Get Control Utility target over it and I have been somewhat successful in making the macro wait for that.
  10. Floyd- 1- Excel v. 11.0.8142.0 2- Not a particular workbook sheet, however, that would also be some very handy knowledge to have. Right now I am trying to isolate a file open in Excel. Cory- I checked my prefs and "Windows in Taskbar" was enabled. You didn't specify what state you recommend this be. Johnnyboy- Nice workaround! But a little complicated because there are going to be 10 different people (paid hourly) using this macro file and not all are that... motivated to jump through too many hoops to get this working. Thanks everyone!
  11. Hi all! I have multiple files open in Excel, and I want to go from a different application to a specific window open in Excel. Activate or Launch: "ReferringProviders" OR "ReferringProviders.xls" I have specified the exact file and the exact window, when launching this file from scratch, it opens the correct window, but if I switch applications and there is a different file open in the foreground of Excel, it will not switch to the file I want. I just can't figure it out. Any tips?
  12. CC- Your suggestion actually hurt my head since I'd been out last night celebrating my cleverness. I like how you have the computer debate whether the chicken or the egg comes first while secretly, the loop is craving for ham. Cory- Duly noted, my code now has a break in there instead. Thanks! :-)
  13. Hi, Cory! Thanks for the suggestion, I actually got down and fixed this about 5 mintues after posting... not so lazy after all! Here is my crude, yet simple solution which I put in a macro without activation and then ran it from within other Macros as an "applet": Repeat Until %T39% = "8" If Not Control %C1% Visible Repeat Exit End If Delay 50 Milliseconds Repeat End The "8" means nothing of course... the real condition that is being sought is "If Not Control %C1% Visible". So the macro happily loops and loops until the network lag finally clears the closed window allows the remaining code to continute unmolested.
  14. I have a macro with an argument that checks if the control text in C5 is visible. This is meant to close any dialog boxes that might pop up in the course of forcing this dog of a data entry application to speed things up, but the amount of dialog boxes varies from record to record. I notice there are no "C" variables in the "Repeat until" command in the scripting editor... is there a way to edit it in the direct editor to look to see if the C5 control is visible before exiting the loop? Right now I just have an argument copied over 8 times to cover the maximum amount of dialog boxes that might appear, but its a little too crude for my picky sensibilities. Thanks! /3 posts in two days... boy, I must seem very lazy! :-\
  15. Hi all! I've been scrounging around in the help and in the program, there is a clear way to put the contents of the clipboard into a variable, but not the other way around? Any quick answers here?
  16. Ok, I just tried that a couple of times... seems to be working! The only variation that screws it up is if the program doesn't fill the field up before the Macro goes searching, but I guess it will do. Thanks, Kevin! :-)
  17. Greetings, Gurus and Gurus in training! There is a "locked" field in a program I use that does not allow you to select the text in it. However, when I run the "Get control" utility over it, the text appears in the "Window text" field. Is there any way to put that text into a variable in order to record/use it elsewhere? Thanks!
  18. I posted about this, but perhaps it was too confusing. Specifically what I would like to know is can ME create a text file from scratch, automatically named with the date/time? Thanks!
  19. I'm doing data entry and have a whole bunch of macros that record files being opened, saved, lines created, and other functions by using the "Variable modify integer". This allows me at any time, to open a text box that contains all the data collected during the day, however, it is all in dynamic form and I would like to save it automatiucally. I am trying to figure out how to put this data, which is already being collected in variables, into an excel or text file on a daily basis in order to build an overall entry stats page for comparative purposes, ie- something that can be input into a database. I'm ok at programming, but not quite an intermediate yet!
×
×
  • Create New...