It is currently Mon Apr 15, 2024 8:08 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Can a script be written that
PostPosted: Mon Aug 01, 2011 6:59 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
..would pop up to tell you or ask you... would you like to turn off the current selection before doing...whatever? This process can not be completed with a current selection going.

Is it possible to write a script that would reside in your scripts or plug-ins folder or perhaps Gimps bin directory that would fire if you ever tried to start a process that required the selection to be NONE?

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Can a script be written that
PostPosted: Mon Aug 01, 2011 7:37 am  (#2) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4734
Rod wrote:
..would pop up to tell you or ask you... would you like to turn off the current selection before doing...whatever? This process can not be completed with a current selection going.

Is it possible to write a script that would reside in your scripts or plug-ins folder or perhaps Gimps bin directory that would fire if you ever tried to start a process that required the selection to be NONE?
I don't how such a script would be possible. It would have to know the requirement of all scripts/plugins. IMHO if a script/plugin doesn't behave when there is a selection, it should be fixed.

On the other hand, it is possible to write a front-end script for a script/plugin that doesn't call the back-end it if there is a selection.

_________________
Image


Top
 Post subject: Re: Can a script be written that
PostPosted: Mon Aug 01, 2011 10:07 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Thanks Ofnuts. :)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Can a script be written that
PostPosted: Mon Aug 01, 2011 10:40 am  (#4) 
Offline
GimpChat Member

Joined: Mar 29, 2011
Posts: 346
Location: Wisconsin
Good scripts (and plug-ins) will check for invalid or missing input and conditions.
That is where and how it needs to be handled.

_________________
Image


Top
 Post subject: Re: Can a script be written that
PostPosted: Mon Aug 01, 2011 12:35 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Yes i agree, something for the developers to tackle i imagine.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Can a script be written that
PostPosted: Tue Aug 09, 2011 5:24 am  (#6) 
Offline
Script Coder

Joined: Apr 10, 2011
Posts: 532
Just take whatevert script is causing you problems & add a few lines of code to check if there is a selection...


Top
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) The Written Works of Wilber

44

No new posts Attachment(s) Looking for Script Coder to make Script of my VHS effect

2

No new posts Attachment(s) A liitle Start Help with a Script-Fu Script

3

No new posts Attachment(s) Cannot run test script-fu script via console

7

No new posts Attachment(s) Script-fu

6



* Login  



Powered by phpBB3 © phpBB Group