|
Post by zeak on Nov 18, 2019 3:19:18 GMT
Hi All, Just making a spot if people wish to show others there macros. Couple of tips when showing your macros - Use the Insert Code button to put your code in.
- only one macro per post.
- before clicking creating post, click on the BBCode tab at the bottom and then back to Preview.
- This will show you that when you paste code, it has Returns in between each line. Please remove these.
- Clips or Gif of your macro working are welcome.
|
|
|
Post by mikeweiner on Feb 13, 2020 16:47:37 GMT
I don't see an INSERT CODE button, but here's my simple little script. I needed to make 400 records for work and using Tampermonkey in Chrome to auto-input data and MMM to nav between two browsers and move through an interview bot, I was able to get this to create records like lightning! The only problem is I would like to add a WAIT, DELAY, SLEEP or similar command to slow it down a bit but I can't find that command anywhere. If you know how I can insert one, that'd be great!
Here's my simple little macro/script:
1 | 1206 | 348 | 2306 | Left Click Down 2 | 1206 | 348 | 102 | Left Click Release 3 | 1230 | 378 | 1490 | Left Click Down 4 | 1230 | 378 | 79 | Left Click Release 5 | 1346 | 589 | 1438 | Left Click Down 6 | 1346 | 589 | 64 | Left Click Release 7 | 1294 | 750 | 1966 | Left Click Down 8 | 1294 | 750 | 66 | Left Click Release 9 | 486 | 28 | 5438 | Left Click Down 10 | 486 | 28 | 97 | Left Click Release 11 | 634 | 314 | 1455 | Left Click Down 12 | 634 | 314 | 108 | Left Click Release 13 | 1106 | 155 | 1126 | Left Click Down 14 | 1106 | 155 | 101 | Left Click Release 15 | 829 | 21 | 1729 | Left Click Down 16 | 829 | 21 | 66 | Left Click Release 17 | 500 | 60 | 1771 | Left Click Down 18 | 500 | 60 | 114 | Left Click Release 19 | 59 | 66 | 2962 | Left Click Down
|
|
|
Post by zeak on Feb 15, 2020 8:53:58 GMT
I don't see an INSERT CODE button, but here's my simple little script. I needed to make 400 records for work and using Tampermonkey in Chrome to auto-input data and MMM to nav between two browsers and move through an interview bot, I was able to get this to create records like lightning! The only problem is I would like to add a WAIT, DELAY, SLEEP or similar command to slow it down a bit but I can't find that command anywhere. If you know how I can insert one, that'd be great! Hi Mikeweiner, First of all, Welcome to the forum. So you will find the code button is the one with the C on it. If you want to add a wait condition you can do this by following the below steps. - Right click on your macro list
- Click add condition
- Select Run Action
- open drop down list for actions
- at the bottom of the list choose between Hours, Milliseconds, Minutes or seconds.
- type the number of time.
The other option you could do it set the time for each of your macro lines by selecting them all (Crtl+A) then Right clicking, Click Mass Change select, Click Time. A shortcut to go directly to this is Crtl+T. You can find all the wonderful things MMM can do on here: www.turnssoft.com/conditions.html
|
|
|
Post by cyberchipz on Feb 27, 2020 7:49:58 GMT
There is also the following code, search keyword "speed" on the conditions page...
19 | RUN ACTION | DEBUG | PLAYBACK SPEED X
SPEED X changes the current playback running speed to the value of X. X can be a negative value or positive value. For example, -5 will slow the macro time values down 5 times. A value of 10 will speed up the time value 10x there current speed.
This information is also on the Conditions page that Zeak linked to in the post above.
|
|
jeff
Full Member
Posts: 15
|
Post by jeff on Jun 22, 2022 3:20:31 GMT
I wrote a series of scripts to play a mini-game that lasts for 6 in game days. The Macro calls the next section when it finishes a task and the whole thing takes roughly 28 hours to get through the mini game, usually longer cause I always interrupt it . Here is the midpoint for Day 3. 1 | RUN ACTION | RUN MACRO INLINE | Scripts\God Power Buys\SetGodPowerMaxMystic.mmmacro 2 | RUN ACTION | WAIT SECONDS | 10 3 | IF | PIXEL COLOR | Color [R=253, G=253, B=253]::At Location [X:1439 Y:94] | IS NOT THE SAME | GOTO MACRO LINE | 2 4 | RUN ACTION | RUN MACRO INLINE | Scripts\Clone Management\RemoveAllClones.mmmacro 5 | RUN ACTION | RUN MACRO INLINE | Scripts\CheckPlanetEater.mmmacro 6 | RUN ACTION | RUN MACRO INLINE | Scripts\CheckPlanetEater.mmmacro 7 | RUN ACTION | RUN MACRO INLINE | Scripts\CheckPlanetEater.mmmacro 8 | RUN ACTION | RUN MACRO INLINE | Scripts\God Power Buys\SetGodPowerMaxPysical.mmmacro 9 | RUN ACTION | RUN MACRO INLINE | Scripts\Gods\GodsFightUnleash.mmmacro 10 | RUN ACTION | WAIT SECONDS | 20 11 | RUN ACTION | RUN MACRO INLINE | Scripts\Clone Management\RemoveAllClones.mmmacro 12 | RUN ACTION | RUN MACRO INLINE | Scripts\Monsters\!CapAllMonsters.mmmacro 13 | RUN ACTION | WAIT SECONDS | 1 14 | RUN ACTION | RUN MACRO INLINE | Scripts\Monsters\!CapAllMonsters.mmmacro 15 | RUN ACTION | WAIT SECONDS | 2 16 | RUN ACTION | RUN MACRO INLINE | Scripts\Monsters\!CapAllMonsters.mmmacro 17 | RUN ACTION | RUN MACRO INLINE | Scripts\God Power Buys\Buy5GPDivinity.mmmacro 18 | RUN ACTION | RUN MACRO INLINE | Scripts\Clone Management\RemoveClonesFROMMonstersOnly.mmmacro 19 | RUN ACTION | RUN MACRO INLINE | Scripts\Clone Management\Amount1st.mmmacro 20 | RUN ACTION | RUN MACRO INLINE | Scripts\Monsters\!AddClonesToFightMonsters.mmmacro 21 | RUN ACTION | RUN MACRO INLINE | Scripts\Gods\GodsTabSwitch.mmmacro 22 | RUN ACTION | WAIT SECONDS | 20 23 | RUN ACTION | RUN MACRO INLINE | Scripts\Gods\StopUnleash.mmmacro 24 | RUN ACTION | RUN MACRO INLINE | Scripts\God Power Buys\SetGodPowerMaxMystic.mmmacro 25 | RUN ACTION | RUN MACRO INLINE | Scripts\Create\!CreateLightWith(3).mmmacro 26 | RUN ACTION | RUN MACRO INLINE | Scripts\Monuments\!MaxCloneBuildingDivinityGen.mmmacro 27 | RUN ACTION | RUN MACRO INLINE | Scripts\Cash Shop\UseChakraPill(Build).mmmacro 28 | RUN ACTION | WAIT MINUTES | 5 29 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\FillGenAdd2.mmmacro 30 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\FillGenAdd2.mmmacro 31 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\FillGenAdd2.mmmacro 32 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\FillGenAdd2.mmmacro 33 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\FillGenAdd2.mmmacro 34 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\FillGenAdd2.mmmacro 35 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\FillGenAdd2.mmmacro 36 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\FillGenAdd2.mmmacro 37 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\FillGenAdd2.mmmacro 38 | RUN ACTION | RUN MACRO INLINE | Scripts\Clone Management\RemoveAllClones.mmmacro 39 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\FillGenAdd2.mmmacro 40 | RUN ACTION | RUN MACRO INLINE | Scripts\CheckPlanetEater.mmmacro 41 | RUN ACTION | RUN MACRO INLINE | Scripts\CheckPlanetEater.mmmacro 42 | RUN ACTION | RUN MACRO INLINE | Scripts\CheckPlanetEater.mmmacro 43 | RUN ACTION | RUN MACRO INLINE | Scripts\Planet\Crystals\UpgradePhysical.mmmacro 44 | RUN ACTION | RUN MACRO INLINE | Scripts\Planet\Crystals\UpgradeUltimate.mmmacro 45 | RUN ACTION | RUN MACRO INLINE | Scripts\Planet\Crystals\UpgradeMystic.mmmacro 46 | RUN ACTION | RUN MACRO INLINE | Scripts\Statistics\TabSwitchStatistics.mmmacro 47 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\TabSwitchDivinity.mmmacro 48 | RUN ACTION | WAIT MILLISECONDS | 200 * | Checks based on the word "Upgrade" having a white pixel 49 | IF | PIXEL COLOR | Color [R=255, G=255, B=255]::At Location [X:777 Y:784] | IS NOT THE SAME | RUN MACRO INLINE | Scripts\Monuments\!MaxCloneBuildingDivinityGen.mmmacro | ELSE | 50 | RUN ACTION | GOTO MACRO LINE | 54 50 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\TabSwitchDivinity.mmmacro 51 | RUN ACTION | WAIT MILLISECONDS | 200 * | Checks based on the word "Upgrade" having a white pixel 52 | IF | PIXEL COLOR | Color [R=255, G=255, B=255]::At Location [X:777 Y:784] | IS NOT THE SAME | WAIT MINUTES | 5 53 | RUN ACTION | RUN MACRO INLINE | Scripts\Clone Management\RemoveAllClones.mmmacro 54 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\FillGenAdd2.mmmacro 55 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\FillGenAdd2.mmmacro 56 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\FillGenAdd2.mmmacro 57 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\FillGenAdd2.mmmacro 58 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\FillGenAdd2.mmmacro 59 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\FillGenAdd2.mmmacro 60 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\FillGenAdd2.mmmacro 61 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\FillGenAdd2.mmmacro 62 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\FillGenAdd2.mmmacro 63 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\FillGenAdd2.mmmacro 64 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\FillGenAdd2.mmmacro 65 | RUN ACTION | RUN MACRO INLINE | Scripts\Divinity\FillGenAdd2.mmmacro 66 | RUN ACTION | RUN MACRO INLINE | Scripts\God Power Buys\Buy5GPDivinity.mmmacro 67 | RUN ACTION | RUN MACRO INLINE | Scripts\Monuments\!MaxCloneBuildingDivinityGen.mmmacro 68 | RUN ACTION | RUN MACRO INLINE | Scripts\Clone Management\RemoveAllClones.mmmacro 69 | RUN ACTION | RUN MACRO INLINE | Scripts\Planet\!ONDivinityShield.mmmacro 70 | RUN ACTION | RUN MACRO INLINE | Scripts\Planet\!ONAutoBuyCrystalCreations.mmmacro 71 | RUN ACTION | RUN MACRO INLINE | Scripts\Planet\CrystalsSetClones.mmmacro 72 | RUN ACTION | RUN MACRO INLINE | Scripts\Monuments\SetClonesToBuildMonuments.mmmacro 73 | RUN ACTION | RUN MACRO INLINE | Scripts\Create\!CreateLightWith(2).mmmacro 74 | RUN ACTION | WAIT MINUTES | 30 75 | RUN ACTION | RUN MACRO INLINE | Scripts\Clone Management\RemoveAllClones.mmmacro 76 | RUN ACTION | RUN MACRO INLINE | Scripts\Planet\CrystalsSetClones.mmmacro 77 | RUN ACTION | WAIT MINUTES | 2 78 | RUN ACTION | RUN MACRO INLINE | Scripts\Might\MightSpreadClones.mmmacro 79 | RUN ACTION | RUN MACRO INLINE | Scripts\Gods\GodsFightNormal.mmmacro 80 | RUN ACTION | RUN MACRO INLINE | Scripts\Create\!CreateLightWith(2).mmmacro 81 | RUN ACTION | RUN MACRO INLINE | Scripts\Planet\PowerSurgeCap.mmmacro 82 | RUN ACTION | RUN MACRO INLINE | Scripts\Monsters\!CapAllMonsters.mmmacro 83 | RUN ACTION | RUN MACRO INLINE | Scripts\Pet Campaigns\PetCampaignsTabSwitch.mmmacro 84 | RUN ACTION | WAIT MILLISECONDS | 250 85 | IF | PIXEL COLOR | Color [R=39, G=40, B=42]::At Location [X:1088 Y:342] | IS THE SAME | GOTO MACRO LINE | 77 86 | RUN ACTION | LOAD MACRO | Scripts\Day 3 Rebirth\!Day3-End.mmmacro
|
|
|
Post by sophiaabigail123 on Jul 28, 2022 13:13:26 GMT
Note: The options are slightly different in Excel, we'll call those out as we go. Disable all macros without notification Macros and security alerts about ... In Word, you can automate frequently used tasks by creating 192.168.o.1 and running macros. A macro is a series of commands and instructions that you group together as a single command to accomplish a task automatically.A macro in excel is a series of instructions in the form of code that helps automate manual tasks, thereby saving time. Excel executes those instructions in a step-by-step manner on the given data. For example, it can be used to automate repetitive tasks such as summation, cell formatting, information copying, etc.Simply put, micro refers to small things and macro refers to big things. Each of these terms appears in a wide variety of contexts and refers to a vast number of concepts, but if you remember this simple rule, you will generally be able to remember which is which.
|
|
sofiachloe
New Member
The specialty gamer cupcakes sold at LA Sweetz Bak
Posts: 1
|
Post by sofiachloe on Oct 2, 2023 12:18:50 GMT
In Word, you can automate frequently used tasks by creating and running macros. A macro is a series of commands and instructions that you group together as a single command to accomplish a task automatically. Macros are used to make a sequence of computing instructions available to the programmer as a single program statement, making the programming task less tedious and less error-prone. (Thus, they are called "macros" because a "big" block of code can be expanded from a "small" sequence of characters To see the macro you created: Go to Developer 2048 cupcakes Visual Basic to launch the Visual Basic Editor (VBE), which is where your macros are stored. You can find your Personal Macro workbook in the Project Explorer pane on the left hand side. If you don't see it, go to View Project Explorer. To share a macro in Excel, you can either send the macro-enabled workbook or the macro code file to the recipient. The recipient can then open the workbook or import the file to use the macro. However, this method may not work if the recipient has different security settings or versions of Excel.
|
|