nimaid / LPHK

A Novation Launchpad Macro Scripting System.
GNU General Public License v3.0
344 stars 69 forks source link

Added CODE #45

Closed Silencx closed 4 years ago

Silencx commented 4 years ago

CODE function used to execute shell commands (unknown if it works in linux/Mac systems)

duncte123 commented 4 years ago

Could you give an example as to how this would work?

Silencx commented 4 years ago

Could you give an example as to how this would work?

I personally use it to start windows store games using a command like this CODE explorer.exe shell:AppsFolder\Microsoft.SunriseBaseGame_8wekyb3d8bbwe!SunriseReleaseFinal This starts the game forza 4. But you could do anything you want as long as it works as a Shell command

It takes everything after CODE as a string and pastes that into a shell command

duncte123 commented 4 years ago

Hey sorry for the late reply, I'm gonna merge this into a develop branch so that I can test it before merging it into master