K3tchup Posted February 28, 2010 Report Share Posted February 28, 2010 Can I make Ketarin update a program only when the 1st or 2nd split of version number changes? Let's say that the version number currently is "1.15.27" and the next update I want is on "1.16.nn" not before. I want it to work so that I won't need to download an update at "1.15.28", "1.15.29" ... etc. I found something at http://ketarin.canneverbe.com/forum/viewtopic.php?id=83 and tried to do it with Split and Trimend but couldn't get it working right. Is it possible and how would I do it? Link to comment Share on other sites More sharing options...
josh Posted February 28, 2010 Report Share Posted February 28, 2010 Hi, Only way i know how to do this is to monitor version and to manually download file when major build is available. If i'm not mistaken you can only use 'Avoid Beta Versions' with Filehippo.com website. Best regards! Link to comment Share on other sites More sharing options...
cassiohui Posted March 9, 2010 Report Share Posted March 9, 2010 (edited) Hi,Only way i know how to do this is to monitor version and to manually download file when major build is available. If i'm not mistaken you can only use 'Avoid Beta Versions' with Filehippo.com website. Best regards! beta and major build versions are separate things... 1.15.24, 1.15.25, 1.15.26, 1.15.27, 1.15.28, 1.15.29 can all be NOT beta, and therefore, will be downloaded Edited March 9, 2010 by cassiohui Link to comment Share on other sites More sharing options...
CybTekSol Posted March 11, 2010 Report Share Posted March 11, 2010 Maybe Flo will consider adding an 'if-then-else' variable at some point for this. lol Link to comment Share on other sites More sharing options...
andreone Posted March 16, 2010 Report Share Posted March 16, 2010 Can I make Ketarin update a program only when the 1st or 2nd split of version number changes? Let's say that the version number currently is "1.15.27" and the next update I want is on "1.16.nn" not before. I want it to work so that I won't need to download an update at "1.15.28", "1.15.29" ... etc. I found something at http://ketarin.canneverbe.com/forum/viewtopic.php?id=83 and tried to do it with Split and Trimend but couldn't get it working right. Is it possible and how would I do it? You can use a regex to capture only the part you're interested in. Something like (\d+\.\d+) will capture 1.15 from 1.15.27 Link to comment Share on other sites More sharing options...
K3tchup Posted March 21, 2010 Author Report Share Posted March 21, 2010 (edited) Thanks andreone! I had not used regular expressions with Ketarin before but this online tester was a great help: http://gskinner.com/RegExr/ Anyone else with similar problem might want to check the other resources in Ketarin FAQ as well. I checked my Ketarin log and found this: D2X-XL: Update not required, {majorversion} has not changed So I have every reason to believe it works the way I want it to. I made a new variable for "major version number" because I still want to see the full version number on Ketarin Custom Value column when I do decide to launch the GUI for whatever reason. Edited March 21, 2010 by K3tchup Link to comment Share on other sites More sharing options...
floele Posted July 8, 2010 Report Share Posted July 8, 2010 if-then-else...erm, yeah, if you don't expect me to help you understand your newly created super-complext single line variable that doesn't seem to work the way it shoud For such occasions me might just as well consider a plugin system for Ketarin so you can go and write some actual code with C#. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now