|
Humble Request I was gonna put this in SA-Mart but someone pointed me here. I'd definitely kick some coin to whomever could do this, but I'd rather the money go to a goon before I try one of those 3rd-party sites. I need a quick and dirty frontend for a thing I'm doing. I want to randomly pick a file from a directory and launch it. See the image below for the background. I'd like it to randomly cycle filenames (sans extension) in the blank space with black font at ~200ms/name (whatever is slow enough that the names are briefly visible, but fast enough to convey motion) before selecting a random filename and displaying it in red for 2 seconds and then launching the file using the command from the config file. The filename display should either auto-size the font to the length of the displayed filename or have a fixed size that's appropriate for up to a 64 character filename. UTF-8 support is super appreciated but not mandatory. In order of preference, I'd like the randomization to start when: * The spin button in the background is clicked * Anywhere in the background is clicked * The app launches Any one of those is fine, but they are ranked in order of preference. I'll have a config file that is roughly: font=Tahoma workingdir=C:\Temp command_line=notepad.exe $1 /exec /f Where: * font is the name of an installed font (so I can find one that looks to my liking). Idk how whatever language you use is gonna need to address fonts, but just document it and I'll make sure my config file works. * workingdir is where all the files to pick from are. UNC support is preferred but not mandatory. * command_line is the command that will be run against the chosen filename. You can change up any of the formatting or however you need the config file to be formatted (idk if it's JSON or something, whatever works). It just needs to support flags. Background image:
|
# ¿ Apr 8, 2019 21:21 |
|
|
# ¿ May 21, 2024 08:26 |
|
How big a project would it be to have a chrome extension that just adds a gear icon and the ratio to tweets, maybe add a colored border to tweets based on their ratio?
|
# ¿ Aug 6, 2019 16:57 |
|
Disregard, I missed a word.
|
# ¿ Dec 17, 2020 21:24 |
|
tactlessbastard posted:I need a hopefully very simple email parser. This is probably complicated by the fact that you're going to try and parse html that wasn't meant for it, and if someone wants to tackle the whole thing head-on, more power to them. If by "time", you mean whatever's listed under "Last Check", whoever is doing this will need access to the raw (sanitized) text of one of the e-mails because they'll need to figure out exactly what the HTML rendering that table is. Otherwise, you can just use a short powershell script like the one below to dump it all out somewhat sanely. Warnings:
That all said, here's a sample script: code:
|
# ¿ Dec 17, 2020 22:21 |
|
tactlessbastard posted:Got it to run, and it is pulling time and placing that in the csv but it is not pulling machine or line. It is creating those columns but not making entries. That means it's probably using HTML #nbsp; for spaces or something. I'd need to see a plaintext dump of the message body to correct the regexes.
|
# ¿ Dec 18, 2020 00:38 |
|
Updated regexes:code:
|
# ¿ Dec 18, 2020 01:36 |
|
tactlessbastard posted:Thank you so much! However, still getting incomplete pulls. Attaching a screenshot. Ah yes, silly typo on my part going from my test machine. code:
|
# ¿ Dec 18, 2020 14:09 |
|
There are 2 things I know for certain: 1. Whatever is happening is hilarious. 2. I've got an army of well-paid dudes showing up in 9 hours to move all my poo poo across town. So, I won't have a chance to look at this until Monday at the earliest. I hope someone ITT can maybe spot the issue before then.
|
# ¿ Dec 19, 2020 06:04 |
|
Sorry, my FiOS gets installed tomorrow morning. I'll take another look then. The problem is that: (A) using "Pattern: (.*)" returned nothing, which I assumed meant that it was using HTML source and the space after the colon was a special character. (B) using "Pattern: ([^<]*)" returns the entire rest of the email (but starts in the correct place) which means that it isn't returning some sort of HTML code in the $email.Body property. If I was doing this with my hand on everything instead of living vicariously through screenshots, I'd have just dumped the body property, figured out exactly what's being returned in what format, and adjusted accordingly, but it's a lot harder without direct access to the data. The only other thought off the top of my head is that maybe < needs to be escaped in the regex because it's a special character. Toshimo fucked around with this message at 06:25 on Dec 23, 2020 |
# ¿ Dec 23, 2020 06:22 |
|
Like this?code:
|
# ¿ Jan 30, 2021 21:19 |
|
tildes posted:I have what I think (?) is a relatively small app: I'm not trying to tell you how to live your best life, but this is one of the primary use cases of Letterboxd, so see if that doesn't cover you before reinventing the wheel.
|
# ¿ Feb 11, 2021 20:23 |
|
nvrgrls posted:Humble Request You probably just want Imagemagick: https://legacy.imagemagick.org/Usage/text/
|
# ¿ Sep 2, 2021 17:06 |
|
lmao I did this the other way around and had it highlight threads on the threadlist, using this bookmarklet: https://pastebin.com/CmtgQGva It works everywhere BUT yospos because lol yospos.css
|
# ¿ May 18, 2022 21:43 |
|
nvrgrls posted:Update: got probated Another goon success story.
|
# ¿ May 20, 2022 15:27 |
|
nvrgrls posted:I'm looking for an app that already exists and I just don't know what to look for to find it. Like goontube?
|
# ¿ Aug 29, 2022 16:22 |
|
|
# ¿ May 21, 2024 08:26 |
|
nvrgrls posted:I don't know because it's not loading for me lol Yeah, in the past I've wanted such a thing for group simulwatches and haven't come up with a good solution.
|
# ¿ Aug 29, 2022 19:55 |