Jump to content
Macro Express Forums

NeVeR

Members
  • Posts

    89
  • Joined

  • Last visited

Posts posted by NeVeR

  1. I'm making a macro for a planing system we use in work.

     

    When we get an project on .. lets say Monday 1st - We know what the next 8 steps of that project is .. as it's the same every time.. We keep all this data in a wiki.. and each time we have to type it out by hand.

     

    What i want is to make a macro that will do the hard work.

     

    I have the macro promote me for the data i need to start.. Like Project number is stored in T1 and persons name in T2.. then i promote for the date and add it to T3.

     

    This is where i'm stuck.

     

    If i set Monday 1st as my date I need the macro to be able to know what dates the other steps should be done.

     

    So example

     

    1: Project start - Monday 1st Oct

    2: Project sent to review - Tuesday 2nd Oct

    3: Review complete Send to be built - Wednesday 3rd Oct

     

    etc..

     

    idealy I want to be able to store the dates in T tags so i could use the text type tool to pre-write what i wanted. and add the dates.

     

    This should work off a normal calender. So if i set my start date to 30th of Oct if would know to do the macro into Nov.

     

     

    So in brief.. I want to be able to add plus one or plus two days etc to my start date.. and have them store in T tags.

     

    Can this be done ?

     

    thanks.

     

  2. What I do is to search for some text in front of the button, type TAB to get focus to the button and then do the ENTER.

     

    Are you searching for the text of the button or text of something in front of the button?

     

    I'm searching the text on the button. i can't search for something before it as it changes all the time. I need to click the text on the button.

  3. Hi,

     

    Sorry for the late reply.

     

    The code is valid. The buttons are made using CSS.

     

    I tried the spacebar and it doesn't work either.

     

    Here's something I tested.

     

    When i search for the word.. and press ESC on it.. Enter doesn't work ( or spacebar ) .. but if i press TAB.. and then enter/spacebar it does work. But by press tab i'm moving to the next button .. which is not what I want to do.... I should note that all the buttons are using the same CSS.

     

    is it possible in Macro express to move the mouse to a bit of text ?

     

    That way I could move it to the text and issue a mouse click command.

  4. Hi All.

     

    I'm making a macro for my website.

     

    I need the marco to find a button and click it. The normal way I would do this is find text.. press esc then press Enter.. but the press enter doesn't work on these buttons for some reason.

     

    Is there a way to trigger a mouse click on a set bit of text ?

     

    I can't do a mouse position then click as I'd need this to work on different screen sizes.

     

    I actually need this to happen twice.

     

    Once on the same button text which is "Join game" and then again on something different every time ( I will have this macro on repeat and each time it will be picking something different from a set T3 tag )

     

    so tips would be great.

    Thanks.

  5. I've a list of numbers that i'd like to copy.

     

    Each number is on it's own line in a spread sheet.

     

    I'd like each number once copied to be give a %T1% and then %T2% for the second and so on. So each number has it's own %T% number.

     

    The list of numbers i've to copy changes all the time. So when i start the marco i'd like to get a prompt saying "How many times to repeat" I'd enter a value and then the macro would know how many times to run.

     

    I'm sure I can get this part done ( I hope )

     

    It's the setting each copied number to it's own %T% that i can't figure out.

     

    I know i could do this the long way of just duplicating a command 10 or 20 times in ME and then repeating it by hand .. but i don't really want to as i'm sure there is a way around it.

     

     

    Any idea ?

     

    What i have so far is

     

    Set Var Interger %N!% from prompt // I will enter the repeat amounts here

    Repeat with Var using N1 / repeat will start.

    Clipboard copy

    Var set string %T!% from clipboard -------------- How do i get this part to move to %T2% and then %T3% etc each new time the repeat is run ?

     

    there is more to it but this is the main part i'm stuck on.

     

    thanks.

  6. Before i start trying to make this macro i need to know if it's possible.

     

    At the moment i have it taking 1 images, Duplicating it 25 times and renaming each one and moving to the next.

     

    The image is named nearly the same only 2 letters at the start

     

    Example

     

    AR-Imagename-Image.jpg

    BG-Imagename-Image.jpg

    CN-Imagename-Image.jpg

    CS-Imagename-Image.jpg

    DA-Imagename-Image.jpg

    DE -Imagename-Image.jpg

     

    and so on,, They are country codes.

     

    Each of these images much go into there country folders on the server,

     

    so the AR-Imagename-Image.jpg would need to be moved to \server\web\com\public\AR\images\folder\ etc ( note these folders are on my PC and ME wouldn't have to connect to a Server or FTP .. just normal folders on a PC )

     

    these are just samples names but its the same thing that i need.

     

    So can ME do something like this ?

     

     

    thanks.

  7. I've over 1000 pages that i need to copy 1 bit of text from the source code of.. and i want to write a marco for it.

     

    I've all the URL's in a spread sheet.

     

    getting them to open in browser is fine... then i can use CTRL+U to open the source.

     

    Each webpage has a page ID it's in the source code as

    class="pg-1" or "class="pg-5845" just because I've 1000 pages it's not from 1 - 1000 .. some page ID's are like 123532543 etc.

     

    I can get the macro to find class="pg- and then the tricky part. How can i get the macro to find the numbers and know how many there are.. sometimes there will be 1 or 2 and then there will be 9 or 10.

     

    the good thing is there is a " after the numbers.. So there might be a way to tell the marco to stop or something.. I'm not sure to be honest.

     

    Does anyone have any ideas ?

     

    thanks.

  8. In order to help you, we need details. The web page in question would be a good start!

     

    I can't show you. It's a company internal tool.

     

    If the field you are trying to give focus to is on a web page, you might be able to do this:

    1. Search for text on the page that is near the field.
    2. Cancel the search.
    3. Tab or Shift Tab as many times as necessary to reach your target.

    E.g.,

     

    Type: <CONTROL>f // Find on this page. <F3> works in Firefox, as well.

    Type: Please enter your email // Choose the shortest unique word(s) near the target

    Type: <ENTER> // Initiate the search

    Type: <ESC> // Exit the search

    Delay 200 ms // You may need a delay to allow focus to pass from the search box to the page

    Type <TAB><TAB> // Tab to the target.

     

    You may need additional delays between other steps.

     

    This is how i'm already doing it. It works. But it's slow and sometimes ME misses a command which means the macro doesn't work 100% of the time.

  9. When i have a task like this i normally just tab to the add and then enter the text, But in this case it would take 45 tabs before you hit the search box,, So i can't use it this time.

     

    Is there a way for Macro Express to find a search box, There is only one on the page.

     

    The was this macro works is this

     

    You highlight an email address... then start the macro - the macro copies the email address and puts it in T1,

    then the macro finds the search area and pastes whats in T1

    then Enter is pressed,

     

    It seams simple but I can't make it find the search box so far,

     

    Any ideas ?

  10. I my macro to run while my PC is locked as the task i need it to do is when i'm out of the office, and i can't leave the PC unlocked for security reasons.

     

    It's Win 7 Enterprise

     

    I know how to set the schedule. But it doesn't seem to run the macro when locked.

     

    So is there a way to change this ?

     

    Or is there a way for the Macro express to unlock my PC and do what I need and then lock it again.

     

    I know this sounds strange but it's needed.

     

    thanks.

  11. All the computers in the office just got upgraded to Win 7 from Win Xp.

     

    I tried to run my normal macro set but it doesn't work.

     

    I get this error.

     

    Macro Express Player - Range check error  0x00617845
    Report: #00002 - 12/07/2011 11:30:17
    
    Reported by: Unknown
    
    Platform: Windows 7  Windows 6.01.7601 Service Pack 1
    Memory: Total Physical: 3966 MB  Starting Available: 2452 MB  Ending Available: 2431 MB
    
    Program: Macro Express Player v 3.8.1.1
    
    Error Type: ERangeError
    Message: Range check error
    Address: 0x00617845
    
    Steps to Reproduce or What was Happening:
    
    Call Stack:
     (001594F5) [0055A4F5]
     (00216840) [00617840]
     (001593C9) [0055A3C9]
     (002AD792) [006AE792]
     (0028A0AA) [0068B0AA]
     (0016F4CC) [005704CC]
     (0016FB82) [00570B82]
     (00065AC1) [00466AC1]
     (00072ABF) [00473ABF]
     (00216840) [00617840]
     (000042C5) [004052C5]
     (00216840) [00617840]
     (000042C5) [004052C5]
     (00216840) [00617840]
     (00002062) [00403062]
     (00216840) [00617840]
     (0028998D) [0068A98D]
     (0006F373) [00470373]
     (0007335B) [0047435B]
     (0001E5D4) [0041F5D4]
     (00035408) [00436408]
     (00072A84) [00473A84]
     (00072A99) [00473A99]
     (0007335B) [0047435B]
     (0005D803) [0045E803]
     (00072A84) [00473A84]
     (0002910C) [0042A10C]
     (00283C1D) [00684C1D]
     (0006A772) [0046B772]
     (0006566C) [0046666C]
     (000656A6) [004666A6]
     (0006599B) [0046699B]
     (002B3582) [006B4582]
     [00328695]
     [003844E5]
     [00321438]
     [003AE839]
     [0033B15A]
     [003EFD23]
     [0032AF8E]
     [00389937]
     [003EAEE8]
     [00385790]
     [00304CD8]
     [00392B2B]
     [003D2C44]
     [003843DD]
     [00330310]
     [00312546]
     [003B4131]
     [0032C453]
     [0031E258]
     [003CC13E]
     [0030A59B]
     [0032D343]
     [003D49D4]
     [00366A95]
     [003BD42D]
     [00309B5B]
     [00329A00]
    
       ---------------< ISS Bug Reporter v 2.3.1.1 >---------------

  12. I'll try explain.

     

    I've a macro done, It's for a shift report for about 30 members of staff.

     

    The only thing I want the person to enter is there name.

     

    I want them to enter there name once when the macro is run for the very 1st time on there PC. Once they run it the 1st time there have to enter there name and it's stored in a variable like %T1%

     

    So the next time they run the macro he doesn't ask them for there name. It will just know it's there.

     

    There is other info in the macro not just there name lol. But I dont ant them to have to enter it every time they run it.

     

    Anything i can do ?

×
×
  • Create New...