Overwriting the previous data in the file when its run

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.

Moderators: Community Moderators, iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

Overwriting the previous data in the file when its run

by Aditya93 on Sat Jan 20, 2018 6:31 pm

Hi

I wanted to first bring in data from a .csv file then check if the image matches and if the image matches and then store the !COL1 and !COL2 data in a new file to use in a different iMacros.
As its a loop it will run from 1-50 times, but next time the data is being added after the previous entries and it is going beyond 50.

1)Is there a way to overwrite or delete the old data via iMacros?
2)how to place the extract command with if else statement as the current one i am using gives error, so was trying the ADD !EXTRACT command

Code: Select all
VERSION BUILD=9002379
SET !TIMEOUT_STEP 2
SET !DATASOURCE Dragon_List.csv
SET !DATASOURCE_COLUMNS 2
SET !LOOP 1
SET !DATASOURCE_LINE {{!LOOP}}
SET !ERRORIGNORE YES
DS CMD=CLICK X=319 Y=19 CONTENT={TAB}
DS CMD=CLICK X=319 Y=19 CONTENT={{!COL1}}
DS CMD=CLICK X=364 Y=9 CONTENT={TAB}
DS CMD=CLICK X=364 Y=9 CONTENT={{!COL2}}
DS CMD=CLICK X=364 Y=9 CONTENT={ENTER}

DS CMD=MOVETO X=421 Y=428 CONTENT=      

WAIT SECONDS=1

DS CMD=CLICK X=421 Y=429 CONTENT=      
DS CMD=MOVETO X=514 Y=461 CONTENT=      
WAIT SECONDS=1
SET !VAR1 0
'IMAGECLICK POS=1 IMAGE=attack_button.png CONFIDENCE=95
'SET Coord_X_1 EVAL("var ix='{{!IMAGEX}}'; var x; if(ix=='514'){x=1;} else{x=0;}; x;")
'SET Coord_Y_1 EVAL("var ix='{{!IMAGEX}}'; var y; if(ix=='514'){y=1;} else{y=0;}; y;")
'DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} EXTRACT={{!COL1}}
'DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} EXTRACT={{!COL2}}
'DS CMD=CLICK X=550 Y=643 CONTENT=

ADD !EXTRACT {{!COL1}}
ADD !EXTRACT {{!COL2}}

SAVEAS TYPE=EXTRACT FOLDER=* FILE=Dragon_Hit.csv



Code: Select all
VERSION BUILD=10022823
Windows 7 x64 (English)
iMacros Browser V10.0.2.2823
Last edited by Aditya93 on Mon Jan 22, 2018 4:03 am, edited 2 times in total.
Aditya93
 
Posts: 39
Joined: Fri Nov 24, 2017 10:34 pm

Re: Overwritting the previous data in the file when its run

by chivracq on Sat Jan 20, 2018 9:55 pm

Aditya93 wrote:Hi

I wanted to first bring in data from a .csv file then check if the image matches and if the image matches and then store the !COL1 and !COL2 data in a new file to use in a different macro.
As its a loop it will run from 1-50 times, but next time the data is being added after the previous entries and it is going beyond 50.

1)Is there a way to overwrite or delete the old data via macro?
2)how to place the extract command with if else statement as the current one i am using gives error, so was trying the ADD !EXTRACT command

Code: Select all
VERSION BUILD=9002379
SET !TIMEOUT_STEP 2
SET !DATASOURCE Dragon_List.csv
SET !DATASOURCE_COLUMNS 2
SET !LOOP 1
SET !DATASOURCE_LINE {{!LOOP}}
SET !ERRORIGNORE YES
DS CMD=CLICK X=319 Y=19 CONTENT={TAB}
DS CMD=CLICK X=319 Y=19 CONTENT={{!COL1}}
DS CMD=CLICK X=364 Y=9 CONTENT={TAB}
DS CMD=CLICK X=364 Y=9 CONTENT={{!COL2}}
DS CMD=CLICK X=364 Y=9 CONTENT={ENTER}

DS CMD=MOVETO X=421 Y=428 CONTENT=      

WAIT SECONDS=1

DS CMD=CLICK X=421 Y=429 CONTENT=      
DS CMD=MOVETO X=514 Y=461 CONTENT=      
WAIT SECONDS=1
SET !VAR1 0
'IMAGECLICK POS=1 IMAGE=attack_button.png CONFIDENCE=95
'SET Coord_X_1 EVAL("var ix='{{!IMAGEX}}'; var x; if(ix=='514'){x=1;} else{x=0;}; x;")
'SET Coord_Y_1 EVAL("var ix='{{!IMAGEX}}'; var y; if(ix=='514'){y=1;} else{y=0;}; y;")
'DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} EXTRACT={{!COL1}}
'DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} EXTRACT={{!COL2}}
'DS CMD=CLICK X=550 Y=643 CONTENT=

ADD !EXTRACT {{!COL1}}
ADD !EXTRACT {{!COL2}}

SAVEAS TYPE=EXTRACT FOLDER=* FILE=Dragon_Hit.csv


Code: Select all
VERSION BUILD=10022823
Windows 7 x64 (English)
Imacros Browser V10.0.2.2823

Sorry but same Rant about all Typos in your Post(s) for me to read..., mostly about "iMacros" with usually 3 Typos in one 7 Letter-Word..., oops...!, hum, only 2 in this one..., but same for your Thread Title, so I stopped reading there..., "Overwritting" is with only 1 't', basic English Grammar: "to write" / "I write" / "I am writing" / "I wrote" / "I have written" (Yes...!, Double 't'...!)
Hum, and "its run" is no (grammatically) correct English either... (... but I wouldn't even mention it if you could spell "iMacros" a bit correctly like I've already asked you...)
(Hum, the whole Content of your Post is further a bit correct (except "iMacros" of course...!), I "forced" myself to read it..., I was expecting 24 Typos/Spelling Mistakes...)

Hum, and mini-Detail, the Char-Size for Thread Titles is a bit limited, and Replies add some "Re: " = 4 Chars, I'm afraid your title will get truncated and the "run" part will probably disappear, which will render your Thread Title even more difficult to understand...
EDIT: I was wrong about that Point..., you were just below the Limit-4 I guess..., good-good...! :P
But hum, I find this Limit a bit short indeed myself, I'll try to see with the Forum Admin if it can be a little bit extended...

Like mentioned in some other Thread of yours, if all Commands you use in your Scripts all contain 3 Typos per Word/Command, then it's a bit useless to try to debug your Scripts..., because at the first Typo I stop looking any further..., and believe me, Runtime Engines are VERY stupid...!

But hum, about your "1)Is there a way to overwrite or delete the old data via macro?" Qt, => yep, I know 2 ways..., and 3 if you were on FF...
For the "how to place some extract" whatever..., I don't know, I'll need to read your Post a bit correctly about the Content, I only read it once to check it grammatically and spelling-wize...

And I see some v9.0.02 for iMB, ah-ah...!, you should be answering most Threads on the Forum by now if you've been using iMacros since this Version..., while you keep asking very Newbie's Qt's, a bit surprising I would think... :?
- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...
chivracq
 
Posts: 6974
Joined: Sat Apr 13, 2013 6:07 am
Location: Amsterdam (NL)

Re: Overwritting the previous data in the file when its run

by Aditya93 on Sun Jan 21, 2018 4:15 am

Sorry about the typos, will improve them from now on.

Could you tell about the 2 ways that you mentioned you knew.

as for the Vr 9.00... , i was using iMacros that time but then stopped and have now started again, so learning slowly and steadily

2nd question was that i wanted to use EXTRACT command in EVAL if-else
Last edited by Aditya93 on Mon Jan 22, 2018 4:04 am, edited 1 time in total.
Aditya93
 
Posts: 39
Joined: Fri Nov 24, 2017 10:34 pm

Re: Overwritting the previous data in the file when its run

by chivracq on Sun Jan 21, 2018 8:37 am

Aditya93 wrote:Sorry about the typos, will improve them from now on.

Could you tell about the 2 ways that you mentioned you knew.

as for the Vr 9.00... , i was using imacros that time but then stopped and have now started again, so learning i slowly and steadly

2nd question was that i wanted to use EXTRACT command in EVAl if-else

Hum..., "from now on" and 2 Lines further you spell "iMacros" again incorrectly, ah-ah...! :lol:
It takes a few seconds from your Spellchecker, Right-Click on "iMacros" (spelt once correctly of course...!), 'Add to dictionary', and that's it...! And then, all incorrect Instances of "iMacros" or any Word incorrectly spelt should be highlighted..., that's pretty simple I would think... Hum..., and good "Practice" is to add "DATASOURCE", "ERRORIGNORE" etc..., several iMacros Commands as well to that Dictionary, or the Spellchecker keeps beeping all the time at the beginning for all Terms it doesn't know...
=> You first correct your Typos (in both Threads where I started "complaining" about that...) and only then I will keep answering your Threads, I would think, ah-ah...! If you were making those Typos in your Scripts, your Scripts simply wouldn't compile and pass Parsing-Validation and you would be forced on the fly to correct them directly..., consider me as a "Compiler", ah-ah...! :wink:

Hum, "good News", I thought of a 3rd way (or 4th actually) for the 'Overwrite' part... :wink:
But hum, if you search the Forum a bit, I've already mentioned/explained them all in some other/similar Threads on the Forum... Tja..., the Forum is not only some kind of "Online Chat" with some Advanced Users "at your Service" solving your Pb's and answering your Qt's, but as a Search Engine as well with Qt's that have already been asked previously by other Users, and their Solutions...! :idea:
... Which brings us back to the Importance of spelling a bit correctly, especially in Thread Titles, because for example, nobody is going to find this current Thread because of your "Overwritting" spelt incorrectly if they use that Term as a Search Keyword... :idea:
- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...
chivracq
 
Posts: 6974
Joined: Sat Apr 13, 2013 6:07 am
Location: Amsterdam (NL)

Re: Overwriting the previous data in the file when its run

by Aditya93 on Mon Jan 22, 2018 4:05 am

i think now all of them have been fixed :oops:
wanted to know one more thing, is it possible to run iMacros in the background/hidden?

was checking the silent mode
couldn't get where to add this

Code: Select all
imacros.exe -macro test1 -silent
Aditya93
 
Posts: 39
Joined: Fri Nov 24, 2017 10:34 pm

Re: Overwriting the previous data in the file when its run

by Aditya93 on Mon Jan 22, 2018 7:02 pm

Found this for removing the file

Code: Select all
FILEDELETE NAME=Dragon_Hit.csv


but still am not able to to use extract in EVAL if-else

Code: Select all
IMAGECLICK POS=1 IMAGE=attack_button.png CONFIDENCE=95
SET Coord_X_1 EVAL("var ix='{{!IMAGEX}}'; var x; if(ix=='514'){x=1;}; x;")
SET Coord_Y_1 EVAL("var ix='{{!IMAGEX}}'; var y; if(ix=='514'){y=1;}; y;")
ADD !EXTRACT {{Coord_X_1}}
ADD !EXTRACT {{Coord_Y_1}}


if its TRUE it saves "1" in file but if it FALSE saves "0"
don't want anything in case it fails, entry should be done only if its TRUE
Aditya93
 
Posts: 39
Joined: Fri Nov 24, 2017 10:34 pm

Re: Overwriting the previous data in the file when its run

by chivracq on Mon Jan 22, 2018 7:28 pm

Aditya93 wrote:i think now all of them have been fixed :oops:
wanted to know one more thing, is it possible to run iMacros in the background/hidden?

was checking the silent mode
couldn't get where to add this

Code: Select all
imacros.exe -macro test1 -silent

Hum..., very good indeed, 3 out of the 4 Typos/Spelling/Grammar Mistakes have indeed been corrected, => YES YOU CAN...!
The "its" is still there, but OK, never mind...
But hum, let me check, I said for both Threads... checking... => Yep, looks OK as well, from a quick Check...

OK, back into the Thread..., but what about "background/hidden"...?
Your Thread was about "Overwriting" a File, I don't see the "Connection", OK... I'll check tomorrow then..., I thought I could quickly answer your original Qt...

Aditya93 wrote:Found this for removing the file

Code: Select all
FILEDELETE NAME=Dragon_Hit.csv


but still am not able to to use extract in EVAL if-else

Code: Select all
IMAGECLICK POS=1 IMAGE=attack_button.png CONFIDENCE=95
SET Coord_X_1 EVAL("var ix='{{!IMAGEX}}'; var x; if(ix=='514'){x=1;}; x;")
SET Coord_Y_1 EVAL("var ix='{{!IMAGEX}}'; var y; if(ix=='514'){y=1;}; y;")
ADD !EXTRACT {{Coord_X_1}}
ADD !EXTRACT {{Coord_Y_1}}


if its TRUE it saves "1" in file but if it FALSE saves "0"
don't want anything in case it fails, entry should be done only if its TRUE
- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...
chivracq
 
Posts: 6974
Joined: Sat Apr 13, 2013 6:07 am
Location: Amsterdam (NL)

Re: Overwriting the previous data in the file when its run

by Aditya93 on Tue Jan 23, 2018 1:37 am

and when i will be reusing this file, want to use it dynamically

i mean that same operation is to be performed each time, so don't want to guess or waste more time if the cells are empty or repeating the same operation over n over n times even though there might be lesser values filled in the sheet
Aditya93
 
Posts: 39
Joined: Fri Nov 24, 2017 10:34 pm

Re: Overwriting the previous data in the file when its run

by chivracq on Tue Jan 23, 2018 12:55 pm

Aditya93 wrote:and when i will be reusing this file, want to use it dynamically

i mean that same operation is to be performed each time, so don't want to guess or waste more time if the cells are empty or repeating the same operation over n over n times even though there might be lesser values filled in the sheet

Ah hum, so you actually only wanted to "remove" or "delete" the existing '.CSV' from the previous 'SAVEAS', not really "overwrite" it..., then yep, 'FILETEDELETE' is then all you need...
"Overwriting" the File means that you only would like to "overwrite" existing Values/Cells if they have changed, and there are several Methods for first retrieving the existing Content of that File and then only editing/replacing the specific Cells that you would want..., but I guess that's not even what you needed..., OK...

About '-silent'/'background'/'hidden', I don't know, this is specific to iMB that I have never used... But you have a complete Section in the Wiki or FAQ about all those Switches... (and their Limitations...)
But hum, most of my (.iim) Scripts actually run "in the Background" (on FF or rather Pale Moon, my "Prod" Browser now for the last 5 years) since always (=> v6.30 <=> v8.9.7 for FF), and I've never had any Pb, so I've never really understood the Need for those Switches, ah-ah...!

About your "1"/"0", simply add some 'else' part in the 'EVAL()' to control yourself what the Case 'FALSE' will do... => Return some Empty String for example if you don't like the "0"...
You had some '!VARDEFAULT' Command that could be used in your Case if you prefer, it was going to be deprecated, but I think it still works, and for sure for your iMB v10 Version. I've never really used it myself, or maybe only once just to try it for fun, ah-ah...! I think it's not even listed in the Command Reference, but it still has its own Wiki Page... (Notice btw the (correct...!) Use of "it's" and "its" in this last Sentence, ah-ah...!)

EDIT: Oops...!, corrected Typo: "You add some..." => "You had some...", ah-ah...! :oops:
Last edited by chivracq on Wed Jan 24, 2018 4:47 am, edited 2 times in total.
- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...
chivracq
 
Posts: 6974
Joined: Sat Apr 13, 2013 6:07 am
Location: Amsterdam (NL)

Re: Overwriting the previous data in the file when its run

by Aditya93 on Tue Jan 23, 2018 10:31 pm

The 1/0 will not do me any good. As i am unable to play the loop and the Macros code is just repeated, I just copy paste it the no of time i have to play it and change the no of cell which it pickups data from.

now even if the file has 2 values and i copied it 10 times[max limit] but that wastes a lot of the time, any way to use it dynamically and run it that no of times so it runs the no of the times the value in the cell of the file

pasting below the files

Dragon Finder
Code: Select all
VERSION BUILD=10022823
SIZE X=845 Y=868
STOPWATCH ID=id
SET !TIMEOUT_STEP 2
SET !DATASOURCE Dragon_List.csv
SET !DATASOURCE_COLUMNS 2

WAIT SECONDS=15

IMAGECLICK POS=1 IMAGE=login.png CONFIDENCE=95
WAIT SECONDS=2
DS CMD=CLICK X=724 Y=31 CONTENT={TAB}
DS CMD=CLICK X=724 Y=31 CONTENT=bhutnath
DS CMD=CLICK X=736 Y=53 CONTENT={TAB}
DS CMD=CLICK X=736 Y=53 CONTENT=Auto.Master
DS CMD=CLICK X=678 Y=81 CONTENT=
DS CMD=CLICK X=722 Y=123 CONTENT=

WAIT SECONDS=15

SET !TIMEOUT_STEP 0
SET !ERRORIGNORE YES

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

SET !TIMEOUT_STEP 2

IMAGECLICK POS=1 IMAGE=globe.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=globe.png CONFIDENCE=95

WAIT SECONDS=2

DS CMD=CLICK X=750 Y=802 CONTENT=
WAIT SECONDS=1

IMAGECLICK POS=1 IMAGE=Ghost_Wrath.png CONFIDENCE=95
WAIT SECONDS=2

FILEDELETE NAME=Dragon_Hit.csv

'Dragon - 1

SET !DATASOURCE_LINE 1
DS CMD=CLICK X=319 Y=19 CONTENT={TAB}
DS CMD=CLICK X=319 Y=19 CONTENT={{!COL1}}
DS CMD=CLICK X=364 Y=9 CONTENT={TAB}
DS CMD=CLICK X=364 Y=9 CONTENT={{!COL2}}
DS CMD=CLICK X=364 Y=9 CONTENT={ENTER}

WAIT SECONDS=2
SET !TIMEOUT_STEP 2

DS CMD=CLICK X=421 Y=428 CONTENT=   
WAIT SECONDS=0.3
IMAGECLICK POS=1 IMAGE=attack_button.png CONFIDENCE=95
SET Coord_X_1 EVAL("var ix='{{!IMAGEX}}'; var x; if(ix=='514'){x='Dragon_Hit.csv';} else{x=' ';}; x;")
ADD !EXTRACT {{!COL1}}
ADD !EXTRACT {{!COL2}}

WAIT SECONDS=0.3
SAVEAS TYPE=EXTRACT FOLDER=* FILE={{Coord_X_1}}

SET !TIMEOUT_STEP 0
IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_attack.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
SET !TIMEOUT_STEP 2
'Dragon - 18

SET !DATASOURCE_LINE 18
DS CMD=CLICK X=319 Y=19 CONTENT={TAB}
DS CMD=CLICK X=319 Y=19 CONTENT={{!COL1}}
DS CMD=CLICK X=364 Y=9 CONTENT={TAB}
DS CMD=CLICK X=364 Y=9 CONTENT={{!COL2}}
DS CMD=CLICK X=364 Y=9 CONTENT={ENTER}

WAIT SECONDS=2
SET !TIMEOUT_STEP 2

DS CMD=CLICK X=421 Y=428 CONTENT=   
WAIT SECONDS=0.3
IMAGECLICK POS=1 IMAGE=attack_button.png CONFIDENCE=95
SET Coord_X_1 EVAL("var ix='{{!IMAGEX}}'; var x; if(ix=='514'){x='Dragon_Hit.csv';} else{x=' ';}; x;")
ADD !EXTRACT {{!COL1}}
ADD !EXTRACT {{!COL2}}

WAIT SECONDS=0.3
SAVEAS TYPE=EXTRACT FOLDER=* FILE={{Coord_X_1}}

SET !TIMEOUT_STEP 0
IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_attack.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
SET !TIMEOUT_STEP 2


'Dragon - 19

SET !DATASOURCE_LINE 19
DS CMD=CLICK X=319 Y=19 CONTENT={TAB}
DS CMD=CLICK X=319 Y=19 CONTENT={{!COL1}}
DS CMD=CLICK X=364 Y=9 CONTENT={TAB}
DS CMD=CLICK X=364 Y=9 CONTENT={{!COL2}}
DS CMD=CLICK X=364 Y=9 CONTENT={ENTER}

WAIT SECONDS=2
SET !TIMEOUT_STEP 2

DS CMD=CLICK X=421 Y=428 CONTENT=   
WAIT SECONDS=0.3
IMAGECLICK POS=1 IMAGE=attack_button.png CONFIDENCE=95
SET Coord_X_1 EVAL("var ix='{{!IMAGEX}}'; var x; if(ix=='514'){x='Dragon_Hit.csv';} else{x=' ';}; x;")
ADD !EXTRACT {{!COL1}}
ADD !EXTRACT {{!COL2}}

WAIT SECONDS=0.3
SAVEAS TYPE=EXTRACT FOLDER=* FILE={{Coord_X_1}}

SET !TIMEOUT_STEP 0
IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_attack.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
SET !TIMEOUT_STEP 2





2nd to use the updated file after the Dragon Finder


Dragon Loot
Aditya93
 
Posts: 39
Joined: Fri Nov 24, 2017 10:34 pm

Re: Overwriting the previous data in the file when its run

by Aditya93 on Tue Jan 23, 2018 10:32 pm

Code: Select all
SIZE X=845 Y=868
STOPWATCH ID=id
SET !ERRORIGNORE YES
SET !TIMEOUT_STEP 2
SET !DATASOURCE C:\Users\Aditya\Documents\iMacros\Downloads\Dragon_Hit.csv
SET !DATASOURCE_COLUMNS 2
SET !ERRORIGNORE NO
WAIT SECONDS=15

IMAGECLICK POS=1 IMAGE=login.png CONFIDENCE=95
WAIT SECONDS=2
DS CMD=CLICK X=724 Y=31 CONTENT={TAB}
DS CMD=CLICK X=724 Y=31 CONTENT=bhutnath
DS CMD=CLICK X=736 Y=53 CONTENT={TAB}
DS CMD=CLICK X=736 Y=53 CONTENT=Auto.Master
DS CMD=CLICK X=678 Y=81 CONTENT=
DS CMD=CLICK X=722 Y=123 CONTENT=

WAIT SECONDS=15

SET !TIMEOUT_STEP 0
SET !ERRORIGNORE YES

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

SET !TIMEOUT_STEP 2

IMAGECLICK POS=1 IMAGE=globe.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=globe.png CONFIDENCE=95

WAIT SECONDS=2

DS CMD=CLICK X=750 Y=802 CONTENT=
WAIT SECONDS=1

IMAGECLICK POS=1 IMAGE=Ghost_Wrath.png CONFIDENCE=95
WAIT SECONDS=2

'Dragon - 1

WAIT SECONDS=1

SET !DATASOURCE_LINE 1
DS CMD=CLICK X=319 Y=19 CONTENT={TAB}
DS CMD=CLICK X=319 Y=19 CONTENT={{!COL1}}
DS CMD=CLICK X=364 Y=9 CONTENT={TAB}
DS CMD=CLICK X=364 Y=9 CONTENT={{!COL2}}
DS CMD=CLICK X=364 Y=9 CONTENT={ENTER}

WAIT SECONDS=5

DS CMD=CLICK X=417 Y=441 CONTENT=   

IMAGECLICK POS=1 IMAGE=attack_button.png CONFIDENCE=95
WAIT SECONDS=0.5
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
WAIT SECONDS=2


IMAGESEARCH POS=1 IMAGE=Fire_Flag.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = -1; break; default: x1 = 819;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = -1; break; default: y1 = 129;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=819 Y=129 CONTENT=

SET !TIMEOUT_STEP 0

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 455; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 538; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=455 Y=538 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 550; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 269; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=550 Y=269 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 301; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 650; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=301 Y=650 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 553; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 262; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=553 Y=262 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 302; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 646; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=302 Y=646 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 550; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 241; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=550 Y=241 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 298; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 650; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=298 Y=650 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 550; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 241; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=550 Y=241 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 298; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 653; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=298 Y=653 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 448; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 433; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=448 Y=433 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 609; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 407; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=609 Y=407 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 411; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 399; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=411 Y=399 CONTENT=

DS CMD=KEY CONTENT=14{ENTER}

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 138; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 401; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=725 Y=723 CONTENT=

WAIT SECONDS=0.3

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 212; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 419; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=212 Y=419 CONTENT=

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 470; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 523; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=470 Y=523 CONTENT=

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 464; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 639; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=464 Y=639 CONTENT=

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 547; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 653; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=547 Y=653 CONTENT=

WAIT SECONDS=1

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

SET !TIMEOUT_STEP 2

'Dragon - 8

WAIT SECONDS=1

SET !DATASOURCE_LINE 8
DS CMD=CLICK X=319 Y=19 CONTENT={TAB}
DS CMD=CLICK X=319 Y=19 CONTENT={{!COL1}}
DS CMD=CLICK X=364 Y=9 CONTENT={TAB}
DS CMD=CLICK X=364 Y=9 CONTENT={{!COL2}}
DS CMD=CLICK X=364 Y=9 CONTENT={ENTER}

WAIT SECONDS=5

DS CMD=CLICK X=417 Y=441 CONTENT=   

IMAGECLICK POS=1 IMAGE=attack_button.png CONFIDENCE=95
WAIT SECONDS=0.5
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
WAIT SECONDS=2


IMAGESEARCH POS=1 IMAGE=Fire_Flag.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = -1; break; default: x1 = 819;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = -1; break; default: y1 = 129;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=819 Y=129 CONTENT=

SET !TIMEOUT_STEP 0

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 455; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 538; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=455 Y=538 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 550; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 269; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=550 Y=269 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 301; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 650; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=301 Y=650 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 553; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 262; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=553 Y=262 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 302; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 646; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=302 Y=646 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 550; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 241; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=550 Y=241 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 298; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 650; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=298 Y=650 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 550; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 241; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=550 Y=241 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 298; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 653; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=298 Y=653 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 448; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 433; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=448 Y=433 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 609; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 407; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=609 Y=407 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 411; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 399; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=411 Y=399 CONTENT=

DS CMD=KEY CONTENT=14{ENTER}

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 138; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 401; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=725 Y=723 CONTENT=

WAIT SECONDS=0.3

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 212; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 419; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=212 Y=419 CONTENT=

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 470; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 523; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=470 Y=523 CONTENT=

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 464; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 639; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=464 Y=639 CONTENT=

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 547; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 653; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=547 Y=653 CONTENT=

WAIT SECONDS=1

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

SET !TIMEOUT_STEP 2

'Dragon - 9

WAIT SECONDS=1

SET !DATASOURCE_LINE 9
DS CMD=CLICK X=319 Y=19 CONTENT={TAB}
DS CMD=CLICK X=319 Y=19 CONTENT={{!COL1}}
DS CMD=CLICK X=364 Y=9 CONTENT={TAB}
DS CMD=CLICK X=364 Y=9 CONTENT={{!COL2}}
DS CMD=CLICK X=364 Y=9 CONTENT={ENTER}

WAIT SECONDS=5

DS CMD=CLICK X=417 Y=441 CONTENT=   

IMAGECLICK POS=1 IMAGE=attack_button.png CONFIDENCE=95
WAIT SECONDS=0.5
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
WAIT SECONDS=2


IMAGESEARCH POS=1 IMAGE=Fire_Flag.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = -1; break; default: x1 = 819;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = -1; break; default: y1 = 129;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=819 Y=129 CONTENT=

SET !TIMEOUT_STEP 0

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 455; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 538; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=455 Y=538 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 550; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 269; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=550 Y=269 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 301; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 650; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=301 Y=650 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 553; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 262; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=553 Y=262 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 302; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 646; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=302 Y=646 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 550; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 241; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=550 Y=241 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 298; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 650; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=298 Y=650 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 550; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 241; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=550 Y=241 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 298; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 653; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=298 Y=653 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 448; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 433; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=448 Y=433 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 609; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 407; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=609 Y=407 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 411; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 399; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=411 Y=399 CONTENT=

DS CMD=KEY CONTENT=14{ENTER}

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 138; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 401; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=725 Y=723 CONTENT=

WAIT SECONDS=0.3

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 212; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 419; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=212 Y=419 CONTENT=

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 470; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 523; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=470 Y=523 CONTENT=

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 464; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 639; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=464 Y=639 CONTENT=

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 547; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 653; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=547 Y=653 CONTENT=

WAIT SECONDS=1

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

SET !TIMEOUT_STEP 2

'Dragon - 10

WAIT SECONDS=1

SET !DATASOURCE_LINE 10
DS CMD=CLICK X=319 Y=19 CONTENT={TAB}
DS CMD=CLICK X=319 Y=19 CONTENT={{!COL1}}
DS CMD=CLICK X=364 Y=9 CONTENT={TAB}
DS CMD=CLICK X=364 Y=9 CONTENT={{!COL2}}
DS CMD=CLICK X=364 Y=9 CONTENT={ENTER}

WAIT SECONDS=5

DS CMD=CLICK X=417 Y=441 CONTENT=   

IMAGECLICK POS=1 IMAGE=attack_button.png CONFIDENCE=95
WAIT SECONDS=0.5
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
WAIT SECONDS=2


IMAGESEARCH POS=1 IMAGE=Fire_Flag.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = -1; break; default: x1 = 819;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = -1; break; default: y1 = 129;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=819 Y=129 CONTENT=

SET !TIMEOUT_STEP 0

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 455; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 538; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=455 Y=538 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 550; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 269; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=550 Y=269 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 301; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 650; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=301 Y=650 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 553; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 262; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=553 Y=262 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 302; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 646; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=302 Y=646 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 550; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 241; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=550 Y=241 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 298; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 650; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=298 Y=650 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 550; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 241; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=550 Y=241 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 298; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 653; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=298 Y=653 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 448; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 433; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=448 Y=433 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 609; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 407; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=609 Y=407 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 411; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 399; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=411 Y=399 CONTENT=

DS CMD=KEY CONTENT=14{ENTER}

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 138; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 401; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=725 Y=723 CONTENT=

WAIT SECONDS=0.3

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 212; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 419; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=212 Y=419 CONTENT=

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 470; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 523; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=470 Y=523 CONTENT=

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 464; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 639; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=464 Y=639 CONTENT=

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 547; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 653; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=547 Y=653 CONTENT=

WAIT SECONDS=1



any suggestion on ways to improve the efficiency would also be nice of u :D
Aditya93
 
Posts: 39
Joined: Fri Nov 24, 2017 10:34 pm

Re: Overwriting the previous data in the file when its run

by chivracq on Wed Jan 24, 2018 6:03 am

Aditya93 wrote:The 1/0 will not do me any good. As i am unable to play the loop and the Macros code is just repeated, I just copy paste it the no of time i have to play it and change the no of cell which it pickups data from.

now even if the file has 2 values and i copied it 10 times[max limit] but that wastes a lot of the time, any way to use it dynamically and run it that no of times so it runs the no of the times the value in the cell of the file

pasting below the files

Dragon Finder
Code: Select all
VERSION BUILD=10022823
SIZE X=845 Y=868
STOPWATCH ID=id
SET !TIMEOUT_STEP 2
SET !DATASOURCE Dragon_List.csv
SET !DATASOURCE_COLUMNS 2

WAIT SECONDS=15

IMAGECLICK POS=1 IMAGE=login.png CONFIDENCE=95
WAIT SECONDS=2
DS CMD=CLICK X=724 Y=31 CONTENT={TAB}
DS CMD=CLICK X=724 Y=31 CONTENT=bhutnath
DS CMD=CLICK X=736 Y=53 CONTENT={TAB}
DS CMD=CLICK X=736 Y=53 CONTENT=Auto.Master
DS CMD=CLICK X=678 Y=81 CONTENT=
DS CMD=CLICK X=722 Y=123 CONTENT=

WAIT SECONDS=15

SET !TIMEOUT_STEP 0
SET !ERRORIGNORE YES

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

SET !TIMEOUT_STEP 2

IMAGECLICK POS=1 IMAGE=globe.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=globe.png CONFIDENCE=95

WAIT SECONDS=2

DS CMD=CLICK X=750 Y=802 CONTENT=
WAIT SECONDS=1

IMAGECLICK POS=1 IMAGE=Ghost_Wrath.png CONFIDENCE=95
WAIT SECONDS=2

FILEDELETE NAME=Dragon_Hit.csv

'Dragon - 1

SET !DATASOURCE_LINE 1
DS CMD=CLICK X=319 Y=19 CONTENT={TAB}
DS CMD=CLICK X=319 Y=19 CONTENT={{!COL1}}
DS CMD=CLICK X=364 Y=9 CONTENT={TAB}
DS CMD=CLICK X=364 Y=9 CONTENT={{!COL2}}
DS CMD=CLICK X=364 Y=9 CONTENT={ENTER}

WAIT SECONDS=2
SET !TIMEOUT_STEP 2

DS CMD=CLICK X=421 Y=428 CONTENT=   
WAIT SECONDS=0.3
IMAGECLICK POS=1 IMAGE=attack_button.png CONFIDENCE=95
SET Coord_X_1 EVAL("var ix='{{!IMAGEX}}'; var x; if(ix=='514'){x='Dragon_Hit.csv';} else{x=' ';}; x;")
ADD !EXTRACT {{!COL1}}
ADD !EXTRACT {{!COL2}}

WAIT SECONDS=0.3
SAVEAS TYPE=EXTRACT FOLDER=* FILE={{Coord_X_1}}

SET !TIMEOUT_STEP 0
IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_attack.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
SET !TIMEOUT_STEP 2
'Dragon - 18

SET !DATASOURCE_LINE 18
DS CMD=CLICK X=319 Y=19 CONTENT={TAB}
DS CMD=CLICK X=319 Y=19 CONTENT={{!COL1}}
DS CMD=CLICK X=364 Y=9 CONTENT={TAB}
DS CMD=CLICK X=364 Y=9 CONTENT={{!COL2}}
DS CMD=CLICK X=364 Y=9 CONTENT={ENTER}

WAIT SECONDS=2
SET !TIMEOUT_STEP 2

DS CMD=CLICK X=421 Y=428 CONTENT=   
WAIT SECONDS=0.3
IMAGECLICK POS=1 IMAGE=attack_button.png CONFIDENCE=95
SET Coord_X_1 EVAL("var ix='{{!IMAGEX}}'; var x; if(ix=='514'){x='Dragon_Hit.csv';} else{x=' ';}; x;")
ADD !EXTRACT {{!COL1}}
ADD !EXTRACT {{!COL2}}

WAIT SECONDS=0.3
SAVEAS TYPE=EXTRACT FOLDER=* FILE={{Coord_X_1}}

SET !TIMEOUT_STEP 0
IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_attack.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
SET !TIMEOUT_STEP 2


'Dragon - 19

SET !DATASOURCE_LINE 19
DS CMD=CLICK X=319 Y=19 CONTENT={TAB}
DS CMD=CLICK X=319 Y=19 CONTENT={{!COL1}}
DS CMD=CLICK X=364 Y=9 CONTENT={TAB}
DS CMD=CLICK X=364 Y=9 CONTENT={{!COL2}}
DS CMD=CLICK X=364 Y=9 CONTENT={ENTER}

WAIT SECONDS=2
SET !TIMEOUT_STEP 2

DS CMD=CLICK X=421 Y=428 CONTENT=   
WAIT SECONDS=0.3
IMAGECLICK POS=1 IMAGE=attack_button.png CONFIDENCE=95
SET Coord_X_1 EVAL("var ix='{{!IMAGEX}}'; var x; if(ix=='514'){x='Dragon_Hit.csv';} else{x=' ';}; x;")
ADD !EXTRACT {{!COL1}}
ADD !EXTRACT {{!COL2}}

WAIT SECONDS=0.3
SAVEAS TYPE=EXTRACT FOLDER=* FILE={{Coord_X_1}}

SET !TIMEOUT_STEP 0
IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_attack.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
SET !TIMEOUT_STEP 2


2nd to use the updated file after the Dragon Finder

Dragon Loot

Aditya93 wrote:
Code: Select all
SIZE X=845 Y=868
STOPWATCH ID=id
SET !ERRORIGNORE YES
SET !TIMEOUT_STEP 2
SET !DATASOURCE C:\Users\Aditya\Documents\iMacros\Downloads\Dragon_Hit.csv
SET !DATASOURCE_COLUMNS 2
SET !ERRORIGNORE NO
WAIT SECONDS=15

IMAGECLICK POS=1 IMAGE=login.png CONFIDENCE=95
WAIT SECONDS=2
DS CMD=CLICK X=724 Y=31 CONTENT={TAB}
DS CMD=CLICK X=724 Y=31 CONTENT=bhutnath
DS CMD=CLICK X=736 Y=53 CONTENT={TAB}
DS CMD=CLICK X=736 Y=53 CONTENT=Auto.Master
DS CMD=CLICK X=678 Y=81 CONTENT=
DS CMD=CLICK X=722 Y=123 CONTENT=

WAIT SECONDS=15

SET !TIMEOUT_STEP 0
SET !ERRORIGNORE YES

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

SET !TIMEOUT_STEP 2

IMAGECLICK POS=1 IMAGE=globe.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=globe.png CONFIDENCE=95

WAIT SECONDS=2

DS CMD=CLICK X=750 Y=802 CONTENT=
WAIT SECONDS=1

IMAGECLICK POS=1 IMAGE=Ghost_Wrath.png CONFIDENCE=95
WAIT SECONDS=2

'Dragon - 1

WAIT SECONDS=1

SET !DATASOURCE_LINE 1
DS CMD=CLICK X=319 Y=19 CONTENT={TAB}
DS CMD=CLICK X=319 Y=19 CONTENT={{!COL1}}
DS CMD=CLICK X=364 Y=9 CONTENT={TAB}
DS CMD=CLICK X=364 Y=9 CONTENT={{!COL2}}
DS CMD=CLICK X=364 Y=9 CONTENT={ENTER}

WAIT SECONDS=5

DS CMD=CLICK X=417 Y=441 CONTENT=   

IMAGECLICK POS=1 IMAGE=attack_button.png CONFIDENCE=95
WAIT SECONDS=0.5
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
WAIT SECONDS=2


IMAGESEARCH POS=1 IMAGE=Fire_Flag.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = -1; break; default: x1 = 819;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = -1; break; default: y1 = 129;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=819 Y=129 CONTENT=

SET !TIMEOUT_STEP 0

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 455; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 538; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=455 Y=538 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 550; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 269; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=550 Y=269 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 301; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 650; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=301 Y=650 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 553; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 262; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=553 Y=262 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 302; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 646; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=302 Y=646 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 550; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 241; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=550 Y=241 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 298; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 650; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=298 Y=650 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 550; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 241; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=550 Y=241 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 298; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 653; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=298 Y=653 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 448; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 433; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=448 Y=433 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 609; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 407; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=609 Y=407 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 411; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 399; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=411 Y=399 CONTENT=

DS CMD=KEY CONTENT=14{ENTER}

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 138; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 401; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=725 Y=723 CONTENT=

WAIT SECONDS=0.3

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 212; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 419; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=212 Y=419 CONTENT=

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 470; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 523; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=470 Y=523 CONTENT=

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 464; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 639; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=464 Y=639 CONTENT=

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 547; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 653; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=547 Y=653 CONTENT=

WAIT SECONDS=1

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

SET !TIMEOUT_STEP 2

'Dragon - 8

WAIT SECONDS=1

SET !DATASOURCE_LINE 8
DS CMD=CLICK X=319 Y=19 CONTENT={TAB}
DS CMD=CLICK X=319 Y=19 CONTENT={{!COL1}}
DS CMD=CLICK X=364 Y=9 CONTENT={TAB}
DS CMD=CLICK X=364 Y=9 CONTENT={{!COL2}}
DS CMD=CLICK X=364 Y=9 CONTENT={ENTER}

WAIT SECONDS=5

DS CMD=CLICK X=417 Y=441 CONTENT=   

IMAGECLICK POS=1 IMAGE=attack_button.png CONFIDENCE=95
WAIT SECONDS=0.5
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
WAIT SECONDS=2


IMAGESEARCH POS=1 IMAGE=Fire_Flag.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = -1; break; default: x1 = 819;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = -1; break; default: y1 = 129;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=819 Y=129 CONTENT=

SET !TIMEOUT_STEP 0

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 455; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 538; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=455 Y=538 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 550; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 269; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=550 Y=269 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 301; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 650; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=301 Y=650 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 553; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 262; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=553 Y=262 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 302; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 646; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=302 Y=646 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 550; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 241; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=550 Y=241 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 298; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 650; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=298 Y=650 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 550; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 241; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=550 Y=241 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 298; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 653; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=298 Y=653 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 448; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 433; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=448 Y=433 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 609; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 407; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=609 Y=407 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 411; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 399; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=411 Y=399 CONTENT=

DS CMD=KEY CONTENT=14{ENTER}

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 138; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 401; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=725 Y=723 CONTENT=

WAIT SECONDS=0.3

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 212; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 419; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=212 Y=419 CONTENT=

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 470; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 523; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=470 Y=523 CONTENT=

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 464; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 639; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=464 Y=639 CONTENT=

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 547; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 653; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=547 Y=653 CONTENT=

WAIT SECONDS=1

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

SET !TIMEOUT_STEP 2

'Dragon - 9

WAIT SECONDS=1

SET !DATASOURCE_LINE 9
DS CMD=CLICK X=319 Y=19 CONTENT={TAB}
DS CMD=CLICK X=319 Y=19 CONTENT={{!COL1}}
DS CMD=CLICK X=364 Y=9 CONTENT={TAB}
DS CMD=CLICK X=364 Y=9 CONTENT={{!COL2}}
DS CMD=CLICK X=364 Y=9 CONTENT={ENTER}

WAIT SECONDS=5

DS CMD=CLICK X=417 Y=441 CONTENT=   

IMAGECLICK POS=1 IMAGE=attack_button.png CONFIDENCE=95
WAIT SECONDS=0.5
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
WAIT SECONDS=2


IMAGESEARCH POS=1 IMAGE=Fire_Flag.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = -1; break; default: x1 = 819;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = -1; break; default: y1 = 129;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=819 Y=129 CONTENT=

SET !TIMEOUT_STEP 0

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 455; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 538; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=455 Y=538 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 550; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 269; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=550 Y=269 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 301; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 650; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=301 Y=650 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 553; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 262; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=553 Y=262 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 302; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 646; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=302 Y=646 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 550; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 241; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=550 Y=241 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 298; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 650; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=298 Y=650 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 550; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 241; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=550 Y=241 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 298; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 653; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=298 Y=653 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 448; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 433; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=448 Y=433 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 609; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 407; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=609 Y=407 CONTENT=

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 411; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 399; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=411 Y=399 CONTENT=

DS CMD=KEY CONTENT=14{ENTER}

SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 769: x1 = 138; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 769: y1 = 401; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=725 Y=723 CONTENT=

WAIT SECONDS=0.3

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 212; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 419; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=212 Y=419 CONTENT=

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 470; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 523; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=470 Y=523 CONTENT=

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 464; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 639; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=464 Y=639 CONTENT=

IMAGESEARCH POS=1 IMAGE=travel_planning.png CONFIDENCE=95
SET Coord_X_1 EVAL("var x1;switch ({{!IMAGEX}}) {case 425: x1 = 547; break; default: x1 = -1;}")
SET Coord_Y_1 EVAL("var y1;switch ({{!IMAGEX}}) {case 425: y1 = 653; break; default: y1 = -1;}")
DS CMD=CLICK X={{Coord_X_1}} Y={{Coord_Y_1}} CONTENT=
'DS CMD=CLICK X=547 Y=653 CONTENT=

WAIT SECONDS=1

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

WAIT SECONDS=0.3

IMAGECLICK POS=1 IMAGE=Offer_close_black.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_white2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close_showme.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=Offer_close2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=login_bonus.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=green_tick.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=pop_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=deco_close.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_recruit.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer1.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close3.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=close_offer2.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=
IMAGECLICK POS=1 IMAGE=offer_close4.png CONFIDENCE=95
DS CMD=CLICK X=-1 Y=-1 CONTENT=

SET !TIMEOUT_STEP 2

'Dragon - 10

WAIT SECONDS=1

SET !DATASOURCE_LINE 10
DS CMD=CLICK X=319 Y=19 CONTENT={TAB}
DS CMD=CLICK X=319 Y=19 CONTENT={{!COL1}}
DS CMD=CLICK X=364 Y=9 CONTENT={TAB}
DS CMD=CLICK X=364 Y=9 CONTENT={{!COL2}}
DS CMD=CLICK X=364 Y=9 CONTENT={ENTER}

WAIT SECONDS=5

'...
[... Truncated to pass 60000 Char Limit from Forum Validation...]

any suggestion on ways to improve the efficiency would also be nice of u :D

Yeah well, but those last Posts in this Thread are now completely Off-Topic from the orignal Topic about "Overwriting/Deleting a File" and you are already 3 or 4 different Qt's further from that original Subject, and you are back to Qt's related to your Game (Cheat) Strategy whatever ah-ah...!, for which I already told you that I don't really help for Games, you need to develop that Strategy yourself if you want to be more "clever" than your other Players, ah-ah...!
=> But you can always start a new Thread (or several per each specific Subject/Qt) as we are far from the "Overwriting" Content now..., even if I don't promise I will answer it/them, ah-ah...!
- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...
chivracq
 
Posts: 6974
Joined: Sat Apr 13, 2013 6:07 am
Location: Amsterdam (NL)

Re: Overwriting the previous data in the file when its run

by Aditya93 on Wed Jan 24, 2018 7:59 am

We should not give up hope, have advanced in this only after posting in this forum :lol:
will make a new thread
Aditya93
 
Posts: 39
Joined: Fri Nov 24, 2017 10:34 pm


Return to General Support & Discussions

Who is online

Users browsing this forum: No registered users and 3 guests

-->