Conquer Club

Greasemonky Script - Saved Searchs

Archival storage to keep things organized and uncluttered. Can't find what you need? Search for old topics here.

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.

Re: Greasemonky Script - Saved Searchs

Postby Dukasaur on Sun Jun 05, 2011 9:04 pm

mpjh wrote:It can work -- select the tournament first then save to bookmark


I've tried that. Many times. It did work when they fixed it after the first change to Game Finder. It no longer works since the second change to Game Finder. You can select a tournament and save it, but when you try to Run a saved search you just get a raw dump of all the games on CC right back to Game 1.

My theory is that Saved Search is correctly returning the name of the tournament to the type-in space where the tournament used to go, but since that space no longer exists the name is going nowhere.
“‎Life is a shipwreck, but we must not forget to sing in the lifeboats.”
― Voltaire
User avatar
Lieutenant Dukasaur
Community Coordinator
Community Coordinator
 
Posts: 27029
Joined: Sat Nov 20, 2010 4:49 pm
Location: Beautiful Niagara
32

Re: Greasemonky Script - Saved Searchs

Postby mpjh on Sun Jun 05, 2011 9:16 pm

OMG, you are right, it doesn't work again
Cadet mpjh
 
Posts: 6714
Joined: Mon Jun 30, 2008 1:32 am
Location: gone

Re: Greasemonky Script - Saved Searchs

Postby ender516 on Sun Jun 05, 2011 9:22 pm

So to load a saved search with a tournament, this script will have to emulate what the [find a tournament] link does and force the drop-down to appear with the right value in it. I have GOT to learn more about the scripting language. I know what needs to be done to fix something like this, but don't know how to do it.
User avatar
Sergeant 1st Class ender516
 
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario

Re: Greasemonky Script - Saved Searchs

Postby mpjh on Sun Jun 05, 2011 9:30 pm

lol -- I tell my wife that all the time.
Cadet mpjh
 
Posts: 6714
Joined: Mon Jun 30, 2008 1:32 am
Location: gone

Re: Greasemonky Script - Saved Searchs

Postby ender516 on Sun Jun 05, 2011 9:42 pm

So the answer is hire a handyman. We need a scripting guru.
User avatar
Sergeant 1st Class ender516
 
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario

Re: Greasemonky Script - Saved Searchs

Postby mpjh on Sun Jun 05, 2011 9:53 pm

A handywoman would prolly be more interesting.
Cadet mpjh
 
Posts: 6714
Joined: Mon Jun 30, 2008 1:32 am
Location: gone

Re: Greasemonky Script - Saved Searchs

Postby ender516 on Sun Jun 05, 2011 10:02 pm

I'll bet you don't tell your wife that (unless she is the handywoman).
User avatar
Sergeant 1st Class ender516
 
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario

Re: Greasemonky Script - Saved Searchs

Postby chipv on Mon Jun 06, 2011 2:32 am

ender516 wrote:So to load a saved search with a tournament, this script will have to emulate what the [find a tournament] link does and force the drop-down to appear with the right value in it. I have GOT to learn more about the scripting language. I know what needs to be done to fix something like this, but don't know how to do it.


Not had a look at this yet, but you can save me or a scripting guru some time by revealing your solution.
User avatar
Lieutenant chipv
 
Posts: 2751
Joined: Mon Apr 28, 2008 5:30 pm

Re: Greasemonky Script - Saved Searchs

Postby ender516 on Mon Jun 06, 2011 8:24 am

chipv wrote:
ender516 wrote:So to load a saved search with a tournament, this script will have to emulate what the [find a tournament] link does and force the drop-down to appear with the right value in it. I have GOT to learn more about the scripting language. I know what needs to be done to fix something like this, but don't know how to do it.


Not had a look at this yet, but you can save me or a scripting guru some time by revealing your solution.


Sorry, I guess I am overselling it to say I know what to do. All I have is what I said above. I guess that means finding out how, once you have selected a tournament from the popup finder, the name of the tournament gets put into and selected in a drop-down menu on the game finder which initially is not even visible. I have no idea how complex that would be.
User avatar
Sergeant 1st Class ender516
 
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario

Re: Greasemonky Script - Saved Searchs

Postby chipv on Mon Jun 06, 2011 2:45 pm

ender516 wrote:
chipv wrote:
ender516 wrote:So to load a saved search with a tournament, this script will have to emulate what the [find a tournament] link does and force the drop-down to appear with the right value in it. I have GOT to learn more about the scripting language. I know what needs to be done to fix something like this, but don't know how to do it.


Not had a look at this yet, but you can save me or a scripting guru some time by revealing your solution.


Sorry, I guess I am overselling it to say I know what to do. All I have is what I said above. I guess that means finding out how, once you have selected a tournament from the popup finder, the name of the tournament gets put into and selected in a drop-down menu on the game finder which initially is not even visible. I have no idea how complex that would be.


Currently impossible to solve with scripts, the site code has to be changed to give scripts a chance to access the tournament name in the same window.
Whilst it may be possible to get the tournament right the first time, the window is not closed down after every search meaning it would be unwieldy to try and extract the information but I'm not going to even attempt it as the site has a better solution.
User avatar
Lieutenant chipv
 
Posts: 2751
Joined: Mon Apr 28, 2008 5:30 pm

Re: Greasemonky Script - Saved Searchs

Postby mpjh on Mon Jun 06, 2011 4:42 pm

oh well, thanks guys -- we have a work-around that Andy gave us -- we just need to use it more.
Cadet mpjh
 
Posts: 6714
Joined: Mon Jun 30, 2008 1:32 am
Location: gone

Re: Greasemonky Script - Saved Searchs

Postby chipv on Tue Jun 07, 2011 2:27 am

mpjh wrote:oh well, thanks guys -- we have a work-around that Andy gave us -- we just need to use it more.


How about sharing that information.
User avatar
Lieutenant chipv
 
Posts: 2751
Joined: Mon Apr 28, 2008 5:30 pm

Re: Greasemonky Script - Saved Searchs

Postby SirSebstar on Tue Jun 07, 2011 5:05 am

will be done
Image
User avatar
Major SirSebstar
 
Posts: 6969
Joined: Fri Oct 27, 2006 7:51 am
Location: SirSebstar is BACK. Highscore: Colonel Score: 2919 21/03/2011

Re: Greasemonky Script - Saved Searchs

Postby Dukasaur on Tue Jun 07, 2011 7:26 am

chipv wrote:Whilst it may be possible to get the tournament right the first time, the window is not closed down after every search meaning it would be unwieldy to try and extract the information but I'm not going to even attempt it as the site has a better solution.


Yeah this morning's update is perfect. lack has basically put an active tournaments window in for TO's which is 90% of what I used saved searches for anyway. For the non-tournament games the utility works as before, so we're fine!
“‎Life is a shipwreck, but we must not forget to sing in the lifeboats.”
― Voltaire
User avatar
Lieutenant Dukasaur
Community Coordinator
Community Coordinator
 
Posts: 27029
Joined: Sat Nov 20, 2010 4:49 pm
Location: Beautiful Niagara
32

Re: Greasemonky Script - Saved Searchs

Postby chipv on Sat Sep 03, 2011 6:58 am

Apologies but this tool will be discontinued unless the Tech Team wishes to appoint a new keeper, I will not be doing any more work on tools.
User avatar
Lieutenant chipv
 
Posts: 2751
Joined: Mon Apr 28, 2008 5:30 pm

Previous

Return to Tool Archives

Who is online

Users browsing this forum: No registered users