RC2: SMath Studio 0.98.5914 (11 March 2016)

RC2: SMath Studio 0.98.5914 (11 March 2016) - Messages

#1 Posted: 3/11/2016 8:46:07 PM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3729 posts.

Group: Super Administrator

SMath Studio 0.98.5914 available


Latest changes (against SMath Studio 0.98.5910)

  • UnitsOf(..) function implemented;
  • Function time(..) documented and updated to be visible in functions list;
  • Function findrows(..) improved to work with numeric evaluations inside;
  • Performance of Examples view load in Extensions Manager significantly improved;
  • Displaying of error restored on region focus lost after right part of definition is not defined;
  • Situations when parenthesis was hidden in answer fixed;
  • Function trace(..) output switched to use standard delimiters instead of specific for user;
  • Worksheet recalculation now starts on toggling of Disable/Enable evaluation context menu item;
  • RichScrollbars style improved for systems with disabled system style;
  • Text in search box now selected when panel visibility toggled on;
  • Ability to print worksheet using command prompt implemented (-silent -p default worksheet.sm);
  • Command prompt interface extended to allow worksheet testing (-silent -t worksheet.sm);
  • Numeric library improved to avoid displaying unnecessary "1" in expressions like "1*'unit";
  • Interface translations updated.


Download

8 users liked this post
Davide Carpi 3/11/2016 10:09:00 PM, уни 3/12/2016 12:18:00 AM, NDTM Amarasekera 3/12/2016 2:10:00 AM, frapuano 3/12/2016 3:27:00 AM, ioan92 3/12/2016 4:09:00 AM, Radovan Omorjan 3/12/2016 4:30:00 AM, sergio 3/12/2016 5:52:00 AM, IVR 3/12/2016 5:58:00 PM
#2 Posted: 3/13/2016 5:34:07 AM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

Hello Andrey,

I see there is at least another command prompt feature available (SS 0.96.4902)
Quote

Added ability to export files to supported formats using command prompt;


What's is syntax? There are other of these commands?
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Posted: 3/13/2016 6:45:40 AM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3729 posts.

Group: Super Administrator

Help command is:
SMathStudio_Desktop.exe -silent -?

ss_cmd.png

Best regards.
1 users liked this post
Davide Carpi 3/13/2016 6:57:00 AM
#4 Posted: 3/13/2016 8:41:40 AM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

Thank you very much Andrey! It is very useful for batch processing!

Documented in the wiki and linked in the wiki main page.

Not sure which options are available with -o or how to change the printer (some attempts I've done they results always with the default printer)

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 Posted: 3/13/2016 11:04:32 AM
Ryan Freund

Ryan Freund

19 likes in 339 posts.

Group: User

Does this mean I can print multiple files to PDF in with some sort of single command?
#6 Posted: 3/13/2016 11:53:27 AM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3729 posts.

Group: Super Administrator

Hello. Thank you for good questions!

Wrote

Not sure which options are available with -o


It may be anything. F.e. you can create a File Type plug-in and implement the following method:
bool IPluginSaveFileTypes.SaveFileType(Stream stream, RegionsEnumerator enumerator, FileContext context)
To get options from -o in this plug-in you can read context.Action. So, this is how one can perform files conversion with some options (of course plug-in should support this).

Wrote

how to change the printer (some attempts I've done they results always with the default printer)


For now selecting exact printer name is not supported. Default is an only option. Sorry Will be implemented in future.

Wrote

Does this mean I can print multiple files to PDF in with some sort of single command?


Yes. F.e. here is a *.bat file content which converts all files in folder from .sm to .png:
@echo off
for %%a in ("C:\examples\*" do call:convert %%a
exit/b

:convert
call "C:\Program Files (x86)\SMath Studio\SMathStudio_Desktop.exe" -silent -e .png %*

BTW: -t parameter is actually a way similar to what I use to be sure nothing broken before releasing a new build. I have hundreds of worksheets which passed to SMath Studio in order to ensure that calculation results saved in those files are not changed after recalculation by new version of the program. One can use it also to quickly check that important files are still works after update. If not - contact me, so I could do fix asap.

Best regards.
3 users liked this post
уни 3/13/2016 12:39:00 PM, Davide Carpi 3/13/2016 3:32:00 PM, frapuano 3/19/2016 3:25:00 PM
#7 Posted: 3/19/2016 10:21:50 AM
Ryan Freund

Ryan Freund

19 likes in 339 posts.

Group: User

Sorry for the delay, Thanks Andrey!
  • New Posts New Posts
  • No New Posts No New Posts