It is currently Mon Jul 22, 2024 6:32 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 16 posts ] 
Author Message
 Post subject: A nice little Links script
PostPosted: Tue Aug 10, 2010 1:58 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14719
Location: USA
This is a SCM script i found browsing the internet i thought would be useful to alot of folks.You can define your own links in this script and it will reside at the top of the image window as the menu item "Links".

I took the liberty of adding our Forum Link "Gimp Chat" =)
here is the code, just save as a scm and make sure its unblocked and refresh your scripts.


(define (gimp-tutorials)
  (plug-in-web-browser "http://www.gimp-tutorials.net/")
)

(define (gimper)
  (plug-in-web-browser "http://www.gimper.net/")
)

(define (gimp-talk)
  (plug-in-web-browser "http://www.gimptalk.com/")
)

(define (gimpchat)
  (plug-in-web-browser "http://www.gimpchat.com/")
)


(script-fu-register "gimp-tutorials"
   _"_GIMP-tutorials.net"
   _"various GIMP tutorials all on one site"
    "John Laubach <laubach_john@hotmail.com>"
    "John Laubach <laubach_john@hotmail.com>"
    "2008"
    ""
)

(script-fu-menu-register "gimp-tutorials"
                         "<Toolbox>/Links")


(script-fu-register "gimper"
   _"_GIMPER.NET"
   _"Bookmark to the GIMPER web site"
    "John Laubach <laubach_john@hotmail.com>"
    "John Laubach <laubach_john@hotmail.com>"
    "2008"
    ""
)


(script-fu-menu-register "gimper"
                         "<Toolbox>/Links")


(script-fu-register "gimp-talk"
   _"_GIMPtalk"
   _"Bookmark to the GIMPtalk web site"
    "John Laubach <laubach_john@hotmail.com>"
    "John Laubach <laubach_john@hotmail.com>"
    "2008"
    ""
)

(script-fu-menu-register "gimp-talk"
                         "<Toolbox>/Links")



(script-fu-register "gimpchat"
   _"_GIMPCHAT.COM"
   _"Bookmark to the Gimp Chat web site"
    "Rod Detmer <wacmaster@hotmail.com>"
    "Rod Detmer <wacmaster@hotmail.com>"
    "2010"
    ""
)

(script-fu-menu-register "gimpchat"
                         "<Toolbox>/Links")



(define (everystock)
  (plug-in-web-browser "http://everystockphoto.com/")
)
(script-fu-register "everystock"
   _"Everystock"
   _"Website that allows you to search loads of free Stock photos"
    "John Laubach <laubach_john@hotmail.com>"
    "John Laubach <laubach_john@hotmail.com>"
    "2008"
    ""
)

(script-fu-menu-register "everystock"
                         "<Toolbox>/Links")

_________________
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: A nice little Links script
PostPosted: Tue Aug 10, 2010 2:21 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
Sweet! I love it!
Great find!

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.


Top
 Post subject: Re: A nice little Links script
PostPosted: Tue Aug 10, 2010 2:54 pm  (#3) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
That's pretty nice except I don't like it taking up real estate on my Gimp menu bar. I'll try to get it into the Filters or Script-Fu menus.

That's one of the reasons I don't get scripts from Source Forge because they put another menu item on the Gimp menu.

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: A nice little Links script
PostPosted: Tue Aug 10, 2010 8:50 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14719
Location: USA
(define (gimp-tutorials)
  (plug-in-web-browser "http://www.gimp-tutorials.net/")
)

(define (gimper)
  (plug-in-web-browser "http://www.gimper.net/")
)

(define (gimp-talk)
  (plug-in-web-browser "http://www.gimptalk.com/")
)

(define (gimpchat)
  (plug-in-web-browser "http://www.gimpchat.com/")
)


(script-fu-register "gimp-tutorials"
   _"_GIMP-tutorials.net"
   _"various GIMP tutorials all on one site"
    "John Laubach <laubach_john@hotmail.com>"
    "John Laubach <laubach_john@hotmail.com>"
    "2008"
    ""
)

(script-fu-menu-register "gimp-tutorials"
                         "<Image>/Select/Links")


(script-fu-register "gimper"
   _"_GIMPER.NET"
   _"Bookmark to the GIMPER web site"
    "John Laubach <laubach_john@hotmail.com>"
    "John Laubach <laubach_john@hotmail.com>"
    "2008"
    ""
)


(script-fu-menu-register "gimper"
                         "<Image>/Select/Links")


(script-fu-register "gimp-talk"
   _"_GIMPtalk"
   _"Bookmark to the GIMPtalk web site"
    "John Laubach <laubach_john@hotmail.com>"
    "John Laubach <laubach_john@hotmail.com>"
    "2008"
    ""
)

(script-fu-menu-register "gimp-talk"
                         "<Image>/Select/Links")



(script-fu-register "gimpchat"
   _"_GIMPCHAT.COM"
   _"Bookmark to the Gimp Chat web site"
    "Rod Detmer <wacmaster@hotmail.com>"
    "Rod Detmer <wacmaster@hotmail.com>"
    "2010"
    ""
)

(script-fu-menu-register "gimpchat"
                         "<Image>/Select/Links")



(define (everystock)
  (plug-in-web-browser "http://everystockphoto.com/")
)
(script-fu-register "everystock"
   _"Everystock"
   _"Website that allows you to search loads of free Stock photos"
    "John Laubach <laubach_john@hotmail.com>"
    "John Laubach <laubach_john@hotmail.com>"
    "2008"
    ""
)

(script-fu-menu-register "everystock"
                         "<Image>/Select/Links")

that will put it in Select/Links which sounds better...lol

_________________
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: A nice little Links script
PostPosted: Tue Aug 10, 2010 10:01 pm  (#5) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Thanks, Rod. I like that much better. :hi5

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: A nice little Links script
PostPosted: Sun Apr 17, 2011 10:18 pm  (#6) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
Ahh! This !!
This i was needing to wrote my second script !! (the first was 3 years ago, now would be useless because the same function was later added to gimp...
As you know i am too modest to let you know who whispered in the dev hears the suggestion to add "new layer to visible" , "paste as new layer", "paste as new image" to the gimp menu )

Yes i usually hate script fu because preview is not supported neither radio buttons, but for what i have in mind both are not needed!!

But why i get similar idea when are 5.20 AM and still i didn't had a nap ? :hoh

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: A nice little Links script
PostPosted: Mon Apr 18, 2011 3:33 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14719
Location: USA
I haven't had any problems with mine.It even works in Gimp-2.6.11 really well. :)


_________________
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: A nice little Links script
PostPosted: Mon Apr 18, 2011 4:35 am  (#8) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
Rod wrote:
I haven't had any problems with mine.It even works in Gimp-2.6.11 really well. :)



I too haven't had any problem with the script

Only i wished to change the links and the menu locations and definitions

Almost done now also thank to Paynekj that spotted the lost parentheses

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: A nice little Links script
PostPosted: Mon Apr 18, 2011 7:53 am  (#9) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
I'd suggest putting it under "help" rather than Select, as select is supposed to deal with selections.

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: A nice little Links script
PostPosted: Mon Apr 18, 2011 9:13 am  (#10) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
RobA, Help is the perfect place for it. I like it in the Help menu.

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: A nice little Links script
PostPosted: Mon Apr 18, 2011 11:11 am  (#11) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
Oregonian wrote:
RobA, Help is the perfect place for it. I like it in the Help menu.

I have changed it to be in the Help menu and am attaching it. I've tested it and it works fine.

I've also added mahvin's website to it.

Find it here: Help > Links


yes Help is perfect, did you see my version?
i added also links for MeetTheGimp and Jolie (GimpTrick) video tutorial,
and in Image menu a entry for the CreativeCommone Image search, to grab new image on the fly

But what i found beatiful in this script is that everybody may adapt it to fit his need:
it seems almost in plain english no need to be a script guru to hack it, a little bit of english seems sufficent

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: A nice little Links script
PostPosted: Mon Apr 18, 2011 11:18 am  (#12) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
PhotoComix wrote:
yes Help is perfect, did you see my version?
i added also links for MeetTheGimp and Jolie (GimpTrick) video tutorial,
Where is it?

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: A nice little Links script
PostPosted: Mon Apr 18, 2011 11:21 am  (#13) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
You really didn't saw it !! i was hoping the title sufficent to catch attention :(

...Here! viewtopic.php?f=9&t=1559

(and as now in several other places, i don't mind how much a code or a hack may be trivial till does something useful :yes )

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Last edited by PhotoComix on Mon Apr 18, 2011 12:02 pm, edited 1 time in total.

Top
 Post subject: Re: A nice little Links script
PostPosted: Mon Apr 18, 2011 12:00 pm  (#14) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
OK, got it. I added mahvin's website in your script, PhotoComix and made everything come up in the Links menu instead of having the separate menus as in yours.

;based on a script from John Laubach <laubach_john@hotmail.com>
;revised by Rod ;http://www.gimpchat.com/viewtopic.php?f=9&t=395&p=19368#p19368
;last edit by PhotoComix
;last edited by Oregonian Apr 18, 2011



(define (gimpchat)
(plug-in-web-browser "http://www.gimpchat.com/")
)

(define (gimptalk)
(plug-in-web-browser "http://www.gimptalk.com/")
)

(define (flickr-gimpusers-group)
(plug-in-web-browser "http://www.flickr.com/groups/gimpusers/discuss/")
)


(define (Meet-the-gimp)
(plug-in-web-browser "http://meetthegimp.org/getting-the-old-shows/")
)

(define (GimpTricks)
(plug-in-web-browser "http://www.youtube.com/user/GIMPtricks")
)

(define (mahvin)
  (plug-in-web-browser "http://www.mahvin.com/")
)

(define (CreativeCommons)
(plug-in-web-browser "http://search.creativecommons.org/")
)

(script-fu-register "gimpchat"
_"_GimpChat"
_"most active & friendly GIMP forum"
"PhotoComix <photocomix@gmail.com>"
"PhotoComix <photocomix@gmail.com>"
"2011"
""
)

(script-fu-menu-register "gimpchat"
"<Image>/Help/Links/")


(script-fu-register "gimptalk"
_"_GimpTalk"
_"another friendly gimp forum"
"PhotoComix <photocomix@gmail.com>"
"PhotoComix <photocomix@gmail.com>"
"2011"
""
)


(script-fu-menu-register "gimptalk"
"<Image>/Help/Links/")


(script-fu-register "flickr-gimpusers-group"
_"_Gimpusers on Flickr"
_"Gimpusers group on Flickr"
"PhotoComix <photocomix@gmail.com>"
"PhotoComix <photocomix@gmail.com>"
"2011"
""
)

(script-fu-menu-register "flickr-gimpusers-group"
"<Image>/Help/Links/")



(script-fu-register "Meet-the-gimp"
_"_ MeetTheGimp"
_"Most large collection of excellent video-tutorial"
"PhotoComix <photocomix@gmail.com>"
"PhotoComix <photocomix@gmail.com>"
"2011"
""
)

(script-fu-menu-register "Meet-the-gimp"
"<Image>/Help/Links/")



(script-fu-register "GimpTricks"
_"_GimpTricks"
_"Excellent video-tutorial"
"PhotoComix <photocomix@gmail.com>"
"PhotoComix <photocomix@gmail.com>"
"2011"
""
)

(script-fu-menu-register "GimpTricks"
"<Image>/Help/Links/")

(script-fu-register "mahvin"
   _"_mahvin.com"
   _"Bookmark to the mahvin web site"
    "Oregonian <o@gimpchat.com>"
    "Oregonian <o@gimpchat.com>"
    "2011"
    ""
)

(script-fu-menu-register "mahvin"
                         "<Image>/Help/Links")

(script-fu-register "CreativeCommons"
_"_Browse CreativeCommons "
_"search images licenced as Creative Commons"
"PhotoComix <photocomix@gmail.com>"
"PhotoComix <photocomix@gmail.com>"
"2011"
""
)

(script-fu-menu-register "CreativeCommons"
"<Image>/Image/")

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: A nice little Links script
PostPosted: Mon Apr 18, 2011 10:07 pm  (#15) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
your version is for sure better for who already know what that "Links" menu may hide (i suppose almost everybody here)

i think mine could grab more the attention of other that when noticing a "Help Forum" or "Video Tutorial" entry , may say..."help forum...that is really what i need know" or even "nice this could be handy i must remember to click here next time i got stuck"

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: A nice little Links script
PostPosted: Tue Apr 19, 2011 2:28 am  (#16) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14719
Location: USA
Yes that is also where i have mine located in the Select/Links menu.
Think ill add that creative commons link too.

Thanks PC

_________________
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 new topic Reply to topic  [ 16 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Links to my Alphabet

16

No new posts Can Someone post plug ins or links to

2

No new posts Broken Website Links in Tutorials

11

No new posts Attachment(s) Useful links for downloading plugins/scripts

35



* Login  



Powered by phpBB3 © phpBB Group