Run exe file in DOS from Smath

Run exe file in DOS from Smath - Poruke

#1 Objavljeno: 9. 7. 2018. 13:39:58
Oscar Ugaz

Oscar Ugaz

3 svidjanja u 2 postova.

Grupa: 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 Objavljeno: 10. 7. 2018. 07:59:25
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: 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 Objavljeno: 18. 7. 2018. 14:51:21
Вячеслав Мезенцев

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

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

Try this.

2018-07-18_22-41-20.png
Russia ☭ forever, Viacheslav N. Mezentsev
2 korisnika je svidelo ovu objavu
Arie 18. 7. 2018. 16:50:00, frapuano 18. 7. 2018. 17:17:00
#4 Objavljeno: 19. 7. 2018. 05:39:12
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: 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
  • Novi postovi
  • Nema novih postova