MathcadFileAccess

MathcadFileAccess - The following functions are useful for reading various file types into arrays. - Poruke

#21 Objavljeno: 27. 3. 2014. 15:30:38
kilele

kilele

134 svidjanja u 397 postova.

Grupa: User

It has occurred to me that the plugin could send the bin data to the clipboard and then the user could make a paste (control-v) by hand into any folder (as the program HTMtied does)
Another alternative could be using DDE as a layer between windows programs, see:
http://jdde.pretty-tools.com/
http://www.thescarms.com/VBasic/ddeml.aspx
1 korisnika je svidelo ovu objavu
ioan92 27. 3. 2014. 16:12:00
#22 Objavljeno: 27. 3. 2014. 19:42:35
kilele

kilele

134 svidjanja u 397 postova.

Grupa: User

have you tried to write to the %TEMP% or %APPDATA% directories ?
1 korisnika je svidelo ovu objavu
ioan92 28. 3. 2014. 04:23:00
#23 Objavljeno: 28. 3. 2014. 03:25:09
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: Moderator

Perhaps the function GetFolderPath() can help.
folders.PNG
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1 korisnika je svidelo ovu objavu
ioan92 28. 3. 2014. 03:58:00
#24 Objavljeno: 28. 3. 2014. 06:00:10
kilele

kilele

134 svidjanja u 397 postova.

Grupa: User

Ioan, i'm not sure to understand the problem well
perhaps you can use DAvide's hyperlink plugin
1 korisnika je svidelo ovu objavu
ioan92 28. 3. 2014. 06:22:00
#25 Objavljeno: 28. 3. 2014. 09:25:05
kilele

kilele

134 svidjanja u 397 postova.

Grupa: User

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 korisnika je svidelo ovu objavu
ioan92 28. 3. 2014. 11:57:00
#26 Objavljeno: 28. 3. 2014. 12:30:28
kilele

kilele

134 svidjanja u 397 postova.

Grupa: User

the two large buttons at the bottom are green in my case, tested with martin's portable version on xp
1 korisnika je svidelo ovu objavu
ioan92 28. 3. 2014. 12:38:00
#27 Objavljeno: 24. 4. 2014. 18:15:34
Вячеслав Мезенцев

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

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

Updated. Play() function now works as expected (it waits for the end of sound).
Russia ☭ forever, Viacheslav N. Mezentsev
1 korisnika je svidelo ovu objavu
Davide Carpi 24. 4. 2014. 19:22:00
#28 Objavljeno: 15. 9. 2015. 14:37:12
9_82abZ2

9_82abZ2

0 svidjanja u 7 postova.

Grupa: User

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
#29 Objavljeno: 7. 6. 2017. 04:12:30
Martin_B

Martin_B

22 svidjanja u 84 postova.

Grupa: User

Wrote

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?
#30 Objavljeno: 7. 6. 2017. 15:20:56
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Wrote

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\"

#31 Objavljeno: 7. 6. 2017. 21:42:05
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

...
CWD.png

CWD.bmp
#32 Objavljeno: 8. 6. 2017. 03:16:49
Martin_B

Martin_B

22 svidjanja u 84 postova.

Grupa: User

Wrote

Wrote

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.
#33 Objavljeno: 8. 6. 2017. 08:38:18
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Wrote

I do know 'CurrentDirectory( "" )' but it returns the path without the filename. And I am trying to retrieve the latter.



CWD.bmp

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
#34 Objavljeno: 8. 6. 2017. 09:05:42
Вячеслав Мезенцев

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

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

Wrote

Wrote

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

store.AddDefinition( terms[0].Text, new Term[0], new Entry( "\"" + store.FileName + "\"" ) );

2017-06-08_17-03-04.png
Russia ☭ forever, Viacheslav N. Mezentsev
#35 Objavljeno: 8. 6. 2017. 11:46:34
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

A more complete code would look like Mathcad 11

CWD="C:\Program Files\Mathsoft\Mathcad 11\Handbooks\datapack"
#36 Objavljeno: 29. 10. 2019. 05:05:48
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: Moderator

The function getfolderpath() seems to be broken for build 7219:

getfolder.sm (2,21 KiB) preuzeto 1824 put(ova).
2019-10-29 07_52_04-SMath Studio 0.99.7219 - [Blatt5_].png

Prikaži spoiler

Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1 korisnika je svidelo ovu objavu
Вячеслав Мезенцев 31. 10. 2019. 14:04:00
#37 Objavljeno: 31. 10. 2019. 14:05:49
Вячеслав Мезенцев

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

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

Updated and rebuilded for SMath Studio ≥ 0.99.7109.
Russia ☭ forever, Viacheslav N. Mezentsev
2 korisnika je svidelo ovu objavu
Martin Kraska 31. 10. 2019. 20:00:00, sergio 2. 11. 2019. 14:46:00
#38 Objavljeno: 29. 6. 2021. 08:08:28
Oscar Campo

Oscar Campo

135 svidjanja u 309 postova.

Grupa: Moderator

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 korisnika je svidelo ovu objavu
Вячеслав Мезенцев 29. 6. 2021. 09:47:00
#39 Objavljeno: 29. 6. 2021. 09:47:38
Вячеслав Мезенцев

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

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

SMath Studio compatibility

Plugin updated. Please try.

Changes:
- plug-in corrected to respect latest SMath Studio API changes.
Russia ☭ forever, Viacheslav N. Mezentsev
2 korisnika je svidelo ovu objavu
Oscar Campo 29. 6. 2021. 10:15:00, sergio 29. 6. 2021. 11:55:00
  • Novi postovi
  • Nema novih postova