Pulover's Macro Creator v5.4.1 - The Complete Automation Tool

Advanced Macro Recorder/Editor.

Moderator: Pulover

Bugs
Posts: 3
Joined: 21 Jan 2014, 12:26

Re: Macro Creator v4.1.1 - Automation Tool (Recorder & Write

17 Feb 2014, 12:54

I understand that there may be to many situations to cover.

These Example files should be helpful to me and anyone else. I would urge you to make a link from your tutorial page.

What is the best way to link or reference the a ahk file and pmc file ? Do recommend a certain file naming convention ?
Any suggestions would be appreciated.
User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

Re: Macro Creator v4.1.1 - Automation Tool (Recorder & Write

19 Feb 2014, 07:02

Bugs wrote:I understand that there may be to many situations to cover.

These Example files should be helpful to me and anyone else. I would urge you to make a link from your tutorial page.
I'll put a direct link in the tutorial page. Thanks for the suggestion!
Bugs wrote:What is the best way to link or reference the a ahk file and pmc file ? Do recommend a certain file naming convention ?
Any suggestions would be appreciated.
Not sure what you mean, there isn't any convention for naming ahk files AFAIK. You might just use the one you find best.
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
m00c0w
Posts: 5
Joined: 21 Feb 2014, 08:01

Re: Macro Creator v4.1.1 - Automation Tool (Recorder & Write

21 Feb 2014, 08:07

Hi,
I am trying to do one thing if a pixel is found, and a different thing if the pixel is not found. I have an 'If image/pixel found' and an 'If image/pixel not found' however it only seems to be doing the code that for pixel not found. Could it have something to do with the Pixel searcher settings as I have it so if the pixel is and isn't found, they are both Continue, but I can't find an alternative to this. I know that the pixel is there, but for some reason the Pixel searcher isn't finding it.

Another thought, this Pixel search is inside another pixel search (which is working). Could that affect it?
Thanks.
User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

Re: Macro Creator v4.1.1 - Automation Tool (Recorder & Write

21 Feb 2014, 08:40

m00c0w wrote:Hi,
I am trying to do one thing if a pixel is found, and a different thing if the pixel is not found. I have an 'If image/pixel found' and an 'If image/pixel not found' however it only seems to be doing the code that for pixel not found. Could it have something to do with the Pixel searcher settings as I have it so if the pixel is and isn't found, they are both Continue, but I can't find an alternative to this. I know that the pixel is there, but for some reason the Pixel searcher isn't finding it.

Another thought, this Pixel search is inside another pixel search (which is working). Could that affect it?
Thanks.
I won't know what is wrong if I can't see what you are doing... Post the pmc code here so I can see if it's correct.
Open the pmc file with notepad, copy the text and paste here inside code block, like this:

Code: Select all

[code]
Paste pmc code here...
[/code]
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
m00c0w
Posts: 5
Joined: 21 Feb 2014, 08:01

Re: Macro Creator v4.1.1 - Automation Tool (Recorder & Write

21 Feb 2014, 09:33

Sorry, here it is:

Code: Select all

[PMC Code]|||0|Window|1|Macro1
1|[LoopStart]|LoopStart|6|0|Loop|||||
2|[Pause]||1|300|Sleep|||||
3|Down|{Down Down}|1|1|Send|||||
4|[Pause]||1|30|Sleep|||||
5|Down|{Down Up}|1|1|Send|||||
6|[Pause]||1|1500|Sleep|||||
7|Continue, Continue|44`, 373`, 406`, 646`, C:\Users\Robert\Downloads\NOcash_2.6aZoomer\NO$GBA_2.6a with zoomer\Macro stuff\day encounter.PNG|1|1|ImageSearch||Window|||
8|If Image/Pixel Found||1|0|If_Statement|||||
9|[Pause]||1|10000|Sleep|||||
10|Continue, Continue|281`, 539`, 351`, 573`, C:\Users\Robert\AppData\Roaming\MacroCreator\Screenshots\Screen_20140221125136.png|1|1|ImageSearch||Window|||
11|If Image/Pixel Not Found||1|0|If_Statement|||||
12|[Pause]||1|3000|Sleep|||||
13|Left|{Left Down}|1|1|Send|||||
14|[Pause]||1|40|Sleep|||||
15|Left|{Left Up}|1|1|Send|||||
16|[Pause]||1|60|Sleep|||||
17|Left|{Left Down}|1|1|Send|||||
18|[Pause]||1|40|Sleep|||||
19|Left|{Left Up}|1|1|Send|||||
20|[Pause]||1|60|Sleep|||||
21|a|{a Down}|1|1|Send|||||
22|[Pause]||1|20|Sleep|||||
23|a|{a Up}|1|1|Send|||||
24|[Pause]||1|1999|Sleep|||||
25|Down|{Down Down}|1|1|Send|||||
26|[Pause]||1|40|Sleep|||||
27|Down|{Down Up}|1|1|Send|||||
28|[Pause]||1|20|Sleep|||||
29|Down|{Down Down}|1|1|Send|||||
30|[Pause]||1|40|Sleep|||||
31|Down|{Down Up}|1|1|Send|||||
32|[Pause]||1|20|Sleep|||||
33|a|{a Down}|1|1|Send|||||
34|[Pause]||1|20|Sleep|||||
35|a|{a Up}|1|1|Send|||||
36|[Pause]||1|700|Sleep|||||
37|a|{a Down}|1|1|Send|||||
38|[Pause]||1|20|Sleep|||||
39|a|{a Up}|1|1|Send|||||
40|[Pause]||1|21000|Sleep|||||
41|Down|{Down Down}|1|1|Send|||||
42|[Pause]||1|20|Sleep|||||
43|Down|{Down Up}|1|1|Send|||||
44|[Pause]||1|20|Sleep|||||
45|Down|{Down Down}|1|1|Send|||||
46|[Pause]||1|20|Sleep|||||
47|Down|{Down Up}|1|1|Send|||||
48|a|{a Down}|1|1|Send|||||
49|[Pause]||1|20|Sleep|||||
50|a|{a Up}|1|1|Send|||||
51|[Pause]||1|5000|Sleep|||||
52|[End If]|EndIf|1|0|If_Statement|||||
53|If Image/Pixel Found||1|0|If_Statement|||||
54|Left|{Left Down}|1|1|Send|||||
55|[Pause]||1|20|Sleep|||||
56|Left|{Left Up}|1|1|Send|||||
57|[Pause]||1|60|Sleep|||||
58|Left|{Left Down}|1|1|Send|||||
59|[Pause]||1|20|Sleep|||||
60|Left|{Left Up}|1|1|Send|||||
61|[Pause]||1|60|Sleep|||||
62|Right|{Right Down}|1|1|Send|||||
63|[Pause]||1|10|Sleep|||||
64|Right|{Right Up}|1|1|Send|||||
65|[Pause]||1|50|Sleep|||||
66|a|{a Down}|1|1|Send|||||
67|[Pause]||1|20|Sleep|||||
68|a|{a Up}|1|1|Send|||||
69|[Pause]||1|5000|Sleep|||||
70|[End If]|EndIf|1|0|If_Statement|||||
71|[End If]|EndIf|1|0|If_Statement|||||
72|If Image/Pixel Not Found||1|0|If_Statement|||||
73|[End If]|EndIf|1|0|If_Statement|||||
74|[LoopEnd]|LoopEnd|1|0|Loop|||||
75|[LoopStart]|LoopStart|6|0|Loop|||||
76|[Pause]||1|300|Sleep|||||
77|Up|{Up Down}|1|1|Send|||||
78|[Pause]||1|30|Sleep|||||
79|Up|{Up Up}|1|1|Send|||||
80|[Pause]||1|1500|Sleep|||||
81|Continue, Continue|44`, 373`, 406`, 646`, C:\Users\Robert\Downloads\NOcash_2.6aZoomer\NO$GBA_2.6a with zoomer\Macro stuff\day encounter.PNG|1|1|ImageSearch||Window|||
82|If Image/Pixel Found||1|0|If_Statement|||||
83|[Pause]||1|10000|Sleep|||||
84|Continue, Continue|136`, 535`, 364`, 562`, 0xBD595A`, 0`, Fast RGB|1|1|PixelSearch||Window|||
85|If Image/Pixel Not Found||1|0|If_Statement|||||
86|[Pause]||1|3000|Sleep|||||
87|Left|{Left Down}|1|1|Send|||||
88|[Pause]||1|40|Sleep|||||
89|Left|{Left Up}|1|1|Send|||||
90|[Pause]||1|60|Sleep|||||
91|Left|{Left Down}|1|1|Send|||||
92|[Pause]||1|40|Sleep|||||
93|Left|{Left Up}|1|1|Send|||||
94|[Pause]||1|60|Sleep|||||
95|a|{a Down}|1|1|Send|||||
96|[Pause]||1|20|Sleep|||||
97|a|{a Up}|1|1|Send|||||
98|[Pause]||1|1999|Sleep|||||
99|Down|{Down Down}|1|1|Send|||||
100|[Pause]||1|40|Sleep|||||
101|Down|{Down Up}|1|1|Send|||||
102|[Pause]||1|20|Sleep|||||
103|Down|{Down Down}|1|1|Send|||||
104|[Pause]||1|40|Sleep|||||
105|Down|{Down Up}|1|1|Send|||||
106|[Pause]||1|20|Sleep|||||
107|a|{a Down}|1|1|Send|||||
108|[Pause]||1|20|Sleep|||||
109|a|{a Up}|1|1|Send|||||
110|[Pause]||1|700|Sleep|||||
111|a|{a Down}|1|1|Send|||||
112|[Pause]||1|20|Sleep|||||
113|a|{a Up}|1|1|Send|||||
114|[Pause]||1|21000|Sleep|||||
115|Down|{Down Down}|1|1|Send|||||
116|[Pause]||1|20|Sleep|||||
117|Down|{Down Up}|1|1|Send|||||
118|[Pause]||1|20|Sleep|||||
119|Down|{Down Down}|1|1|Send|||||
120|[Pause]||1|20|Sleep|||||
121|Down|{Down Up}|1|1|Send|||||
122|a|{a Down}|1|1|Send|||||
123|[Pause]||1|20|Sleep|||||
124|a|{a Up}|1|1|Send|||||
125|[Pause]||1|5000|Sleep|||||
126|[End If]|EndIf|1|0|If_Statement|||||
127|If Image/Pixel Found||1|0|If_Statement|||||
128|Left|{Left Down}|1|1|Send|||||
129|[Pause]||1|20|Sleep|||||
130|Left|{Left Up}|1|1|Send|||||
131|[Pause]||1|60|Sleep|||||
132|Left|{Left Down}|1|1|Send|||||
133|[Pause]||1|20|Sleep|||||
134|Left|{Left Up}|1|1|Send|||||
135|[Pause]||1|60|Sleep|||||
136|Right|{Right Down}|1|1|Send|||||
137|[Pause]||1|10|Sleep|||||
138|Right|{Right Up}|1|1|Send|||||
139|[Pause]||1|50|Sleep|||||
140|a|{a Down}|1|1|Send|||||
141|[Pause]||1|20|Sleep|||||
142|a|{a Up}|1|1|Send|||||
143|[Pause]||1|5000|Sleep|||||
144|[End If]|EndIf|1|0|If_Statement|||||
145|[End If]|EndIf|1|0|If_Statement|||||
146|If Image/Pixel Not Found||1|0|If_Statement|||||
147|[End If]|EndIf|1|0|If_Statement|||||
148|[LoopEnd]|LoopEnd|1|0|Loop|||||

User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

Re: Macro Creator v4.1.1 - Automation Tool (Recorder & Write

21 Feb 2014, 12:09

It is wrong indeed. You're putting the check for 'If not found' inside the 'If found', that will never work... You need to put the 'If not found' after the 'End if' or put the action for not found after an Else statement between the 'If found' and 'End if'.

Here's to illustrate:

Code: Select all

[PMC Code]|||0|Window|1|Macro1
1|Continue, Continue|0`, 0`, 1920`, 1080`, 0xDCE1E5`, 0`, Fast RGB|1|0|PixelSearch||Screen|||
2|If Image/Pixel Found||1|0|If_Statement|||||
3|[MsgBox]|Found!|1|0|MsgBox|0||||
4|[End If]|EndIf|1|0|If_Statement|||||
5|If Image/Pixel Not Found||1|0|If_Statement|||||
6|[MsgBox]|Not found!|1|0|MsgBox|0||||
7|[End If]|EndIf|1|0|If_Statement|||||

[PMC Code]|||1|Window|1|Macro2
1|Continue, Continue|0`, 0`, 1920`, 1080`, 0xDCE1E5`, 0`, Fast RGB|1|0|PixelSearch||Screen|||
2|If Image/Pixel Found||1|0|If_Statement|||||
3|[MsgBox]|Found!|1|0|MsgBox|0||||
4|[Else]|Else|1|0|If_Statement|||||
5|[MsgBox]|Not found!|1|0|MsgBox|0||||
6|[End If]|EndIf|1|0|If_Statement|||||

Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
m00c0w
Posts: 5
Joined: 21 Feb 2014, 08:01

Re: Macro Creator v4.1.1 - Automation Tool (Recorder & Write

21 Feb 2014, 12:25

The 'If not found' is meant to be in the first 'If found' as there are two checks, I just put the code for the 'If not found' before the 'If found' (line 53) for the second check. Unless I am misinterpreting what you meant.
dytanaka
Posts: 10
Joined: 23 Nov 2013, 13:46

Re: Macro Creator v4.1.1 - Automation Tool (Recorder & Write

21 Feb 2014, 20:54

Hey Rudolfo,

I am having a little issue and can't figure it out. I am creating a loop and want to break out when a if statement is true. But for some reason it ignores the break statement. Your thoughts?
The code is below.
Thanks

David

loop.jpg
From Converted Window

Code: Select all

Loop, %LoopNumber%
	{
		ButtonType := ie.document.getElementsByTagName("IMG")[A_Index -1].Title  ; The Done Button
		MsgBox, 0, , %ButtonString% - %ButtonType% - %A_Index%
		If ButtonType = Change
		{
			ie.document.getElementsByTagName("IMG")[A_Index -1].Click()  ; The Done Button
			While !(ie.busy)
				Sleep, 100
			While (ie.busy)
				Sleep, 100
			While !(ie.document.Readystate = "Complete")
				Sleep, 100
			Break
		}
Atreus41
Posts: 2
Joined: 26 Feb 2014, 22:43

Re: Macro Creator v4.1.1 - Automation Tool (Recorder & Write

26 Feb 2014, 22:59

Sorry if this has been answered already somewhere. I haven't been able to find the answer by searching myself.

Is there any way you can get the recorder to record mouse button up/down states just like keyboard up/down states? Without this, all click and drag functionality is useless.
User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

Re: Macro Creator v4.1.1 - Automation Tool (Recorder & Write

27 Feb 2014, 06:06

m00c0w wrote:The 'If not found' is meant to be in the first 'If found' as there are two checks, I just put the code for the 'If not found' before the 'If found' (line 53) for the second check. Unless I am misinterpreting what you meant.
Sorry about the late reply...

I think you didn't understand the logic. The if statement will execute all commands after it until it hits its 'EndIf', so if you put the 'If not found' inside the 'If found' block it will never be true. Follow the examples I posted, you just need some adjustments.
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

Re: Macro Creator v4.1.1 - Automation Tool (Recorder & Write

27 Feb 2014, 06:08

dytanaka wrote:Hey Rudolfo,

I am having a little issue and can't figure it out. I am creating a loop and want to break out when a if statement is true. But for some reason it ignores the break statement. Your thoughts?
The code is below.
Thanks

David
This might be a bug... can you send me a small version of the macro to test?
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

Re: Macro Creator v4.1.1 - Automation Tool (Recorder & Write

27 Feb 2014, 06:10

Atreus41 wrote:Sorry if this has been answered already somewhere. I haven't been able to find the answer by searching myself.

Is there any way you can get the recorder to record mouse button up/down states just like keyboard up/down states? Without this, all click and drag functionality is useless.
The recorder always records mouse clicks as down and up. Why do you think it doesn't? o.O ...Why would I make an useless recorder anyway?
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
Atreus41
Posts: 2
Joined: 26 Feb 2014, 22:43

Re: Macro Creator v4.1.1 - Automation Tool (Recorder & Write

27 Feb 2014, 07:37

Pulover wrote:
Atreus41 wrote:Sorry if this has been answered already somewhere. I haven't been able to find the answer by searching myself.

Is there any way you can get the recorder to record mouse button up/down states just like keyboard up/down states? Without this, all click and drag functionality is useless.
The recorder always records mouse clicks as down and up. Why do you think it doesn't? o.O ...Why would I make an useless recorder anyway?
I figured that you wouldn't make a recorder without that functionality. For some reason, every time I've tried using it, click and drag has failed, so it seemed to me that it wasn't recording mouse up/down states. I will try it again now that I know it's supposed to work.
User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

Re: Macro Creator v4.1.1 - Automation Tool (Recorder & Write

27 Feb 2014, 07:45

Atreus41 wrote:
Pulover wrote:
Atreus41 wrote:Sorry if this has been answered already somewhere. I haven't been able to find the answer by searching myself.

Is there any way you can get the recorder to record mouse button up/down states just like keyboard up/down states? Without this, all click and drag functionality is useless.
The recorder always records mouse clicks as down and up. Why do you think it doesn't? o.O ...Why would I make an useless recorder anyway?
I figured that you wouldn't make a recorder without that functionality. For some reason, every time I've tried using it, click and drag has failed, so it seemed to me that it wasn't recording mouse up/down states. I will try it again now that I know it's supposed to work.
Ok. If it doesn't work for you send me some details about your system so I can try to simulate here. Thanks.
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
m00c0w
Posts: 5
Joined: 21 Feb 2014, 08:01

Re: Macro Creator v4.1.1 - Automation Tool (Recorder & Write

27 Feb 2014, 12:53

Pulover wrote:
m00c0w wrote:The 'If not found' is meant to be in the first 'If found' as there are two checks, I just put the code for the 'If not found' before the 'If found' (line 53) for the second check. Unless I am misinterpreting what you meant.
Sorry about the late reply...

I think you didn't understand the logic. The if statement will execute all commands after it until it hits its 'EndIf', so if you put the 'If not found' inside the 'If found' block it will never be true. Follow the examples I posted, you just need some adjustments.
So are you saying that you can't have an pixel search inside a pixel search? What I am trying to do is something like this:
1. If I press 1, there is a chance the screen will go black.
2. If the screen does go black, there is then a chance that the screen will either go red, or some other colour.
3. If the screen goes red after going black, I want to do something (called x)
4. If the screen goes some other colour after going black, I want to do 'y'
5. If the screen does not go black, I want to repeat the entire thing.

I don't see the adjustments I would have to make. The second colour checks are within the first colour check (which they are meant to, both the 'if' and 'if not'). Which 'If not found' is inside the wrong 'if found' block? Sorry if I'm just being stupid.

On a side note, I don't seem to be able to type a 0 when the macro creator is open, unless I use the 0 on the numpad.
User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

Re: Macro Creator v4.1.1 - Automation Tool (Recorder & Write

27 Feb 2014, 14:59

m00c0w wrote:So are you saying that you can't have an pixel search inside a pixel search? What I am trying to do is something like this:
Shame on me... I was the one misunderstanding the code :oops: Sorry about that, I guess all work and no play makes jack a dull boy.

You're not wrong to put an if statement for pixel search inside one of image search, but you're missing part of the logic. If you check the output script window you'll see that it uses the same variable to check image and pixel results (ErrorLevel) and this is why I have only one statement for both. When the first image search returns true, it will search the pixel, but if the pixel returns false when the next if statement is reached, which is if image not found, it will be evaluated as true. This is why you need an 'Else statement' to take care of the "conflict".

Try it like this:

Code: Select all

[PMC Code]|||1|Window|1|Macro1
1|[LoopStart]|LoopStart|6|0|Loop|||||
2|[Pause]||1|300|Sleep|||||
3|Down|{Down Down}|1|1|Send|||||
4|[Pause]||1|30|Sleep|||||
5|Down|{Down Up}|1|1|Send|||||
6|[Pause]||1|1500|Sleep|||||
7|Continue, Continue|44`, 373`, 406`, 646`, C:\Users\Robert\Downloads\NOcash_2.6aZoomer\NO$GBA_2.6a with zoomer\Macro stuff\day encounter.PNG|1|1|ImageSearch||Window|||
8|If Image/Pixel Found||1|0|If_Statement|||||
9|[Pause]||1|10000|Sleep|||||
10|Continue, Continue|281`, 539`, 351`, 573`, C:\Users\Robert\AppData\Roaming\MacroCreator\Screenshots\Screen_20140221125136.png|1|1|ImageSearch||Window|||
11|If Image/Pixel Not Found||1|0|If_Statement|||||
12|[Pause]||1|3000|Sleep|||||
13|Left|{Left Down}|1|1|Send|||||
14|[Pause]||1|40|Sleep|||||
15|Left|{Left Up}|1|1|Send|||||
16|[Pause]||1|60|Sleep|||||
17|Left|{Left Down}|1|1|Send|||||
18|[Pause]||1|40|Sleep|||||
19|Left|{Left Up}|1|1|Send|||||
20|[Pause]||1|60|Sleep|||||
21|a|{a Down}|1|1|Send|||||
22|[Pause]||1|20|Sleep|||||
23|a|{a Up}|1|1|Send|||||
24|[Pause]||1|1999|Sleep|||||
25|Down|{Down Down}|1|1|Send|||||
26|[Pause]||1|40|Sleep|||||
27|Down|{Down Up}|1|1|Send|||||
28|[Pause]||1|20|Sleep|||||
29|Down|{Down Down}|1|1|Send|||||
30|[Pause]||1|40|Sleep|||||
31|Down|{Down Up}|1|1|Send|||||
32|[Pause]||1|20|Sleep|||||
33|a|{a Down}|1|1|Send|||||
34|[Pause]||1|20|Sleep|||||
35|a|{a Up}|1|1|Send|||||
36|[Pause]||1|700|Sleep|||||
37|a|{a Down}|1|1|Send|||||
38|[Pause]||1|20|Sleep|||||
39|a|{a Up}|1|1|Send|||||
40|[Pause]||1|21000|Sleep|||||
41|Down|{Down Down}|1|1|Send|||||
42|[Pause]||1|20|Sleep|||||
43|Down|{Down Up}|1|1|Send|||||
44|[Pause]||1|20|Sleep|||||
45|Down|{Down Down}|1|1|Send|||||
46|[Pause]||1|20|Sleep|||||
47|Down|{Down Up}|1|1|Send|||||
48|a|{a Down}|1|1|Send|||||
49|[Pause]||1|20|Sleep|||||
50|a|{a Up}|1|1|Send|||||
51|[Pause]||1|5000|Sleep|||||
52|[Else]|Else|1|0|If_Statement|||||
53|Left|{Left Down}|1|1|Send|||||
54|[Pause]||1|20|Sleep|||||
55|Left|{Left Up}|1|1|Send|||||
56|[Pause]||1|60|Sleep|||||
57|Left|{Left Down}|1|1|Send|||||
58|[Pause]||1|20|Sleep|||||
59|Left|{Left Up}|1|1|Send|||||
60|[Pause]||1|60|Sleep|||||
61|Right|{Right Down}|1|1|Send|||||
62|[Pause]||1|10|Sleep|||||
63|Right|{Right Up}|1|1|Send|||||
64|[Pause]||1|50|Sleep|||||
65|a|{a Down}|1|1|Send|||||
66|[Pause]||1|20|Sleep|||||
67|a|{a Up}|1|1|Send|||||
68|[Pause]||1|5000|Sleep|||||
69|[End If]|EndIf|1|0|If_Statement|||||
70|[Else]|Else|1|0|If_Statement|||||
71|[End If]|EndIf|1|0|If_Statement|||||
72|[LoopEnd]|LoopEnd|1|0|Loop|||||
73|[LoopStart]|LoopStart|6|0|Loop|||||
74|[Pause]||1|300|Sleep|||||
75|Up|{Up Down}|1|1|Send|||||
76|[Pause]||1|30|Sleep|||||
77|Up|{Up Up}|1|1|Send|||||
78|[Pause]||1|1500|Sleep|||||
79|Continue, Continue|44`, 373`, 406`, 646`, C:\Users\Robert\Downloads\NOcash_2.6aZoomer\NO$GBA_2.6a with zoomer\Macro stuff\day encounter.PNG|1|1|ImageSearch||Window|||
80|If Image/Pixel Found||1|0|If_Statement|||||
81|[Pause]||1|10000|Sleep|||||
82|Continue, Continue|136`, 535`, 364`, 562`, 0xBD595A`, 0`, Fast RGB|1|1|PixelSearch||Window|||
83|If Image/Pixel Not Found||1|0|If_Statement|||||
84|[Pause]||1|3000|Sleep|||||
85|Left|{Left Down}|1|1|Send|||||
86|[Pause]||1|40|Sleep|||||
87|Left|{Left Up}|1|1|Send|||||
88|[Pause]||1|60|Sleep|||||
89|Left|{Left Down}|1|1|Send|||||
90|[Pause]||1|40|Sleep|||||
91|Left|{Left Up}|1|1|Send|||||
92|[Pause]||1|60|Sleep|||||
93|a|{a Down}|1|1|Send|||||
94|[Pause]||1|20|Sleep|||||
95|a|{a Up}|1|1|Send|||||
96|[Pause]||1|1999|Sleep|||||
97|Down|{Down Down}|1|1|Send|||||
98|[Pause]||1|40|Sleep|||||
99|Down|{Down Up}|1|1|Send|||||
100|[Pause]||1|20|Sleep|||||
101|Down|{Down Down}|1|1|Send|||||
102|[Pause]||1|40|Sleep|||||
103|Down|{Down Up}|1|1|Send|||||
104|[Pause]||1|20|Sleep|||||
105|a|{a Down}|1|1|Send|||||
106|[Pause]||1|20|Sleep|||||
107|a|{a Up}|1|1|Send|||||
108|[Pause]||1|700|Sleep|||||
109|a|{a Down}|1|1|Send|||||
110|[Pause]||1|20|Sleep|||||
111|a|{a Up}|1|1|Send|||||
112|[Pause]||1|21000|Sleep|||||
113|Down|{Down Down}|1|1|Send|||||
114|[Pause]||1|20|Sleep|||||
115|Down|{Down Up}|1|1|Send|||||
116|[Pause]||1|20|Sleep|||||
117|Down|{Down Down}|1|1|Send|||||
118|[Pause]||1|20|Sleep|||||
119|Down|{Down Up}|1|1|Send|||||
120|a|{a Down}|1|1|Send|||||
121|[Pause]||1|20|Sleep|||||
122|a|{a Up}|1|1|Send|||||
123|[Pause]||1|5000|Sleep|||||
124|[Else]|Else|1|0|If_Statement|||||
125|Left|{Left Down}|1|1|Send|||||
126|[Pause]||1|20|Sleep|||||
127|Left|{Left Up}|1|1|Send|||||
128|[Pause]||1|60|Sleep|||||
129|Left|{Left Down}|1|1|Send|||||
130|[Pause]||1|20|Sleep|||||
131|Left|{Left Up}|1|1|Send|||||
132|[Pause]||1|60|Sleep|||||
133|Right|{Right Down}|1|1|Send|||||
134|[Pause]||1|10|Sleep|||||
135|Right|{Right Up}|1|1|Send|||||
136|[Pause]||1|50|Sleep|||||
137|a|{a Down}|1|1|Send|||||
138|[Pause]||1|20|Sleep|||||
139|a|{a Up}|1|1|Send|||||
140|[Pause]||1|5000|Sleep|||||
141|[End If]|EndIf|1|0|If_Statement|||||
142|[Else]|Else|1|0|If_Statement|||||
143|[End If]|EndIf|1|0|If_Statement|||||
144|[LoopEnd]|LoopEnd|1|0|Loop|||||

m00c0w wrote:On a side note, I don't seem to be able to type a 0 when the macro creator is open, unless I use the 0 on the numpad.
You've probably upgraded from version 3. Go to menu View > Hotkeys and check all of them. Pause hotkey is probably set to 0.
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
m00c0w
Posts: 5
Joined: 21 Feb 2014, 08:01

Re: Macro Creator v4.1.1 - Automation Tool (Recorder & Write

01 Mar 2014, 17:23

The problem still seems to be occuring. Is it possible to force the second image check to use a different variable?

Thanks for your help! The pause hotkey was set to 0 as you suspected.
User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

Re: Macro Creator v4.1.1 - Automation Tool (Recorder & Write

01 Mar 2014, 19:34

m00c0w wrote:The problem still seems to be occuring. Is it possible to force the second image check to use a different variable?
No, it's not... and wouldn't help you I think. I've tested here and the else statement works ok... test each statement separately and if you really find a bug, post a short version for me to test, please.
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
click-click
Posts: 24
Joined: 18 Oct 2013, 06:35

Re: Macro Creator v4.1.1 - Automation Tool (Recorder & Write

07 Mar 2014, 06:09

I am trying to combine 2 macros. I open the first one, then import the 2nd one. Select all on the 2nd macro and use copy to macro1. The problem
is that none of the comments are being copied over. Is this the right way to combine macros?
User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

Re: Macro Creator v4.1.1 - Automation Tool (Recorder & Write

07 Mar 2014, 06:18

click-click wrote:I am trying to combine 2 macros. I open the first one, then import the 2nd one. Select all on the 2nd macro and use copy to macro1. The problem
is that none of the comments are being copied over. Is this the right way to combine macros?
Congratulations! You've found another bug! :lol:

Thanks for reporting, bro. I'll put it in the todo list. Meanwhile you can use copy and paste as it's based on my LV_Rows class and there's no way it won't copy a column.
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)

Return to “Pulovers Macro Creator”

Who is online

Users browsing this forum: Mohammed_Hassan and 20 guests