Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Andrey Ivashov  
#1 Posted : 12 March 2016 02:46:07(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,617
Man
Russian Federation

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

Edited by user 15 March 2016 19:26:09(UTC)  | Reason: Not specified

thanks 8 users thanked Andrey Ivashov for this useful post.
on 12/03/2016(UTC),  on 12/03/2016(UTC),  on 12/03/2016(UTC),  on 12/03/2016(UTC),  on 12/03/2016(UTC),  on 12/03/2016(UTC),  on 12/03/2016(UTC),  on 12/03/2016(UTC)
Offline Davide Carpi  
#2 Posted : 13 March 2016 11:34:07(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1368 time(s) in 895 post(s)
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? Good

Edited by user 13 March 2016 11:40:33(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
Offline Andrey Ivashov  
#3 Posted : 13 March 2016 12:45:40(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,617
Man
Russian Federation

Was thanked: 1981 time(s) in 667 post(s)
Help command is:
Code:
SMathStudio_Desktop.exe -silent -?


ss_cmd.png

Best regards.
thanks 1 user thanked Andrey Ivashov for this useful post.
on 13/03/2016(UTC)
Offline Davide Carpi  
#4 Posted : 13 March 2016 14:41:40(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1368 time(s) in 895 post(s)
Thank you very much Andrey! It is very useful for batch processing! Clap

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) Blush

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline RFreund  
#5 Posted : 13 March 2016 17:04:32(UTC)
RFreund


Rank: Advanced Member

Groups: Registered
Joined: 25/09/2013(UTC)
Posts: 327
United States
Location: IL

Was thanked: 19 time(s) in 17 post(s)
Does this mean I can print multiple files to PDF in with some sort of single command?
Offline Andrey Ivashov  
#6 Posted : 13 March 2016 17:53:27(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,617
Man
Russian Federation

Was thanked: 1981 time(s) in 667 post(s)
Hello. Thank you for good questions!

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

Originally Posted by: Davide Carpi Go to Quoted Post
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 Good Will be implemented in future.

Originally Posted by: RFreund Go to Quoted Post
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:
Code:
@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.
thanks 3 users thanked Andrey Ivashov for this useful post.
on 13/03/2016(UTC),  on 13/03/2016(UTC),  on 19/03/2016(UTC)
Offline RFreund  
#7 Posted : 19 March 2016 16:21:50(UTC)
RFreund


Rank: Advanced Member

Groups: Registered
Joined: 25/09/2013(UTC)
Posts: 327
United States
Location: IL

Was thanked: 19 time(s) in 17 post(s)
Sorry for the delay, Thanks Andrey!
Users browsing this topic
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.