Something to make sorting notes a bit easier...

General out-of-character discussion among players of Cantr II.

Moderators: Public Relations Department, Players Department

User avatar
joo
Posts: 5021
Joined: Fri Jun 17, 2005 2:26 pm
Location: London, UK

Something to make sorting notes a bit easier...

Postby joo » Wed Sep 09, 2009 8:32 pm

http://joo.freehostia.com/greasemonkey/ ... ll.user.js

This is a Greasemonkey script I wrote that adds a "Check/uncheck all" control to the multiple note operation screen, which should make it easier when large numbers of notes need to be moved.

That is, until something like this is actually implemented in the game.
User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Postby Doug R. » Wed Sep 09, 2009 9:46 pm

How does it work? The link goes right to the code.
Hamsters is nice. ~Kaylee, Firefly
User avatar
*Wiro
Posts: 5855
Joined: Mon Sep 29, 2008 1:24 pm

Postby *Wiro » Wed Sep 09, 2009 9:49 pm

Doug R. wrote:How does it work? The link goes right to the code.


https://addons.mozilla.org/en-US/firefox/addon/748


@Joo - This is great. :) Thanks! Any possibility of adding this to the envelopes as well? So you can easily empty envelopes?
Read about my characters by following this link.
User avatar
joo
Posts: 5021
Joined: Fri Jun 17, 2005 2:26 pm
Location: London, UK

Postby joo » Wed Sep 09, 2009 11:02 pm

Oh right. Envelopes. I didn't take that into account. One minute...

Edit: hmm... it does work for envelopes. You must be talking about adding checkboxes to the inventory screen. I have thought about that, but it won't be as straightforward as this was. I'll post the code if I ever do something like that.
User avatar
*Wiro
Posts: 5855
Joined: Mon Sep 29, 2008 1:24 pm

Postby *Wiro » Thu Sep 10, 2009 12:51 pm

No. When you open an envelope there are often huge lists of notes. All with checkboxes, it'd be neat to have a check all option there too.
Read about my characters by following this link.
User avatar
joo
Posts: 5021
Joined: Fri Jun 17, 2005 2:26 pm
Location: London, UK

Postby joo » Thu Sep 10, 2009 9:25 pm

Added the checkbox for envelopes. Reinstall the script to update.
User avatar
*Wiro
Posts: 5855
Joined: Mon Sep 29, 2008 1:24 pm

Postby *Wiro » Thu Sep 10, 2009 9:27 pm

You just made the life of my walking library character tons easier. Thanks! :)
Read about my characters by following this link.
User avatar
Elros
Posts: 1511
Joined: Sat Jul 22, 2006 5:41 pm
Location: South Carolina, USA

Postby Elros » Fri Sep 11, 2009 3:07 pm

Awesome Joo! :)
Every action has a consequence.
User avatar
Joshuamonkey
Owner/GAB Chair/HR Chair/ProgD
Posts: 4529
Joined: Sun May 01, 2005 3:17 am
Location: Quahaki, U. S. A.
Contact:

Postby Joshuamonkey » Sat Sep 12, 2009 11:27 pm

I've been waiting for this option for a long time! ..but I don't know how to make it work.

https://addons.mozilla.org/en-US/firefox/addon/748

It needs to be used on firefox? How do you make an addon like that?
Joshuamonkey's Blog
http://doryiskom.myminicity.com/
https://writealyze.com
"Don't be afraid to be different, but be as good as you can be." - President James E. Faust
I'm LDS, play the cello, and run.
User avatar
*Wiro
Posts: 5855
Joined: Mon Sep 29, 2008 1:24 pm

Postby *Wiro » Sat Sep 12, 2009 11:49 pm

In firefox you just click the button, then click install and it's installed.
Read about my characters by following this link.
User avatar
Joshuamonkey
Owner/GAB Chair/HR Chair/ProgD
Posts: 4529
Joined: Sun May 01, 2005 3:17 am
Location: Quahaki, U. S. A.
Contact:

Postby Joshuamonkey » Sun Sep 13, 2009 12:26 am

Does it have to be used on firefox? How did it go from being a code to an add on?
Joshuamonkey's Blog
http://doryiskom.myminicity.com/
https://writealyze.com
"Don't be afraid to be different, but be as good as you can be." - President James E. Faust
I'm LDS, play the cello, and run.
Helmaroc
Posts: 106
Joined: Sat Apr 19, 2008 12:16 am

Postby Helmaroc » Sun Sep 13, 2009 12:37 am

Joshuamonkey wrote:Does it have to be used on firefox? How did it go from being a code to an add on?


Yes, I think it does. It's not an add-on, the add-on is Greasemonkey, joo has made a code for Greasemonkey. Greasemonkey allows you to customize websites with javascript.
User avatar
joo
Posts: 5021
Joined: Fri Jun 17, 2005 2:26 pm
Location: London, UK

Postby joo » Sun Sep 13, 2009 6:01 pm

I have made some changes to allow the script to work correctly on other browsers. I have tested it on the most recent versions of the following browsers (the links give more specific information on how to use userscripts with that browser):
And yes, the script its self is not an add-on to Firefox, but does require an add-on to run. In Firefox, if you have Greasemonkey installed, you should get the option to install the script when you navigate to the link in the OP.

Safari users may also be able to install the script using Greasekit, however I have not tested this myself (and it looks like it may only work on Macs).

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest