Jump to content
Macro Express Forums

blopib

Members
  • Posts

    98
  • Joined

  • Last visited

Posts posted by blopib

  1. I'm not quite sure what you're trying to accomplish or if I understand this correctly, but:

     

    i am copying data into 4 variables (t1, t2, t3, t4) and the loop continues for around 40 times. now what i want is that every time the loop continues it will copy certain data and store. the data to be copied is 4 fields. First time when it copies it will store as i said above. when it enters the loop next time it has to store in other variables like t5, t6, ..... . how do i increment the variables continously ina loop?

     

    40 times * 4 variables=160 and there is only 99 text variables?

  2. We have just bought it and even though we have used Me for a couple of years, I've already learned alot of interesting stuff from the book. Don't just think about it, just get it now! :D

     

    And now the weather report:

    Friday 13:15 Sunny, free from clouds and +12°C.

     

    Time to go home soon.

  3. The option to lock the keyboard and mouse are not currently available, but we are looking at the option and are planning to add it in a future release.

     

    Hi, just wondering what's happening with this? It would be a nice function. I'm always kind of nervous when I run my macro and they come to clean my office..... :rolleyes:

    If it was possible to to lock out the mouse and the keyboard, you still had to be able to use the abort macro hotkey.

  4. I discovered the person whose computer had the "problem" had changed the keyboard stroke for that key

     

    Thanks for the tip, but in this case I don't think it has something to do with my problem, my macro copies the data from Excel and writes it to this other application, and the data is right in Excel but it turns out wrong in this other appl. and when it happens (it's seldom) it just happens randomly.

  5. I have seen cases where an application stores information in mixed case and displays it in all upper case.

     

    I copy the data from Excel to a Oracle-based application and in some fields it's not allowed to write with lowcase letters, it automatically turns to uppercase letters. But in this field for designation it's ok to write both kinds.

     

    I'll put this in mind and try to figure out if it happens in some special situation, but I doubt that it's something that I can affect.

    Thanks Kevin for the answer anyway.

  6. We have experienced some trouble when copying from Excel to another application. When copying data from excel it eg. looks like this in the cell R27 DT71D4 in the excelsheet, but when it writes it out in the application it looks like this R27 Dt71D4 (a lowercase letter somewhere in the middle), it's can be randomly placed. I don't know what to think, I can't see that it should have something to do with timeing issues in ME, I don't know if it has something to do with ME at all or if it's something with the other application. Doesn't ME copy the ASCII code? If so it definitely should be a uppercase letter there.

    Someone who has a clue, why this is?

     

    Oh, have to run, time to go home :)

  7. I use SPACE to toggle sometimes, and I never had any problem with this so....

    I just think it's strange that it works when you do it manualy, the only thing I can suggest is to try Wait Text Playback after the Text Type command and to make sure that the window where you want to toggle with space is highlighted before the Text type.

  8. As I recall seeing in the help-file the accuracy of the schedule time isn't dead on. In this case my macro runs for a couple of hours and I want to be certain that the macro don't fires of again at the same day. (Only once per day). But it seems that you're test shows that it will not, so I guess I can relax.

    Thanks.

  9. Hi

    I've looked in both the help-file and in this forum but I have'nt found the answer to this.

    If I have checked both hotkey and Schedule and I start the macro with the hotkey slightly before the scheduled time, what happends when the macro is finished running with the hotkey. Does the macro start once more because the time for schedule did occur while the macro was running?

  10. Hi Kevin

     

    I still have these problems, but i've found out that it's different between the macros, look further down.

     

    Does restarting Macro Express help? Some people leave their computers on 24x7. Is your computer a desktop or a laptop/notebook? When you close a laptop it hibernates or sleeps. When a laptop is restarted it loads things where it left off. (Desktops have similar features but they are not used by default.) In short, do you restart Windows and consequently Macro Express periodically?

     

    If you leave your computer running continuously for long periods of time you may benefit by creating a scheduled macro that contains a Restart Macro Express command. Set the schedule to run at time that you are not likely to be using the computer; 2:00 AM perhaps.

    I shut down my computer almost every night.

     

    Have you emptied the Macro Recycle Bin inside Macro Express? You may have more macros in your macro file than you expect. There may only be a few active macros but you may have many more that you have deleted but not removed from the Macro Express Recycle Bin. When you edit a macro or when a macro runs Macro Express has to skip over the macros in the Macro Recycle Bin. Normally this is very fast and unnoticeable but if you have a large number of macros then it can start slowing down.

    I've emptied the macros recycle bin, it wasn't so much in there.

     

    How large is your macro file and macro cache? Check the size of your macro file using Windows Explorer/My Computer. If your macro file is larger than 1 Megabyte (1024 K), and if you have not adjusted the size of the cache before, you may benefit from increasing the size of the Macro Cache. Click Options, Preferences, Caching, and change the number of kilobytes used for the cache.

     

    However, if your computer is fast enough, and if you have macros that you don't use very often, a cache that is smaller than your macro file is okay. Today my main macro file contains 1098 macros with 343 more in the Macro Recycle bin and is nearly 4.5 megabytes in size. My Macro Cache is still set at the default value of 1024 K. This works great for me.

    The mex file is 131kb and the Total physical memory is 1048048kB, free 597964kB, Systemcache 483456kB.

     

    When is the last time you accessed the macro? Macros are saved in the macro cache in the order they are used. If there isn't room in the cache for a new macro then macros that have not been accessed for a long time are removed from the cache and the new one is added. When you run or edit a macro if it has not been accessed for a while then Macro Express needs to find room for it in the cache. This can cause some delay

    I can't see any problem with this, i've accessed both macros regulary.

     

    Rebuild your macro file. Occasionally a macro file will become corrupted in some way and can only be fixed by completely rebuilding the macro file. To do this follow these steps:

    Create a new macro file by clicking New, Macro File

    Import all of your macros from your existing macro file by clicking File, Import, Import Macros

    Recreate your macro categories and move your macros into them

    You will likely need to rebuild your popup and floating menus

    This solution is extreme but it often works wonders.

    I wait a little with doing this. We have so much work going on now with the help of macros.

    Now what i've come up with, i've found out that it's different between the macros.

    I have one macro that contains 5583 characters and it opens properties directly, i have another one wich contains 389 characters and it takes 17seconds to open up properties, regardless of any reboot, it always takes the same time in both cases. Both macros works fine, so i think it's very strange and i can't see any reason for this.

     

    What should i do next. What do you think about all this Kevin? Should i post the code of these two macros, maybe not here, to you directly Kevin? This is not a big problem more of a strange annoying kind of type.

×
×
  • Create New...