Run exe file in DOS from Smath

Run exe file in DOS from Smath - 消息

#1 已发布: 2018/7/9 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 已发布: 2018/7/10 07:59:25
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: 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.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#3 已发布: 2018/7/18 14:51:21
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: Moderator

Try this.

2018-07-18_22-41-20.png
Russia ☭ forever, Viacheslav N. Mezentsev
2位用户喜欢此帖子
Arie 2018/7/18 16:50:00, frapuano 2018/7/18 17:17:00
#4 已发布: 2018/7/19 05:39:12
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: 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
  • 有新帖
  • 无新帖