Welcome, Guest
Python Scripts for ComicRack

TOPIC: Metadata Info Panel

Re:Metadata Info Panel 7 years 1 month ago #9808

  • perezmu
  • perezmu's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1114
  • Thank you received: 64
  • Karma: 51
600WPMPO wrote:
Another thing I wanted to ask.. how do I change the name of the script ? Suppose I wanted to rename it to "Review Info Panel" (for my use only), where do I make the changes ?

1) Copy the complete folder to a new Folder in the scripts directory called "Review Info Panel"

2) Rename MetadataInfoPanel.py to "ReviewInfoPanel.py" and change as follows:
# ReviewInfoPanel.py
# 
# A simple Comicrack script to display the selected comic metadata in the Infopanel
# 
#
(...)


import System

# A simple script to display the selected comic metadata in the Infopanel
#
#@Name Metadata Info Panel
#@Hook ComicInfoHtml
#@Enabled true

3) Edit "Package.ini" as follows:
Name        = CoverFlow Info Panel

That should work!
Last Edit: 7 years 1 month ago by perezmu.
The administrator has disabled public write access.

Re:Metadata Info Panel 7 years 1 month ago #9814

  • 600WPMPO
  • 600WPMPO's Avatar
  • Offline
  • Moderator
  • Posts: 3788
  • Thank you received: 557
  • Karma: 232
Drybonz wrote:
You should be able to click on any area once it is open in Kompozer and then you will see a light grey margin box on the left side. Try dragging those grey boxes to adjust the size of any area in your project. There may also be an empty cell there. If you right click that area and "select cell" it will highlight it and then you should be able to delete the empty area.
No.. not able to do so. basically, there is a cursor below the ratings field that does not go away even after repeated backspace/delete attempts. Moreover, the $Notes is written a bit below the line that also can not be changed.

perezmu wrote:
600WPMPO wrote:
Another thing I wanted to ask.. how do I change the name of the script ? Suppose I wanted to rename it to "Review Info Panel" (for my use only), where do I make the changes ?
1) Copy the complete folder to a new Folder in the scripts directory called "Review Info Panel"
2) Rename MetadataInfoPanel.py to "ReviewInfoPanel.py" and change as follows:
3) Edit "Package.ini" as follows:
Not able to get that working. Gives some error when i do so.. :(
Now Playing: The ComicRack Manual (Online)

See my new comics & gadgets on: Tumblr!
The administrator has disabled public write access.

Re:Metadata Info Panel 7 years 1 month ago #9816

  • Drybonz
  • Drybonz's Avatar
  • Offline
  • Gold Boarder
  • Posts: 296
  • Thank you received: 1
  • Karma: 9
600WPMPO wrote:
No.. not able to do so. basically, there is a cursor below the ratings field that does not go away even after repeated backspace/delete attempts. Moreover, the $Notes is written a bit below the line that also can not be changed.

Can you upload the html you are trying to modify? I will give it a stab.
The administrator has disabled public write access.

Re:Metadata Info Panel 7 years 1 month ago #9818

  • 600WPMPO
  • 600WPMPO's Avatar
  • Offline
  • Moderator
  • Posts: 3788
  • Thank you received: 557
  • Karma: 232
Drybonz wrote:
Can you upload the html you are trying to modify? I will give it a stab.
Here is the html..

File Attachment:

File Name: ComicInfoP...0906.zip
File Size:1 KB
Now Playing: The ComicRack Manual (Online)

See my new comics & gadgets on: Tumblr!
The administrator has disabled public write access.

Re:Metadata Info Panel 7 years 1 month ago #9819

  • Drybonz
  • Drybonz's Avatar
  • Offline
  • Gold Boarder
  • Posts: 296
  • Thank you received: 1
  • Karma: 9
This was a quick attempt... if it doesn't work, let me know what is wrong and I will try to fix it.

File Attachment:

File Name: ComicInfoP...06-2.zip
File Size:1 KB
Last Edit: 7 years 1 month ago by Drybonz.
The administrator has disabled public write access.

Re:Metadata Info Panel 7 years 1 month ago #9820

  • 600WPMPO
  • 600WPMPO's Avatar
  • Offline
  • Moderator
  • Posts: 3788
  • Thank you received: 557
  • Karma: 232
Drybonz wrote:
This was a quick attempt... if it doesn't work, let me know what is wrong and I will try to fix it.
Yes ! that is perfect.. :)

Thanks for helping me drybonz..! +1 for you..!!
Now Playing: The ComicRack Manual (Online)

See my new comics & gadgets on: Tumblr!
The administrator has disabled public write access.

Re:Metadata Info Panel 7 years 1 month ago #9821

  • Drybonz
  • Drybonz's Avatar
  • Offline
  • Gold Boarder
  • Posts: 296
  • Thank you received: 1
  • Karma: 9
600WPMPO wrote:
Yes ! that is perfect.. :)

Thanks for helping me drybonz..! +1 for you..!!

No problem man... all I did was to move the $notes up to the same table as the ratings, then deleted the other table all together.
The administrator has disabled public write access.

Re:Metadata Info Panel 7 years 1 month ago #9823

  • DarkSir
  • DarkSir's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 8
  • Karma: 1
+1 for Drybonz and +1 for perezmu as soon as it'll let me.

May I suggest adding:
html=String.Replace(html, "$FilePath", b.FilePath)

in a future release, for those of us who like to see the path of the comic file? It's useful in figuring out which duplicate needs to be deleted.

I've already added it to my copy, just wanted to share the idea, in case it would help anyone else.
Last Edit: 7 years 1 month ago by DarkSir.
The administrator has disabled public write access.

Re:Metadata Info Panel 7 years 1 month ago #9826

  • 600WPMPO
  • 600WPMPO's Avatar
  • Offline
  • Moderator
  • Posts: 3788
  • Thank you received: 557
  • Karma: 232
DarkSir wrote:
May I suggest adding:
html=String.Replace(html, "$FilePath", b.FilePath)
in a future release, for those of us who like to see the path of the comic file? It's useful in figuring out which duplicate needs to be deleted.
I've already added it to my copy, just wanted to share the idea, in case it would help anyone else.
Can you please post your copy, dark sir...
Now Playing: The ComicRack Manual (Online)

See my new comics & gadgets on: Tumblr!
The administrator has disabled public write access.

Re:Metadata Info Panel 7 years 1 month ago #9827

  • DarkSir
  • DarkSir's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 8
  • Karma: 1
Can you please post your copy, dark sir...

Sure. This is just the MetadataInfoPanel.py file and my modified copy of drybonz's narrow info panel. I only added the file path in below the title of the comic, before the summary.

File Attachment:

File Name: ComicInfoP...06-3.zip
File Size:3 KB
The administrator has disabled public write access.
Time to create page: 0.227 seconds

Who's Online

We have 214 guests and 6 members online