Jump to content
Macro Express Forums

Macro slows down typing after a few lines


cedricmeier
 Share

Recommended Posts

Hi All,

 

I have owned ME for a while now and love the program. I do constantly have problems though with the macro slowing down when it is typing test. One of the macros that i made opens up the command prompt and copies a bunch of files from different directories into other different directories. I get macro express to start with some basic commands to copy files and the text to copy the files is usually instantly typed into the c prompt for the first 2-3 files that are being copied. Then, after about the 2-4 file that is being copied, the text to execute a copy command starts to be typed much slower. Does anyone know what may be causing this? Could it be something to do with the fact that when the file begins to copy, that it obviously takes some time to copy the file so this is screwing up the macro cause the macro is trying to type the next line of text to execute the next copy command? If i get teh macro to execute this line in the command prompt (copy /y "C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\pop\%T12%.jpg), how can i get the macro to pause until that file has been copied?...i think that maybe this is what is causing the problems...but i'm not 100% sure.

 

Thanks,

Cedric

 

 

My full macro is below:

 

<TEXTTYPE:<WIN>r><MSD:300><TEXTTYPE:<BACKSPACE>cmd<ENTER>><WAITWIN2:000010:000000:C:\WINDOWS\system32\cmd.exe><MSD:100><TEXTTYPE:cd\<ENTER>><TEXTTYPE:cd C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\pop<ENTER>><TEXTTYPE:ren *.* %T12%.jpg<ENTER>><TEXTTYPE:cd\<ENTER>><TEXTTYPE:copy /y "C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\pop\%T12%.jpg" "D:\Iscreenworld\Iscreenworld Administration Files\administrators\canada\bc\delta\tsa_ferries\image_popups\%T60%\%T4%\images"<ENTER>><TEXTTYPE:copy /y "C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\pop\%T12%.jpg" "D:\Iscreenworld\Iscreenworld Administration Files\administrators\canada\bc\vancouver\via_rail\image_popups\%T60%\%T4%\images"<ENTER>><TEXTTYPE:copy /y "C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\pop\%T12%.jpg" "D:\Iscreenworld\Iscreenworld Administration Files\administrators\canada\bc\victoria\swa_ferries\image_popups\%T60%\%T4%\images"<ENTER>><TEXTTYPE:cd\<ENTER>><TEXTTYPE:cd C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\tch<ENTER>><TEXTTYPE:ren *.* %T12%.jpg<ENTER>><TEXTTYPE:cd\<ENTER>><TEXTTYPE:copy /y "C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\tch\%T12%.jpg" "D:\Iscreenworld\Iscreenworld Administration Files\administrators\canada\bc\delta\tsa_ferries\pics\%T60%\%T4%"<ENTER>><TEXTTYPE:copy /y "C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\tch\%T12%.jpg" "D:\Iscreenworld\Iscreenworld Administration Files\administrators\canada\bc\vancouver\via_rail\pics\%T60%\%T4%"<ENTER>><TEXTTYPE:copy /y "C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\tch\%T12%.jpg" "D:\Iscreenworld\Iscreenworld Administration Files\administrators\canada\bc\victoria\swa_ferries\pics\%T60%\%T4%"<ENTER>><TEXTTYPE:cd\<ENTER>><TEXTTYPE:cd C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\rot<ENTER>><TEXTTYPE:ren *.* %T9%.jpg<ENTER>><TEXTTYPE:cd\<ENTER>><TEXTTYPE:copy /y "C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\rot\%T9%.jpg" "D:\Iscreenworld\Iscreenworld Board Files\Canada\British Columbia\Delta\Tsawwassen Ferries Terminal\right_frame\middle_frame\images_videos"<ENTER>><TEXTTYPE:copy /y "C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\rot\%T9%.jpg" "D:\Iscreenworld\Iscreenworld Board Files\Canada\British Columbia\Vancouver\Via Rail Terminal\right_frame\middle_frame\images_videos"<ENTER>><TEXTTYPE:copy /y "C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\rot\%T9%.jpg" "D:\Iscreenworld\Iscreenworld Board Files\Canada\British Columbia\Victoria\Swartz Bay Terminal\right_frame\middle_frame\images_videos"<ENTER>><TEXTTYPE:cd\<ENTER>><TEXTTYPE:cd C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\web<ENTER>><TEXTTYPE:ren *.* %T79%.jpg<ENTER>><TEXTTYPE:cd\<ENTER>><TEXTTYPE:copy /y "C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\web\%T79%.jpg" "D:\Iscreenworld\Iscreenworld Website Files\onlinekiosk.iscreenworld.com\kiosk\%T60%\pics"<ENTER>><MSD:300><TEXTTYPE:cd\<ENTER>><TEXTTYPE:copy /y "C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\pop\%T12%.jpg" "D:\Iscreenworld\Iscreenworld Board Files\Canada\British Columbia\Delta\Tsawwassen Ferries Terminal\left_frame\%T60%\popups\%T4%\pics"<ENTER>><TEXTTYPE:copy /y "C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\pop\%T12%.jpg" "D:\Iscreenworld\Iscreenworld Board Files\Canada\British Columbia\Vancouver\Via Rail Terminal\left_frame\%T60%\popups\%T4%\pics"<ENTER>><TEXTTYPE:copy /y "C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\pop\%T12%.jpg" "D:\Iscreenworld\Iscreenworld Board Files\Canada\British Columbia\Victoria\Swartz Bay Terminal\left_frame\%T60%\popups\%T4%\pics"<ENTER>><TEXTTYPE:copy /y "C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\tch\%T12%.jpg" "D:\Iscreenworld\Iscreenworld Board Files\Canada\British Columbia\Delta\Tsawwassen Ferries Terminal\left_frame\%T60%\pics"<ENTER>><TEXTTYPE:copy /y "C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\tch\%T12%.jpg" "D:\Iscreenworld\Iscreenworld Board Files\Canada\British Columbia\Vancouver\Via Rail Terminal\left_frame\%T60%\pics"<ENTER>><TEXTTYPE:copy /y "C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\tch\%T12%.jpg" "D:\Iscreenworld\Iscreenworld Board Files\Canada\British Columbia\Victoria\Swartz Bay Terminal\left_frame\%T60%\pics"<ENTER>><MSD:500><TEXTTYPE:cd C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\tsa_map<ENTER>><TEXTTYPE:ren *.* %T12%.jpg<ENTER>><TEXTTYPE:cd\<ENTER>><TEXTTYPE:cd C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\via_map<ENTER>><TEXTTYPE:ren *.* %T12%.jpg<ENTER>><TEXTTYPE:cd\<ENTER>><TEXTTYPE:cd C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\swa_map<ENTER>><TEXTTYPE:ren *.* %T12%.jpg<ENTER>><TEXTTYPE:cd\<ENTER>><MSD:500><TEXTTYPE:copy /y "C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\swa_map\%T12%.jpg" "D:\Iscreenworld\Iscreenworld Board Files\Canada\British Columbia\Victoria\Swartz Bay Terminal\left_frame\%T60%\popups\%T4%\maps"<ENTER>><TEXTTYPE:copy /y "C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\tsa_map\%T12%.jpg" "D:\Iscreenworld\Iscreenworld Board Files\Canada\British Columbia\Delta\Tsawwassen Ferries Terminal\left_frame\%T60%\popups\%T4%\maps"<ENTER>><TEXTTYPE:copy /y "C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\via_map\%T12%.jpg" "D:\Iscreenworld\Iscreenworld Board Files\Canada\British Columbia\Vancouver\Via Rail Terminal\left_frame\%T60%\popups\%T4%\maps"<ENTER>><IFVAR2:1:17:1:Yes><TEXTTYPE:cd\<ENTER>><TEXTTYPE:cd C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\video<ENTER>><TEXTTYPE:ren *.* %T12%.avi<ENTER>><MSD:300><TEXTTYPE:copy /y "C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\video\%T12%.avi" "D:\Iscreenworld\Iscreenworld Board Files\Canada\British Columbia\Delta\Tsawwassen Ferries Terminal\left_frame\%T60%\popups\%T4%\videos"<ENTER>><TEXTTYPE:copy /y "C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\video\%T12%.avi" "D:\Iscreenworld\Iscreenworld Board Files\Canada\British Columbia\Vancouver\Via Rail Terminal\left_frame\%T60%\popups\%T4%\videos"<ENTER>><TEXTTYPE:copy /y "C:\Documents and Settings\Iscreenworld-main\Desktop\Ads\video\%T12%.avi" "D:\Iscreenworld\Iscreenworld Board Files\Canada\British Columbia\Victoria\Swartz Bay Terminal\left_frame\%T60%\popups\%T4%\videos"<ENTER>><ENDIF><TEXTTYPE:exit<ENTER>>

Link to comment
Share on other sites

Thanks for the reply. In this case i don't see this being possible as the commands that i would put in the .bat file contain variables. I don't think that the .bat file would recognize what %T12% means. Would slowing down the "keystroke speed" from within ME work? I don't really understand why ME is slowing this down so much. Maybe if i knew the reason that it was slowing down, I would be able to troubleshoot it better. Does anyone know what the actual reason is for the slow down?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...