Forum > General >

how does one go about adding a custom script executing button?

Simplicity_X

(totally not) a femboy

Posts: 368

Threads: 67

Joined: Jul, 2020

Reputation: 3

Posted

I want to have a button in my WinForms app that just executes a text file that has my Lua script in it. help would be nice

  • 0

simple_x

milktea

Posts: 331

Threads: 20

Joined: Sep, 2019

Reputation: 4

Replied

read file as string and then execute that string

  • 0

 

i own synapse x
biggest idiot in town

discord: nakiri#4485

Simplicity_X

(totally not) a femboy

Posts: 368

Threads: 67

Joined: Jul, 2020

Reputation: 3

Replied

@Laxion

no, that's not what a really meant, I'm making a single button to execute a Lua file without an openfiledialoge, just execute on button press

  • 0

Added

@Ducxy

thanks!

  • 0

Added

@Ducxy

Edit: I'm using cheat squad API and that isn't working, anything else?

  • 0

Added

@Laxion

Thanks!

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )