|
Hoborg posted:Redownload it: http://bit.ly/mivMXz error msg: sorry about photobucket, i will remove pic when we get this fixed. foundtomorrow fucked around with this message at 20:39 on May 14, 2011 |
# ? May 13, 2011 03:03 |
|
|
# ? Jun 7, 2024 03:17 |
|
I have a simple but very specific app request for a file renaming and file moving app. I have a bunch of audio files from a podcast, 16 (usually) per day every weekday. Each filename has a date at the beginning; for example, today might be "05-12-11 - Segment 13.mp3". I've gotten as far as putting them in folders by month but I'm trying to find an app that will put them in folders by day; specifically in the format "May 12 2011, Thu" or "May 11 2011, Wed". This can be as simple as a batch file that I toss in a folder full of MP3 files and it just sorts them out. I just need to get these more organized than they are currently. The only part that seems like it could be difficult is putting the day of the week in the folder name but maybe that's really easy and I don't know it. To recap: all filenames start with a date in the format mm-dd-yy and need to be moved into folders with a name format of "May 12 2011, Thu" or "Jan 05 2011, Wed". There are multiple files moving to each folder. If anybody knows of an existing app that would do this, please let me know. Otherwise any help would be greatly appreciated.
|
# ? May 13, 2011 03:09 |
|
foundtomorrow posted:error msg: sorry about photobucket, i will remove pic when we get this fixed. The generic "Failure sending mail" error means that the SMTP server you're connecting to rejected the mail being sent. There are further details that need to be displayed. Redownload the zip, you'll find a text file within saying "Release 4" (so you know that's the one). Rerun the program, and the next time you get that error message you'll be presented with more details that should be able to tell you how to fix the problem yourself (i.e. a misconfiguration of the SMTP config), failing that post the screenshot of the error message in this thread and I'll pick it up in the morning. http://bit.ly/mivMXz
|
# ? May 13, 2011 03:41 |
|
Vykk.Draygo posted:To recap: all filenames start with a date in the format mm-dd-yy and need to be moved into folders with a name format of "May 12 2011, Thu" or "Jan 05 2011, Wed". There are multiple files moving to each folder. Untested, use at your own risk and modify as appropriate. Save this text to a file with a .vbs extension. Double-click to run. code:
|
# ? May 13, 2011 03:53 |
|
Hoborg posted:The generic "Failure sending mail" error means that the SMTP server you're connecting to rejected the mail being sent. There are further details that need to be displayed. Ok, I've pinged the gmail smtp from the command prompt and I can access it just fine. So now the sound option works though! But the run a batch option and the email option generate a windows generic error upon the counter hitting :00 as before.
|
# ? May 13, 2011 04:03 |
|
Hoborg posted:Code code:
|
# ? May 13, 2011 04:23 |
|
Vykk.Draygo posted:
Put a comma between month and day.
|
# ? May 13, 2011 05:17 |
|
saintonan posted:Put a comma between month and day. That was the first thing I tried. The error then became code:
|
# ? May 13, 2011 12:13 |
|
foundtomorrow posted:So now the sound option works though! But the run a batch option and the email option generate a windows generic error upon the counter hitting :00 as before. Can you send me an email with the exact details you're entering in the Action window, including SMTP username and password? Email it here: tinyapp.10.jeff-k@spamgourmet.com If I end up hacking your gmail feel free to petition Lowtax into banning me , alternatively just temporarily change your details or something.
|
# ? May 13, 2011 13:05 |
|
Vykk.Draygo posted:That was the first thing I tried. The error then became Try this: code:
|
# ? May 13, 2011 15:48 |
|
Hoborg posted:Can you send me an email with the exact details you're entering in the Action window, including SMTP username and password? Email it here: tinyapp.10.jeff-k@spamgourmet.com Sent, man. Thanks!
|
# ? May 13, 2011 18:04 |
|
saintonan posted:Try this: code:
|
# ? May 13, 2011 22:53 |
|
Are you sure all your filenames start with mm-dd-yy (that precise series of 8 characters)? You'd only get that error if it can't figure out what the month, day, or year is. My assumption is that all your files are something like 05-12-11 - Segment 13.mp3, like you mentioned in your post. Also, I'm assuming that all your unsorted files are in the root of the tree, and that this VBScript is also in that same directory. For example, if all the unsorted segments are in C:\files, then this script should be there as well, and it will move the entry to C:\files\May 12 11, Thu\05-12-11 - Segment 13.mp3 . If this is not how you have it, let me know. If it is how you have it, then scan the directory and make sure all your entries match the mm-dd-yy - something.mp3 pattern. saintonan fucked around with this message at 23:17 on May 13, 2011 |
# ? May 13, 2011 23:15 |
|
saintonan posted:Are you sure all your filenames start with mm-dd-yy (that precise series of 8 characters)? You'd only get that error if it can't figure out what the month, day, or year is. I neglected to mention (because it didn't seem important) that the file names have segment descriptions after the segment number, but yes, they are all in that format and all in a single folder with the script file. edit: line 37 seems like it's looking for mm/dd/yy but changing it didn't fix anything so I dunno. Vykk.Draygo fucked around with this message at 00:36 on May 14, 2011 |
# ? May 14, 2011 00:30 |
|
Vykk.Draygo posted:edit: line 37 seems like it's looking for mm/dd/yy but changing it didn't fix anything so I dunno. Line 37 is creating mm/dd/yy, because that's a format CDate recognizes. The mm comes from the first two characters of the filename, dd from the fourth and fifth characters, and yy from the 7th and 8th characters of the filename. Find the line just under "Dim dt" and add this line (i.e. this should go between "Dim dt" and "dt = CDate( dtStr )": code:
saintonan fucked around with this message at 01:48 on May 14, 2011 |
# ? May 14, 2011 01:45 |
|
saintonan posted:Line 37 is creating mm/dd/yy, because that's a format CDate recognizes. The mm comes from the first two characters of the filename, dd from the fourth and fifth characters, and yy from the 7th and 8th characters of the filename. 7B/96/B0
|
# ? May 14, 2011 03:00 |
|
Vykk.Draygo posted:7B/96/B0 Okay, that's pretty bizarre. Change the MsgBox line to: code:
|
# ? May 14, 2011 03:31 |
|
saintonan posted:Okay, that's pretty bizarre. Change the MsgBox line to: This is going to be really difficult to type, but here it goes. code:
|
# ? May 14, 2011 03:45 |
|
Vykk.Draygo posted:This is going to be really difficult to type, but here it goes. That long string is what your system thinks the file name is. That isn't really the file name, is it? What system is this running on?
|
# ? May 14, 2011 03:48 |
|
saintonan posted:That long string is what your system thinks the file name is. That isn't really the file name, is it? What system is this running on? Windows 7 x64.
|
# ? May 14, 2011 03:58 |
|
Vykk.Draygo posted:Windows 7 x64. Hmm, that's the same system I've been testing this on. Here's the complete script once again, make sure yours looks exactly like this, especially the two Set lines at the top (lines 10 and 11) and further down where it creates and assigns the fName variable. Make sure there's not a weird typo in your script. code:
|
# ? May 14, 2011 04:13 |
|
saintonan posted:Hmm, that's the same system I've been testing this on. I deleted the original script and copy/pasted that into a new document called script.vbs. Still getting the same problem. Out of curiosity I copied a file into a new folder with the script and renamed the file 05-12-11.mp3 and it still gave the same error.
|
# ? May 14, 2011 04:23 |
|
Vykk.Draygo posted:I deleted the original script and copy/pasted that into a new document called script.vbs. Still getting the same problem. Out of curiosity I copied a file into a new folder with the script and renamed the file 05-12-11.mp3 and it still gave the same error. I'm not sure how your filenames are getting munged. Stick this line on line 15 (right above the "If Instr..." line): code:
|
# ? May 14, 2011 04:46 |
|
saintonan posted:I'm not sure how your filenames are getting munged. C:\Windows\System32\[big string of gibberish] second window is the same gibberish. Meanwhile, these files are saved on the F drive so certainly not in System32.
|
# ? May 14, 2011 05:14 |
|
Vykk.Draygo posted:C:\Windows\System32\[big string of gibberish] Find the line (line 11) that reads 'Set dir = fso.GetFolder(".")' and change what's in the parentheses to the base directory where the files are stored. For example, if the unsorted files are in F:\files, make the line look like: code:
|
# ? May 14, 2011 05:20 |
|
saintonan posted:Find the line (line 11) that reads 'Set dir = fso.GetFolder(".")' and change what's in the parentheses to the base directory where the files are stored. For example, if the unsorted files are in F:\files, make the line look like: It popped up a dialog box for every single file and one for each time it moved each file (boy was that a chore to click through) but it worked Now that the problem is narrowed down, is there a way to make it folder independent so I don't have to add the directory to the script every time?
|
# ? May 14, 2011 05:36 |
|
Vykk.Draygo posted:It popped up a dialog box for every single file and one for each time it moved each file (boy was that a chore to click through) but it worked Let me try something a little more indirect. Replace the top of your script with this: code:
This is a long way around figuring out where your current directory is. Hopefully when you run this, you'll get a message box that returns the current path. Move the script around into different directories to verify that it changes with you. If the script starts returning "C:\windows\system32" + gibberish again, then I'll have to come up with an even more convoluted solution.
|
# ? May 14, 2011 05:50 |
|
saintonan posted:Works perfectly. Thank you very much.
|
# ? May 14, 2011 05:59 |
|
Vykk.Draygo posted:Works perfectly. Thank you very much. I just got back to this thread. I salute saintonan for dealing with the fallout from my program there Back to dealing with foundtomorrow. I've received his email and found a couple of bugs that I've fixed in the latest version that's now available for download: http://bit.ly/mivMXz (identified as Release 5). However whenever I sent emails via Gmail's SMTP servers I get timeouts. I can't see any obvious reason for this, and I have no problems when using my own SMTP server. You should try your ISP's SMTP servers or another server.
|
# ? May 14, 2011 20:07 |
|
Hoborg posted:I just got back to this thread. I salute saintonan for dealing with the fallout from my program there Everything works perfectly now, Hoborg. Thanks very much, sir.
|
# ? May 14, 2011 20:39 |
|
Looking for an app that calculates barbell weight for lifting. Similar to this: http://www.appsfuze.com/applications/windowsphone.fitness/barbell-calculator,5546 Taking into account the bar is 45 lbs. I want to be able to enter in 285 and see what weights are needed to put on the bar. Increments are 2.5lbs, 5, 10, 25, 35, 45.
|
# ? May 15, 2011 20:51 |
|
Jihad Me At Hello posted:Looking for an app that calculates barbell weight for lifting. Similar to this: Can you honestly not figure that out in your head? Maybe you should spend less time lifting weight and more time practicing elementary math.
|
# ? May 15, 2011 21:56 |
|
Oh come on, I wrote a program to do this when I was twelve, the least-coins-to-make-change problem. It's simple and useful. Don't be a yutz about it.
|
# ? May 15, 2011 22:01 |
|
Factory Factory posted:Oh come on, I wrote a program to do this when I was twelve, the least-coins-to-make-change problem. It's simple and useful. Don't be a yutz about it. There are lots of numbers to add here. Sure adding 10 to 10 is easy, beyond that? I'm no mathematicion.
|
# ? May 16, 2011 00:19 |
|
Jihad Me At Hello posted:Looking for an app that calculates barbell weight for lifting. Similar to this: You can solve this with Javascript. Copy and paste the following into a new bookmark on your browser (including your browser on your phone). Just tap the bookmark and you'll get a prompt and you can use it from there: I had to insert manual new-lines so this wouldn't break the table. I suggest copying this into notepad (or some other text editor or the Notes app on iPhone) to remove the new-lines and then pasting into your bookmarks. code:
The trick to getting it working on your iPhone (assuming you're an apostle of Steve Jobs, as opposed to Steve Ballmer) is a bit convoluted:
EDIT2: For future reference, below is the non-condensed "source" version in case you ever want to make any changes (be sure to condense it afterwards): code:
Hoborg fucked around with this message at 01:01 on May 16, 2011 |
# ? May 16, 2011 00:45 |
|
Jihad Me At Hello posted:There are lots of numbers to add here. Sure adding 10 to 10 is easy, beyond that? I'm no mathematicion. I was telling off the guy who posted above me, not you.
|
# ? May 16, 2011 00:51 |
|
Factory Factory posted:I was telling off the guy who posted above me, not you. You rule, Hoborg rules. Awesome.
|
# ? May 16, 2011 01:44 |
|
Jihad Me At Hello posted:Hoborg rules. He does.
|
# ? May 16, 2011 01:58 |
|
I hate to ask because I feel like there should be one and I just don't know where it is, but could someone make or point me to an app/webpage that could combine a large (1000 page) somethingawful thread into one large text file?
|
# ? May 26, 2011 02:35 |
|
|
# ? Jun 7, 2024 03:17 |
|
Red_Mage posted:I hate to ask because I feel like there should be one and I just don't know where it is, but could someone make or point me to an app/webpage that could combine a large (1000 page) somethingawful thread into one large text file? Might be worth having a look in the Lets Play subforum. They've got a script used to prepare threads for hosting on the Lets Play Archive which pulls posts by a specific author or authors into an HTML file with images/quotes etc. preserved. I can't find the link to it though.
|
# ? May 26, 2011 08:44 |