How to execute program by Custom button?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
MIRKOSOFT
Posts: 70
Joined: 21 Mar 2017 22:44

How to execute program by Custom button?

Post by MIRKOSOFT »

Hi!

I'm new in XYplorer scripting and now want to add some functions to Custom user buttons of tool tray.

I added button and to script line I added:

run H:\MIRKOSOFT\Key Sender\KeySender\KeySender\bin\Debug\KeySender.exe 18+112;

This was first better result - outputs not unknown command...

But at clicking it opens error window with 0\0 Overflow...

Where I do mistake?

Thank you for all.
Miro

highend
Posts: 15003
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: How to execute program by Custom button?

Post by highend »

No quoting. Lookup the run command in the help file for examples...
One of my scripts helped you out? Please donate via Paypal

MIRKOSOFT
Posts: 70
Joined: 21 Mar 2017 22:44

Re: How to execute program by Custom button?

Post by MIRKOSOFT »

Really I found nothing.
Miro

highend
Posts: 15003
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: How to execute program by Custom button?

Post by highend »

Advanced Topics / Scripting Commands Reference / Run?
One of my scripts helped you out? Please donate via Paypal

MIRKOSOFT
Posts: 70
Joined: 21 Mar 2017 22:44

Re: How to execute program by Custom button?

Post by MIRKOSOFT »

Thank you!

I was always have results run script...

Miro

Post Reply