Jump to content
Ketarin forum

Omniferum

Members
  • Posts

    304
  • Joined

  • Last visited

Posts posted by Omniferum

  1. I may just be stupid here but is there not an update and then install button/function?

     

    I basically moved all my code from the "run after download" to the "setup instructions" area and I update, it downloads but doesn't actually do anything annoyingly enough.

     

    I can understand a need to differentiate both places but I don't see why you need "run command after download" if it is not install instructions/options. Seeing as they essentially do the same thing and the only command you would want to run would be downloaded file specific.

     

     

    Further... feature inquiry stuff. Again this shit I suggest may be too obscure or overly technical to achieve.

     

    It is possible for Ketarin to parse the url found to an external application? For stuff like mediafire/megaupload links (some developers use them to save on hosting) I would like to find them. Have ketarin go "Ok, this is the link i'll now send it to Jdownloader and be done with it".

     

    I'll admit my template name parsing idea is perhaps easier to achieve. I don't want Ketarin to handle the links of course, just pass them on. Even if you had the option of dumping it to a text file and from there I can just batch script the line out.

     

    Hm, perhaps I could parse it from the logfile somehow? Seems a tad clunky, hmmmmmmm

     

    Oh, also. Anyone care to share why this doesn't download? It used to, now it just gives a 406 error. I somewhat think it is the useragent that Ketarin uses. As EVERYTHING else is fine, the link is fine etc etc.

     

    http://www.pocketappreview.com/main/media/software_zip/EjectUSB.zip

  2. A feature... inquiry of sorts.

     

    For templates, the placeholder, would it be possible for Ketarin to parse variables for the App name? This is handy for quite a few sites for me. Nirsoft/Portableapps.com.

     

    Would make a template easier, if you could parse the variable for the appname like {name} in the placeholder value. Present the first found option to replace the variable (because you don't want it to be a permanent variable) and if it is found to be a dodgy first match to name it yourself.

     

    Too complicated perhaps? A lot of major download sites use a universal convention more or less and would make templates noob friendly as they would only need to provide the download URL.

  3. First up, Program is bloody top notch! Brilliant to the Nth degree and I love you for it.

     

    Onto the whole 'bug' stuff. There is a slight behaviour difference. When I load up the variables for an application the regex I have to edit a character before it will 'trigger' the old value so I can use the "go to match"

     

    So when I open up the variables, it won't find the old regex in there straight away so I need to delete then put back in a character. Forces the program to refresh perhaps? Just not sure why it doesn't do it upon loading.

     

    Everything else is perfectly fine, out of curiosity though why is there a 3 second gap between the install window coming up and any install commencing? I assume it is just Ketarin processing.

  4. !Fixed: Uri parser removes "." incorrectly

    YES... YES... YES... I have just verified that Ketarin WILL download Firefox Portable and Thunderbird Portable successfully without corruption. :) GOOD WORK FLO!!

     

    Really? I still get corruption using this new alpha build with a straight URL and the refer. Nothing else placed in the Ketarin.

     

    Care to share your setup? i've been dying to get those last two bastards working

  5. Install button is misaligned, only when old jobs.db is put into the folder. If you export old jobs.db to an .xml and then drag and drop it into the new Ketarin the install button doesn't change. If you then move the jobs.db generated in the appdata to the Ketarin program folder Install button is still fine. My setup is running ketarin as a portable app so the db is in the program folder, moving it straight to the new ketarin program folder is what causes the problem. Workaround is simple.

     

    The install dialogue is perfectly fine, the ability to create a new 'list' to pre-define installs is a nice touch.

     

    Would like the ability to just use batch script for the setup instructions

     

    Will the new 'list' function be something we can sort programs by with custom column function? I would assume so.

  6. While the introduction of C# scripting would be nice i'm not sure if it can achieve anything more than current batch scripting. Every single program that I run has been automated via batch script and only 3 programs require that I make 'special' commands for them. The rest of the programs have the exact same batch copy n' pasted into it and it runs like a charm. Those other 3 only have one extra line in them because they are packaged funny.

     

    I feel like the ketarin variables achieve what we would've loved to have from C#, installing via C# doesn't seem like a massive difference. Perhaps C# would be useful for automating installs that can't be automated? But out of my list the only thing I can think of is portableapps.com installers. Which I currently use AHK for. Hm, Daemon Tools also. Some Nokia products.

     

    My point is more that batch script currently solves 90% of problems, combined with 7zip and universal extractor. C# May add the extra 10% so having it as an option may be nice (i'd probably never use it) for those that know what to do with it. If it isn't that hard to add the feature i'd say sure why not.

     

    For reference sake I made a feature request of extra user-defined columns which I actually wanted for THIS specific purpose i.e. the InstallPad Features. A column to go "This is an NSIS/INNO/Zip" that I entered manually.

  7. Just noticed there was a new version of Ketarin for me to download, seeing as you can't set ketarin to update itself via the method is uses for all others i'm sort of curious as to why Ketarin doesn't have an auto-update feature?

     

    I've looked through the forum briefly and checked the options for Ketarin and I don't see it.

     

    May be on his to do list, just seemed a bit odd to not have one given the nature of the program.

     

    Yes, I know it can be achieved by a rather roundabout way but i'm sure we are all here to streamline our processes :P

  8. If you bump up the timeout to 60 seconds in the connection tab of ketarin settings (which I had to for all sourceforge) the download will initiate eventually.

     

    I've found that if you replace the link I gave above with a specific mirror, i.e.

     

    http://downloads.sourceforge.net/project/portableapps/Mozilla Firefox, Portable Ed./Mozilla Firefox, Portable Edition 3.6.8/FirefoxPortable_3.6.8_English.paf.exe

     

    and turn it into

     

    http://jaist.dl.sourceforge.net/project/portableapps/Mozilla Firefox, Portable Ed./Mozilla Firefox, Portable Edition 3.6.8/FirefoxPortable_3.6.8_English.paf.exe

     

    You get differing results, because my specified mirror of transact.dl just craps out entirely.

     

    So problem for you may just be timeout or mirrors?

  9. To simplify the second request.

     

    I just want another plain text field like Category or Target, that you have to type in for each application. The custom column values are GREAT don't get me wrong, it's just sorting them by {property:ExecuteCommand} requires my entire screen and there is no way, that I know of, to just enter a bit of text for each application. I am aware I could use the 'notes' section but I have a few criteria

     

    Essentially if you could make an extra custom column be either a global value or a per application setting value that would be nice. Like by default have the custom column fields in each application for ketarin, but if you put something in there it overrides the global.

     

     

    Even more simplified

     

    One extra custom column, the one "UserNotes" column isn't enough for my purposes

    For that column to be user defined on a per user basis

     

    You could just call the column "Extra Information"

  10. Hope you don't mind, i've updated the script to cope with installers that don't offer a language option, those that do and those that have license agreements you need to 'accept'.

     

    The below script is most likely clunky as I just read the AHK documentation and made this BUT it works for all portableapps.com installers that i've tested which is a wide variety. If anyone finds one that this script doesn't work for please tell me and i'll fix it up.

     

    ; Macro to install PortableApps.com downloads, as PAF installer can't be run silently. 
    ; Also, paf installer appends its own app name to /destination path specified via command line; this script gives complete control over destination folder.
    ; Arguments: 
    ;      file = full path to *.paf.exe package
    ;      destdir = folder to install to
    ; If compiled, this script can be called by following command line:
    ;      pafInstall.exe file destdir       
    ; If not compiled, call by following command line:
    ;       autohotkey.exe pafInstall.ahk file destdir
    ; Typically invoked from Ketarin after-download command:
    ;       autohotkey.exe pafInstall.ahk "{file}" "{file:directory}" 
    ;   or pafInstall.exe "{file}" "{file:directory}"         (Note: Compiled scripts cause Vista UAC prompts, so better not to compile)
    ; (autohotkey.exe, pafInstall.ahk & pafInstall.exe need to include full paths)
    ;
    ; Jim Cumming 12/4/09
    
    
    #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
    SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
    SetTitleMatchMode 2    ;Set titlematch to "contains" (default is "starts with"). Affects #IfWinActive's below. 
    
    If 0 <> 2             ;actually looking at %0%, which contains number of arguments. Must be 2.
    {    msgbox ERROR: Must have 2 arguments (package file, destination folder); exiting.
       Return
    }
    Else
    {   file = %1%
       destdir = %2%
       Run %file%
    
    BlockInput On            ;Block user keyboard and mouse input during extraction
    
       Loop
       {
    
           IfWinExist, Installer Language 
           {
               WinActivate
               Send {Return}
           }
    
           Sleep 100    
    
           IfWinExist, PortableApps.com Installer, This wizard
           {
               WinActivate
               Send {Return}
           }
    
           Sleep 100
    
           IfWinExist, PortableApps.com Installer, License Agreement
           {
               WinActivate            
               Send {Tab}
               Send {Space}
               Send {Return}
           }
    
           Sleep 100
    
           IfWinExist, PortableApps.com Installer, Choose Components
           {
               WinActivate
               Send {Return}
           }
    
           Sleep 100
    
           IfWinExist, PortableApps.com Installer, Choose Install Location
           {
               WinActivate
               Send %destdir%
               Send {Return}
           }
    
           Sleep 100
    
           IfWinExist, PortableApps.com Installer, Finish
           {
           Send {Return}
           Break
           }
    
       }
    
    }
    BlockInput Off
    Return
    

     

    EDIT: I've tweaked the code to be about 500 times cleaner and a bit more reliable.

  11. 1. Run command (no download)

     

    At all possible to get a 'run command' to parse all the variables and do everything if the file is found without the downloading? To debug some batch files i've essentially had to download a file 5 times to just get it right. This may not mean much to most people but I live in a place that has small data caps.

     

     

    2. User Defined Sorting Column

     

     

    Would it be possible to implement user defined columns but just plaintext on a per application basis?

     

    The custom columns at the moment only allow variables to be input and it applies to ALL apps.

     

    I just want to be able to have another sorting column basically. It is more so I can group certain programs via their install method/commands that I run after downloading.

     

    i.e. group them by those that need install switches, those that need Universal Extractor and those that just need 7-zip, those that are in subfolders to the zip etc. etc.

     

    The way i'm doing it now is just using the category column but i'd still like to use that for sorting the downloaded files later. At the moment they are all just dumped in one directory. I could just edit each target manually but that seems somewhat unelegant and besides I would still need a column that I can place extra info into and sort the apps by.

     

    Unless this is already possible or too hard to implement, I do not see how it would be but i'm not a programmer so me saying that ain't worth much.

  12. Were the first things I tried, didn't work.

     

    http%3A%2F%2Fdownload.portableapps.com%2Fportableapps%2Ffoxitreaderportable%2FFoxitReaderPortable_4.1.1.paf.exe

     

    That is what i'm trying to convert, as I said it is for a link. I can obviously just skip the http: part and put that in manually but I think it would be good for ketarin to be able to have an operator that says 'treat this as text' like the \ for regex

  13. I'm rather curious as to how we can replace something with the : symbol, I don't see a way of making it treat : as text and not as an operator.

     

    Only two of my links are given as %3A which is the : symbol, I want to replace %3A with : obviously. Also has %2F which is the /

     

    {download:multireplace:,:%2F,%3A:/,:}

     

    That works for the / but the %3A is just replaced with nothing so i'm not sure how to get it. Any pointers?

  14. Because I love shawn so much!

     

    Not that what I just said was a non-sequitor, or this sentence either.

     

    Anyway, What would I have to do to have multiple middle string matches? I tried just adding an extra + but it just went "I don't find shit!"

     

    If it is too extra complicated doesn't matter, I don't actually 'need' it. More just future proofing for some programs that specify both language and 32/64 bit in the filename i.e. CPU-Z.

     

    If I don't get the hand s'ok, I still love you.

  15. Yeah, I already have an alternative download source. I'm just a bit of a stickler for purity so would prefer the main download page obviously, as we would all.

     

    Filehippo doesn't host it sadly enough, which is strange as this is a fairly popular program in general.

     

    Oh, thanks again shawn for the regex. Made me a happy little pumpkin indeed

  16. Eh, XML if you so wish. I don't think there is anything wrong with it though as i'm doing the same for this as I am for all other sourceforge. Ah, the only REAL change I had to make for sourceforge was up the connection timeout, but that is more to do with my local mirrors and net connection than ketarin i'm sure. If you just whack the direct link into the URL and the referer for spoof it works for all other sourceforge, just not this.

     

    The link for reference sake is

     

    http://downloads.sourceforge.net/project/portableapps/Mozilla Firefox, Portable Ed./Mozilla Firefox, Portable Edition 3.6.8/FirefoxPortable_3.6.8_English.paf.exe
    

     

    The referer is obviously http://sourceforge.net

     

    XML

     

    <?xml version='1.0' encoding='utf-8'?>
    <Jobs>
     <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="70abab7a-f09f-41db-a5df-a1e8f4c33940">
       <WebsiteUrl />
       <UserNotes />
       <LastFileSize>0</LastFileSize>
       <LastFileDate xsi:nil="true" />
       <IgnoreFileInformation>false</IgnoreFileInformation>
       <DownloadBeta>Default</DownloadBeta>
       <DownloadDate xsi:nil="true" />
       <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
       <VariableChangeIndicator />
       <CanBeShared>true</CanBeShared>
       <ShareApplication>false</ShareApplication>
       <ExclusiveDownload>false</ExclusiveDownload>
       <HttpReferer>http://sourceforge.net</HttpReferer>
       <Variables />
       <ExecuteCommand />
       <ExecutePreCommand />
       <Category />
       <SourceType>FixedUrl</SourceType>
       <PreviousLocation />
       <DeletePreviousFile>true</DeletePreviousFile>
       <Enabled>true</Enabled>
       <FileHippoId />
       <LastUpdated xsi:nil="true" />
       <TargetPath>\</TargetPath>
       <FixedDownloadUrl>http://downloads.sourceforge.net/project/portableapps/Mozilla Firefox, Portable Ed./Mozilla Firefox, Portable Edition 3.6.8/FirefoxPortable_3.6.8_English.paf.exe</FixedDownloadUrl>
       <Name>btvrde</Name>
     </ApplicationJob>
    </Jobs>
    

     

    It just downloads to the root folder, for this specific file it just gives me a 6.56mb junk file.

  17. Does ANYONE know why when you give Ketarin even a direct link to download firefoxportable or thunderbirdportable from sourceforge it always gives a corrupt exe? A junk download that is usually a smaller file than the one I actually request. When I copy and paste the same link into firefox/I.E./Chrome that I do into ketarin it comes up with a download dialog instantly.

     

    All my other sourceforge downloads are working fine with the HTTP referer of http://sourceforge.net

     

    Does it have anything to do with the comma in these? That is the only difference I can see as opposed to all my other sourceforge downloads. I've tried fiddling with the values which come up as %2C but no real luck.

     

    Any ideas?

  18. Oh, for anyone else that wants to use this for future use.

     

    This is the expression

     

    http://[^'"]+bonk[^'"]+\.exe

     

     

    The Breakdown

     

    http:// = plaintext. Type in plaintext whatever you want the start of the string to be

     

    [^'"]+bonk[^'"]+ = String must also contain this keyword. Replace bonk with whatever identifying text you need, i.e. x64

     

    \.exe = End of string, This is also just plaintext. The \ is only there to make the . behave as straight text, otherwise it is a special regex character.

     

    This works for ALL my apps, tested and enjoyed. Some don't have full http: paths so I just use what it gives me partial and add the rest manually. Some use href, others are just php links etc. etc. etc. but seriously this little bit of code identifies exactly the string I want every single time brilliantly. To the point it should be included as a default type thing, works better than the Content from URL (Start/End)

  19. 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.

×
×
  • 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.