Hyperlink Region

Hyperlink Region - Add hyperlinks in SMath Studio worksheets/SMath Viewer - 消息

#21 已发布: 2013/8/23 05:54:57
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

UPDATED

- command-line options

syntax: 'ProcessToStart'[space]Flags

[edit] - Graphical adjustements
2013-08-24 00_18_32-SMath Studio Desktop - [HyperlinkRegion.sm].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1位用户喜欢此帖子
Martin Kraska 2013/8/23 10:19:00
#22 已发布: 2013/8/23 10:27:19
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

Thanks for the fast reaction. Hyperlink is simply great. I find myself launching applications using
Ctrl-H "command +Click
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1位用户喜欢此帖子
Davide Carpi 2013/8/23 17:13:00
#23 已发布: 2013/8/26 14:14:20
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

UPDATED

Just to complete the early introduced feature

- converter on paste accept command-line strings (input string: "ProcessToStart"[space]Flags)

so when you paste in the placeholder something like:

"C:\Windows\system32\rundll32" sysdm.cpl,EditEnvironmentVariables

this will become:

"'C:\Windows\system32\rundll32' sysdm.cpl,EditEnvironmentVariables"


best regards,

Davide
hyperlink.gif
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#24 已发布: 2013/8/28 03:18:31
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

Strange bug: If you copy a Hyperlink region with description using Ctrl-Drag, then both original and copy seem to use the same data. If you edit the copy, the original changes as well (also the cursor is shown there).

Playing around with empty/nonempty or visible/nonvisible description prior to copying shows other glitches like frozen box size in the copy description. That might be secondary symptoms of the data handling problem.

If you copy using Ctrl-C Ctrl-V everyting is fine.
Hyperlink.PNG
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#25 已发布: 2013/8/28 04:04:39
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Wrote

Strange bug: If you copy a Hyperlink region with description using Ctrl-Drag, then both original and copy seem to use the same data. If you edit the copy, the original changes as well (also the cursor is shown there).

Playing around with empty/nonempty or visible/nonvisible description prior to copying shows other glitches like frozen box size in the copy description. That might be secondary symptoms of the data handling problem.

If you copy using Ctrl-C Ctrl-V everyting is fine.



thank you, was my fault. Plugin updated.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1位用户喜欢此帖子
Martin Kraska 2013/8/28 04:17:00
#26 已发布: 2013/9/11 14:51:48
sublim21

sublim21

3个赞,共36个帖子。

组: User

Just found out about this plugin.

Thanks for the work man.

Just a few quick questions,

lets say i wanted to open up a file with a specific program, what would i type into the hyperlink?

for example, lets say i wanted to open up

song.mp3

with the executable

C:\foobar\foobar.exe

?
#27 已发布: 2013/9/11 15:13:36
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

Wrote

,

lets say i wanted to open up a file with a specific program, what would i type into the hyperlink?

for example, lets say i wanted to open up

song.mp3

with the executable

C:\foobar\foobar.exe

?


You might try the approach shown in post23.
Use "'C:\foobar\foobar.exe' song.mp3". It is essential to quote the executable path with ', otherwise windows takes the space as part of the prog name.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#28 已发布: 2013/9/11 17:50:46
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Wrote

You might try the approach shown in post23.
Use "'C:\foobar\foobar.exe' song.mp3". It is essential to quote the executable path with ', otherwise windows takes the space as part of the prog name.



Exactly

with foobar, if your song contains some spaces use wildcards (*) instead of spaces (f.e. this doesn't work in vlc; I'll think to another approach or another solution to fix this - maybe a double single quotation to have a double quotation or a context menu dialog...)


regards,

Davide
2013-09-11 23_50_38-SMath Studio Desktop - [lalala.sm_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#29 已发布: 2013/9/12 12:32:18
sublim21

sublim21

3个赞,共36个帖子。

组: User

totally missed the apostrophes. Thanks for the update.

Amazing plugin websurfer.
#30 已发布: 2013/10/6 20:09:31
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

UPDATED

- Flags input moved from the placeholder to a dedicated context menu item.

This solve double quotes issues involving flags and SMath strings.
- PASTE feature works also with the new input way.


(TEMPORARY feature) To update worksheets containing the old syntax ("'process' flags"):
- open the worksheet
- save the worksheet
- close and open again the worksheet
- delete all except the process name from the input placeholder
- save the worksheet


regards

Davide
2013-10-07 02_22_09-VV.AA. - [n.d. #01] song 01   [foobar2000 v1.2.9].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1位用户喜欢此帖子
IVR 2013/10/7 08:57:00
#31 已发布: 2013/10/8 11:57:30
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

UPDATED

- Fixed critical bug on exceptions' propagation.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#32 已发布: 2014/2/2 09:31:50
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

UPDATED

- SMath Studio 0.96.5146 required;
- restored red background when the region is disabled;
- click on resize markers now doesn't trigger the link.


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
#33 已发布: 2014/2/2 10:02:47
Andrey Ivashov

Andrey Ivashov

2,344个赞,共4,057个帖子。

组: Super Administrator

Thank you!
1位用户喜欢此帖子
Davide Carpi 2014/2/2 10:09:00
#34 已发布: 2014/2/4 06:48:12
dyleks

dyleks

0个赞,共4个帖子。

组: User

I am using it with version 0.96.5146 but generation
of executable version (viewer) doesn't work for me.
Is that known issue ?
#35 已发布: 2014/2/4 07:08:28
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Hello, I can't reproduce the issue... could you attach a file that doesn't work for you?
2014-02-04 12_04_50-SMath Studio Desktop - [Page1_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#36 已发布: 2014/2/4 08:10:27
dyleks

dyleks

0个赞,共4个帖子。

组: User

The issue is solved.
After SMath was restarted it works.
Sorry for bothering you.
#37 已发布: 2014/2/12 19:14:21
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

UPDATED

- Paste as SMath string temporary disabled (this let you paste strings on the canvas freely)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#38 已发布: 2014/8/7 19:13:00
ziopaper

ziopaper

1个赞,共13个帖子。

组: User

Hi guys,

not sure if it is my issue only, but everything I paste becomes an hyperlink, formulas also.
The way I am working now it starting a dummy formula, paste what I need and then delete the rest. Am I missing something?
I tried to find a reference to this in the forum but did not succeed. I apologize if the answer is already out there.

thanks
#39 已发布: 2014/8/8 08:34:49
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

You're right, the cause is a known bug of the clipboard manager (SS-200). I've accidentally re-enabled the feature in some silent update related to API changes.


PLUGIN UPDATED

- Paste as SMath string temporary disabled.


edit not a SMath bug, just a misinterpreted feature.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1位用户喜欢此帖子
sergio 2014/8/8 13:47:00
#40 已发布: 2014/8/8 12:26:19
ziopaper

ziopaper

1个赞,共13个帖子。

组: User

ok, thanks!

  • 有新帖
  • 无新帖