Reliably Selecting Specific Window

Forum Forums Grids and Presets Reliably Selecting Specific Window

This topic contains 5 replies, has 3 voices, and was last updated by r51093 r51093 3 years, 2 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #24243

    pagonis
    Participant
    0

    I am a complete beginner in scripts so apologies if this has been explained somewhere else. I have incorporated materia extraction script as a chapter to one of the diadem scripts. Materia extraction script is a simple key press script that goes through items in extraction window which has to be placed on the toolbar. Everything would be ok but for some reason, the extraction window doesn’t always open at the selected state, which completely messes up materia extraction. So my question would be – is there a way to ensure that a window always open at specific state?

    #24244

    derm
    Participant
    0

    Ive had the same issue with both Materia Extraction and Turnins of Collectables.
    What i came up with is this:

    //extract
    key(< ,1.5)
    Key(num4 ,0.2)
    key(num0 ,0.2)
    Key(num4 ,0.2)
    key(num0 ,4)

    Key(num4 ,0.2)
    key(num0 ,0.2)
    Key(num4 ,0.2)
    key(num0 ,4)

    Key(num4 ,0.2)
    key(num0 ,0.2)
    Key(num4 ,0.2)
    key(num0 ,4)

    Key(num4 ,0.2)
    key(num0 ,0.2)
    Key(num4 ,0.2)
    key(num0 ,4)

    Key(num4 ,0.2)
    key(num0 ,0.2)
    Key(num4 ,0.2)
    key(num0 ,4)

    Key(num4 ,0.2)
    key(num0 ,0.2)
    Key(num4 ,0.2)
    key(num0 ,4)
    key(< ,1)

    < is my key to open the Extract window, 4 is left, 0 confirm.
    As you can see ive included a 4 before every extraction. That usually activates the window so the next inputs go through. And if the window is already open a 4 wont mess anything up.
    This is 6 extracts which usually takes 10-15 ingame minutes (et). You can add more blocks but i usually like to run more smaller extractions instead of less bigger ones.

    #24245

    pagonis
    Participant
    0

    Thanks, it looks like what I was trying to achieve. I’ll post an update in a couple of hours.

    #24247

    pagonis
    Participant
    0

    Works perfectly!

    Here’s my scripts if anyone’s interested:

    //open extraction window
    key(G, 1.0)
    
    //Extract Materia
    //Item #1
    Key(num4 ,0.5)
    key(num0 ,0.5)
    Key(num4 ,0.5)
    key(num0 ,2.5)
    //Item #2
    Key(num4 ,0.5)
    key(num0 ,0.5)
    Key(num4 ,0.5)
    key(num0 ,2.5)
    //Item #3
    Key(num4 ,0.5)
    key(num0 ,0.5)
    Key(num4 ,0.5)
    key(num0 ,2.5)
    //Item #4
    Key(num4 ,0.5)
    key(num0 ,0.5)
    Key(num4 ,0.5)
    key(num0 ,2.5)
    //Item #5
    Key(num4 ,0.5)
    key(num0 ,0.5)
    Key(num4 ,0.5)
    key(num0 ,2.5)
    //Item #6
    Key(num4 ,0.5)
    key(num0 ,0.5)
    Key(num4 ,0.5)
    key(num0 ,2.5)
    //Item #7
    Key(num4 ,0.5)
    key(num0 ,0.5)
    Key(num4 ,0.5)
    key(num0 ,2.5)
    //Item #8
    Key(num4 ,0.5)
    key(num0 ,0.5)
    Key(num4 ,0.5)
    key(num0 ,2.5)
    //Item #9
    Key(num4 ,0.5)
    key(num0 ,0.5)
    Key(num4 ,0.5)
    key(num0 ,2.5)
    //Item #10
    Key(num4 ,0.5)
    key(num0 ,0.5)
    Key(num4 ,0.5)
    key(num0 ,2.5)
    //Item #11
    Key(num4 ,0.5)
    key(num0 ,0.5)
    Key(num4 ,0.5)
    key(num0 ,2.5)
    //Item #12
    Key(num4 ,0.5)
    key(num0 ,0.5)
    Key(num4 ,0.5)
    key(num0 ,2.5)
    
    //Exit menu
    key({esc}, 0.5)
    #27309
    r51093
    r51093
    Participant
    0

    I am a complete beginner in scripts so apologies if this has been explained somewhere else. I have incorporated materia extraction script as a chapter to one of the diadem scripts. Materia extraction script is a simple key press script that goes through items in extraction window which has to be placed on the toolbar. Everything would be ok but for some reason, the extraction window doesn’t always open at the selected state, which completely messes up materia extraction. So my question would be – is there a way to ensure that a window always open at specific state?

    just run or add this script to your scenario miqobot will extract the materia of the gear you have equiped

    startMateriaExtraction()

    if you want to extract from a specific gearsets then do this script

    job(Miner)
    startMateriaExtraction()

    you can run it in succession with different job’s / class if you want or need like below

    job(botanist)
    
    startMateriaExtraction()
    
    job(Miner)
    
    startMateriaExtraction()
    
    job(goldsmith)
    
    startMateriaExtraction()

    you can change “miner”, “botanist”, “goldsmith” in the job() for any class / job you want to extract materia from and is way more reliable then the sendkey() command’s above you only need to have the materia extraction / creation icon on your hotbar.

    I have incorporated materia extraction script as a chapter to one of the diadem scripts

    If you want here is my own diadem scenario it has evreything you need in it (repair, Materia Extraction/Creation, use of the Augur X4 (the boom gun πŸ”«), Item turn in at the diadem inspector, and will auto rejoin useing the key() commands not the most reliable i know but is the only way to join and re-join the diadem) please check it out πŸ˜€

    • This reply was modified 3 years, 2 months ago by r51093 r51093.
    • This reply was modified 3 years, 2 months ago by r51093 r51093.
    #27317
    r51093
    r51093
    Participant
    0

    //Exit menu
    key({esc}, 0.5)

    insted of the key(esc) you should use the key(num.) it will close windows without opening the system menu like the key(esc) will

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.