Jump to content
Ketarin forum

Omniferum

Members
  • Posts

    304
  • Joined

  • Last visited

Everything posted by Omniferum

  1. Well now that i've creamed my panties oh so very slightly. Someone now inform me how the bloody hell do I donate to Wonderful Mr. Floele? I've never donated anything before to any program's creator but seriously i'm off the walls with how much I love this program. Having global user defined variables and just a lot of extra stuff makes this a brilliant program, i'm happy I found it. Someone tell me, pwetty pwease. Only thing left is trying to figure out why even when I give Ketarin a direct link to sourceforge firefoxportable and thunderbidportable all I get is a junk exe file.
  2. Well I left it be for a few days, general frustration. Came back, and seeing as I know nothing of regex I can't really decipher what that regex expression does and with the URL's i've given it there doesn't seem to be much consistent result. The best i've been able to concoct is http://.*?\.exe So essentially i've got the start of the string, the middle is allowed to be whatever length and contain anything but must end at .exe. But this just gets me the first match all the way to exe, hence the need for character limiting. So that's... a start. I feel retarded at going at this sort of pace but i'll get there eventually. So now I just need to character limit it first, I know the command is {1,50} for the string to be anywhere from 1 to 50 characters and exclude all others. I still don't know how to make the middle string include a special word though. I appreciate the ones given but if I can't tell what they do specifically then i'm sort of at a loss. As I said, this is my first time with Regex and really the only thing i'll use it for.
  3. Howdy, i've spent the last day trying to get my head around regex and while i'm able to do simple matching like define the start and end of a string (even that I screw up) my ultimate goal is just 20% more complicated. Essentially I want a regex expression that I can specify as such Beginning of string is href= or http the final match must find a string containing a certain specified word i.e. x64 or slim or ubuntu The end of string to be a file extension like .exe or something like ?download Also I assume there must be a way to stop it from capturing the ENTIRETY of text i.e. a character limiter? Like exclude matches that exceed 50 characters? so the final match can only be a certain number of characters long. I feel that having this would be fine for a large portion of download links as to date all my programs are either href= then a partial url which I just pipe to my fixed url for a complete one or an ENTIRE download link. There may be more but this is the start of thing for me I've tried finding similar regex expressions around but my head keeps exploding as i've sort of gone ketarin bonkers the last couple of days. I have the download links sorted (I just feel that regex could perhaps streamline it better and make it more uniform) The execute command after download is all sorted, that took a little while as I had to identify what each program needed. Some had silent/auto install switches, uniextract or 7-zip and to move programs/clean up extraneous files/folders. I'm just in the making everything tidy phase, any help would be greatly appreciated. Happy to call myself useless and needing a hand
  4. OK, command update. The rmdir and the like commands DO work but it seems that Ketarin doesn't do sequential commands. I just thought it treated the window like a batch file. So I queued a few commands up, while they work in .bat form perfectly fine, ketarin seems treat it all as commands to send in parallel. So for those I will just call my batch files, which is fine. Just not ideal as such because *UPDATE* I'm a freaking moron, didn't see how Ketarin queued up commands. Had to hunt through forums, wee. Given my delicious romp through stupid land, i'd be happy to write up a quick-start guide or FAQ. There are multiple sources to reference for this wonderful program, just needs to be a bit more centralized. Only thing left is the mystery of the thunderbird/firefox portable corrupted downloads
  5. It is rare for me to like a program so much that I actually sign up to forums, so kudos to the brilliant developer of this app. Last 2 days solid has somewhat consumed me with trying to get everything in working order In saying that though I have two peculiar issues, one to do specifically with downloading Thunderbird Portable and Firefox Portable. Even just using the direct link with referer I always download a corrupted file, which drives me insane. It is always smaller than the actual file is, i've tried a different mirror direct and same problem. Tried different referer's and a whole bunch of stuff. I still get the same corrupted, but all my other portableapps.com downloads are perfectly fine. File has the right filename and version number... it's just bloody strange. And thanks to whoever made that PortableApps template! I just needed to add the http://sourceforge.net referer and it worked like a charm for everything else. Second problem is to do with commands, specifically execute after downloading. It seems like you can have multiple commands, which is great. Because some you need to unzip twice or uniextract, delete superfluous folders and move them around. Trouble is I can run the unzip then uniextract fine, both programs will run sequentially (yay). I can't however delete/erase/rmdir or move anything, the only command that seems to function is xcopy. I can even dir /a /s /b {root}\*.exe > c.txt, which I use to extract filename/paths to a text file if I want to parse it to uniextract or 7zip (which i'm not trying to do here, I just wanted to see if it would). Am I missing something here? I just assumed that the command entry window was essentially treated LIKE a .bat file. But some important commands aren't working or perhaps the {appname} functions aren't being passed on. I could just write a .bat file for each one but I would rather it stay with Ketarin for 'neatness' sake. Plus parsing {file:filename} and the like to 7zip/uniextract is bloody helpful and I wouldn't be able to get the same clean result just using a .bat file. Oh, and as for templates. There isn't really a section for this but i'm happy to share my "Install" methods when i've perfected them. haha, first project i've ever wanted to contribute to There are several types of install methods (I'm a portable app junkie) Downloading setup and uniextract, which is great but requires cleanup afterwards Binaries with no subdirectory, extracting to {appname} will give you what you want Binaries with a subdirectory that is, thankfully, {appname} to begin with Standalones, files that are just straight executables and not zipped at all anyway. i.e. utorrent Paf.Exe, these are portableapps.com packages. There is an AHK script in this forum that helps out, I have never used AHK and two of my packages (foxit/openoffice) don't follow its format. If you just take out the blockinput code you can just click on what you need to make it progress (i.e. a licence agreement) and it will pick up after that. Binaries with different subdirectories (i.e. notepad++ has ansi/unicode) - this also requires cleanup stuff similar to uniextract And fiddly bastards, things that are zipped and the file in that need to be uniextracted All the above I know how to do with .bat files, would just rather do them all in Ketarin. The ONLY thing I have that isn't portable is the obvious like java/flash/codecs/antivirus (not because it isn't available, I just like nod32) Once I can get this down pat i'll be a happy bloody pumpkin! tl;dr -Thunderbird Portable and Firefox Portable are always corrupted downloads but have the correct filename, why? sourceforge is where they are downloaded from -Why does ketarin not like move/erase/rmdir commands? and it doesn't seem to like ;for /F %%c in (c.txt) do set c=%%~fc -What does ketarin use for that command window anyway? Can I just queue up a list of commands and it will perform them sequentially a la bat file or what? I assume it just uses cli to perform all those extra commands anyway.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.