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

Notification

Icon
Error

Options
Go to last post Go to first unread
zyxi  
#1 Posted : Friday, June 28, 2019 11:10: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)
Hello, Rob.
Will the following screenshots appear in the later version?
It can move the position of the selected screenshot, and it can also change the size of the screenshot. Finally, it completes the screenshot by double-clicking.
I know it's difficult to implement, but it's really fascinating.


UserPostedImage

Rob  
#2 Posted : Friday, June 28, 2019 2:57:45 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
To be honest, this sounds like a plug-in as it's really stepping outside of the primary functionality of StrokesPlus.net :-)

Maybe I will work on that someday, or perhaps someone else will!
zyxi  
#3 Posted : Saturday, June 29, 2019 3:30:59 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)
Yeah, Rob, you're right. It's a real challenge for S+. This Dll was found by me, but I don't know how to call it in S +.
If someone wants to, try how to use it in S +.
The following is the author's call method:

URL of DLL


https://sendit.cloud/fou1v86cvze0


Code:
namespace PrintScreen { class DllClass1 { [DllImport("PrScrn.dll", EntryPoint = "PrScrn", CharSet = CharSet.Ansi)] public static extern bool Prscrn(); } }
zyxi  
#4 Posted : Saturday, June 29, 2019 3:51:49 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)
Another version.
https://sendit.cloud/8yyns8laa8b2

Call parameter:
Code:
rundll32 PrScrn.dll PrScrn
Rob  
#5 Posted : Saturday, June 29, 2019 8:28:25 AM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
So that looks like a native DLL, not a .NET Class Library (meaning it can't be a S+ plug-in). Though you could write a .NET wrapper class using your first example.

However, you can also just use the rundll32 command (change the path to the DLL accordingly):

Code:
sp.RunProgram("rundll32", "\"C:\\Development\\PrScrn.dll\" PrScrn", "open", "normal", true, false, false);
zyxi  
#6 Posted : Saturday, June 29, 2019 9:52:06 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)
OK, thank you Rob.
chilled  
#7 Posted : Tuesday, December 17, 2019 12:10:24 AM(UTC)
chilled

Rank: Newbie

Reputation:

Groups: Approved
Joined: 12/16/2019(UTC)
Posts: 4

Originally Posted by: zyxi Go to Quoted Post
Hello, Rob.
Will the following screenshots appear in the later version?
It can move the position of the selected screenshot, and it can also change the size of the screenshot. Finally, it completes the screenshot by double-clicking.
I know it's difficult to implement, but it's really fascinating.


UserPostedImage


Quicker is a software that can perfectly solve the problem of screenshots and textures, including search.
Rob  
#8 Posted : Wednesday, December 18, 2019 1:10:29 AM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
Someone is certainly welcome to create a plug-in for this :)

Otherwise, there are plenty of existing programs which handle this already, like Lightshot

I can't make this application do everything! Well, I could, but I don't think it makes the most sense to try and do everything out there.
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.