Jump to content
Ketarin forum

MadDog

Members
  • Posts

    20
  • Joined

  • Last visited

Recent Profile Visitors

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

MadDog's Achievements

Newbie

Newbie (1/14)

  1. The most difficult thing for me was figuring out how to access the online database. And I'm not kidding. I was using Ketarin some days, and still wondered how to access it this online database I read in the forum about. And then finally I saw the pull down menu next to "Add new application". Try the online database. If your software is there, see the definitions and learn how it's done. If not, and you have no idea how to do it, just post the application name + URL in the forum.
  2. Hi, sorry to hear your template stopped working. I hope you'll get it working again. It's always nice to see what power users can do with Ketarin and regex. Being a mod... thanks for the offer, but no, sorry.
  3. Thanks for sharing. This is very much the same I did, but while I copy/pasted the regular expression from appyface's tutorial, you wrote own ones. The one getting the version number is very neat. Using a template is of course nicer than copy/pasting. Thanks also for the info how to turn an export into a template. I've a question about the global variable redir1. What is it doing? The download works without it just fine. > new template for BetaNews FileForum... Sounds interesting. I'd like to see it, of course. Perhaps create a new thread "Share your templates"... ?
  4. Your solution sounds easier to use. :cool: Do you mind sharing your template? I'd love to see it.
  5. True, didn't think of it. > There is absolutely no reason why you shouldn't just enter the contents of {url} variable directly to the link field. MajorGeeks kinda generates the download url...
  6. [h]Edit: With version 0.9.9.22 and template importing (see Template section of the forum) this how-to is more than obsolete. Admin, Mod, feel free to erase this thread. [/h] I don't know when Ketarin learned to use functions and variables in the "Edit variables" window, but this opens endless possibilities. Like downloading from MajorGeeks. Yay! I thought I write a quick how-to, as it isn't that obvious. Improvements are more than welcome! Example: I want to download Realtek Drivers for Vista. [h]Global Variable "majorgeeks"[/h] First, go to File/Settings and create a global variable majorgeeks Enter file=9 This selects the MajorGeeks mirror to be used. Use the download mirror you usually use. file=15 Majorgeeks mirror FL - USA file=10 ... TX-USA file=11 ... TX-USA file=9 ... FL-USA (Do not enable "share this application with others" if you use a global variable. If you want to share this application with others, hardcode the file=.. string in the URL variable.) [h]Variable "version"[/h] Add a new application and click on Variables. Create a variable version and load the URL you get from Majorgeeks: URL: http://www.majorgeeks.com/Realtek_High_Definition_Audio_for_Vista_d5513.html Select the version number using "use selection as start / end". The result should be: 2.14 [h]Variable "dl_help"[/h] Create a second variable dl_help. Select Content from URL (Regular Expression) Use the Majorgeeks URL: http://www.majorgeeks.com/Realtek_High_Definition_Audio_for_Vista_d5513.html Regular expression: (?<=downloadget.php\?).+?(?=") Result should be something like: id=5513&file=1&evp=9b4a172533b10c552baab558f5d72a2a [h]Variable "dl"[/h] Now finally create variable dl Select Content from URL (Regular Expression) URL: hxxp://www.majorgeeks.com/downloadget.php?{dl_help:split:&:0}&{majorgeeks}&{dl_help:split:&:2} (note: replace hxxp with http) Regular Expression: (?<=URL=).+?(?=") Result should be: hxxp://files1.majorgeeks.com/files/30ee748d38e21392de740e2f9dc686b6/drivers/Vista_R214.exe Well, that's it. Click OK, right-click into the "Download Source URL:" field and select {dl}.
  7. Thank you for this new version. Things I tried: - Sorting of columns is now remembered between sessions - This one majorgeeks HTML source I reported as bug is fixed. Thanks!
  8. version: 0.9.9.20 Trying to load the HTML source for http://www.majorgeeks.com/Realtek_High_Definition_Audio_for_2KXP03_d4902.html results in <head> <title>|MG| Realtek High Definition Audio for 2KXP I'm wondering what's wrong. Other pages from majorgeeks work. Edit: Fixed in 0.9.9.21. Thanks!
  9. Thanks, but way too much praise. This is just an example summary. The first real tutorial is written by appyface.
  10. It certainly is. :cool: Thank you very much for writing this tutorial.
  11. Well, true... it didn't look so good. I think it's better now.
  12. [h]Syntax for functions[/h] {variable:function:argument1:argument2} [h]Replace[/h] version = 9.1.15 {version:replace:.:} = 9115 {version:replace:.:-} = 9-1-15 [h]Trim[/h] version = " 9.1.15." {version:trim} = 9.1.15. {version:trim:.} = " 9.1.15" {version:trim: .} = 9.1.15 [h]Trimend/Trimstart[/h] version = 9.1.15. {version:trimend:.} = 9.1.15 {version:trimstart:9.} = 1.15. [h]ToUpper/ToLower[/h] download = http:\\TEST {download:toupper} = HTTP:\\TEST {download:tolower} = http:\\test [h]Split[/h] version = 9.1.15 {version:split:.:0} = 9 {version:split:.:1} = 1 {version:split:.:2} = 15 {version:split:.:0}-{version:split:.:1} = 9-1 [h]Example #1[/h] version = 9.0 hxxp://ardownload.adobe.com/pub/adobe/reader/win/{version:split:.:0}.x/{version}/deu/AdbeRdr{version:replace:.:}_de_DE.exe results in hxxp://ardownload.adobe.com/pub/adobe/reader/win/9.x/9.0/deu/AdbeRdr90_de_DE.exe [h]Example #2[/h] version = 4.2.9 hxxp://download2.asap-utilities.com/ASAPUtilities_setup_{version:replace:.:-}.exe results in hxxp://download2.asap-utilities.com/ASAPUtilities_setup_4-2-9.exe [h]Example #3[/h] version = 9.1.15 build 963 c:\MyFiles\Applicationname_{version:split: :0}b{version:split: :2}.exe or c:\MyFiles\Applicationname_{version:replace: build :b}.exe results in c:\MyFiles\Applicationname_9.1.15b963.exe
  13. I downloaded the 0.9.9.20 version from the other thread and gave it a try. Thanks for implementing this function. I was afraid "split" would be a too complicated function, but now it's there. This really solves all issues someone can have with version numbers. Now, where's the Donate button? (edit: moved my test examples to tutorial...)
  14. Thanks again for implementing functions. Seeing your regex example from some other thread, I learned most can be done with various regexpress variables, but functions are still nice to use. I'm wondering how to use Trimstart/Trimend. I can't figure it out. Could you give me an example, please? Here's another idea for a function: {variablename:split:argument1:argument2} Example: Version = 9.10.151.156 {version:split:.:1} = 9 {version:split:.:3} = 151
  15. No doubt, Ketarin is a great, great, great, great, great tool for system builders. However, I hope it's not getting too big. I have a feeling some webmasters wouldn't like what Ketarin is doing (downloading without seeing the webpage/ads/banners/...) and could make it difficult to download using Ketarin (like majorgeeks). :/
×
×
  • 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.