Rank: Advanced Member Groups: Registered
Joined: 30/03/2011(UTC) Posts: 393
Was thanked: 132 time(s) in 113 post(s)
|
|
1 user thanked kilele for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 30/03/2011(UTC) Posts: 393
Was thanked: 132 time(s) in 113 post(s)
|
have you tried to write to the %TEMP% or %APPDATA% directories ? Edited by user 28 March 2014 02:44:43(UTC)
| Reason: Not specified
|
1 user thanked kilele for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,980 Was thanked: 1120 time(s) in 718 post(s)
|
Perhaps the function GetFolderPath() can help. mkraska attached the following image(s): |
|
1 user thanked mkraska for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 30/03/2011(UTC) Posts: 393
Was thanked: 132 time(s) in 113 post(s)
|
Ioan, i'm not sure to understand the problem well perhaps you can use DAvide's hyperlink plugin
|
1 user thanked kilele for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 30/03/2011(UTC) Posts: 393
Was thanked: 132 time(s) in 113 post(s)
|
don't ask me why but i think that'll work if you place the sm files at the same directory as smath exe
|
1 user thanked kilele for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 30/03/2011(UTC) Posts: 393
Was thanked: 132 time(s) in 113 post(s)
|
the two large buttons at the bottom are green in my case, tested with martin's portable version on xp
|
1 user thanked kilele for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,493 Was thanked: 1274 time(s) in 745 post(s)
|
Updated. Play() function now works as expected (it waits for the end of sound). |
Russia ☭ forever Viacheslav N. Mezentsev |
1 user thanked uni for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 14/09/2015(UTC) Posts: 7
|
This is as good a place as any:
Is there a function that returns the filename of the current worksheet/Smath Document? I couldn't find it
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 21/10/2016(UTC) Posts: 84
Was thanked: 21 time(s) in 17 post(s)
|
Originally Posted by: 9_82abZ2 This is as good a place as any:
Is there a function that returns the filename of the current worksheet/Smath Document? I couldn't find it Currently I have the same question and also no answer (and couldn't find one). Can anybody help?
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Originally Posted by: MarB Is there a function that returns the filename of the current worksheet/Smath Document?I couldn't find it Simple but not so simple, EXPLAIN: 1. If your work sheet resides in a subfolder: don't know if possible [didn't find trick] 2. If your work sheet reside in a folder in "C:\ ==> like this path:=CurrentDirectory("" path="C:\Smath6179\"
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
...
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 21/10/2016(UTC) Posts: 84
Was thanked: 21 time(s) in 17 post(s)
|
Originally Posted by: Jean Giraud Originally Posted by: MarB Is there a function that returns the filename of the current worksheet/Smath Document?I couldn't find it path:=CurrentDirectory("" path="C:\Smath6179\" Hi Jean, I do know 'CurrentDirectory( "" )' but it returns the path without the filename. And I am trying to retrieve the latter.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Originally Posted by: MarB I do know 'CurrentDirectory( "" )' but it returns the path without the filename. And I am trying to retrieve the latter. If I open a work sheet from "My Computer, C, click on the Folder, click on the work sheet it will open Smath and CWD= is from which folder the work sheet comes from [Snippet]. Differently, If I open Smath first from the task bar, and click on the file name from the file list on the Smath menu, I get: CWD="C\Program Flies\Smath Studio" In fact, my Smath is so simple ... all my 925 work sheets are piled in Smath6179 folder. All in all => same as Mathcad 11 Cheers ... Jean
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,493 Was thanked: 1274 time(s) in 745 post(s)
|
Originally Posted by: MarB Originally Posted by: 9_82abZ2 This is as good a place as any:
Is there a function that returns the filename of the current worksheet/Smath Document? I couldn't find it Currently I have the same question and also no answer (and couldn't find one). Can anybody help? As workaround you can use simple C# script for this (Script plugin). Code:store.AddDefinition( terms[0].Text, new Term[0], new Entry( "\"" + store.FileName + "\"" ) );
|
Russia ☭ forever Viacheslav N. Mezentsev |
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
A more complete code would look like Mathcad 11
CWD="C:\Program Files\Mathsoft\Mathcad 11\Handbooks\datapack"
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,980 Was thanked: 1120 time(s) in 718 post(s)
|
The function getfolderpath() seems to be broken for build 7219: getfolder.sm (3kb) downloaded 21 time(s).
SMath Studio: SMath Studio Desktop 0.99.7219.26345 portable, 64-bit OS: Microsoft Windows NT 6.1.7601 Service Pack 1; Windows 7 Professional Service Pack 1, 64-bit Screen: 1920x1080 px, 96x96 dpi, 96 GP.CDPI Localization: language=ENG; dec.symbol=<comma>; arg.separator=<semicolon>; OS dec.symbol=<comma>; OS arg.separator=<semicolon>; OS d.g.separator=<period> Framework: CLR 4.0.30319.42000
installed versions: v2.0.50727 2.0.50727.5420 SP2 v3.0 3.0.30729.5420 SP2 v3.5 3.5.30729.5420 SP1 v4 Client 4.7.02053 Full 4.7.02053 v4.0 Client 4.0.0.0
Plugins: - [AppDir] Area Region - 0.99.7219.26345 - [AppDir] HTMLFileType - 1.14.7219.26345 - [AppDir] ImageFileType - 1.11.7219.26345 - [AppDir] Math Region - 0.99.7219.26345 - [AppDir] PictureRegion - 1.10.7219.26345 - [AppDir] PlotRegion - 1.11.7219.26345 - [AppDir] SMath Viewer Files Plugin - 1.1.7219.26385 - [AppDir] SMathFileType - 1.11.7219.26345 - [AppDir] SpecialFunctions - 1.12.7219.26345 - [AppDir] SpecialFunctions - 1.12.7219.26345 - [AppDir] StandardToolboxButtons - 1.1.7219.26345 - [AppDir] TextRegion - 1.11.7219.26345 - [AppDir] XMCDFileType - 1.12.7219.26345 - [UserDir] Custom Functions - 1.1.7200.16172 - [UserDir] Custom Glyphs - 1.1.7200.16176 - [UserDir] Development Tools - 1.0.6974.21980 - [UserDir] Hyperlink Region - 1.0.7105.20106 - [UserDir] Image Region - 2.99.7100.21996 - [UserDir] Mathcad File Access Functions - 1.0.6983.32721 - [UserDir] MaximaPlugin - 1.98.7100.23756 - [UserDir] Nonlinear Solvers - 1.1.7097.23301 - [UserDir] ODE Solvers - 0.2.7155.3312 - [UserDir] ODE Solvers - 0.2.7155.3312 - [UserDir] PDF Files Plugin - 1.0.7097.27694 - [UserDir] Slider Region - 1.0.7100.22009 - [UserDir] Snapshot Region - 1.0.7100.22017 - [UserDir] Statistical Tools - 1.0.6824.32561 - [UserDir] Writer Region - 0.22.7200.15900 - [UserDir] XlsxImportExport - 1.3.6996.39330 - [UserDir] X-Y Plot Region (JXCharts) - 0.2.7198.38915 - [UserDir] X-Y Plot Region (JXCharts) - 0.2.7198.38915
|
|
1 user thanked mkraska for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,493 Was thanked: 1274 time(s) in 745 post(s)
|
Updated and rebuilded for SMath Studio ≥ 0.99.7109. |
Russia ☭ forever Viacheslav N. Mezentsev |
2 users thanked uni for this useful post.
|
on 01/11/2019(UTC), on 02/11/2019(UTC)
|
|
Rank: Advanced Member Groups: Registered
Joined: 10/12/2009(UTC) Posts: 238 Location: Cali, Colombia Was thanked: 79 time(s) in 60 post(s)
|
Hi, I found that the following functions of this plugin are not working:
Play(), WRITEWAV(), GETWAVINFO(), READWAV().
I saw the problem inside the interactive SMath Handbook.
I have SMath Studio 0.99.7822 (01 June 2021) on win10.
Oscar
|
1 user thanked oscampo for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,493 Was thanked: 1274 time(s) in 745 post(s)
|
Plugin updated. Please try. Changes: - plug-in corrected to respect latest SMath Studio API changes. Edited by user 29 June 2021 15:51:38(UTC)
| Reason: Not specified |
Russia ☭ forever Viacheslav N. Mezentsev |
2 users thanked uni for this useful post.
|
on 29/06/2021(UTC), on 29/06/2021(UTC)
|
|
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.