Jump to content
Ketarin forum

shawn

Moderators
  • Content Count

    1,097
  • Joined

  • Last visited

About shawn

Profile Information

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Note that modern browsers don't allow including an XSL file from file URLs, so you'll either need to put it on a website or load it with script.
  2. I recently made a change to the structure I use for all my variables and needed to publish it to my server. Since Ketarin doesn't (yet) support commands for non-updates I needed to get the data in a structured format from Ketarin to the database (I'll be passing it through Excel). Anyway... this is what I came up with. It uses Kryogenix sorttable, and some styling and stuff from a few other projects. You can use the aCols array to control which columns are hidden by default. For your own custom variables assign the variable name in one of these Variables/item[key/string='m
  3. Thank you, @Ambimind! This looks like it could be very useful.
  4. I know this is years late, but I was looking for something else and saw that one of the issues in this wasn't addressed. The problem with your troubleshooting line is most likely that you didn't quote the URL. This means that your script will crash before it actually echoes anything to the file if there's an ampersand (&) or certain other characters in the {preupdate-url} variable. Try this instead: echo TEST "{preupdate-url}" >> T:\xx.txt
  5. Hi, @Etz! They're using the Akamai Captcha, which is a javascript+cookie-based method of preventing exactly what you're trying to do. It looks like it should be possible to harvest sufficient information from the javascript and build the cookies manually, but it looks like it's going to be a nightmare to setup initially and a single change on their side will break it, so I wouldn't bother with it.
  6. "Automatically" in the sense that it happens on a regular basis, without user interaction, or via some form of switch? As I'm sure you know, /export includes the app commands as well as all other app-specific properties. I suspect you might actually be talking about the global commands. If so, they're included in your jobs.db backup, but you can export those to an external file using Sqlite, DB4S, powershell with an sqlite assembly, or your favorite SQLite editor: SELECT `SettingPath`,`SettingValue` FROM `settings` WHERE `SettingPath` IN ( 'PostUpdateCommand','PostUpdateCommandType',
  7. Yes. Anything you want to execute can be performed in the pre-update command. You can use this to do something like email yourself, or pipe to a text file, or with the /log parameter. If done correctly, you can use just about any information you like (anything you've stored in a variable) in order to send it to yourself. There is a great example of creating your own changelog here using the "after updating an application" global command. I leave Ketarin open 24/7 and pipe the results of every download to a log file in a global after-update command, and within the pre-update command for a
  8. If you're just looking for an Nvidia app profile, here's mine. Be aware that they no longer provide 32-bit drivers, so this is for the latest US-English 64-bit WHQL GeForce driver. It would only take a couple variable changes to modify the language/location, and other details. They're all stuffed into URL parameters so it's pretty easy to fix. <?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="db7445b0-3205-40e7-9c43-3502db1382f1"> <Category>Driv
  9. You're confusing two languages: batch and Ketarin. Ketarin variables are the native variables as well as those you create yourself on the variables page. The Ketarin variables are, of course, processed before batch variables since the batch script is generated *from* Ketarin. This means that you will never use a "{%whatever%}" syntax, but might very well use a "%{whatever}%" syntax, depending on what you're putting in your variables. You could, for example, use a global Ketarin variable to specify what path you would like to extract to and use that in place of the {whatever} and have it proces
  10. There are a couple examples using the pre-update command to perform the actual download via an external program. I use this process with several apps that don't play well with Ketarin or otherwise require additional handling (like torrent-based downloads).
  11. This is how start/end works. If you create a new one and play with it you'll see how it works.
  12. I'm afraid some sites don't play well with Ketarin or any other automated means of analysis. This is one of them.
  13. There is a difference between "save in folder" and "save to file", and this is why you can select only one of those options. "Save in folder" allows you to specify the folder path that you want to save the downloaded file to. You can use a relative folder or explicit folder and you can use variables in the folder name. The file that is downloaded will be saved with the filename assigned by the server. You'll end up with something like ".\your\path\setup.exe" or "your\path\tails.iso". Notably, if the original filename does not include the version number or language, and you want to includ
  14. This is the reason I haven't switched over. I'm excited about the new feature (keep x versions) but even starting with a clean database it crashes on me more often than not.
  15. One option is to Ping localhost, which inserts a delay of roughly one second per echo. This will insert a 5 second delay: ping 127.0.0.1 -n 5 Or you could call the powershell Start-Sleep cmdlet: Start-Sleep -s 5
×
×
  • 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.