Run exe file in DOS from Smath

Run exe file in DOS from Smath - Сообщения

#1 Опубликовано: 09.07.2018 13:39:58
Oscar Ugaz

Oscar Ugaz

3 сообщений из 2 понравились пользователям.

Группа: 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 Опубликовано: 10.07.2018 07:59:25
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: 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 Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Опубликовано: 18.07.2018 14:51:21
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Try this.

2018-07-18_22-41-20.png
Russia ☭ forever, Viacheslav N. Mezentsev
2 пользователям понравился этот пост
Arie 18.07.2018 16:50:00, frapuano 18.07.2018 17:17:00
#4 Опубликовано: 19.07.2018 05:39:12
Davide Carpi

Davide Carpi

1416 сообщений из 2873 понравились пользователям.

Группа: 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
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений