It is currently Fri Mar 29, 2024 3:09 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 29 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: JGimpOS - managing scripts
PostPosted: Fri Dec 21, 2012 3:17 pm  (#1) 
Offline
GimpChat Member

Joined: Feb 22, 2012
Posts: 295
Location: Germany
I've written a tool for managing all the script files (.scm)
The tool is written in java. It works with:
- java 1.6 and above
- Windows, Linux
The reason for this tool was:
- scripts go to the gimp menu, that the programmer wanted. I maybe want an other menu. This was the main reason.
- when sometime using scripts, I want to know, which script it is.

Start the tool.
Load script(s)
Load directories containing scripts
Drag&Drop scripts/directories to tree
Drag&Drop scripts in the tree between menus (the way to change menus)
Create/Delete new menus
Change menu name
Change description

Changes are saved in the script, backups are written.
Make sure you have permissons on scriptdirectory.
No guarantee, no warrenty that it works for you, or with your hard- and software or leaving your scripts alive.
If this tool works for you: great. If not: not great.

Hatti

updating(1): 22.dec 2012


Attachments:
JGIMPOS-2.0.1.ZIP [127.82 KiB]
Downloaded 275 times


Last edited by Onkel Hatti on Sat Dec 22, 2012 2:40 am, edited 1 time in total.
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: JGimpOS - managing scripts
PostPosted: Fri Dec 21, 2012 4:34 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2770
sounds interesting, Onkel Hatti


Top
 Post subject: Re: JGimpOS - managing scripts
PostPosted: Fri Dec 21, 2012 6:20 pm  (#3) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
Works like a champ :bigthup

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: JGimpOS - managing scripts
PostPosted: Fri Dec 21, 2012 7:12 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2770
okay, so this works on its own, i was under the impression i have to put it in my scripts folder


Last edited by Esper on Sat Dec 22, 2012 12:45 am, edited 1 time in total.

Top
 Post subject: Re: JGimpOS - managing scripts
PostPosted: Fri Dec 21, 2012 7:29 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Jul 21, 2012
Posts: 103
Thank you so much @Onkel Hatti, i finded also duplicates scripts :coolthup . I think that it would be interesting also for plugins .py .
:tyspin :bigthup

_________________
Image


Top
 Post subject: Re: JGimpOS - managing scripts
PostPosted: Fri Dec 21, 2012 11:14 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2231
Location: Poland
Revelation!
Two questions:
1. File - Load Directory-only 99% (the rest are errors ?)
2. What does this mean (script error...)


Attachments:
GSO.png
GSO.png [ 48.87 KiB | Viewed 4132 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: JGimpOS - managing scripts
PostPosted: Sat Dec 22, 2012 12:08 am  (#7) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
I noticed the 99% load as well, I can't replicate. My log also showed lot's of unknown errors.
If you want to know where the log file is look for "jgimpos.log" in the users folder.
For example in Win,
C:\Users\Odin\.jgimpos\jgimpos.log

Ed.,
The error might be gimpfx-foundry scripts.

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: JGimpOS - managing scripts
PostPosted: Sat Dec 22, 2012 1:19 am  (#8) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
I've started the tool but I only get a flash and nothing happens there must be something I am missing, do I need to install the .jar file somewhere

Image

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: JGimpOS - managing scripts
PostPosted: Sat Dec 22, 2012 1:52 am  (#9) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
Graechan wrote:
I've started the tool but I only get a flash and nothing happens there must be something I am missing, do I need to install the .jar file somewhere

You need Java installed. I have 7.0.x.

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: JGimpOS - managing scripts
PostPosted: Sat Dec 22, 2012 2:20 am  (#10) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Odin I have 32bit java 7 update 10 installed and as you can see in the image I uploaded the jgimpos-2.0.1.jar file is set to be opened with Java(TM) Platform SE binary, but all I get is a flash in the pan :gaah

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: JGimpOS - managing scripts
PostPosted: Sat Dec 22, 2012 2:48 am  (#11) 
Offline
GimpChat Member

Joined: Feb 22, 2012
Posts: 295
Location: Germany
I have uploaded a newer version (first post)

@MareroQ:

1. I don't know. try the newer version. The log should say which script could not be loaded. The progress should go up to 100% (in the newer version file-number/total-files) This is reset, if clicked anywhere in the window.
2. It's not a bug, it's a feature :-) The menu of the script ends with "/". Thats not usual, so the program "thinks", there must follow an other menu entry, so it creates a new menu entry in the tree structure, but with no name... I fixed it, so "empty" menus are not longer created.

I fixed up the log. It was written, whenever a script was loaded/saved but when tehre was no error, it says only the event time, the severity level (ERROR) and then the errors. Mostly nothing. Thats confusing.
Now, if there is no error, the log is not written.

@Graechan:

Sorry, I can't help you. The program can be anywhere, just double click on it.
Maybe you can try start terminal/cmd window, change directory to where jgimpos-2.0.1.jar is, type:

javaw -jar jgimpos-2.0.1.jar

watch the error.


Top
 Post subject: Re: JGimpOS - managing scripts
PostPosted: Sat Dec 22, 2012 5:34 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2231
Location: Poland
Thank you very much.
This is very useful !!!

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: JGimpOS - managing scripts
PostPosted: Sat Dec 22, 2012 1:04 pm  (#13) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
Hatti, Along with the menu functions I find the Parameter list display helpful. The program provides a very interesting way of looking at your Gimp scripts. I also like the View Script extra, how about an extra that opens your text editor?

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: JGimpOS - managing scripts
PostPosted: Sun Dec 23, 2012 12:46 am  (#14) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
I am not so sure I have the correct Java installed so if someone could give a URL for the java download it would be appreciated

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: JGimpOS - managing scripts
PostPosted: Sun Dec 23, 2012 1:24 am  (#15) 
Offline
GimpChat Member

Joined: Feb 22, 2012
Posts: 295
Location: Germany
www.java.com

The JRE (Java Runtime Enviroment) is good enough.


Top
 Post subject: Re: JGimpOS - managing scripts
PostPosted: Sun Dec 23, 2012 1:42 am  (#16) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Then It's a real head scratch-er as when i select the file from my desktop nothing happens and the link you gave me informed me that I already had the latest version

Are there any windows settings that should be checked to ensure they are correct and that the .jar file will call on java to open

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: JGimpOS - managing scripts
PostPosted: Sun Dec 23, 2012 2:14 am  (#17) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
Graechan wrote:
Then It's a real head scratch-er as when i select the file from my desktop nothing happens and the link you gave me informed me that I already had the latest version

Are there any windows settings that should be checked to ensure they are correct and that the .jar file will call on java to open


You're using Windows 64, Graechan. My advice - download and install both 32- and 64-bit versions of Java 7.10 here
If Java installers confirmed successful installations, there should be no problem running JGimpOS.


Top
 Post subject: Re: JGimpOS - managing scripts
PostPosted: Sun Dec 23, 2012 3:19 am  (#18) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
Graechan wrote:
Then It's a real head scratch-er as when i select the file from my desktop nothing happens and the link you gave me informed me that I already had the latest version

Are there any windows settings that should be checked to ensure they are correct and that the .jar file will call on java to open
Right click the file, Open with and see what there. Here's mine.
Image

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: JGimpOS - managing scripts
PostPosted: Sun Dec 23, 2012 4:58 am  (#19) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Ok, I opened it with Java and got this. I click Extras and the box comes up empty, I click filters and get menu, delete menu and unload script. SO, what do I do with this thang?

Image

EDIT: ok, I think I got it. I don't know what it is supposed to do but I think this is what I have.

Image

_________________
Image


Top
 Post subject: Re: JGimpOS - managing scripts
PostPosted: Sun Dec 23, 2012 10:16 am  (#20) 
Offline
GimpChat Member

Joined: Feb 22, 2012
Posts: 295
Location: Germany
yes, thats it. The program does basically nothing. It says, that you have a script that has two (I think, just one script loaded) menuentries. One in Filters/Alpha to Logo and one in script-fu/Logo. Both menuenties call the same script. The script is old, since, I think 2.6, the <Toolbox>/Xtns is not supported anymore and is mapped to <Image>/Filters. Do you really need both menu entries? If not, delete one. If yes, or the position of the entry is not good enough, drag/drop it to a position in the menutree, which is better for you desire. This is, what the program is good for: sorting the scripts to whereever YOU want. With more than one script, of course. You can drag your whole script-directory to the tree-window. The programm reads all scripts and creates something similar to what you see now. And now you can sort all of them to a convenient structure in your gimp-menu.


Top
Post new topic Reply to topic  [ 29 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Any tips for managing an 'epic' map? I appear to be CPU bound.

0

No new posts Attachment(s) very old scripts

11

No new posts Attachment(s) Editing scripts

7

No new posts Attachment(s) Elsamuko scripts

16

No new posts SCRIPTS CONPATIBLE OR NOT

1



* Login  



Powered by phpBB3 © phpBB Group