Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Oscar Ugaz  
#1 Posted : 09 July 2018 19:39:58(UTC)
Oscar Ugaz

Rank: Newbie

Groups: Registered
Joined: 09/07/2018(UTC)
Posts: 2
United States
Location: Houston

Was thanked: 3 time(s) in 1 post(s)
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




Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline mkraska  
#2 Posted : 10 July 2018 13:59:25(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
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://smath.com/wiki/SMath_with_Plugins.ashx
Offline uni  
#3 Posted : 18 July 2018 20:51:21(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Try this.

2018-07-18_22-41-20.png
Russia ☭ forever
Viacheslav N. Mezentsev
thanks 2 users thanked uni for this useful post.
on 18/07/2018(UTC),  on 18/07/2018(UTC)
Offline Davide Carpi  
#4 Posted : 19 July 2018 11:39:12(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
You can even use an hperlink region.

Originally Posted by: mkraska Go to Quoted Post
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).

Edited by user 19 July 2018 11:52:42(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.