GSAK Macro to create a banner

Discussion about software such as GSAK, OziExplorer etc, as well as all things hardware, GPSrs, laptops, PDAs, paperless caching, cables etc
Post Reply
User avatar
delboy1203
300 or more found
300 or more found
Posts: 176
Joined: 06 June 07 2:17 am
Twitter: delboy1203
Location: Lilydale, Victoria
Contact:

GSAK Macro to create a banner

Post by delboy1203 » 07 May 09 11:32 pm

OK, this is my first ever attempt at writing a macro for GSAK. I have no experience at all, but managed to piece this together from bits and pieces that I found on the GSAK website. <p>
The macro will take your finds from GSAK and create a banner from the data. You can then take the HTML created and paste this into your GC.com or GCA.com profile. <p>
Why, I hear you say? Because I was tired of pasting a GC.com banner AND a GCA.com banner into my profile. And if you use GSAK for Waymarking, these stats will be included too!<p>
If you want to see the result before you download the macro, looky see here.<p>

Download file here. (http://snurl.com/hjl6j)
<p>
All feedback appreciated - constructive or otherwise!

diesel69
250 or more caches found
250 or more caches found
Posts: 130
Joined: 11 February 04 8:14 pm
Location: Port Lincoln South Oz

Post by diesel69 » 08 May 09 11:36 am

Looks interesting will give it a whirl later.

User avatar
delboy1203
300 or more found
300 or more found
Posts: 176
Joined: 06 June 07 2:17 am
Twitter: delboy1203
Location: Lilydale, Victoria
Contact:

Post by delboy1203 » 08 May 09 2:31 pm

I'll try to pretty things up and actually add the Waymarking icon to the script this weekend! :shock:

User avatar
caughtatwork
Posts: 17017
Joined: 17 May 04 12:11 pm
Location: Melbourne
Contact:

Post by caughtatwork » 08 May 09 2:44 pm

What does it look like? Got an example online?

Damo.
Posts: 2183
Joined: 04 April 04 5:01 pm
Location: Jannali

Post by Damo. » 08 May 09 4:47 pm

caughtatwork wrote:What does it look like? Got an example online?
I presume it's the beige box with cache icons on the profile page linked in the OP.

What's the ammo can icon? Have you only found one?
Mouseover text to say what they represent could be useful?

User avatar
caughtatwork
Posts: 17017
Joined: 17 May 04 12:11 pm
Location: Melbourne
Contact:

Post by caughtatwork » 08 May 09 6:38 pm

Oh,on that site :-)
Quite nice, yes.
alt text and title text on the image would indeed be nice.

Team Rubik
Posts: 310
Joined: 24 October 05 2:47 pm
Location: Shepparton

Post by Team Rubik » 08 May 09 7:09 pm

delboy1203 wrote:I'll try to pretty things up and actually add the Waymarking icon to the script this weekend! :shock:
And Wherigo?

User avatar
Mr Router
1500 or more caches found
1500 or more caches found
Posts: 2782
Joined: 22 May 05 11:59 am
Location: Bathurst

Post by Mr Router » 08 May 09 7:25 pm

Thats pretty cool 8)

User avatar
delboy1203
300 or more found
300 or more found
Posts: 176
Joined: 06 June 07 2:17 am
Twitter: delboy1203
Location: Lilydale, Victoria
Contact:

Post by delboy1203 » 09 May 09 10:54 am

Like I said, first attempt...<p>
Not sure how to get the alt text yet, will work on that.<p>
The ammo can was "other" caches 'cos I couldn't find an icon at the time. I have now, so will change it when I add the Waymarking icon. I will also look at adding the Whereigo icon.<p>
What kind of title text would you like? I tried adding various banners, but the table width is variable, so it sometimes looks out of place (if you have loads of finds for example).

User avatar
delboy1203
300 or more found
300 or more found
Posts: 176
Joined: 06 June 07 2:17 am
Twitter: delboy1203
Location: Lilydale, Victoria
Contact:

Post by delboy1203 » 09 May 09 11:00 am

Damo. wrote:
caughtatwork wrote:What does it look like? Got an example online?
I presume it's the beige box with cache icons on the profile page linked in the OP.

What's the ammo can icon? Have you only found one?
Mouseover text to say what they represent could be useful?
<p>
Yet to find an ammo can... besides the one at WWFM events! :(

User avatar
caughtatwork
Posts: 17017
Joined: 17 May 04 12:11 pm
Location: Melbourne
Contact:

Post by caughtatwork » 09 May 09 12:02 pm

On the image add the following attributes:
alt="name of container" title="name of container"

Then when IE or FF users mouse over the image it pops up a tooltip saying what the image is.

User avatar
delboy1203
300 or more found
300 or more found
Posts: 176
Joined: 06 June 07 2:17 am
Twitter: delboy1203
Location: Lilydale, Victoria
Contact:

Update!!

Post by delboy1203 » 13 May 09 8:07 pm

Version 1.2 now online<p>

:!: New :!: <br>
Added Mouseover descriptions<br>
Added 'Whereigo' & 'Waymarking' icons<br>
Added 'Mega Event' icon in preparation for next year :lol: <p>

Have found an error that I am working on. The number of hides only works for me :oops: <p>

PS: I have also cleaned up the code a bit...

Post Reply