Cookies Posted August 6, 2010 Share Posted August 6, 2010 Hello, i was wondering if it's ok to minimize PDN with a plugin, if so can someone then help me with that? I'm thinking of creating a Screenshot plugin which first minimizes PDN and then the user can take a screenshot with a chosen mode. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted August 6, 2010 Share Posted August 6, 2010 Why not just use a regular screenshot utility? There are a bajillion of them. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
pyrochild Posted August 7, 2010 Share Posted August 7, 2010 Kenny Kerr's Window Clippings is fantastic, and it can send screenshots directly to Paint.NET. Quote ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
Sarkut Posted August 7, 2010 Share Posted August 7, 2010 Regardless, the question is of interest. Is it okay for a plugin to minimize Paint.NET? Quote Link to comment Share on other sites More sharing options...
pyrochild Posted August 7, 2010 Share Posted August 7, 2010 In my opinion, no. Quote ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
Rick Brewster Posted August 7, 2010 Share Posted August 7, 2010 No, you shouldn't be doing anything to the Paint.NET UI. Effect plugins are for rendering content to a layer. FileType plugins are for bringing in content from a stream. When you try to go outside these boundaries you introduce side effects that may cause Paint.NET to get confused, or users to get confused. Or if your error handling isn't perfect, things can crash or do other stuff. You also make it much more difficult for me going forward to ensure compatibility with your plugin. You may have something that works with whatever the latest version is, but you have no guarantee that later versions of Paint.NET will respond to what you're doing (or that it'll respond correctly, or that it'll respond to the restore command, etc). If you do stuff like this, I'm much more likely to just block your plugin from loading than I am to ensure it still works in the next version. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Cookies Posted August 7, 2010 Author Share Posted August 7, 2010 No, you shouldn't be doing anything to the Paint.NET UI. Effect plugins are for rendering content to a layer. FileType plugins are for bringing in content from a stream. When you try to go outside these boundaries you introduce side effects that may cause Paint.NET to get confused, or users to get confused. Or if your error handling isn't perfect, things can crash or do other stuff. You also make it much more difficult for me going forward to ensure compatibility with your plugin. You may have something that works with whatever the latest version is, but you have no guarantee that later versions of Paint.NET will respond to what you're doing (or that it'll respond correctly, or that it'll respond to the restore command, etc). If you do stuff like this, I'm much more likely to just block your plugin from loading than I am to ensure it still works in the next version. Ok, thought so, just asked to be sure Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.