Jump to content
Macro Express Forums

Frank

Members
  • Posts

    29
  • Joined

  • Last visited

Everything posted by Frank

  1. Hello, 2 issues - 1. In my macro I put in a delay before I refresh a page. Currently I put in a single integer variable that is prompted for a value when the macro runs... ie. "How many seconds between refresh?" I enter 15 seconds Is is possible to put a range for this answer? I would like to enter 10-20 seconds for an answer and then the macro would select a random number between 10-20 seconds (more human like) Can this be done? 2. EVERY time I create a macro I put in a delay after EVERY command. ie. TEXT TYPE delay.33 seconds TEXT TYPE delay.33 seconds Activate window delay.33 seconds I have found that it is necessary in order for the macro to not trip over itself. I have been using macro express for 20 years now and have been doing this the entire time. The macros work but I would love to not have twice as many lines of code. Thanks in advance F
  2. what is ISS? (pulse or MEP) let me clarify what i have, maybe this all my fault. smtp settings - those are correct. the macro i made is one line only...EMAIL SEND I run macro and get the errors / issues I mentioned above F
  3. the only security is windows and i added MAP to exceptions... The macro is a 1 line macro - <EMAIL SEND Prompt_for_Recipients="FALSE" To="frank@gmail.com" Read_Receipt="FALSE" Subject_Mode="\x00" Subject="eee" Body="eee" Attach_Mode="\x00"/>) port 2525 - Message could not be sent port 465 - Macro just runs. nothing happens. have to terminate MEP in order to move on... (clicking on green running man does nothing) port 587 - same as 465 F
  4. Hello. I downloaded the trial version of MEP 6... I do see a different UI. I read a post with comments from ACANTOR a number of years ago. Now that 6 has been out a while what does everyone think? Does anyone have any opinions / comments on the upgrade? Is it worth the TIME to learn / adapt? (the cost is negligible so not worried about that) Thanks F
  5. I am using MEP 4.9.1.1 I signed up with pulse did the options>preferences>email>smtp setup and still no luck. any suggestions? F
  6. i know, that is why i am TRYING to set up smtp and have issues... I tried gmail (both a free gmail and a paid workspace) and no luck. the company you suggested, how would that work with the macro? F
  7. hello that was a mistake above. THANKS FOR ALL OF YOUR HELP... i looked at the company. how would i apply it to my macro. right now i have to set up a WINDOW and do a bunch of steps. opening up the possibilities of mistakes and glitches so my desire is to eliminate those possibilities... fyi here is what i have now...
  8. Thanks for the reply... I tried that set up and tried the different ports (25,465) when i run the macro i get an error that says SCRIPT ERROR Message could not be sent "already connected"
  9. Hello... I have never used ME to send an email in a macro... I am trying to set it up with no luck... I would like to use my gmail account / settings but can use yahoo... Any advice or suggestions on how to set up? Thanks, F
  10. Ok, Lets start by saying if you guys keep this up I am going to owe ALOT of dinners!!! (just let me know when you are in the Chicagoland area!!!) Thanks for the suggestions. I actually do like to TEST things out... I hope that is obvious by me including my commands in my posts (I am not looking for someone else to do the work...) but when a test doesn't go well, I am not sure why and if the mistake is something that I was missing ie an unknown command or something stupid that I entered wrong. I do appreciate the advice and I will be in front of the computer ALL WEEKEND LONG... as Arnold said... I'LL BE BACK!!!😄 Thanks F
  11. I have a command that is IF CLIPBOARD CONTAINS... When I run my macro I want to know if the clipboard contains text. sometimes I want to know if it contains TEXT1 or TEXT2 or TEXT3... I set the macro to prompt for the value and set / store as a variable... Do I have to prompt 3 times and store as 3 different variables? Or is there a format to enter the test so that ME knows what I am looking for? ie. I want to see if clipboard contains ABC or DEF or GHI. When prompt 1 comes up can I enter ABC Prompt 2 DEF etc... MY HANGUP IS... IF I create the macro so that it prompts 3 times and I only have two identifiers (ABC and DEF) when I leave the third prompt blank is that going to set off a false positive to the macro because my code would read IF CLIPBOARD CONTAINS VAR1 (ABC) OR IF CLIPBOARD CONTAINS VAR2 (DEF) OR IF CLIPBOARD CONTAINS VAR3 (I left blank at prompt) The macro would read VAR3 as blank and every clipboard copy would have blank space Is there a clean / neat way to put in multiple values for IF CLIPBOARD BONTAINS? I hope this makes sense... F
  12. I know I sound like a broken record... YOU GUYS ARE THE BEST!!! I used the script and was able to get the outcome for the timer!!! I had to delete the delay at the bottom of script. it was not necessary because of the delay 1 second in the repeat for changing the text box message. BUT I HAVE A WORKING macro... Thanks, F ( I have a new question that I will post about IF contains...)
  13. where do i put the commands that you suggest into my commands? I would guess after the last delay...? I appreciate the advice i just want to try to implement it and test but would like a good starting point... Thanks!
  14. thanks for reply... Still learning all the commands... Assume Countdown is 45 seconds (variable S) here is what I have... <VARIABLE SET STRING Option="\x01" Destination="%W%" Prompt="What words needs to appear on screen to sound alarm?" Mask="FALSE" OnTop="FALSE" Left="Center" Top="Center" Monitor="0" _COMMENT="WHAT WORD(S) LOOKING FOR ON SCREEN"/> <VARIABLE SET INTEGER Option="\x01" Destination="%S%" Prompt="How many SECONDS between searches?" Mask="FALSE" OnTop="FALSE" Left="Center" Top="Center" Monitor="0" _COMMENT="HOW MANY SECONDS BETWEEN REFRESHES"/> <VARIABLE SET INTEGER Option="\x00" Destination="%X%" Value="0" _COMMENT="WHEN EQUALS \"1\", MACRO STOPS"/> <REPEAT UNTIL Variable="%X%" Condition="\x00" Value="1"/> <TEXT TYPE Action="0" Text="<F5>"/> <DELAY Flags="\x01" Time="6"/> <TEXT TYPE Action="0" Text="<CTRLD>a<CTRLU>"/> <DELAY Flags="\x01" Time="1"/> <TEXT TYPE Action="0" Text="<CTRLD>c<CTRLU>"/> <DELAY Flags="\x01" Time="1"/> <IF CLIPBOARD Option="\x01" Text="%W%" CaseSensitive="FALSE"/> <DELAY Flags="\x01" Time=".5"/> <SOUND FILE File="C:\\Users\\frank\\Desktop\\SOUNDS\\1-1-1-Tornado 1minute 30 seconds.wav" Wait="FALSE" _PROMPT="0x0007"/> <DELAY Flags="\x01" Time="1"/> <VARIABLE SET INTEGER Option="\x00" Destination="%X%" Value="1"/> <END IF/> <DELAY Flags="\x01" Time="%S%"/> <END REPEAT/> Where do I enter the MESSAGE BOX? (after last delay?) How do I get it to show 45,44,43,42...etc (it can disappear when only 3 seconds left) (hopefully in real time, meaning 1 second countdown)
  15. Hello, New macro. would like to put both a VISIBLE counter and a VISIBLE timer (countdown) into script... Macro refreshes page looks for text if text there...sounds alarm and stops if text not there waits 45 seconds repeats. Is there a way to have a counter on the page indicating how many times the macro has run & Is there a way to show a timer (countdown) of the 45 seconds until when the macro will repeat? Thanks F
  16. hello, Sorry for the delay in response... had house issues that popped up and need to be fixed... YOU GUYS ARE THE BEST!!! I have been playing aroudn with suggestions. have not come to final solution YET but will let you know. Thanks for all of the suggestions!!! F
  17. Hello, I'm back... Simple / short macro Purpose - go to multiple tabs... copy their url and store as a variable BUT the number of tabs changes each time i run the macro. When I start my macro it PROMPTS for how many tabs are open and stores as integer "qtyTABS" I want to go to tab, copy url and store as a string variable, refresh tab, go to next tab and do the same action. ??? QUESTION is how to store as the next url variable depending on the qtyTABS variable... here is the code I have REPEAT PROMPT - how many tabs do you have open - stores as "qtyTABS" activate window 333 (window with the tabs open) maximize current window (maximizes window with tabs open) REPEAT START - (qtyTABS value) text type CTRL+L (goes to url of current window/tab and highlights) text type CTRL C (copies to clipboard the url) variable set string URL1 from clipboard (saves url as a variable url1) text type F5 (refreshes page) text type CTRL+TAB (goes to next tab) END REPEAT Next repeat needs to store at URL2...etc if I start with 5 tabs open how do I have the second repeated function store as URL2 the third repeated function store as URL3...etc Thanks !!! F
  18. Thanks to everyone in the forum. The help has been spot on! acantor, Thank you for the explanation. I understood it... I tested my macro... It stopped when it was supposed to! Rberq, The two macros work great together. after creating / splitting them I had to make numerous changes and it was very easy to do!!! Also, I was able to cut the size of the macro by 2/3. thanks again! F
  19. RBERQ, QUESTION... Once I obtain a desired result I have the macro STOP. with your suggestion I am running a macro within a macro so, Currently my macro stops within the lines of code that will be in MACRO 2 Will that stop MACRO 1 automatically? if not how would you suggest to stop everything Macro1 and Macro 2? Thanks, F
  20. WOW, Never even thought of two macros!!! I will work on that. I have been playing out the steps in my head over and over AND I THINK THAT WILL WORK. thus allowing me to make changes only Macro 2... Nice! thanks, F (I will report back after implementing...)
  21. I'm back...HELP...please I wrote a macro that uses / sets a lot of variables THEN goes to specific WINDOWS and performs functions / actions. I prep the computer by opening the number of WINDOWS I need (usually 5) and I name them... 111,222,333,444,555 (the names can be anything) The macro is written so that I set the variables before running the macro. and the Macro is one big REPEAT. Goes to window 111 does functions then goes to 222 does functions etc. The Macro REPEATS until a specific action happens or takes place MY QUESTION... is there a way to set an additional variable (prompt for value) for the number of WINDOWS I have and have the macro repeat (go to the next variable window (111 then 222 then...etc) so that I don't have to copy my code five times in the macro? Whit the right commands my 350 line macro would come down to 70-80 lines of code... I believe the steps would start with... Set Integer variable %STOP% to 0 Prompt for value / store a variable WINDOWS (When I run the macro it would ask how many windows do I have open) (I would still have to open the windows and name them prior to running the macro) REPEAT START - Repeat until variable %STOP% = 1 THE commands that go here is what I am looking for. Besides getting rid of a lot of lines of code, this would be helpful because whenever I have to change a line or lines of code in the macro I have to change it 5 times / in each section for the respective window. Any help would be extremely appreciated!!! F Macro- Beginning commands set a number of variables... Macro starts... ACTIVATE Window 111 command command etc, 68 commands Activate Window 222 command command etc, 68 commands Activate window 333 command command etc, 68 commands etc
  22. Thanks to you guys for the information and advice... I have spent the last 24 hours learning the windows and tab. I was able to get rid of a lot of the mouse move commands... F
  23. Cory, again thanks for the info / advice. I am using the macro for web pages in chrome. I really have looked at CONTROL and just have not had any luck implementing the commands. Maybe you can answer this. assume I kinda know what i am doing elsewhere in ME... If I am on a web page and I want to click a button I believe that I have to add these commands GET CONTROL - launch the tool and hover it over the button...store it as a variable. This is in the beginning of the code when I am defining variables during the execution of the macro when the time comes to click the button I would add SET FOCUS - to the variable of the control MOUSE CLICK Would that be correct? F
  24. Thank you for all of the feedback. aacantor - The string variable worked ... cory - I have zero experience with CONTROL. I have read the help section and tried to use it but no luck I believe for control, I have to put in commands of... 1. Get control and save as a varaible then 2. Mouse click control variable but that has not worked. I will keep trying... F
×
×
  • Create New...