“Merging Operation Recorder Scripts in LDPlayer”
Operation Recorder saves a sequence of actions so you can replay it later. Merging combines several recorded scripts into one. You can set loops, intervals, speed, and a startup option on each script or on the merged result. This guide show
Before You Start
Prerequisites: Record each script you want to combine. See [How to use Operation Recorder](how-to-use-operation-recorder.md).
Step-by-Step
- Click Operation Recorder in the right-hand toolbar of the emulator.
- Open the settings of each script, set its options as described in the next section, and save.
- Click Merge Scripts to open the Merge Scripts window.
- Click + in the left column and add each script in the order it should run.
- Click Merge to create the combined script.
- Open the merged script's settings and set its loop count, loop interval, execution speed, and startup option.
## Overview Operation Recorder saves a sequence of actions so you can replay it later. Merging combines several recorded scripts into one. You can set loops, intervals, speed, and a startup option on each script or on the merged result. This guide shows how to merge scripts, configure them, and tell when merging helps.
## Configure each script before you merge
- Loops: Set the loop count and loop time in the script’s settings.
- Delay: Set a loop interval, such as 10 seconds, so the next script starts after a pause.
- Speed: Select accelerated execution. The maximum is 5x.
## Example: a timed merged script Goal: Script 1 runs at 2x speed for 3 loops, with a 5-second interval before Script 2. Script 2 runs at normal speed for 2 loops. The merged script runs for 10 minutes and starts when LDPlayer starts.
- In Script 1’s settings, set Accelerate to 2x, Execute loop to 3, and Loop interval to 5.
- In Script 2’s settings, set Execute loop to 2.
- Combine Script 1 and Script 2 into one script.
- In the merged script’s settings, set the third Execute loop option to a timed loop of 10 minutes.
- In the startup options, check Execute script when LDPlayer starts.
## Verify Play the merged script and check that the scripts run in the order you added them.
## What to expect
Before you run a long merged script, play it once with a short loop count. Watch the first and second scripts closely. Check that the order and the pause between them match the settings you chose. Adjust the settings, then run the full loop.
## Notes and Troubleshooting
- Do not select Till manual stop in a merged script. It can make one of the scripts loop forever.
- Long or frequent recordings may not replay smoothly. Network delays, and in-game timers that differ from the recording, can make timing drift.
## When merging helps
- A sequence that must pause before it continues, such as automatic play or an automatic upgrade.
- A script that should repeat before the next one runs, such as switching game accounts.
- A script that should run inside a loop, such as using an experience potion or a healing item.
- A script that should run at a different speed, such as claiming rewards from an unlimited pool.
## Common mistakes
- Merging recordings made at different window sizes. A script that depends on screen positions can tap the wrong target if the layout changed.
- Using an endless loop without a stop plan. Pick a counted or timed loop, and know how you will stop the script.
- Testing with the full timer. A short test shows whether the order and timing are right.
- Expecting game timers to match the recording. Events in games can start at different times, so timing can drift between runs.
## Related