Jump to content
Ketarin forum

Omniferum

Members
  • Posts

    304
  • Joined

  • Last visited

Everything posted by Omniferum

  1. At first glance it seems to be exactly what is necessary. Only real problem I have with it isn't very portable. It is also a little finicky for me. For example you can specify where to start/stop monitoring changes but it would be easier if it just had a character limit. Aside from not being portable, it stores/reads its .dat file from %appdata% and that i'd have to manually rummage through each page's code instead of applying a threshold it works fine. I just can't use it because it isn't portable, I swap too often between my desktop/laptop and my other desktop and when I travel internationally I use it on work computers etc. etc. Portable is a BIG part o' my life Now i'm just wondering if perhaps there is a way to do a lotta batch code for Ketarin and perhaps a text... eh, no that would just be a massive patch job. If you don't have much interest in doing it floele I understand, it just doesn't seem to be too much beyond the current abilities of Ketarin to achieve is all.
  2. Ketarin is a brilliant program, it saves me a lot of heartache and checking. Plus if there is a problem it is a simple fix, so kudos. The only other program I know i've been wanting for a while is a website update checker. Something to basically go "Oh look, this page (or this specific part of a page) has updated! I shall notify the user and give him a pop-up so he can open all pages changed since last check" I've recently discovered Update Scanner for Firefox but it is not ideal as it obviously requires firefox to run at all times and I maintain quite a few computers, some that run chrome/i.e. Ketarin can now scrape the page and return results, brilliant. Can even execute code to go "This page is different! I'll load your default program" Only trouble with that is Ketarin doesn't have a scheduler and some pages are updated with minor things like a RSS stream vs. main content. To use variables to check for changes would require checking that variables previous value (something i'm not sure Ketarin does already, never tried the feature). You could specify after what part do you want changed with regex or textual content. On the note of textual content hxxp://users.telenet.be/littlegems/MySoft/WebVersions/Index.html is a program that automatically finds the optimal textual content if you just highlight what you want and it will fill in the before and after easily. Perhaps something you are interested in? Ketarin is already more than halfway there really, and what i'm aiming it is infinitely simpler than Ketarin's current purpose. Download site initially, download it every user defined period Check new vs. old, does it meet the character threshold for notifying? (just to stop minor changes like number of visitors) Popup if it does and allow a one click box to open all that has changed in whatever is set as the default browser (or allow a manual entry field). It does not SEEM too extreme a change and doesn't actually have to be a separate program. But i'm sure if you did it as one would be just as popular as Ketarin. Shit most of the web users are just people checking pages they already like for updates. If it were browser independent and as portable as Ketarin is now then it would be an easy winner. Christ i'd happily fund this extension myself to be perfectly honest. It is the last thing i'd need to really allow myself to be away from my computer without worrying and constantly checking everything.
  3. Just a retry button on the Errors window is what I meant. Along with the 'Copy to clipboard' and 'Close'. With a dodgy connection sometimes you have to come back a few minutes later so putting in retries doesn't always function. Again, living in the middle o' nowhere doesn't lead you to Grade 'A' internet sadly enough.
  4. Is it possible to add a 'retry' button to the failed updates? For my apps i've found that there is usually a few random errors that just require me to select the failed apps and redownload. Would be helpful for people with dodgy net connections to just retry the list of failed apps given. Also, if it isn't implemented, could you please implement something along the lines of {property:SetupInstructions} so I can just put that variable in my execute after download instead of having to edit two separate boxes?
  5. Made a huge post before, pushed back button my mouse (bloody mice these days have too many buttons) so i'm going to condense everything I wrote. Current internet database is good, just needs to omit installation data and anything that is not download related. Could have volunteer moderators that are allowed to make changes to the database if anyone flags the app as not working. Would require the naming convention to be a bit more strict for submissions i.e. Appname, what build (x32/x64/Portable). A setup wizard to define general global variables i.e. install directories and the two other must have programs with Ketarin which are an unzipping program like 7zip and universal extractor. The below script works for essentially the ENTIRETY of my app database except for portableapps.com which I use AHK for, obviously i've omitted some 7z switches because they need to be in certain parts. {7z} or {Universal Extractor} "{file}" "{root}{tempfolder}\{appname:regexreplace: \(.*\):}" FOR /F "tokens=*" %d in ('dir /b /s {root}{tempfolder}\{appname:regexreplace: \(.*\):}\*.exe') do set dir=%~dpd {xcopy} "%dir%" "{root}{installdirectory}\{category}\{appname:regexreplace: \(.*\):} The {appname:regexreplace: \(.*\):} I just use to exclude brackets and contents of said brackets for smoothing things out. It is just to easier identify specifics about the app (again i.e. x64 builds or portable or source) The {xcopy} is just xcopy /C /E /H /I /Y If you can get them with a wizard that will go: where would you like your programs installed? i.e. to {root}Programs or wherever What naming convention would you like to use? i.e. {category}{appname} or whatever convetion they would like. Where are 7zip and universal extractor located? (again I need both because sometimes universal extractor doesn't work) If you make the online database also hold extra data like "How is this program installed? Via unzipping or universal extractor" and it could then propagate their install instructions from whatever was defined in the wizard. Silent install switches and all that are a different kettle of fish and would just require someone finding out and then providing that information, but again can be stored online and propogated. When you know 'where' they are to be installed and the general install method it should be easy to automate it. Manual install, stuff that needs ahk or basically just a notification "This tricky program has downloaded, please install manually" Archive install, as above Universal extract, as above Silent install switch, provided in the database when someone has found a working doohickey. On an unrelated note, I would still love if global variables would allow stuff like {category} if that would ever be possible :'( And having a global variable for user agent or http referer is a good idea. For stuff like sourceforge especially. If you download from one site of course it is going to require the same thing over and over, easier to edit the variable. Alternatively you could introduce some sort of easy mass field editor?
  6. Well the progress of Ketarin has definitely shut me up for a while! But as is the nature of things, with more one does more and then finds new problems Will there ever be a function/variable available to place the setup instructions into the 'execute after download' window? like {setupinstructions} or whatever. Would simplify things. Out of curiosity are functions intentionally not allowed in global variables? Will that ever change? Just wanted {startuppath} to work. An a few... aesthetic things, which are always difficult do discuss. The word 'update' is a tad too broad in general, it sounds like it does everything. To me anyway, whereas to date it really just downloads if it finds a newer version. Wouldn't renaming it to 'download' make more sense? Update could apply to install/download/code or any number of things. Again english is a bastard language at times so yeah, it is an aesthetic thing. I've always preferred specific to contextual. That way the order of the main button would just be Download Check for updated version, but do not download Download and Install all
  7. Regarding the whole 'cookie' creation thing. Seeing as we have access to C# script is it possible to use that to create a cookie in the execute command before download? I know nothing about C# so this is just a query, I assume simple cookies would be attainable. Someone more adept than me however would have to point out how. I know that Ketarin will eventually natively support this, but i'm just keen to poke.
  8. I personally wasn't able to get the sf:// protocol to work sooooo that'd be a 'bugger that' from me. Fixed my sourceforge woes with the using (!) as my user agent. Out of curiosity was the variable for the execute after download thing done? As in you could put {InstallInstructions} into the "Execute after download" section and it would then just run the install instructions after the download. Only reason why i'm curious is because the Update all and Install all option doesn't use multiple threads like the others do, I assume this is intentional because of how it handles "install" information. Just hate seeing it go one by one when I have so many apps, none of my programs install instructions clashed so it could easily go parallel rather than sequential.
  9. Mine was fixed (thanks to josh) by merely adding the value (!) to the User Agent field underneath the HTTP Spoof referer
  10. A simple progress indicator for updates would be nice IMO ... 10%, 20%, 30% will do ... I meant for how Ketarin process' apps. Not install order or anything, i.e. when you do an 'update all' job or any batch of jobs it will prioritize whatever has the highest value first and the remainging items without a value will just be processed in the current sort order Also can someone post a working sourceforge job? I'm having difficulty getting mine back into shape
  11. Hm, seeing as this has been the general thread. Out of curiosity could you implement a 'priority' queue? An optional field where you can put certain application in an order and those that are blank are just done in sequential order of the current sorting. So like you could label a program priority 1, and another 2. This helps for things like 7-zip/Uniextract where you sometimes need them to be dl/installed before anything else as they are integral to the setup commands. Plus if people use things like Nircmd or whatever. Just a simple addition that i'm sure would bring a lot of benefit. Also, THE HELL IS UP WITH SOURCEFORGE?! It's being a bastard again. I tried the user/pass thing so I made an account but now ketarin is telling me wrong user/pass! grrrr
  12. Now I get to flex my stupid muscle Because I interpret what you said as <placeholder name="Name of application {name}"/> Which doesn't work, nor does a variety of combinations. <?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"> <WebsiteUrl /> <UserAgent /> <UserNotes /> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>true</ExclusiveDownload> <HttpReferer>http://sourceforge.net</HttpReferer> <SetupInstructions> <SetupInstruction xsi:type="CustomSetupInstruction"> <Code>{AHK} PA.ahk "{file}" "{root}Private\{appname:regexreplace: \(.*\):}"</Code> <Type>Batch</Type> </SetupInstruction> </SetupInstructions> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>http[^'"]+[^'"]+\.exe</Regex> <Url>http://portableapps.com/apps/internet/thunderbird_portable</Url> <Name>download</Name> </UrlVariable> </value> </item> <item> <key> <string>name</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex><title>(.*?) \|</Regex> <Url>http://portableapps.com/apps/internet/thunderbird_portable</Url> <Name>name</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>PortableApps.com Private</Category> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <TargetPath>Programs\</TargetPath> <FixedDownloadUrl>{download}</FixedDownloadUrl> <Name><placeholder name="pony{name}"/></Name> </ApplicationJob> </Jobs> I get all excited when my feature is implemented and now I get to feel like a moron because I don't know how to use it. Go me!
  13. The Update and install all button now works like a charm. Sequentially goes through the list, downloading and if a download is found for that application moves tot he installation procedure for it. No problems with all my apps. I'm not entirely sure though how to implement the new placeholder variable feature. <placeholder variable="{name}"/> <placeholder name="{name}"/> <placeholder="{name}"/> None of this parse the variable that I have made with the title {name} and give me an XML error upon importing specific to that line. Anything other than placeholder name= gives me an error message from line 1 till the end.
  14. floele is a freaking legend that's what! I'll fire it up and test it now. Thanks for implementing my feature! I'm over the moon
  15. Seems to have resolved itself, sourceforge may have just had an off day. Peculiar
  16. As the title suggests, I have one app that requires a 'timelastivisited' cookie. Is it possible for Ketarin to do this? If so can anyone point me in the right direction to do so? If not possible will Ketarin ever support this?
  17. Using the "Update all and Install" button still has two uncertainties for me. First the execute command after all downloads occurs after each application has updated/installed. This may be intentional. Just letting you know. Secondly it seems that installs regardless of whether or not it has found an update. Two specific instances are shown below. One is just a simple 'no update' and the other is a broken download link so tries to install the file it finds already. Intentional? 10/1/2010 1:17:12 PM: Update started with 1 application(s) 10/1/2010 1:17:13 PM: 4chan x Updater (modified): Replacing {download} in '{download}' with 'http://userscripts.org/scripts/source/82474.user.js' 10/1/2010 1:17:13 PM: 4chan x Updater (modified): Using referer: http://userscripts.org/scripts/show/82474 10/1/2010 1:17:15 PM: 4chan x Updater (modified): Server source file: /scripts/source/82474.user.js 10/1/2010 1:17:15 PM: 4chan x Updater (modified): Determined target file name: D:\Programs\Ketarin\Programs\Greasemonkey Userscripts\82474.user.js 10/1/2010 1:17:15 PM: 4chan x Updater (modified): Checking if update is required... 10/1/2010 1:17:15 PM: 4chan x Updater (modified): Update not required, since date and file size remain unchanged 10/1/2010 1:17:15 PM: Executing command: rd /s /q D:\Ketatemp 10/1/2010 1:17:15 PM: Command result: Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. D:\Programs\Ketarin>rd /s /q D:\Ketatemp The system cannot find the file specified. D:\Programs\Ketarin> 10/1/2010 1:17:15 PM: Update finished 10/1/2010 1:17:16 PM: 4chan x Updater (modified): Executing command: for /F "tokens=*" %c in ('dir /b /s \private\firefoxportable.exe') do set file=%c 10/1/2010 1:17:16 PM: 4chan x Updater (modified): Executing command: & 10/1/2010 1:17:16 PM: 4chan x Updater (modified): Executing command: "%file%" "D:\Programs\Ketarin\Programs\Greasemonkey Userscripts\82474.user.js" 10/1/2010 1:17:16 PM: 4chan x Updater (modified): Command result: Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. D:\Programs\Ketarin>for /F "tokens=*" %c in ('dir /b /s \private\firefoxportable.exe') do set file=%c D:\Programs\Ketarin>set file=D:\private\FirefoxPortable\FirefoxPortable.exe D:\Programs\Ketarin>& D:\Programs\Ketarin>"%file%" "D:\Programs\Ketarin\Programs\Greasemonkey Userscripts\82474.user.js" D:\Programs\Ketarin> 10/1/2010 1:17:16 PM: Update started with 1 application(s) 10/1/2010 1:17:17 PM: 7-ZipPortable: Replacing {download} in '{download}' with 'http://downloads.sourceforge.net/portableapps/7-ZipPortable_4.65_Rev_3.paf.exe' 10/1/2010 1:17:17 PM: 7-ZipPortable: Using referer: http://sourceforge.net 10/1/2010 1:17:23 PM: 7-ZipPortable: Server source file: /portableapps/7-ZipPortable_4.65_Rev_3.paf.exe 10/1/2010 1:17:24 PM: 7-ZipPortable: Failed, The downloaded file is not a binary file type (text/html; charset=utf-8). Possibly there is an error page. Status code: 200 (OK) 10/1/2010 1:17:24 PM: Executing command: rd /s /q D:\Ketatemp 10/1/2010 1:17:24 PM: Command result: Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. D:\Programs\Ketarin>rd /s /q D:\Ketatemp The system cannot find the file specified. D:\Programs\Ketarin> 10/1/2010 1:17:24 PM: Update finished 10/1/2010 1:17:24 PM: 7-ZipPortable: Executing command: AHK\autohotkey.exe PA.ahk "D:\Programs\Ketarin\Programs\7-ZipPortable_4.65_Rev_3.paf.exe" "D:\Programs7-ZipPortable" 10/1/2010 1:17:27 PM: 7-ZipPortable: Command result: Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. D:\Programs\Ketarin>AHK\autohotkey.exe PA.ahk "D:\Programs\Ketarin\Programs\7-ZipPortable_4.65_Rev_3.paf.exe" "D:\Programs7-ZipPortable" D:\Programs\Ketarin>
  18. If I drag and drop it into Ketarin or use the "Import" button it gives me the error. Pasting seem to put all applications in. However if I then proceed to "Update and Install" it still goes straight to the Install dialogue but now it just goes "0 if 0 application successfully installed". If I move the jobs.db from the appdata to the ketarin problem folder it once again goes straight to installing that first application and skipping all update stuff. Log is empty the entire time. Until the Update and Install with that specific program. 10/1/2010 1:37:57 AM: Update started with 1 application(s) 10/1/2010 1:37:58 AM: 4chan x Updater (modified): Replacing {download} in '{download}' with 'http://userscripts.org/scripts/source/82474.user.js' 10/1/2010 1:37:58 AM: 4chan x Updater (modified): Using referer: http://userscripts.org/scripts/show/82474 10/1/2010 1:38:00 AM: Update finished
  19. On a related note, when I hit the update and install button it starts installing everything starting with the first item in the XML list which is what I posted above and doesn't even try to update. Ignores sorting information and doesn't go down the columns sequential and follows items in the XML for some reason.
  20. Hm, having xml problems also. My export of the jobs.db to xml creates the xml but when I try to paste that xml into Ketarin it lists only this app <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="6476476c-e235-415a-951b-abe236f73312"> <WebsiteUrl /> <UserAgent /> <UserNotes /> <LastFileSize>16207</LastFileSize> <LastFileDate>2010-09-26T23:34:33.6235481</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions> <SetupInstruction xsi:type="CustomSetupInstruction"> <Code>for /F "tokens=*" %c in ('dir /b /s \private\firefoxportable.exe') do set file=%c & "%file%" "{file}"</Code> <Type>Batch</Type> </SetupInstruction> </SetupInstructions> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>http[^'"]+[^'"]+\.user\.js</Regex> <Url>http://userscripts.org/scripts/show/82474</Url> <Name>download</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Greasemonkey Userscripts</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>D:\Programs\Ketarin\Programs\Greasemonkey Userscripts\82474.user.js</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2010-09-26T23:34:33.6235481</LastUpdated> <TargetPath>Programs\{category}\</TargetPath> <FixedDownloadUrl>{download}</FixedDownloadUrl> <Name>4chan x Updater (modified)</Name> If I remove that from my xml (which is the first entry in the xml) it will only load the next first item it finds. For reference sake both those items were created from a template, so it may be related to the previous problem in this thread? Again it only affects exporting/importing the xml.
  21. Yes, more or less that's what I expected. Trouble is when I use that button it goes straight to 'install' and doesn't even try to update anything. I just moved my jobs.db from the previous beta over.
  22. So it installs apps and then updates? I'm just sort of confused but what the process is for Ketarin when you push said button
  23. Can anyone else confirm that sourceforge is acting up for Ketarin? All my apps were fine yesterday, today I get all 200 (OK) error codes. I assume they've changed referrer? Downloading from browser is fine, tried different versions of Ketarin. Happy to find if it is a problem on my end, feedback would help
  24. Not sure if this is the intended behaviour but when I use the "Update all and install" option it just goes straight to installing all the apps. I assumed that it would update all apps and then those that were updated (i.e. downloaded the new version) would run the install commands.
  25. That's a perfect example of why you need the "run command after download" functionality. Parse the URL from the download source (mediafire or whatever) into a variable. Download it, or not (and download something uber-tiny like an icon file) then use the following command in the post-download command: java.exe -jar jdownloader.jar -a "{yourUrlVaraibleName}" Nifty, eh? As nifty as it may be Ketarin will then be stuck 'processing' because it won't move onto the next script until the other one completes. If there is a way to stop Ketarin doing this then fair enough, I don't know of one though. Also Re: cookie/post data type stuff is there a function to let Ketarin progress past the first page of a site? Specifically Blogspot, where you are required to click "I understand and wish to continue"
×
×
  • 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.