Welcome, Guest
Python Scripts for ComicRack

TOPIC: Metadata Info Panel

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

  • 600WPMPO
  • 600WPMPO's Avatar
  • Offline
  • Moderator
  • Posts: 3788
  • Thank you received: 557
  • Karma: 232
thanks for that.!!
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 #9830

  • perezmu
  • perezmu's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1112
  • Thank you received: 64
  • Karma: 51
600WPMPO wrote:
Not able to get that working. Gives some error when i do so.. :(

Uuuum... did you copy my thing literally?

Maybe this is the problem:
# A simple Comicrack script to display the selecte
d comic metadata in the Infopanel
#
#
(...)


import System

# A simple script to display the selected
# comic metadata in the Infopanel

Try this:
# A simple Comicrack script to display
# the selected comic metadata in the Infopanel
#
(...)


import System

# A simple script to display the selected comic me tadata in the Infopanel

If not, upload your files and I will change them for you.
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 #9832

  • DarkSir
  • DarkSir's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 8
  • Karma: 1
Oh, one thing I noticed. You can't use Wordpad to edit the .py files. They cease to work, if you do.
The administrator has disabled public write access.

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

  • perezmu
  • perezmu's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1112
  • Thank you received: 64
  • Karma: 51
DarkSir wrote:
Oh, one thing I noticed. You can't use Wordpad to edit the .py files. They cease to work, if you do.


I'd recomend Notepad++
The administrator has disabled public write access.

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

  • cYo
  • cYo's Avatar
  • Offline
  • Moderator
  • Posts: 3476
  • Thank you received: 675
  • Karma: 181
It would be really cool to have some js layout code in the html.
Also maybe some A+/A- buttons to reduce the size of the text/layout.
The administrator has disabled public write access.

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

  • perezmu
  • perezmu's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1112
  • Thank you received: 64
  • Karma: 51
cYo wrote:
It would be really cool to have some js layout code in the html.
Also maybe some A+/A- buttons to reduce the size of the text/layout.

I will check that! I just wanted to post my other "fun stuff" first :blink:
The administrator has disabled public write access.

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

  • perezmu
  • perezmu's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1112
  • Thank you received: 64
  • Karma: 51
cYo wrote:
It would be really cool to have some js layout code in the html.
Also maybe some A+/A- buttons to reduce the size of the text/layout.

Almost there! The layout is now somewhat dynamic and I have running buttons for increasing and decreasing the size of the picture and the text, but I cannot seem to be able to save this to a cookie to save it for next sessions...
The administrator has disabled public write access.

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

  • 600WPMPO
  • 600WPMPO's Avatar
  • Offline
  • Moderator
  • Posts: 3788
  • Thank you received: 557
  • Karma: 232
perezmu wrote:
Almost there! The layout is now somewhat dynamic and I have running buttons for increasing and decreasing the size of the picture and the text, but I cannot seem to be able to save this to a cookie to save it for next sessions...
Wow.. I cant seem to wait :)
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 #10086

  • cYo
  • cYo's Avatar
  • Offline
  • Moderator
  • Posts: 3476
  • Thank you received: 675
  • Karma: 181
I will look into the cookie issue.
If cookies are not working in this environment I'll add a custom scriptable property store API to ComicRack (something like GetProperty(key), StoreProperty(key,value)). This way you can save session settings.
The administrator has disabled public write access.

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

  • perezmu
  • perezmu's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1112
  • Thank you received: 64
  • Karma: 51
cYo wrote:
I will look into the cookie issue.
If cookies are not working in this environment I'll add a custom scriptable property store API to ComicRack (something like GetProperty(key), StoreProperty(key,value)). This way you can save session settings.

Well I did not get it to work with cookies (even though they work in Explorer), but I solved it by simply writing and reading to local files :woohoo:

Just a few things to finish(all of a sudden I get some unicode failures I am not sure where they come from, maybe new CR version), and I will put this up later today!!!

Cheers
:woohoo:
The administrator has disabled public write access.
Time to create page: 0.242 seconds

Who's Online

We have 207 guests and 6 members online