Wi-Fi · PcPad for Windows › Scripts
Scripts
Run the scripts you add on the PC from your phone, behind a password.
Scripts runs the scripts you’ve added in PcPad for Windows: a backup, a build, anything you’d otherwise run from a terminal. It’s off for every phone until someone at the PC turns it on.
Set it up on the PC
- In PcPad for Windows, open Scripts and click Add scripts…. PowerShell (
.ps1), batch (.bat,.cmd), Python (.py) and Node.js (.js) scripts work. You can also drop the files on that page. - Open the phone’s page in PcPad for Windows and turn on Run scripts. The first time, you set this phone’s password. See What phones may do.
Run one
- On the phone, open Scripts on Home. Each script shows what runs it and how its last run went.
- Tap Run and type the password. The PC checks it.
- The output appears live, like a terminal. Errors are shown in red. It keeps following the newest lines; scroll up to read earlier ones, and tap the pill to jump back.
Tap a script’s name to see its last output. Wrap and three text sizes are in the terminal’s bar, and they’re remembered.
- Up to 3 scripts can run at once, from any phones. A running script shows a spinner instead of Run, so it can’t start twice; each has its own Stop.
- Scripts can’t ask for typing. Remove
pauseorRead-Hostfrom scripts meant for the phone, or they wait forever. - If Python or Node.js isn’t installed on the PC, PcPad says so before asking for the password.
Wrong passwords count towards the same 15-minute block as PC files.