Welcome Guest.   Make a donation to an author on the site April 23, 2014, 01:23:59 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Free DonationCoder.com Member Kit: Submit Request.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: IDEA: A quick script to enter some info and have it open some links  (Read 4381 times)
sabot7726
Supporting Member
**
Posts: 27


View Profile Give some DonationCredits to this forum member
« on: March 26, 2008, 11:06:42 PM »

I play warcraft and very frequently need to look up people and check their equipment, reputation, board posts etc. So far I've managed to do it all individually at the search page I made at http://www.computerwhatever.com/ww/search.html, but I know there's a way to make it so I only have to enter the realm and playername once and have it open a website with all those searches done automatically.

It seems as simple as taking in 2 variables, realm and username, then plugging those variables in to the url or feeding it to the page via the form post method.

I was playing with ahk but I'm horrible when it comes to variables, and also couldn't figure out how to make all the pages show up in the same browser window like via frames.

I'm sure someone with some actual coding skills can do this in 10 seconds :p
Logged
lanux128
Global Moderator
*****
Posts: 6,047



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: March 27, 2008, 12:21:57 AM »

btw, i happen to have a ready script in ahk, so what are the url, parameters & etc?

p.s. a bookmarklet/favelet could do the trick as well.
Logged

sabot7726
Supporting Member
**
Posts: 27


View Profile Give some DonationCredits to this forum member
« Reply #2 on: March 27, 2008, 02:18:03 AM »

Well here's an example of what I would use it for. On that page all the searches are geared for Balnazzar since it's the server I play on. I have to kinda hardcode the server variable with hidden inputs and stuff, then pass the playername variable in via the input box. Instead of 4 separate input boxes that are all individually asking for the player name, I'd rather ask once and then pass the playername variable to all 4 input boxes and open them on the same browser page separated by frames or something. :p

I guess I really just need to know how to take the playername and inject it into the <form> code for all 4 Sad
Logged
lanux128
Global Moderator
*****
Posts: 6,047



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: March 27, 2008, 11:12:03 PM »

sabot7726, here's a proto-type of what i had made but i'm still working on the frames. btw, something came up so i'll post this after the weekend.



Logged

sabot7726
Supporting Member
**
Posts: 27


View Profile Give some DonationCredits to this forum member
« Reply #4 on: March 27, 2008, 11:13:14 PM »

Wow sweet smiley Can't wait.

Oh to clarify, the thottbot, curse, wowhead and google searches are for anything like equipment and quest information. The armory, forum post, warcraftrealms.com and rep calc search boxes are the only ones that have a need for the realm and name input boxes.

Are you using ahk to make it?

smiley
« Last Edit: March 27, 2008, 11:15:52 PM by sabot7726 » Logged
lanux128
Global Moderator
*****
Posts: 6,047



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #5 on: March 28, 2008, 02:04:25 AM »

ok, i managed to squeeze in some time and finished it but i can't test extensively since i don't play WoW. btw, do let me know if any of the site doesn't work. have fun! Wink

-edit: yes, it was done in AHK and don't worry about the "realm" input boxes, it is not used if not required by the website. though i'm not sure of the rep calc site as it uses an extra variable - US/EU, which i had hard-coded as US. let me know if you need the EU parameter.

Search result


-edit2: attaching the source.

* WoW-Search.zip (243.28 KB - downloaded 226 times.)
* WoW-Search-source.zip (6.3 KB - downloaded 200 times.)
« Last Edit: March 31, 2008, 10:23:17 PM by lanux128 » Logged

sabot7726
Supporting Member
**
Posts: 27


View Profile Give some DonationCredits to this forum member
« Reply #6 on: March 28, 2008, 02:45:23 AM »

It works pretty good :p

One issue is that some of the urls require an id for the server, at the moment its hard coded for Balnazzar...if you made it in AHK I could probably tweak it to say if its this server, use this id, etc.

Also if we added another input we could use it to search for items on wowhead/thottbot/google.

I really appreciate your quick work on this, especially since you don't even play warcraft :p I'd be more than happy to help tweak it so its even more useful for a large number of players. smiley
Logged
lanux128
Global Moderator
*****
Posts: 6,047



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #7 on: March 31, 2008, 10:22:25 PM »

sure, no problem. Thmbsup since the script works fine, i'll post the source in the above thread. also, if the included image/icons have any copyrights attached to them, please notify me so that i can remove and re-attach the source without them.
Logged

Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.034s | Server load: 0.22 ]