gimp-image-get-filename - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP) +---- Forum: Scripting questions (https://www.gimp-forum.net/Forum-Scripting-questions) +---- Thread: gimp-image-get-filename (/Thread-gimp-image-get-filename) Pages:
1
2
|
RE: gimp-image-get-filename - teapot - 10-10-2024 (10-10-2024, 09:44 AM)PixLab Wrote: Thanks, ok I understood how it works in the Script-fu console, not sure how to adapt it to the gimp-image-get-filename, nor understand what's the ' in front of the parenthesis It's just to make a list to have something to play with: '(3 45 4 "abc" "def") (10-10-2024, 09:44 AM)PixLab Wrote: not a lot about script-fu on internet, or things are from 20 years ago ➤ we all go by the same different results in google I was not able to make one of them works, but it's my extremely limited knowledge (if I can call "knowledge") about it. Yes it's all old and much of it like strbreakup that you used in post #6 are deprecated. I don't know when that is due to happen. That said I'm not up to writing replacements as my knowledge is limited too Here's my try, it just prints the resulting name in a gimp message. It doesn't handle unusual cases, like no filename or no file extenstion and uses deprecated code. Code: ; To look at PixLab's questions from here: RE: gimp-image-get-filename - PixLab - 10-30-2024 Shame on me , I'm sorry teapot, I "kind" of forgot to answer in this thread as I put this script on stand by, too many time spent on it for no result but raising my arterial blood stream pressure... In all case thank you so very much for ALL your help |