Jump to content
Macro Express Forums

koden

Members
  • Posts

    215
  • Joined

  • Last visited

Everything posted by koden

  1. yes that could be... tab form top to bottom. Not sure I completly understand this with search. But if i search the word that is typed in this box, where i use mouse to click on because tab not works. Then the word is highlighted in the box. But still no tab or enter that can activate box. Another issue with web site is that in the adress field (www field) the site name is (changed a bit but quite similar). https://sys-online.dk/sys/#a_ when click in the first box where I should paste numbers it removes https:// and is now just sys-online.dk/sys/#a_ But whatever it is I can in macro express under timing "wait for window title" only see a window called "sys-online - google chrome" The same when I on web site goes further into website... The name in timing is still the same "sys-online - google chrome" yes that could be... tab form top to bottom. Not sure I completly understand this with search. But if i search the word that is typed in this box, where i use mouse to click on because tab not works. Then the word is highlighted in the box. But still no tab or enter that can activate box. Another issue with web site is that in the adress field (www field) the site name is (changed a bit but quite similar). https://sys-online.dk/sys/#a_ when click in the first box where I should paste numbers it removes https:// and is now just sys-online.dk/sys/#a_ But whatever it is I can in macro express under timing "wait for window title" only see a window called "sys-online - google chrome" The same when I on web site goes further into website... The name in timing is still the same "sys-online - google chrome"
  2. yes TAB is normally fine. This TAB makes the web site new window jump around the screen until it reach it's destination. It works but sometimes fails and I think it's because of this jumping up and down.
  3. I will try that.. but where did you find a way to check colors. have looked and could not find a command that can check colors But not sure it's much better than the TAB. I assume it's the web site constuction that is not macro freindly. Maybe there was a way around for that kind of sites.
  4. My macro hit a button on a web site which opens a window on the site. This window is not visible in macro "activate window" and I can't do a window check. In this new window I have to insert a date in a field. I can reach the field by TAB 10 times. Is there any other ways to get these windows active in another way?
  5. Thanks.. yes off course. Now I remeber using this 10 years ago Is there a way to do check on what is typed in the N1 Ex. has to be numbers and at least 6 numbers and the last 2 is always 2 and 1 for this year is there a quick short key to stop a running macro
  6. I have created a simple macro that copies from excell and paste into webside. I would like to have the macro to repeat a amount of times. is it possible in some way to start the macro with a prompt where i type tat it f.ex. should run 20 times.. So when finished then start from beginning again. And do that 20 times or more.
  7. Thanks... Actually I did finish the macro yesterday with simple TAB commands. Because we have to use it right now. Will have a look at the ASCII file version as soon I have the time. I got a little problem on the web site that I can't find out. Web site seems to be in 2 parts. An upper and a lower part. I can't get to the lower part without a mouse click. I hate to use mouse.... but at the moment I can't get TAB or anything else to catch the point. Could there be a solution for that which I don't know about. I know it's difficult to say much about without info about the website.
  8. Hi I have used macro express before..but more than 10 years ago. So I'm starting from almost scratch 🙂 I need to paste some text and numbers in from a excell into a web side. Actually quite simple In excell I have 3 columns with more than 1000 rows. What i need is to copy column 1,2 and 3 row 1 content into 3 variables and then go to website and paste it to right places. Empty the 3 variables after use. Then go back to excell and again copy row 2 into the 3 variables But I have forgot how to do this the right way What is the best solution? to be in excell column 1 and row 1 and ctrl+C put into variabel T1, tab ctrl+c put into var. 2 a.s.o. I know how to jump between the windows and tab around and that kind...
  9. wait for web page need a URL. I can't find URL's to this kind of program running in internet explorer.... No properties to look in... can I see Url other places?
  10. :-) have not seen this command before...thanks...
  11. I use this command "wait for window title". I use it a lot in a program running in internet explorer. The problem is that sometimes the program has some respons time. The window opens but the content ind the window is slower and opens later. the command "wait for window title" see the window as opened and goes on to next step. But the window is'nt fully opened. Can I do anything about that? In the moment i just put "delay" in the macro, but the days where the internet explorer program runs fine, it gives to much delays....
  12. I have a macro that in a mainframe window does this: ctrl+a (all text marked) ctrl+c (all text copied...more than 2000 characters) open notepad ctrl+v All characters is now in notepad.... BUT When i use the modify string command to remove characters after characters 999, then it will not copy text to notepad. I use: ctrl+a (all text marked) ctrl+c (all text copied...more than 2000 characters) variable set string T51 from clipboard variable modify string copy part of T51 to T50 (Copy from position 1 to 999) variable modify string save T50 to clipboard open notepad ctrl+v Not working. I have tryed speed 3 times slower and with 1000 MS between each comand.. What am I doing wrong? I think it's something about what i copy from the mainframe. When i make ctrl+v and C to notepad it's in notepad as characters and I can edit the characters. maybe before it gets to notepad it's a picture or something that modify string can't handle... Can i do something else? at the moment i first copy to notepad and back to clipboard and then use modify... that works, but it's an extra program and time... line 8 to 17 in the attached macro file test.mxe
  13. OK. yesterday I got a counter in notes that count mails,and give me a number in a pop up box. I can copy that number to clipboard. Can I use this together with your loop?
  14. Okay...this code will run the macro until the clipboard don't get anything. But when there is mail again how will it then start again? Am I right that your and jasons code only are half of my wishes :-) ? can i do this instead: I have to use empty clipboard the right places...know that :-) At 7 am i open my mail folder. There is ex. 100 mails I run a macro that make ctrl+c of the mail header If clipboard contains text it will run my macro 2 that handle the mail text When macro 2 is finished macro 1 runs again. When 100 mails are finished macro 1 will have an empty clipboard (if I in notes make a ctrl+c of NO mail header nothing happens and give me empty clipboard) In your ex. the macro will stop. But how do it start again when there is new mail? Could I do this: repeat have macro 1 that copy to clipboard if there is data or not in clipboard run macro 2 macro 2 will check if there is data if there is data run macro 3 (this will handle the mail) else run the macro 1 again repeat end This macro will run from 7 am until I stop it. OR is there something I have'nt been ware of?
  15. I know all about what The If Clipboard command does :-) I use clipboard empty. It's what the integer do i don't understand. I do understand that the loop is running so far as the N1=0 Loop will stop when N1=1. But when will N1=1? When clipboard is empty??? My problem is that I don't understand how this is used in my macro. That I use notes does'nt matter. It could be any program. The case is about the clipboard containing something or not. If I have understand you right, then this loop will run all the time and check if something get to clipboard. If clipboard is full then my macro 2 will run.
  16. Hmm... Have tried your ex....i think :-) But maybe I don't understand it, because it's not working. The code just copy the mail header all the time. Just running in ths loop no mather if there is mail or not. I know I'm doing something wrong but what? What happens in 2 first lines in your code EX. ? As I see it's checking all 24 hours (all the time). Is it possible to set a 7am-17pm time on this macro, so it's not running in night? Do you meen this? : Variable Set Integer %N1% to 0 Repeat Until %N1% = 1 // clipboard empty // activate the folder in the mail program // copy mail header If Clipboard Text Equals "" Break End If Repeat End I will unterneed here try to explain exaxtly what i need. So far as my english can do it :-) I need a macro 1 that cheks if there is a mail in a folder. I do this by copying the mail header text and check if clipboard is empty or not If clipboard is full then run macro 2. If there is no mail the clipboard is empty and then macro 1 will stop. But it has to start aut. again from start, IF not the macro 2 is running. What I understand from your code is, that the macro just have to check, run the macro 1 and when finnished then check again a.s.o But how will it start again aut. when there is no mail and break has been activated? Sorry if I confusing you instead of asking, but I don't figure out to this :-))
  17. I have just found another way...... My macro starts with copying the email "header" (don't know what it's called. The text you can se before opening mail. date,sender a.s.o.) If clipboard contains one of 4 special words the macro for one of the 4 words is running... this macro i already use, just manually. So..... If clipboard is empty, there is no mail and i can use macro stop. If there is mail the macro go on with one of the 4 macros depending on whats in the mail. But after macro stop. How do i get it running again..... I still need some loop or what?
  18. Thanks.. If i use my own ctrl+e solution i can do it all in one macro. I don't have the key unread mail in :-( HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\UnreadMail maybe because it's my work laptop. NO...it's also not on my own laptop. XP on booth machines. A search also did'nt find unread in regedit. Are you sure?
  19. hello.... I have a macro that open mails from a folder in lotus notes, and copy and use the text. I manually (with a prompt) set the macro to run so many times as there is mails. but I would now like that it run aut. when there is new mails. I have found out that the best way to do this is to be standing in the folder and make a ctrl+e. This will open a mail if there is any. If there is'nt any mail it will do nothing. I can then check wich window is active. But this macro only haves to run when my first macro is not running. How do I get my "check mail" macro to run every minute but only when no other macro is running????
  20. I have forgotten to answer back on this. I never got it used. But now I will try again. It's new and alredy read mails. So nr. 2 does not work. Nr. 1 I will try. I'm trying to find out if there is a count that I can reach. There is a count when i select all mails. The number is in the buttom of the screen, but it's not possible to mark it. Only vissible....
  21. I think you have misunderstood. but what the... :-) my english is'nt the best, so no wonder why :-) The problem was that I have a list with server names. I copy one name and set it into notepad. But sometimes the clipboard did not copy the name and the old name was in the clipboard. Then there would be 2 names of the same in notepad. Så what i needed was just to check that the clipboard did'nt still have the old servername. :-)
×
×
  • Create New...