Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
Sebbe
Feb 29, 2004

ottomatik posted:

Posted this request on the wiki, I think it would be useful. I'd like an app that adds "Print a test page" to the context menu when I right click a printer. That would kick all sorts of rear end.

I thought this would be easy, but it seems I guessed wrong.

What I got to was that it should be possible to do with something like
code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Printers\shell\PrintTestPage]
@="Print a test page"

[HKEY_CLASSES_ROOT\Printers\shell\PrintTestPage\command]
@="printui.exe /k /n %1"
Apparently, "Printers" isn't where you add context menus for printers, though, so I have no clue. Hopefully someone else can pick up on this and finish it.

Adbot
ADBOT LOVES YOU

Sebbe
Feb 29, 2004

Pweller posted:

Requesting an image auto-downloader
-doesn't need a GUI
-windows environment

User provides 4 strings:
1) download directory
2)url pattern of the following form:
http://www.someaddress.com/funstuff/images/DSC267*full.jpg
3)starting string (0-9A-Za-z)
4)end string

The start string will be substituted for the asterisk in the url. The program will download the image (or file) at the url. Then the substituted string will increment by one character and download, until it reaches the end substitution string.

Start and end strings will be of the same length.

e: also will ignore urls that don't exist between the start and end

Sounds like you need TcD.

With TcD you can "fusker".

For an example
code:
fusker http://example.com/gallery/DSC26[00-99].jpg
loads the urls http://example.com/gallery/DSC2600.jpg through http://example.com/gallery/DSC2699.jpg into the link list.

Sadly it doesn't do letters in ranges, but it can still be done using {a,b,...,z} notation. Just a bit more cumbersome.

Sebbe
Feb 29, 2004

Bad Habit posted:

Hey guys,

OK what I'm looking for is a very simple tiny app with only one function, to provide a link from the Windows 7 notification area (i.e. where the volume, WiFi and clock/date icons are) to Google Calendar (https://www.google.com/calendar) using the default browser (Firefox in my case).

This would ideally be in the form of an icon made up of the Google Calendar favicon or something similar.

There doesn't really need to be anything other than that, no options window or notifications, simply a link to the GCal webpage.

Cheers.

TinyAppz.com request:
http://www.tinyappz.com/wiki/Request:1263485608
Filled: Google Calendar Tray (yes, I'm very imaginative.)

Sebbe
Feb 29, 2004

univbee posted:

A hopefully easy request, based on new info from the internet necromancy thread where SA goon Runcible Cat managed to partially resurrect waffleimages (by modifying your hosts file to point img.waffleimages.com to 46.59.2.17, a partial waffleimages mirror), I'd like a browser plugin (I don't really care for which browser) that will automatically download or cache photos that are loaded, but only from a specific domain. Alternatively, a plugin that would just alert me to the fact that the page I'm on has waffleimages-hosted content, with said content highlighted or attention brought to it if possible. I'd like to basically spend a few days just browsing the comedy goldmine and sucking up the good content that's barely clinging to life before it disappears for good.

Here's a simple little userscript that highlights WaffleImages images with an orange border: http://userscripts.org/scripts/show/160820

If you're on Chrome, it'll run in Tampermonkey. If you're on Firefox, it'll probably run in Greasemonkey.

Sebbe
Feb 29, 2004

PPills posted:

I'm not sure if this is the right place but I was using this Tampermonkey script for Ebay to highlight listings that had bids, but after they changed the format, it no longer worked. So I would really appreciate it if someone could show me, a person with no coding experience, how to fix it.

code:
- snip -
I would really appreciate it. Thanks.


Here you go, here's an updated version for you: Install - View source

Sebbe
Feb 29, 2004

PPills posted:

Now, I assume this would not be compatible with the old layout design?

Hard for me to say. If you get any problems, just come and ask again. Should be easy enough to fix.

PPills posted:

Also, I appreciate the fact that your script doesn't prevent the item refinements box from popping up, as the old script completely broke the javascript (or whatever it's called).

I went and simplified the script a bit, so that may be what made it more compatible. :)

Happy to help.

Sebbe
Feb 29, 2004

In the same vein, there's also my extension Video Title Adder (if you use Chrome).

(Though, no automatic conversion to thumbnails; it displays thumbnails on hover, though.)

Adbot
ADBOT LOVES YOU

Sebbe
Feb 29, 2004

Srebrenica Surprise posted:

It seemed like the Python script posted last page was working perfectly but I've used it a few times recently and it now seems to be ignoring natural order (it's going 1, 10, 11, 12, 2, when I can verify from page order on uploaded materials that it was ordering them perfectly before) and also including thumbs.db for some reason, when I can tell it should be specifically excluding it. Some rear end screwed around on my work PC and updated Python but I rolled back to 2.7 to check if that did anything and it didn't seem to fix it. I realize how bizarre this is, but does anyone have any ideas?

Here's a version that enforces natural sorting:

Python code:
import os
import sys
import re

def natural_key(text):
    """ Provides a natural sort key for a string. Taken from http://stackoverflow.com/a/3033342/79061 """
    return [int(s) if s.isdigit() else s for s in re.split(r'(\d+)', text)]

def listfiles(start):
    for dirname, dirnames, filenames in os.walk(start):
        result = ";".join(f for f in sorted(filenames, key=natural_key) if f != 'thumbs.db')
        if result: print result

def main():
    try:
        listfiles(sys.argv[1])
    except IndexError:
        print 'usage: python listfile.py C:\\path\\to\\folder'

if __name__ == '__main__':
    main()

  • Locked thread