Jump to content
Macro Express Forums

Lars_Sandberg

Members
  • Posts

    48
  • Joined

  • Last visited

Everything posted by Lars_Sandberg

  1. I just chekked ME 3.5c still contains the schedule bug, mentioned back in october for 3.5b.
  2. Thanks Kevin, my mistake was to login with username & password, when I diasbled that it worked :-) regards Lars
  3. Hi, sometimes I need to send huge amount of datas to customers. Then I have to split a large zip-file at 50 mb or more, into multiple binary pieces of 5 mb. Each of these files I have to attach to an email (one by one), wich I send, then wait to the client recieved that file, then I can send the next binary part. Since we don't have a ftp-server for now, I thought that ME could do this tedius task, and I tried following code: // Email address Variable Set String %T1% from Prompt // Counter Variable Set Integer %N1% to 0 // No of files Variable Set Integer %N2% from Prompt // Delay i sec Variable Set Integer %N3% from Prompt Text File Begin Process: "files.txt" E-Mail Send: Know Recipients, Fixed Text, Attachments Delay %N3% Seconds Text File End Process --------- <REM2:Email address><TVAR2:01:02:FEmail addressFFCenter:Center><REM2:Counter><IVAR2:01:01:0><REM2:No of files><IVAR2:02:02:FNo. of filesFFCenter:Center><REM2:Delay i sec><IVAR2:03:02:FDelayFFCenter:Center><BTFBEG:002:000001:000000:c:\Send\files.txt><EMAIL2:Center:Center:Center:Center:Center:Center:RNR1TO%T1%|%T1%;S1File %N1% of %N2%A2%T2%;F><DELAY:%N3%><BTFEND> -------- I get an error: Exception 502 error: command not implemented (smtp authentication failed) I have configured ME with smtp-server, login and password, so what is the problem? I'm using ME 3.5b regards Lars
  4. In my opinion is ME by itself totally cool, so I would say that even a simple macro can be a huge time saver :-) One of my macros, was stepping through a MS Access database with approx 1100 customers, looking at the zip code, then filling in the city name. The information was taken from a csv-file. Another one: I got 440 phone numbers from another company databse, these phone numbers was sorted in an ascii-file, then ME passed all of these into a web-based database, copying and pasting address info etc. into another file. I also have af bunch of macros for a 3D-CAD system (Autodesk Inventor Series) which every time I use them, put a smile on my face. So far I have around 200 macros in ME, all of them pretty helpfull. I guess that for me as for every ME user it is a funny sport to eliminate manual work on a computer :-) And yes I have shown my colleagues ME and advertised for that. regards Lars
  5. Hi, if it can't be done with ME alone, you could use UltraEdit (superb editor): http://www.idmcomp.com/ In UE you could have an internal macro (UE have it's own macroes) doing the deletion job + save, when a specific file is open. Then let MacroExpress handle the file open and close. In ME use: Text File Begin Process, which takes an ascii file which could be created from the OS command prompt: dir /b *.htm* >filelist.txt This will collect the filenames into an ascii file. With dir /s /b you also get content from subdirs. regards Lars
  6. HI, I have scheduled a macro to adjust the clock in my computer every hour, with start at 12:00 and then every hour. But at 00:00 the macro doesn't run, see the fragment of the error log below. The Macro only runs every hour from 01:00 to 23:00 code: Synchronize System Time with ntp.lth.se <SYSTIMESERVER:ntp.lth.se> 19-10-04 21:00:05 Macro "Time_Adjust" Started 19-10-04 21:00:05 Macro "Time_Adjust" Completed 19-10-04 22:00:05 Macro "Time_Adjust" Started 19-10-04 22:00:05 Macro "Time_Adjust" Completed 19-10-04 23:00:05 Macro "Time_Adjust" Started 19-10-04 23:00:05 Macro "Time_Adjust" Completed 20-10-04 01:00:05 Macro "Time_Adjust" Started 20-10-04 01:00:05 Macro "Time_Adjust" Completed regards Lars
  7. Hmm, maybe PIL is for Piracy Illegal License? If you got ME and didn't pay for it, then it is piracy. Good that Insight have a good protection on ME, so they are payed for further developing. regards Lars
  8. Hi Floyd Basicly adding an "If Window On Top" test doesn't change anything in my macro. As I wrote, just if I minimize/ close or move my mouse over the main application window with the title: "G-Lock SpamCombat [uNREGISTERED VERSION]", the test variable T1 is set to exactly that value, so the test in the IF statement below returns "false" and no of the arguments in the IF statement is processed (no "Mouse Move Window") But still, if I minimize or close that main window as described above, that window pops up again. Very weird You or other could eventually try, just download: G-Lock SpamCombat Version: 2.30 (445) at: http://www.glocksoft.com/sc/ By the way, a very nice spamfilter :-) regards Lars ------- Keystroke Speed: 30 Milliseconds Mouse Speed: 50 Milliseconds Variable Set String %T1% from Window Title If Variable %T1% = "G-Lock SpamCombat" AND If Window Title "G-Lock SpamCombat" is on top Delay 300 Milliseconds Mouse Move Window 317, 279 Mouse Left Button Click End If Text Box Display: Top title <SPKEY:0030><SPMSE:00050><TVAR2:01:06:><IFVAR2:1:01:1:G-Lock SpamCombat><AND><IFOTH:03:1:G-Lock SpamCombat><MSD:300><MMW2:317,279><LCLK><ENDIF><TBOX4:F:2:000699000012000278000200:002:Top title%T1%>
  9. Fair enough despite i'm sorry to say that it doesn't go. The code below proves the problem. The line: "Text Box Display: Top title" displays the content of variable T1, that means title from topmost window, when the macro runs. If I place the line: "Text Box Display: Top title" after the IF statement, the display box activates frequent, when I move the mouse over: "G-Lock SpamCombat [uNREGISTERED VERSION]", where this line is displayed, actually the "hidden" windows are visible parts of the main window. But because of the IF statement, the mouse move within the statement doesn't activate as expected. Please notice that I this time used mouse move for selecting Continue instead of ALT-c. If I try to minimize the main window: "G-Lock SpamCombat [uNREGISTERED VERSION]" the macro activates text box displays the full title. Because of the IF statement, the mouse doesn't move. Please also notice that the main window already is on top, when I minimize. That shouldn't activate the macro, but it did. Next mistake from ME is that since the IF statement prevent a mouse move because of the full title "G-Lock SpamCombat [uNREGISTERED VERSION]", the minimized window still activates, but there was no mousemove. If I place the line: "Text Box Display: Top title" within the IF statement as below, the textbox only displays after the mouse move within the statement. So with the attempt of minimize, the is no mousemove followed by a textbox. regards Lars The macro code: Activates from partial windows title: "G-Lock SpamCombat" Keystroke Speed: 30 Milliseconds Mouse Speed: 50 Milliseconds Variable Set String %T1% from Window Title If Variable %T1% = "G-Lock SpamCombat" Delay 300 Milliseconds Mouse Move Window 317, 279 Mouse Left Button Click Text Box Display: Top title End If <SPKEY:0030><SPMSE:00050><TVAR2:01:06:><IFVAR2:1:01:1:G-Lock SpamCombat><MSD:300><MMW2:317,279><LCLK><TBOX4:F:2:000699000012000278000200:002:Top title%T1%><ENDIF>
  10. I can only say that this macro should work. It is ME that have the problem, since the macro to close the AD window, also starts when I minimize or close the main application window with the title: "G-Lock SpamCombat [uNREGISTERED VERSION]" In the ME log I can see that it is my "SpamComb_close" macro who runs 17-10-04 18:43:59 Macro "SpamComb_close" Started 17-10-04 18:43:59 Macro "SpamComb_close" Completed According to the code below, ME should only type ALT C, when a window containing exactly "G-Lock SpamCombat" is on top (=visible). But in addition to that ME also restores the main window window, when I try to close this. Keystroke Speed: 30 Milliseconds Variable Set String %T1% from Window Title If Variable %T1% = "G-Lock SpamCombat" Delay 1 Seconds Text Type: <ALT>c End If As I see there is simply and unfortunately no excuses for ME to do it right, it must be a bug. By the way I encountered another odd behaviour with ME for some time ago. Short explanation: I made a macro to run trough my URL shortcuts from Total Commander for verifying existence, but despite my macro should activate and run within IE (with a little delay offcourse), the macro was running within ME's own user interface instead. regards Lars
  11. Yep, that's correct, but the IF statement ensures that the macro actually only closes the window when exactly "G-Lock SpamCombat" appears. By the way, the minimize all function in windows works correctly, so here I can close G-Lock SpamCombat main window. I can't see how SpamCombat should detect ME as a malicious program, since it must be unrealistic to manage such a "database" of malicious programs. ME just types in keys in this example. My macro closes the unwanted window, advertizing for the software. But as mentioned I can't close the main SpamCombat window with minimize or close, without it pops up again. This behaviour I haven't seen with other programs. By the way, SpamCombat is ment to run unregistered, but with limitations: http://www.glocksoft.com/sc/index.htm You or others could eventually try. Regards Lars
  12. As already written: This macro starts when a window containing: "G-Lock SpamCombat" is on top When program "gsc.exe" is running, not nessesary on top. gsc.exe is the main executable for G-Lock SpamCombat. regards Lars
  13. Hi, i'm using ME 3.5b and created a macro that should react automatically when a certain window in Spamcombat appears: Keystroke Speed: 30 Milliseconds Variable Set String %T1% from Window Title If Variable %T1% = "G-Lock SpamCombat" Delay 1 Seconds Text Type: <ALT>c End If This macro starts when a window containing: "G-Lock SpamCombat" is on top. It is the intention that the macro only should close a window when the title is exactly "G-Lock SpamCombat" (the IF statement) The strange behaviour is that, when I try to close/ minimize the main program with the title: "G-Lock SpamCombat [uNREGISTERED VERSION]", then that window just reappears again, that happens even if the code is reduced to following: Keystroke Speed: 30 Milliseconds Variable Set String %T1% from Window Title If Variable %T1% = "G-Lock SpamCombat" End If Notice that the If statement now are empty. In the log that ME creates, I can see that it was the macro above that was activated. It is very odd that I can't close the window, without my macro opens it again. I'm using W2K as OS. regards Lars
  14. Hi Kevin, no for IE, 'Run If On Top' isn't tagged on, since many IE instances can be minimized. I edited my IE "close all" macro, so it had the newest date, but that didn't help. The IE macro still had priority above my Inventor macro despite Inventor was on top. :-( regards Lars
  15. Hi, how can I prioritize macros if possible? I'm using ME 3.5b. I made 2 macros both with hotkeys CRTL-ALT-W. The first one is for closing all windows/ instances of Internet Explorer, with scope IE running. The other macro works only within a CAD system (Autodesk Inventor) for closing all windows. The scope for that macro is that the Inventor window is on top. The strange thing is that if both IE is running as well as Inventor, where Inventor is on top, then IE closes windows when I hit CRTL-ALT-W In my logic, macros related to the topmost window/ application should have first priority?? Can someone explain how to deal with prioritizing macros if possible regards Lars
  16. Hi Noggin the Nog. I'm aware of the possibilities. But unfortunately the "solution" in 3.5b is so clumsy, compared with the elegance that 3.4b handled open files (with access denial) during delete process. I certainly hope that this behaviour as 3.4b had, will be introduced again in future ME builds, otherwise the delete function is almost nothing worth. regards Lars
  17. Hi, finally I upgraded from ME 3.4b to 3.5b to see an annoying behaviour introduced. I use following macro to perform a scheduled delete in c:\temp ever 3 hours. The problem is that often I have applications running just file my macro starts. The problem is that ME 3.5b now hang in the macro with an error dialog box because the temp files are in use by an application, (access denied on these files) ME 3.4b deleted what it could, (offcourse except the files open by an application) and ended the macro without any complaints. It would be nice if the next ME build could get the same behaviour again. If there is a solution for ME 3.5b, which I haven't seen I would be happy to hear about that :-) code below: ---- <DOFILE:08:NY:c:\temp\*.*>><DOFILE:08:NY:c:\Documents and Settings\All Users\Documents\DrWatson\*.*>><DELAY:5><EMPTYBIN> --- Delete File or Files: "*.*" Delete File or Files: "*.*" Delay 5 Seconds Empty Recycle Bin regards Lars
  18. Hi, it was me who posted the Citrix post last year, when I was new with ME. ME worked fine with the Citrix client window. The only thing is that the Citrix client window is slow, so put some delays in your code :-) Furthermore since the Citrix client window is just a graphich representation. ME doesn't "see" windows titles and placement in there. Regards Lars
  19. Hi Joe. No i'm typing in the topwindow (MS Access database, Outlook etc.). My hotkeys works normally, also when my shortkeys are dead. I have seen this on 2 computers, that means my own with Win 2000 Pro & ME 3.4b and on my work, Win XP & ME 3.501. Some times, but not always, the activation of a hotkey wakes the shortkeys to work again. regards Lars
  20. Hi, after I encountered the bug yesterday, I can comfirm that: Tools / Restore Keyboard Hooks" doesn't help. For a period of time shortkeys are simply dead, both in ME 3.4b and 3.501 regards Lars
  21. Hi, in options I have tagged: "Auto Restore Keyboard Hooks" on plus, I tried the menu you also suggested, and in some cases (as far as I remember) ME just won't accept my shortkeys, and then for example 10 minutes after they work normally again. regards Lars
  22. Hi Doreen, thanks for the tip, it's a very good idea. By the way, if anyone have a clue of the shortkey bug, i'm all ears. regards Lars
  23. Hi, in an application, I want ME 3.501 to activate automatically when a window only with the exact title: "save" appears. For now ME activates on any window, where the word "save" is included in the title bar. Is there any way to do that for an exact match? At least during the scope option, my macro only runs when an specific application is on top. Another thing, after I began to use ME 3.501, occasionally my shortkeys won't react (no other macro is running), then maybe 1 hour later, they work fine again. I use Win XP SP1a -- Best regards Lars
×
×
  • Create New...