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
Corla Plankun
May 8, 2007

improve the lives of everyone
Would anyone be interested in making a Windows 7 desktop gadget that does a slideshow of animated gifs?

If you know javascript well enough I am pretty sure it is just a question of modifying C:\Program Files\Windows Sidebar\Gadgets\SlideShow.Gadget\en-US\js\slideShow.js

The reason I'm asking is I downloaded all 125 of these and a desktop gadget seems like the easiest way to make them in to animated desktop backgrounds.

Adbot
ADBOT LOVES YOU

bsaber
Jul 27, 2007
I've been wanting to sort my >1TB collection of pictures that are in Canon's CR2, Panasonic's RW2, and regular DNG RAW formats. Preferably it would organize by date folders in this fashion (nested folders): YEAR -> YEAR_MONTH -> YEAR_MONTH_DAY. I've found a program that does exactly that but it's Windows only and doesn't support Panasonic's RAW format (the program is called PhotoMove in case anyone is interested). The latter isn't a big deal, I could use Adobe's converter to convert them to DNGs. Could someone write up a Python script (preferably in Python3) that will do this by reading the picture's EXIF data (date shot) and would work on Windows, Mac, and Linux? I tried doing this but its a bit beyond my skill level at the moment. Or maybe someone knows of a script or program that will do this?

Ape Agitator
Feb 19, 2004

Soylent Green is Monkeys
College Slice
How feasible would it be to have a text overlay for images that showed info you'd normally need to hover for. I'm guessing javascript is the way to do it. For example, any given fan site will have a gallery of thumbnails that you click to go to the bigger stuff. http://photos.adele-adkins.net/thumbnails.php?album=62 (work safe)
If you hover over any thumbnail you'll get basic information about the link beyond it, specifically the destination image's dimensions. It wouldn't be thumbnail's dimensions but rather the information that displays when you hover the thumbnail (found plenty of javascript solutions that would report the thumbnail's dimensions). Looking at the Source it seems that stuff like that is included in the Title section of the href. Such as:
code:
 <a href="displayimage.php?album=62&pid=2100#top_display_media"><img src="albums/Events/2013/February102013-The55thAnnualGRAMMYAwards/thumb_00004.jpg" 
class="image" width="125" height="125" border="0" alt="00004.jpg" title="Filename=00004.jpg
Filesize=683KiB
Dimensions=1232x2048
Date added=Feb 11, 2013" /><br /></a>
In my mind, this is what it could look like:


Basically hoover up any Dimensions= text and overlay that on images (maybe white text black shadow/outline). Is that possible? Perhaps with a keystroke toggle like Ctrl+Alt+i so it only gets run when you want it to.
Edit: Positioning on the image isn't really important if it's difficult to find the bottom right corner, especially if you can toggle it on or off with a shortcut.

Ape Agitator fucked around with this message at 23:51 on May 22, 2013

thehustler
Apr 17, 2004

I am very curious about this little crescendo
Would somebody be able to either write me or link me to an app that already exists that can take a folder full of files and arrange them into new folders for burning onto the smallest amount of DVDs?

I believe this is called the bin packing problem.

OSX preferred, Windows will do as well. Both? You can have my first born.

Corla Plankun
May 8, 2007

improve the lives of everyone

thehustler posted:

Would somebody be able to either write me or link me to an app that already exists that can take a folder full of files and arrange them into new folders for burning onto the smallest amount of DVDs?

I believe this is called the bin packing problem.

OSX preferred, Windows will do as well. Both? You can have my first born.

It is also commonly known as the "knapsack" problem, and I think this does what you're asking for: http://superuser.com/questions/85466/utility-to-optimally-distribute-files-onto-multiple-dvds

Gromit
Aug 15, 2000

I am an oppressed White Male, Asian women wont serve me! Save me Campbell Newman!!!!!!!
I've heard 'Burn To The Brim' mentioned for this, but I've never used it and don't know if it has a Mac version.

ephphatha
Dec 18, 2009




Colonel Sanders posted:

I am interested in a timer to help me with workout intervals.

I know this was posted a while ago but I'm giving it a go. The format isn't quite what you specified, I use json documents to save/load routines so you end up with a document structure like:

code:
{
  "Routine" : [
    {
      "Name" : "Jumping Jacks",
      "Type" : "Ladder",
      "TimeStep" : 10,
      "Starting Multiplier" : 1,
      "Ending Multiplier" : 9
    },
    {
      "Name" : "Burpees",
      "Type" : "Pyramid",
      "TimeStep" : 10,
      "Starting Multiplier" : 1,
      "Peak Multiplier" : 9,
      "Ending Multiplier" : 1
    }
  ]
}
This describes a simple routine that would have you doing Jumping Jacks for 10 seconds, rest for 10, jumping jacks for 20 seconds, rest for 20, all the way up to 90 seconds of jumping jacks followed by 90 seconds of rest (haven't implemented custom rest periods yet or finalised the format for an interval).

Writing it in Qt so I should be able to compile for linux (but that's untested because I haven't even implemented the fullscreen display yet). Android is not going to be an option.

Gromit
Aug 15, 2000

I am an oppressed White Male, Asian women wont serve me! Save me Campbell Newman!!!!!!!
Would a sleep timer for Windows 7 be simple enough to write? I'm talking about a program that could have a timer value in seconds as a command-line switch and perhaps another that can be sent later as an abort if I decide later to not go ahead with the sleep. In fact, exactly like the Windows shutdown.exe command, but allowing me to put my machine to sleep (as opposed to shutdown or hibernate, which shutdown.exe only seems to handle.)

Right now I have a sleep button on my keyboard that I hit, but sometimes I want to leave my PC doing something for the next X minutes/hours and being able to schedule sleep would be great. I've no idea what the sleep button calls, as this Logitech Internet Navigator keyboard is no longer supported and I think I'm just lucky it works at all.

ephphatha
Dec 18, 2009




Try http://technet.microsoft.com/en-us/sysinternals/bb897541

Not Wolverine
Jul 1, 2007

Ephphatha posted:

I know this was posted a while ago but I'm giving it a go. The format isn't quite what you specified, I use json documents to save/load routines so you end up with a document structure like:

code:
{
  "Routine" : [
    {
      "Name" : "Jumping Jacks",
      "Type" : "Ladder",
      "TimeStep" : 10,
      "Starting Multiplier" : 1,
      "Ending Multiplier" : 9
    },
    {
      "Name" : "Burpees",
      "Type" : "Pyramid",
      "TimeStep" : 10,
      "Starting Multiplier" : 1,
      "Peak Multiplier" : 9,
      "Ending Multiplier" : 1
    }
  ]
}
This describes a simple routine that would have you doing Jumping Jacks for 10 seconds, rest for 10, jumping jacks for 20 seconds, rest for 20, all the way up to 90 seconds of jumping jacks followed by 90 seconds of rest (haven't implemented custom rest periods yet or finalised the format for an interval).

Writing it in Qt so I should be able to compile for linux (but that's untested because I haven't even implemented the fullscreen display yet). Android is not going to be an option.

That look great so far, thanks. I like the document format you have made, that should be able to get the intervals I want. No android is fine, I didn't really need that version.

Gromit
Aug 15, 2000

I am an oppressed White Male, Asian women wont serve me! Save me Campbell Newman!!!!!!!

I'll take a look, thanks. At no point does it specify sleep per se, but maybe the other terms it uses are the same thing.

Corla Plankun
May 8, 2007

improve the lives of everyone

Gromit posted:

I'll take a look, thanks. At no point does it specify sleep per se, but maybe the other terms it uses are the same thing.

Suspend and "Sleep" are the same thing.

Gromit
Aug 15, 2000

I am an oppressed White Male, Asian women wont serve me! Save me Campbell Newman!!!!!!!
In case anyone cares, this worked. I had to write a batch file that would pop up a message window to say it was going to sleep in X minutes, and a shortcut to that so I could run it as admin. PsShutdown wouldn't work unless it had admin rights.

I might improve it by allowing me to pass the number of minutes to wait through the shortcut, rather than having to dig through the filesystem to edit the batch file, but I doubt I'll use it enough to care.

Thanks again.

madeupfred
Oct 10, 2011

by FactsAreUseless
Hey, I've asked for something here already, but this time you might be saving future heartbreak in my family and I will pay you. Is there someone out there willing to write an .exe that completely freezes all input into the computer and displays some message on the screen, like "Stop playing World of Tanks again you goddamn retard we're on to you" (preferably in red comic sans) and plays an mp3 on loop of someone in an obnoxious singsong voice saying "12 hundred United States dollars" over and over really really loud? Thanks in advance!

Imbroglio
Mar 8, 2013

madeupfred posted:

Hey, I've asked for something here already, but this time you might be saving future heartbreak in my family and I will pay you. Is there someone out there willing to write an .exe that completely freezes all input into the computer and displays some message on the screen, like "Stop playing World of Tanks again you goddamn retard we're on to you" (preferably in red comic sans) and plays an mp3 on loop of someone in an obnoxious singsong voice saying "12 hundred United States dollars" over and over really really loud? Thanks in advance!
I can probably do this in a day or two unless I get a bunch of homework tomorrow.

Posting Principle
Dec 10, 2011

by Ralp

madeupfred posted:

Hey, I've asked for something here already, but this time you might be saving future heartbreak in my family and I will pay you. Is there someone out there willing to write an .exe that completely freezes all input into the computer and displays some message on the screen, like "Stop playing World of Tanks again you goddamn retard we're on to you" (preferably in red comic sans) and plays an mp3 on loop of someone in an obnoxious singsong voice saying "12 hundred United States dollars" over and over really really loud? Thanks in advance!

What are the conditions in which it displays?

madeupfred
Oct 10, 2011

by FactsAreUseless

Jerry SanDisky posted:

What are the conditions in which it displays?

Sorry for the delay in response. The only condition for playing should be opening the .exe.

Posting Principle
Dec 10, 2011

by Ralp
I will work on that tonight :q:

Posting Principle
Dec 10, 2011

by Ralp
Here you go :h:

Change the extension to exe for it to work. This disables alt+tab, alt+esc, ctrl+esc, but not ctrl+alt+delete

Tested on windows 8 64 bit but it should run on any windows > NT?? I don't do Windows programming, so let me know if theres an issue.

Pympede
Jun 17, 2005
I think this might be beyond the scope of this thread but I don't know anything about programming. If this is too large of a project can anyone point me in the right direction of where I could get this done for payment?

I work in retail and every summer and winter I need to make floorplans for the store. What would make my life way easier would be a program that could first make a floorplan (I attached what a typical blank floorplan for one department that I use now) and then allow me to enter what sections are needed in that department and their size. For example in sports I need to place hockey sticks, hockey equipment, sleds, etc.

What I was imagining would be that I could input each product class, for example 'Hockey sticks' which is 4 segments, and the program would allow you to drag it onto an aisle and occupy 4 segments of the aisle, or drag hockey so that two segments are either side of the aisle.

It would be great if I could see all of the product classes that still need to be placed on the floorplan, and if it would list how many segments I have filled/free on the floorplan and how many segments I have left to place.

Thanks for any help with this.

more like dICK
Feb 15, 2010

This is inevitable.
It's a bigger request than most in this thread, as far as I can see. Someone may be able to suggest an existing app that will work for you. If not, shoot me an email at saickb at gmail.

more like dICK fucked around with this message at 02:46 on Jun 27, 2013

jordy240
Mar 31, 2011
nevermind, sorry! I found what I was looking for :)

jordy240 fucked around with this message at 04:43 on Jun 27, 2013

Sri.Theo
Apr 16, 2008
Hi friendly programmer people!

I switch languages between Danish and English a lot when I'm typing. But I also have crappy spelling in both languages, so I would very much appreciate it if I something could be created that switches between built in dictionaries with a keyboard shortcut.

In particular I use the Windows 8 Mail and Skype apps but I also use Firefox and Office 2013 on the desktop so I guess that would need something separate?

Would appreciate any help!

pwnyXpress
Mar 28, 2007
I would like a simple app that I can use to get a quick overview list of my music collection. My collection is organized in a simple Artist>Album>Song folder structure. I would love to point an app at my music folder (containing all the artist folders) and read the folders and subfolders (but not song title files) to get output in the form of a text file like so:

Artist Name 1
(tab)Album Title 1
(tab)Album Title 2

Artist Name 2
(tab)Album Title 1

Artist Name 3
(tab)Album Title 1
(tab)Album Title 2
(tab)Album Title 3

and so on

(THIS REQUEST HAS BEEN COMPLETED, THANK YOU)

pwnyXpress fucked around with this message at 17:52 on Jul 17, 2013

SamDabbers
May 26, 2003



pwnyXpress posted:

I would like a simple app that I can use to get a quick overview list of my music collection. My collection is organized in a simple Artist>Album>Song folder structure. I would love to point an app at my music folder (containing all the artist folders) and read the folders and subfolders (but not song title files) to get output in the form of a text file like so:

Artist Name 1
(tab)Album Title 1
(tab)Album Title 2

Artist Name 2
(tab)Album Title 1

Artist Name 3
(tab)Album Title 1
(tab)Album Title 2
(tab)Album Title 3

and so on

What OS do you need this on?

Edit: I made you a PowerShell script. It should work in Windows 7 or 8. Here's how to set it up:
  • Open PowerShell
  • Enter this command to tell the OS you want to be able to run PS scripts: Set-ExecutionPolicy Unrestricted -Scope CurrentUser
  • Enter this command to create the directory where the script needs to be saved: New-Item -ItemType Directory $home\Documents\WindowsPowerShell\Modules\ListDirs
  • Right-click, Save As, name it ListDirs.psm1, and put it in the Documents\WindowsPowerShell\Modules\ListDirs directory you just created.
Now the ListDirs command will automatically be available every time you launch PowerShell.

Example usage:
code:
PS C:\Users\Sam> cd 'L:\iTunes Music'
PS L:\iTunes Music> ListDirs > output.txt
Example output.txt:
code:
Ace of Base
	Happy Nation

Coolio
	Gangsta's Paradise
	It Takes a Thief
I can also make a Mac version if that's your thing. You might also look at Dnuos, which can make more detailed lists of music files.

SamDabbers fucked around with this message at 02:31 on Jul 17, 2013

pwnyXpress
Mar 28, 2007

Thanks! This is perfect!

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

Pympede posted:

I think this might be beyond the scope of this thread but I don't know anything about programming. If this is too large of a project can anyone point me in the right direction of where I could get this done for payment?

I work in retail and every summer and winter I need to make floorplans for the store. What would make my life way easier would be a program that could first make a floorplan (I attached what a typical blank floorplan for one department that I use now) and then allow me to enter what sections are needed in that department and their size. For example in sports I need to place hockey sticks, hockey equipment, sleds, etc.

What I was imagining would be that I could input each product class, for example 'Hockey sticks' which is 4 segments, and the program would allow you to drag it onto an aisle and occupy 4 segments of the aisle, or drag hockey so that two segments are either side of the aisle.

It would be great if I could see all of the product classes that still need to be placed on the floorplan, and if it would list how many segments I have filled/free on the floorplan and how many segments I have left to place.

Thanks for any help with this.



You might think about making something like an excel sheet to represent this. You're basically just talking about putting things in cells. It might sound clunky but any kind of quick program will be equally clunky

Shalhavet
Dec 10, 2010

This post is terrible
Doctor Rope
I'm trying to monitor an executable to find out when it accesses a file in a .package to find out which files in which order it accesses next.

Event occurs in executable.
Executable accesses share.package/res/share/foo.txt
Executable accesses share.package/res/share/foo2.txt
...
Event ends.

I need to know what foo2.txt and the following files are. I know which line in foo.txt it's accessing, but the event is random and I can't determine it. Is this something beyond the scope of this thread, or is there an existing program that could assist me?

SamDabbers
May 26, 2003



It'd be helpful if you could tell us, at minimum, which OS you're using. Also, do you know which language this executable was written with?

If your executable will run on FreeBSD or Solaris, you could potentially use DTrace to intercept the IO request and print the information you seek.

Shalhavet
Dec 10, 2010

This post is terrible
Doctor Rope
I'm running Windows 7 Home Premium 64-bit. I do not know what it was programmed in but the majority of its supporting files appear to use LUA and HTML for in-game elements. It's a main game executable and as far as I know there's only Windows clients. The conditions to trigger the event necessitate it to be running and logged in.

edit: I'd hazard a guess it's either .NET or a C variant.

Shalhavet fucked around with this message at 05:59 on Aug 7, 2013

SamDabbers
May 26, 2003



You could try Process Explorer to see which files the program has opened. It probably won't help you determine the order in which they were opened, but it's a place to start.

Shalhavet
Dec 10, 2010

This post is terrible
Doctor Rope
I forgot about that, had it installed on my old desktop but never installed it on this one. Thanks. I'll give it a shot and post again if it's still a mystery.

Ceros_X
Aug 6, 2006

U.S. Marine
I'm looking for an FTP program that can be set to run only during certain hours and turns off at the appointed time - and supports auto-resume.

Right now I cobbled together WinSCP portable command lines and Task Scheduler but I have no faith that the program is stopping when it should or even that it is working correctly (worked the first day, no files downloaded last night) and pretty much is limited to syncing the remote directory. I only get 15 GB a month with free download hours from 0230-0730 so it is a bit of a pain in the rear end to get anything without staying up late. Ideally I'd be able to que up the files for download and see the program running in the foreground.

Forums upgrade/AV/etc for anyone who wants to take on that task or can recommend me a program that fits the bill (I have tried googleing it with no luck).

Arcsech
Aug 5, 2008

Ceros_X posted:

I'm looking for an FTP program that can be set to run only during certain hours and turns off at the appointed time - and supports auto-resume.

Right now I cobbled together WinSCP portable command lines and Task Scheduler but I have no faith that the program is stopping when it should or even that it is working correctly (worked the first day, no files downloaded last night) and pretty much is limited to syncing the remote directory. I only get 15 GB a month with free download hours from 0230-0730 so it is a bit of a pain in the rear end to get anything without staying up late. Ideally I'd be able to que up the files for download and see the program running in the foreground.

Forums upgrade/AV/etc for anyone who wants to take on that task or can recommend me a program that fits the bill (I have tried googleing it with no luck).

This sounds like it would be pretty easy to bang out in Python - I may do it in the next couple days if nobody else gets to it. I don't know how hard auto-resume is, but I see some discussion on it with a quick Google so it doesn't look too bad.

Edit: I haven't looked to see if there's already something out there either.

evol262
Nov 30, 2010
#!/usr/bin/perl

Arcsech posted:

This sounds like it would be pretty easy to bang out in Python - I may do it in the next couple days if nobody else gets to it. I don't know how hard auto-resume is, but I see some discussion on it with a quick Google so it doesn't look too bad.

Edit: I haven't looked to see if there's already something out there either.

You should just use rsync and ship it with a python library you ran through py2exe. 2 binaries, 100% functionality

Ceros_X
Aug 6, 2006

U.S. Marine
I've continued to search and found that CuteFTP has a schedule option - this is good, but it still doesn't stop downloading at set hours, so I've been looking at external programs to kill the program manually at 0730. I am still interested in whatever you come up with though! (I'd really prefer being able to download individual files vs syncing whole directories, though).

Sagers
Oct 21, 2004

It's all about the teasing and not about the pleasing.
I'd like to request a Greasemonkey script that automatically reveals spoilers on the SA forums without having to mouseover.

Mario
Oct 29, 2006
It's-a-me!

Sagers posted:

I'd like to request a Greasemonkey script that automatically reveals spoilers on the SA forums without having to mouseover.

How about a Stylish script instead? This is just a quick one tested in Firefox that should cover most spoilers; there's probably a few things it misses though:
CSS code:
@namespace url([url]http://www.w3.org/1999/xhtml[/url]);

@-moz-document domain("forums.somethingawful.com") {
    .bbc-spoiler, .bbc-spoiler li {
        background-color: #FAFAFA !important;
        box-shadow: none !important;
        cursor: pointer !important;
    }
    
    .bbc-spoiler img {
        visibility: visible !important;
    }
}
e: This one will show them all without doing anything, I realize now you might have wanted a button to reveal on demand.

Mario fucked around with this message at 03:50 on Sep 5, 2013

Volguus
Mar 3, 2009

Ceros_X posted:

I'm looking for an FTP program that can be set to run only during certain hours and turns off at the appointed time - and supports auto-resume.

Right now I cobbled together WinSCP portable command lines and Task Scheduler but I have no faith that the program is stopping when it should or even that it is working correctly (worked the first day, no files downloaded last night) and pretty much is limited to syncing the remote directory. I only get 15 GB a month with free download hours from 0230-0730 so it is a bit of a pain in the rear end to get anything without staying up late. Ideally I'd be able to que up the files for download and see the program running in the foreground.

Forums upgrade/AV/etc for anyone who wants to take on that task or can recommend me a program that fits the bill (I have tried googleing it with no luck).

Wouldn't something like http://www.freedownloadmanager.org/ work? I believe it does have scheduling. If that won't work for you, there are download managers out there that can help you out.

Adbot
ADBOT LOVES YOU

Sagers
Oct 21, 2004

It's all about the teasing and not about the pleasing.

Mario posted:

How about a Stylish script instead? This is just a quick one tested in Firefox that should cover most spoilers; there's probably a few things it misses though:
CSS code:
@namespace url([url]http://www.w3.org/1999/xhtml[/url]);

@-moz-document domain("forums.somethingawful.com") {
    .bbc-spoiler, .bbc-spoiler li {
        background-color: #FAFAFA !important;
        box-shadow: none !important;
        cursor: pointer !important;
    }
    
    .bbc-spoiler img {
        visibility: visible !important;
    }
}
e: This one will show them all without doing anything, I realize now you might have wanted a button to reveal on demand.

Thanks for the help, didn't know about Stylish until you mentioned it. I installed it and tested it and it does what I was looking for.

  • Locked thread