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

Notification

Icon
Error

Options
Go to last post Go to first unread
soooulp  
#1 Posted : Thursday, May 6, 2021 1:38:53 PM(UTC)
soooulp

Rank: Advanced Member

Reputation:

Groups: Moderators, Approved
Joined: 4/23/2020(UTC)
Posts: 161
China

Thanks: 46 times
Was thanked: 23 time(s) in 17 post(s)
This script uses the default Snipping Tool that started in Win+Shift+S on Win10 instead of the gesture trail then shows it on the screen.

You can replace the Chinese program title and shortcut in line 8 and line 2.

Shows on the screen based on Enhanced sp.ShowImage, and it can be zoomed in/out by stroll, saved by right click, closed by double-click, moved.

There are two for you to choose from.
The first one is the total code, when you right click the picture to save it, it will pop up the fold after click the context menu "Save File".

The second one is that use sp.DisplayImage() directly or add to the ShowImageWithMenu plugin that Rob provides.
It will pop up the fold after right click the image.


The following is the demo:

UserPostedImage

Edited by user Saturday, March 5, 2022 9:50:59 AM(UTC)  | Reason: Update the time between the snip ends and the image shows, and add a demo

thanks 1 user thanked soooulp for this useful post.
Rob on 5/6/2021(UTC)
soooulp  
#2 Posted : Thursday, May 6, 2021 2:10:05 PM(UTC)
soooulp

Rank: Advanced Member

Reputation:

Groups: Moderators, Approved
Joined: 4/23/2020(UTC)
Posts: 161
China

Thanks: 46 times
Was thanked: 23 time(s) in 17 post(s)
Also, this script uses the default SnippingTool that started in Win+Shift+S on Win10 and recognizes the text in the image then saves it to the clipboard.

You can replace the Chinese program title and shortcut in line 11 and line 6 with your customize program.

Based on A script to snip screen area and use Baidu OCR API to recognize the text

I provide a clientId and clientSecret.
Quote:

you can replace it with your own keys.
Baidu OCR documents: https://ai.baidu.com/tech/ocr

Edited by user Saturday, June 5, 2021 2:34:13 PM(UTC)  | Reason: Update

zyxi  
#3 Posted : Saturday, June 5, 2021 12:19:35 PM(UTC)
zyxi

Rank: Advanced Member

Reputation:

Groups: Approved
Joined: 3/30/2019(UTC)
Posts: 74
China

Thanks: 8 times
Was thanked: 1 time(s) in 1 post(s)
Dear soooulp,
I don’t know why after executing this script, the picture shows the last screenshot.
soooulp  
#4 Posted : Saturday, June 5, 2021 12:31:24 PM(UTC)
soooulp

Rank: Advanced Member

Reputation:

Groups: Moderators, Approved
Joined: 4/23/2020(UTC)
Posts: 161
China

Thanks: 46 times
Was thanked: 23 time(s) in 17 post(s)
Originally Posted by: zyxi Go to Quoted Post
Dear soooulp,
I don’t know why after executing this script, the picture shows the last screenshot.


恩,需要调整下,我忘记更新了,但是修改帖子需要审核,我更新了,等审核通过了再试试,或者加我qq76486962
zyxi  
#5 Posted : Saturday, June 5, 2021 12:42:31 PM(UTC)
zyxi

Rank: Advanced Member

Reputation:

Groups: Approved
Joined: 3/30/2019(UTC)
Posts: 74
China

Thanks: 8 times
Was thanked: 1 time(s) in 1 post(s)
好的,谢谢,那能实现通过右键点击之后,S+直接j将图片另存为文件吗?而不是通过右键,再点击另存为文件
Okay, thank you, can it be realized that after right-clicking, S+ directly saves the picture as a file? Instead of right-clicking and then clicking save as file
soooulp  
#6 Posted : Saturday, June 5, 2021 2:40:42 PM(UTC)
soooulp

Rank: Advanced Member

Reputation:

Groups: Moderators, Approved
Joined: 4/23/2020(UTC)
Posts: 161
China

Thanks: 46 times
Was thanked: 23 time(s) in 17 post(s)
Originally Posted by: zyxi Go to Quoted Post
好的,谢谢,那能实现通过右键点击之后,S+直接j将图片另存为文件吗?而不是通过右键,再点击另存为文件
Okay, thank you, can it be realized that after right-clicking, S+ directly saves the picture as a file? Instead of right-clicking and then clicking save as file


审核了,稍等会,我理解你要的是右键图片然后直接弹出文件夹,我更新的第二个包括了直接使用和使用Rob提供的插件,效果一样

zyxi  
#7 Posted : Sunday, June 6, 2021 3:26:50 AM(UTC)
zyxi

Rank: Advanced Member

Reputation:

Groups: Approved
Joined: 3/30/2019(UTC)
Posts: 74
China

Thanks: 8 times
Was thanked: 1 time(s) in 1 post(s)
Thank you for your reply, but this problem still exists, I don’t know if it is related to the system, my system is win10 (2021H2)
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.