Clipboard Region

Clipboard Region - Messages

#1 Posted: 9/26/2013 8:32:23 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

SMath up to 0.96.4909 > password: test
SMath 0.97.5301 or later >

link a variable in the placeholder and left-click on the region to export the variable to the clipboard (clipboard's content can be pasted in spreadsheets or text editors - can't be used as variable in SMath)

Also, you can paste spreadsheets data directly in the region placeholder.


PLEASE REPORT HERE ANY ISSUE

Best regards,

Davide
2013-09-27 11_34_44-SMath Studio Desktop - [xxx.sm_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
3 users liked this post
ioan92 9/27/2013 3:59:00 AM, Radovan Omorjan 9/27/2013 12:09:00 PM, Mark R Harris 9/5/2022 1:16:00 AM
#2 Posted: 9/27/2013 10:36:27 AM
sublim21

sublim21

3 likes in 36 posts.

Group: User

looking great websurfer. Looks like you're all about the extensions now.
#3 Posted: 9/27/2013 12:13:04 PM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Thanks Davide

Try to reproduce this one

A:=something(2)

where something() is not defined. This will crash Smath for me.

Regards,
Radovan
clipboard.png
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
1 users liked this post
Davide Carpi 9/28/2013 10:18:00 AM
#4 Posted: 9/27/2013 12:22:55 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Thank you both, I'll check the issue

Btw as I've written in another topic I hope that a "copy special" and a "paste special" will be implemented natively in smath, from context menu (and maybe from shortcuts, like ctrl+ shift +c to make the "external copy" )". Since that day I hope this plugin will help.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 Posted: 9/28/2013 10:17:25 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

Thanks Davide

Try to reproduce this one

A:=something(2)

where something() is not defined. This will crash Smath for me.

Regards,
Radovan



fixed & updated


[edit] working to add both import and export features
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
Radovan Omorjan 9/28/2013 1:48:00 PM
#6 Posted: 9/29/2013 8:54:33 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

UPDATED

- added "import data"
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#7 Posted: 3/10/2014 3:30:22 AM
experimentator

experimentator

1 likes in 21 posts.

Group: User

After installing the ClipboardRagion pluging Smath displays the error as follows.
I have neither the possibility of deleting nor re-installing.
error ClipboardRegion.jpg
Learning by doing
#8 Posted: 3/10/2014 3:59:22 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote

After installing the ClipboardRagion pluging Smath displays the error as follows.
I have neither the possibility of deleting nor re-installing.

Just search for the dll and remove the associated folder structure, typically "some cryptic name/some version number". Currently that is the only way to remove plugins.
It may help to locate the settings directory using the function SettingsDirectory(). There you find folders extensions/plugins, where the above-mentioned plugin directories reside.

Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#9 Posted: 3/10/2014 4:24:30 AM
experimentator

experimentator

1 likes in 21 posts.

Group: User

Danke Martin, it works, but I cannot install the extension again, occurs the same problem.
Learning by doing
#10 Posted: 3/10/2014 4:45:58 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote

Danke Martin, it works, but I cannot install the extension again, occurs the same problem.


That's because the Clipboard Region plugin has not yet been updated to SMath Studio 0.97 (there were API changes). Also there might be problems in actually doing the update (Davide reported problems with clipboard handling).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Davide Carpi 3/10/2014 6:41:00 AM
#11 Posted: 3/10/2014 6:45:02 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

That's because the Clipboard Region plugin has not yet been updated to SMath Studio 0.97 (there were API changes). Also there might be problems in actually doing the update (Davide reported problems with clipboard handling).



Exactly, as for now this plugin works only with SMath up to 0.96.4909; a new plugin will be relased when Andrey will fix the issues in the clipboard interface.


Best regards,

Davide
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#12 Posted: 5/10/2014 10:06:51 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

Exactly, as for now this plugin works only with SMath up to 0.96.4909; a new plugin will be relased when Andrey will fix the issues in the clipboard interface.



Don't know exactly what is the default behavior for plugins uploaded before the introduction of the target version in the Extensions Menager, this plugin should be not visible; anyway it is just a transitory issue...
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
ioan92 5/10/2014 10:25:00 AM
#13 Posted: 7/14/2014 4:00:08 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

UPDATED SMath 0.97.5301

- Updated to fit recent API changes;
- fixes;
- New features: paste inside placeholder;


Be sure to have the "Exclude beta-versions" unchecked
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
2 users liked this post
ioan92 7/14/2014 4:55:00 AM, sergio 7/14/2014 4:31:00 AM
#14 Posted: 8/26/2022 6:20:27 AM
Reiltar

Reiltar

0 likes in 2 posts.

Group: User

Hi all,
First of all, sorry for reopening such an old topic but.... hasn't anybody had an issue then trying to import to smath negative values from excel?
Maybe it's related with revision changes in both smath and excel, but when I have negative values I get them imported as text, between quotes "-0.534" i.e

any idea about how to solve that?

Thanks,
#15 Posted: 8/29/2022 1:18:42 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

I'll check it, thank you for reporting the issue.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
sergio 8/29/2022 3:57:00 PM
#16 Posted: 8/29/2022 3:01:06 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

"-0.534" i.e
any idea about how to solve that?


In the mean time it will doctored otherwise.

str2num algo.PNG


#17 Posted: 8/29/2022 3:36:19 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Wrote

I'll check it, thank you for reporting the issue.



Hi Davide. Related, though not exactly a plugin question. But since you are going to see the question of the sign in strings, do you know how to specify a negative exponent inside SMath, as in the following example?

Clipboard01.jpg

Thanks in advance.
Alvaro.
2 users liked this post
churichuro 8/29/2022 8:02:00 PM, sergio 8/29/2022 3:57:00 PM
#18 Posted: 8/29/2022 8:01:31 PM
churichuro

churichuro

28 likes in 79 posts.

Group: User

Alvaro an alternative way is



while a better solution is given.
2 users liked this post
sergio 8/30/2022 6:19:00 AM, Alvaro Diaz Falconi 8/30/2022 12:32:00 AM
#19 Posted: 8/30/2022 12:36:17 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi Churichurro. Thanks, it is a very good workaround, it works, substituting str2num(strrep(STR,"E-","*10^-" ) )

Best regards.
Alvaro.
#20 Posted: 9/1/2022 9:25:12 AM
Reiltar

Reiltar

0 likes in 2 posts.

Group: User

Wrote

Wrote

"-0.534" i.e
any idea about how to solve that?


In the mean time it will doctored otherwise.

str2num algo.PNG




Thanks for this temporary solution.
  • New Posts New Posts
  • No New Posts No New Posts