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

Advanced Macro Recorder/Editor.

Moderator: Pulover

Microsim
Posts: 14
Joined: 26 Mar 2016, 11:25

Re: Macro Creator v4.1.3 - Automation Tool (Recorder & Writer)

28 Mar 2016, 23:58

Thank You Sir,

That fixed it!

Dave
Jole22
Posts: 1
Joined: 28 Mar 2016, 23:40

Re: Macro Creator v4.1.3 - Automation Tool (Recorder & Writer)

29 Mar 2016, 00:23

Hello, it looks like a wonderful tool but it's a bit overwhelming for me as beginner and i cant find any good tutorials for what i need.
Before i heard about Autohotkey i only used simple macros like a JitBit, but now in need something that could run macro in background with ControlSend, ControlClick.

What i try to do is to automate some old game (2005) , i know some new games wont work but i think this game it should and don't have any protection.

In Recording options i have checked Record ControlSend and Record ControlClick, unchecked Mouse Moves.
With auto Record Macro i manged to make keyboard keys working, left and right mouse clicks are working but they only work where is cursor, clicks are not going on recorded X Y position. I did try to record in Window and Screen option.

I guess something must be done first with WinSet or other Win options.

I also did try same Auto recording on simple notepad window and problem is same. I think i am missing something big here :)

Here i only tried to click notepad icon, maximize , maximize again , close. How should this look to work?

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

Re: Macro Creator v4.1.3 - Automation Tool (Recorder & Writer)

29 Mar 2016, 16:40

Control commands are for Win32 apps, so don't expect them to work on many games. You should make some tests and see if it works. In that picture you have the 2 methods, which are defined by using or not the Relative option in the Mouse window: when the Control column has a control name it's using coordinates relative to the control, but sometimes it only works with coordinates relative to the window, which is when the you have the coords in the Control column. Don't use the recorder, add the clicks directly and get the coords from the Mouse window (check or uncheck the relative option before getting the coords). If none of them works, the window probably can't be controlled with control commands.
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
Coddy

Re: Macro Creator v4.1.3 - Automation Tool (Recorder & Writer)

01 Apr 2016, 08:32

Hello Pulover. Thank you for the amazing work on this program. Facilitate a lot what i'm trying to do !

I do have a question though:

I created a script who take a value from an excel sheet, use it in the search box of a website and find a certain value in the page.

I had some problem using the image search (not related to the soft) and chose to use the source of the webpage to find it.


The value i'm searching is the following:

Code: Select all

<tr class=" siret bg">
          <td class="tdhead">SIRET </td>
          <td>### ### ### #####</td>
</tr>
I'm able to find this part in the source code using the searching for "<td class="tdhead">SIRET </td>" but i can't seem to find a way to copy the line below.

Is there a way to select the next line or to move my mouse to the highlighted area allowing me to use relative movement to select the part i'm interested in ?


Sorry to bother you, but I can't access to website to look for help&tuto.
User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

Re: Macro Creator v4.1.3 - Automation Tool (Recorder & Writer)

01 Apr 2016, 16:07

Hi Coddy,

You don't bother at all, questions and requests are still welcome (even though not many come back to say thanks).

To move the mouse relative to the current position you have to check the "Relative" option in the "Coordinates" section of the Mouse window. When that option is checked X: -10, Y: 20 would move the cursor 10 pixels left and 20 pixels down, for example.

You can record relative movements too by holding CapsLock while recording.

This task is easier with IE COM, but the current version is missing the GetElementsByClass method. I'm going to fix it for the next version.

If you have more doubts, post them here.
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
Adorabla
Posts: 26
Joined: 17 Dec 2015, 17:17

Re: Macro Creator v4.1.3 - Automation Tool (Recorder & Writer)

02 Apr 2016, 15:09

Sadly, that's the way how the Internet works nowaday, you try to help but don't expect a thank you :/

@Pulover
After using your Software for over a Year, nearly 24/7.
Im still impressed how awesome it is.

So many function's, so reliable.
Optimizing and testing my Script's, it's so much fun !:)

You wan't to automate your Digital Life ? -> "Use PMC" :D

Thank You
(Don't know what to do without it and im checking this topic everyday, keep up your good work)
User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

Re: Macro Creator v4.1.3 - Automation Tool (Recorder & Writer)

02 Apr 2016, 22:19

Yeah, I know how people can be... But fortunately there are people like you too and that's what motivates me to continue developing this project.

Thank you, Adorabla. It's always good to receive feedback. I hope you'll enjoy the new version even more.
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
Coddy

Re: Macro Creator v4.1.3 - Automation Tool (Recorder & Writer)

07 Apr 2016, 03:34

Pulover wrote:Hi Coddy,

You don't bother at all, questions and requests are still welcome (even though not many come back to say thanks).

To move the mouse relative to the current position you have to check the "Relative" option in the "Coordinates" section of the Mouse window. When that option is checked X: -10, Y: 20 would move the cursor 10 pixels left and 20 pixels down, for example.

You can record relative movements too by holding CapsLock while recording.

This task is easier with IE COM, but the current version is missing the GetElementsByClass method. I'm going to fix it for the next version.

If you have more doubts, post them here.

Hey there.

Thanks for the input. I had quite some trouble with the image search as it seemed to be working for a while and would stop after for no apparent reason (And the website in itself didn't help me either)

I was finally able to to it anyway
Here is the code if anyone is interested
. I used pixelsearch to check if a webpage was loaded. It isn't perfect (some wrong data here and there, but i can find and correct them easily), but it works !
Showed the macro while it was running and his jaw dropped. Thanks pulover !
parsa_strife

Re: Macro Creator v4.1.3 - Automation Tool (Recorder & Writer)

09 Apr 2016, 14:40

Hello! Thanks for your awesome program!

I use this program to afk-farm in the games. I tried some other programs but they weren't recording some of the game hotkeys for some reason.. But this one worked!
However I still have some problems which I'm not sure how to fix.. What I'm trying to afk-farm is a mini-game in the game. It's a racing mini-game. The problem is it turns at wrong times and crashes into walls while playing the macro! It seems like while recording when I move forward it starts moving earlier than in the replay and makes me crash into walls because of that delay in the start, if I am correct. I'd like to know how to fix it! If you can tell me what to do to get it right I'll be very thankful ^^

This program is a life saver! If I get that part correct too, it'll save me from farming (doing the same things every 3-4 mins) for hours which is really tiring..

Thanks a lot for this awesome program again ^^
User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

Re: Macro Creator v4.1.3 - Automation Tool (Recorder & Writer)

11 Apr 2016, 06:05

Really hard to tell... You'll have to debug it yourself, maybe you just have edit a few sleeps. Try to record smaller pieces at a time.
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
Adorabla
Posts: 26
Joined: 17 Dec 2015, 17:17

Re: Macro Creator v4.1.3 - Automation Tool (Recorder & Writer)

11 Apr 2016, 11:31

@parsa_strife

You have to figure out, is the car driving always the same course? or does the course changes sometimes?
If it's not changing, than it's easy.

You simply have to adjust the Pause (Timings between pressed Buttons AFTER another)
I think you have some random delay in your Game, because of this delay your Macro goes on but the Game is in a complete different point than you think.

So simple said, at some point -> Your Script and your Game are Out of Sync.
Debugging this is easy but consumes time.

Start PMC, load your Macro and start your game -> Klick on the marker next to the Green Play Button and Choose „Play from selected Row“

You can now select any place inside your Macro and PMC play’s it from that Point. (After pressing the Green Play Button)

Now you need to debug your Script from Top to Bottom.
--> Is PMC Pressing the Right Buttons at the correct time? if not, raise the Pause between the pressed button's.
If you work with the Record function and pressing a lot of Button's, it get's harder to debug but with some time, even this can be done.

In your Place, i would try to Record the Macro Step by Step, simple said: From Curve to Curve and repeat the Macro to see if it work's, if not raise up the Delay or record it again. Save this part and create a new Macro with the next curve. If this work's combine the Macro's to get a Macro that successful run's Curve1 + Curve2.

With this way, you achieve your Goal step by step.

Keep in mind to press less Button's as possible (to keep your Macro clean), not because PMC can't play it but you are loosing the overview.
Last edited by Adorabla on 11 Apr 2016, 11:42, edited 2 times in total.
A1MS
Posts: 22
Joined: 27 Dec 2015, 12:21

Re: Macro Creator v4.1.3 - Automation Tool (Recorder & Writer)

11 Apr 2016, 11:39

I like your software too.
I asked for help here>https://autohotkey.com/boards/viewtopic.php?f=5&t=15805, I have tried many time with your software, but no idea will come...
Will you make it possible step by step....
Kindly make more tutorial on youtube about variable and other options.
I really dont understand how variable works on your software.
make some pdf with project based tutorials, it is easy to get your software for newbie.
thanks.
Adorabla
Posts: 26
Joined: 17 Dec 2015, 17:17

Re: Macro Creator v4.1.3 - Automation Tool (Recorder & Writer)

11 Apr 2016, 11:54

@A1MS
The Macro you want can be created with PMC.
(I would create it with a lot of Pixelsearch Loop's and if command's combined with Run and Close App)
It's possible but i don't think someone other than yourself can create it.
It's complex and even if someone create's it, this doesn't mean that it runs as intended on your Pc. (Maybe you are lacking the Skill to adjust it afterwards)

So sorry you have to do it yourself :/
But head's up !
It's Possible !

PMC is really awesome but i think if Pulover decides to create more Youtube Guide Video's about PMC...it would take Year's and he get's a Beard like Gandalf, because they are so much to know in PMC :)

I love this awesome Software ! :bravo:
A1MS
Posts: 22
Joined: 27 Dec 2015, 12:21

Re: Macro Creator v4.1.3 - Automation Tool (Recorder & Writer)

11 Apr 2016, 12:19

I actually like send commands(more keystroke) than mouse movements/pixel search....I want lots of thinking how to manipulate windows explorer...still not able to find idea, after watching youtube videos i understand it easy to make variable with file manipulations.
pixel search sometime works, i got many bugs time to time....
Need to time and play more this software....
Adorabla
Posts: 26
Joined: 17 Dec 2015, 17:17

Re: Macro Creator v4.1.3 - Automation Tool (Recorder & Writer)

11 Apr 2016, 13:16

Keep your Head up !
Take your time and tinker around:)

You can do it:)

If you need help understanding a part/function of PMC or get stuck at a certain point.

Kindly asking pulover for a little example in form of a short PMC, only to see how the Function work's or should look.
Often help's:)
And don't forget the Thank's xD

He helped me too with some Short PMC examples.
Improved my Script by 100% :)
parsa_strife

Re: Macro Creator v4.1.3 - Automation Tool (Recorder & Writer)

12 Apr 2016, 06:42

@Pulover

Tried that didn't work as expected and made it so slow :( thanks anyways~



@Adorabla

Ooh I see! Thanks a lot for the information! I'll debug it that way and will tell the results when I'm done xD Will take time but not as much as the racing itself would probably :p
Thanks a lot again ^^
Welshman

Re: Macro Creator v4.1.3 - Automation Tool (Recorder & Writer)

12 Apr 2016, 11:15

Hi there:) I find your tools interesting. please where can i download it?
User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

Re: Macro Creator v4.1.3 - Automation Tool (Recorder & Writer)

12 Apr 2016, 12:00

Welshman wrote:Hi there:) I find your tools interesting. please where can i download it?
https://github.com/Pulover/PuloversMacr ... tag/v4.1.3
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
JuanluisEM
Posts: 1
Joined: 12 Apr 2016, 17:07

Re: Macro Creator v4.1.3 - Automation Tool (Recorder & Writer)

12 Apr 2016, 17:18

Hello, I don't know how can I access the Text inside a LoopRead and a LoopParse. I'm trying to read a CSV file and then splitting the content of the file into an Array but the StringSplit function isn't working.

This is the code I have so far:

Code: Select all

; This script was created using Pulover's Macro Creator

#NoEnv
SetWorkingDir %A_ScriptDir%
CoordMode, Mouse, Window
SendMode Input
#SingleInstance Force
SetTitleMatchMode 2
DetectHiddenWindows On
#WinActivateForce
SetControlDelay 1
SetWinDelay 0
SetKeyDelay -1
SetMouseDelay -1
SetBatchLines -1


Macro1:
Run, C:\CENTURY\WTERM\WTERM32.EXE TPLUAT.tap
WinActivate
Sleep, 333
Sleep, 3000
Click, 322, 457 Left, Down
Sleep, 109
Click, 322, 457 Left, Up
Sleep, 2328
SetKeyDelay, 0
SendRaw, jle
Sleep, 781
Send, {Enter}
Sleep, 250
SetKeyDelay, 0
SendRaw, pwd@UAT5
Sleep, 266
Send, {Enter}
Sleep, 250
Send, {Enter}
Sleep, 250
index := 0
Loop, 2
{
	FileReadLine, Line, C:\Users\30168131\Desktop\QA_MAXDATA_CSV.csv, %index%
	cities := Array()
	Random, n, 1, 10
	Sleep, 10
	StringSplit, cities, Line, `,
	MsgBox, 0, , % cities[n]
	Text := Data[0]
	MsgBox, 0, , %Text%
	Send, {Enter}
	Sleep, 250
	Send, {n}
	ControlSend, CS_EMULATOR1, %Data[1], ahk_class CS_MAIN_CLASS
	Sleep, 25
	ControlSend, CS_EMULATOR1, {F8}, ahk_class CS_MAIN_CLASS
	Sleep, 100
	Send, c
	Sleep, 25
	Sleep, 250
	Send, 24541849%index%
	Sleep, 25
	index += 1
	ControlSend, CS_EMULATOR1, {F8}, ahk_class CS_MAIN_CLASS
	Sleep, 100
	ControlSend, CS_EMULATOR1, {F8}, ahk_class CS_MAIN_CLASS
	Sleep, 100
	Send, {Enter}
	Sleep, 25
	Send, {Enter}
	Sleep, 25
	Send, JOHN
	Sleep, 25
	Send, {Enter}
	Sleep, 25
	Send, DOE
	Sleep, 25
	Send, {Enter}
	Sleep, 25
	Send, 125 MINNESOTA AVE
	Sleep, 25
	Send, {Enter}
	Sleep, 25
	Send, 11010
	Sleep, 25
	Send, {Enter}
	Sleep, 25
	Send, 5491871046
	Sleep, 25
	Send, {Enter}
	Sleep, 25
	ControlSend, CS_EMULATOR1, {F8}, ahk_class CS_MAIN_CLASS
	Sleep, 100
	Send, 01012016
	Sleep, 25
	ControlSend, CS_EMULATOR1, {F8}, ahk_class CS_MAIN_CLASS
	Sleep, 100
	ControlSend, CS_EMULATOR1, {F6}, ahk_class CS_MAIN_CLASS
	Sleep, 100
	Send, {Down 3}
	Sleep, 25
	ControlSend, CS_EMULATOR1, {F8}, ahk_class CS_MAIN_CLASS
	Sleep, 100
	ControlSend, CS_EMULATOR1, {F8}, ahk_class CS_MAIN_CLASS
	Sleep, 100
	Sleep, 250
	Send, p
	Sleep, 25
	Send, u
	Sleep, 25
	Send, 0
	Sleep, 25
	Send, {Enter}
	Sleep, 25
	Send, {Enter}
	Sleep, 25
	Send, {Enter}
	Sleep, 25
	Send, M
	Sleep, 25
	Send, {Enter}
	Sleep, 25
	Send, 10181982
	Sleep, 25
	ControlSend, CS_EMULATOR1, {F8}, ahk_class CS_MAIN_CLASS
	Sleep, 100
	Send, c
	Sleep, 25
	Sleep, 250
	Send, b
	Sleep, 25
	Send, {Enter}
	Sleep, 25
	Send, i
	Sleep, 25
	Send, u
	Sleep, 25
	Send, 564
	Sleep, 25
	Send, {Enter}
	Sleep, 25
	Send, PRV NAME
	Sleep, 25
	Send, {Enter}
	Sleep, 25
	Send, 564
	Sleep, 25
	Send, {Enter}
	Sleep, 25
	Send, {Enter}
	Sleep, 25
	Send, 01312016
	Sleep, 25
	Send, {Enter}
	Sleep, 25
	Send, 01012016
	Sleep, 25
	Send, {Enter}
	Sleep, 25
	Send, 01012016
	Sleep, 25
	Send, {Enter}
	Sleep, 25
	Send, 15000
	Sleep, 25
	Send, {Enter}
	Sleep, 25
	Send, 12000
	Sleep, 25
	Send, {Enter}
	Sleep, 25
	ControlSend, CS_EMULATOR1, {F8}, ahk_class CS_MAIN_CLASS
	Sleep, 100
	Send, p
	Sleep, 25
	Send, y
	Sleep, 25
	Send, {Enter}
	Sleep, 25
	Sleep, 250
	Send, q
	Sleep, 25
	Sleep, 250
	Send, e
	Sleep, 25
	Sleep, 250
	Send, o
	Sleep, 25
	Send, {Down}
	Sleep, 25
	ControlSend, CS_EMULATOR1, {F8}, ahk_class CS_MAIN_CLASS
	Sleep, 100
	Send, {Enter}
	Sleep, 25
	Send, {Enter}
	Sleep, 25
}
Return
Anyone has an idea on how can I fix it? Thank you very much.

Return to “Pulovers Macro Creator”

Who is online

Users browsing this forum: No registered users and 8 guests