Run exe file in DOS from Smath

Run exe file in DOS from Smath - Messages

#1 Posted: 7/9/2018 1:39:58 PM
Oscar Ugaz

Oscar Ugaz

3 likes in 2 posts.

Group: User

Guys,

1) Is it possible to run an .exe file from a DOS shell within Smath, and how ?

2) Could it be done by writing a Visual Basic script in the script window inside Smath ?
If so, could someone provide a small example of this.

Thank you for your help.

Oscar




#2 Posted: 7/10/2018 7:59:25 AM
Martin Kraska

Martin Kraska

1,260 likes in 2,186 posts.

Group: Moderator

The image region plugin demonstrates that you can run windows programs from within SMath.
If you register a dos program as standard application for png images, then the image region should launch this program whenever you try to create/edit the image.

Note that this might be considered as a security issue.
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Posted: 7/18/2018 2:51:21 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1,487 likes in 1,793 posts.

Group: Moderator

Try this.

2018-07-18_22-41-20.png
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
Arie 7/18/2018 4:50:00 PM, frapuano 7/18/2018 5:17:00 PM
#4 Posted: 7/19/2018 5:39:12 AM
Davide Carpi

Davide Carpi

1,431 likes in 2,902 posts.

Group: Moderator

You can even use an hperlink region.

Wrote

Note that this might be considered as a security issue.


Absolutely. Assuming you are able to identify the threats, hyperlink regions are filtered by the user action (click of the user on the link), script region can be filtered by disabling auto calculation (before opening the worksheets).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • New Posts
  • No New Posts