Jump to content
Ketarin forum

aurelio

Members
  • Posts

    31
  • Joined

  • Last visited

Posts posted by aurelio

  1. Just tried this, and Ketarin complains of a stray tag in line 18-- is it misinterpreting the regular expression characters? I'm not an XML expert- can anyone help?
    I'm not exactly "an expert" but I believe (judging from my own experiences with Ketarin) that it may very well be "picking" on the "regex quantifier" on that line (e.g.: "{0,4}" or "{1,5}" right after) - my solution in all cases were this was true was to either eliminate the quantifier, substituting it for an "+" (ilimited, greedy), or just try to "escape" the all "{" characters (JUST IN REGEX QUANTIFIERS!!! NOT IN VARIABLES!), e.g. "\{".

     

    Also, if you're editing directly (manually, in notepad) your .XML files, there's some characters that should be "converted". e.g.: "<" becomes "<" (html 'lesser than') and ">" becomes ">" (html 'greater than') inside the "values" of any field, in this case, the "Regex" field, noted by <Regex> (start of the field) and </Regex> (end of the field).

     

    So, line 18 could become:

    <Regex>(?:<td>.\{0,4}?(?:\w+?\s)\{1,5})+?(?:v)(\d\{1,2}\p{P}\d\d)</Regex>

     

    INSTEAD OF:

    <Regex>(?:<td>.{0,4}?(?:\w+?\s){1,5})+?(?:v)(\d{1,2}\p{P}\d\d)</td></Regex>

  2. ...perhaps someone finds some use...a way to get version info from the downloaded file and importing it into a ketarin variable and rename a file based on its version number...import does not work, the command to get version number does...
     VersionInfo.vbs...
    sigcheck...

    Topic where this was discussed: https://ketarin.org/...tarin-variable/

    I thoroughly enjoyed that, Tomorrow. I'm not a guy that's particularly comfortable with .vbs scripts, but I do enjoy them whenever I can understand what they do... :lol: (which is true in this case ;) )

     

    Ah. That would be why. I use a multihomed internet connection with two separate ISPs in order to ensure that my 'net never goes down. I don't think I've ever used the option to 'check only'. I can now see why that ability would be important.
    That must be quite a "kick-ass" internet... I'm "not there" yet, but maybe someday... :)

     

    Flashbacks! Wow, that was the bomb back in the 90s - everything you loved about Win 3.x on Win98. :)
    What?!? :wacko: You mean it's not "the bomb" anymore?... :unsure: Am I still living in the past?... :D All joking aside, I tend to do that... In my first years of WinXP, I still had used a small app back from Win 3.1 that it's only function was to "call" (execute) the current screen saver... (believe it or not, it took me a couple of years to be able to finally eliminate that).

     

    Do what you can. :)
    I will... Maybe this weekend I'll add something to the Wiki. I just hope it "fits" right in with the content that's already there... Let's see. I'll do my best.
  3. Very nice, Aurelio, though I suggest against using CNET whenever possible, now that they're including crapware in all the downloads.
    I agree, I use it as a last resource only... (which does end up being... never! " :P ) but about the "crapware" (CNET installer?) it's still possible to avoid it by clicking on "Direct Download Link" right below the big "Download Now" button. I've been using FileHorse.com as an alternative to some apps that were previously setup on FileHippo.com (I'm tring to spread out the tracking source for my apps as much as possible - "no more than 25 apps at a single source"). FileHorse is an almost outrageous copy of FileHippo. " What I most like about the custom search is that I can instantaneously "refine" it (loose filter) by clicking on a specific Site that I'm looking for (to use in that particular application).
  4. Here's my list (in no particular order):

    I find it useful to have a Google Custom search for these kind of sites:

     

    installersitescustomsea.png

     

    This is on my bookmark:

    http://www.google.com/cse?cx=001600792656195818973:pgqw93wxq8g&ie=UTF-8&q=&num=50&hl=en&newwindow=1&safe=off&prmd=ivns&filter=0&sa=Search

  5. As far as I know, this is the exact behavior of the version column. Are you seeing differences in the behavior?

    Well... If I use {version} to retrieve whatever content the web pages will give me as the last version (or current version there, online) and I use a regex applied to {file} to retrieve the current version on disk, they will certainly have different values, unless I update every single entry, every single time. With bandwidth restrictions, and wishing to know which version I currently have, {version} would give me the wrong versions for some entries if I don't update them every time. (see the image examples below)

     

    Right after a "check all for updates only":

    ketarinupdate1.png

     

    After you then exit the program, if you come back (another day); observe the difference between what is extracted from {file} and {version} :

    ketarinupdate2.png

     

    Each of the templates that's "ready" for public consumption has been posted to the 'templates' forum
    Thanks for the links. I will take a second look at those templates. The first time around I looked at them I found them a bit complex and confusing for me; besides, there is 'zero-comment' in the code, so it makes it even harder for newbies like me with no real coding experience. I saved all of those codes you pointed me towards and I know if I take my time looking at them, I will find great solutions that I can adapt for myself.

     

    I've been on the dev team for DQSD...This tool saves me hours every day...I live in that toolbar.

    I think I know how you feel... I have my Ghisler Total Commander with me everywhere I go on my pendrive. I do absolutely everything in it and from it; I like it so much I gave it as a birthday present to my father once; unfortunately, he didn't appreciate it as much as I had hoped he would... :D

     

    We do appreciate everything you're willing and able to do - including tagging spam for removal. I personally haven't worked on the Wiki... We have a couple other people that are more keen on editing the wiki and frequent the forum more often...

    I want to help with content, but as a newbie, I have my doubts if the content I will include will be accurate enough and use the proper language and formatting; There's always the option of rolling back whatever I edit anyways (and I surely won't be offended by it), but I don't want to be an inconvenience; I want both to help new users like me with the little knowledge I'm gaining and give back a little work for a freeware program that is so helpful to us.

     

    I can see 2 areas that are really missing content right now on the wiki:

    • Custom Columns (some examples and screen caps on the wiki are still from the time you apparently only had 1 or 2 Custom Columns fields available on the interface)
    • property:X variables (there's only a vague reference to look at the exported XML, and I think it could be incredibly useful for newbies if the content were to be more detailed)

  6. +Special value "{categories}" for placeholder "options" attribute

    Use "{categories}" as value for "options" in a template placeholder to let the user choose from the list of categories instead of a custom list.

    This:

     <placeholder name="Software Category"  value="" options="{categories}" />
    or even this instead: <placeholder name="Software Category" options="{categories}" /> 

    does not work for me here... (it seems it's not parsed - I get only one literal value of '{categories}' as an option)

     

    has this special variable been removed since then? :unsure:

  7. I wasn't aware that the "{property:*}" syntax wasn't available within variables...
    Well... I don't think it's all "{property:X}", as I've used others in the template successfully, but unfortunately I stumbled upon {property:PreviousLocation} that will definitely prevent the template from being used. (or so I think...)

     

    What exactly are you trying to accomplish with parsing it?
    I... was shamefully using it to get the filename, store in a temp variable and then use this temp variable with a regexreplace to extract the current version of the software stored on disk (to display in a custom collumn);

     

    As I was exploring the possibility of helping improve the wiki-pages for Ketarin, as you suggested, I discovered that {file} would give me almost the same result as {property:PreviousLocation} (it seems the only difference is that {file} uses "%20" notation for spaces in the path/filename, but I might be wrong about that);

     

    So, now I eliminated the 2 variables ({cur0} and {current}) I was using to populate the custom column with the current version and I just enter "{file:regexreplace:.+(\s|_)v\.([a-zR\d\.\-_]+)(\sPlugins|\-NonIE|\-PRT|\-mega|\-experimental)?\.(7z|exe|msi|rar|xpi|zip):$2}" into the "Column value:". It's not succinct or elegant, but it works... How would you do it if you wanted to display the current version in a custom column? (would you also get the value from {file} or is there another way?)

     

    ...situations like SourceForge...behavioral changes i...several options:

    1) Use another template

    2) Use a variable to determine the behavior.

    3) Don't use a template at all!

    Oh, man..!! How didn't I see this before?...

    Yes, in fact, for now it would be better for me to remove the template from the SourceForge items that were customized; Later (whenever I have the time), I can increase the complexity of the template and make it automatically adapt to those situations with yet a few more variables; Exactly as you said... brilliant! :)

     

    In a couple of my templates it was important to do exactly what you're after

    I would "give the world" to be able to see some of your templates! I'm not a programmer, so I really learn by seeing what others do and trying to understand it and adapt for my needs. I understand that you probably have a lot of templates and app definitions that you can't share, but if you could put the ones you can personally share with me and send me in a zip file (by PM or attached to a response), I would be immensely grateful. :) (I promise I won't misuse it or pass it around; I will only use it for reference in building my own templates)

     

    Being really honest, I was more confused than anything by looking at the few (old) templates available at the forum... I think there's lots of room for improvement on this area for Ketarin:

    • first, there should be a more clear differentiation between "Application Template" and a "General Template" for sites like SourceForge, GoogleCode, Softpedia, MajorGeeks, BetaNews, FileHorse, etc.
    • second, the user who created the application should definitely be identified (and possibly included in the search)
    • third, there should possibly be a more complex rank and moderation for the online templates (give some special users the power the delete, modify, rename and lower the rank of submitted templates). I know this one would take a lot of work to implement and it isn't really practical (but still ideal)...

    If you're interested in nifty tools, check out DQSD - there's a command specific to generating a GUID in it: guidgen
    Yes, I am! Thanks for pointing it out. ;) This looks quite interesting; it must be really a "swiss-army-knife" Toolbar; his search examples there are borderline hilarious. :lol: I will test it (and just laugh about the "pow!" example every time I use the exclamation mark on it)... I like the idea of having the browser address field - and it's multiple shortcuts - right in my face at the taskbar; as long as it's not as heavy and cumbersome as most of the others desktop-search-toolbars (including Google's), I'll stick by it.

     

    P.S.: About helping improve the wiki-pages for Ketarin, I'm not completely comfortable with the idea yet... I just saw yesterday there was a lot of spam pages on it, and I tried to clean it, but couldn't figure out a way to delete a spam page. Also, I'm not sure how to strictly follow the language used in it and the scrict formating to help keep the whole think cohesive enough; another problem is that any screenshots I can (and want to) produce will look nothing like the ones that are already there... (take a look below); I did already produce an excel spreadsheet (grab it here on fileden - it seems I don't have enough privileges to attach files here) with a table I would like to include in this page ( Special variables ) but I think it needs still a lot of refinement. Should I send it in a PM message to floele?

     

    ketarin2aexample.png <<-- mine (WinXP)

     

    Custom-column.png<<-- Wiki (Vista?)

  8. ...with ISO 8601 format (yyyy-mm-dd) your operating system can very easily sort the files by date...

    Using a dot also causes problems, especially under Windows, if you try to affect filenames using the "*" character. Your filenames will "change" everything prior to the FIRST dot, but everything after it will be preserved...

     

    ...You *really* should consider replacing the "&" in the filename with the word "and". This will avoid issues with execution of the file if the exe handler has been corrupted (quotes removed) or you fail to execute it with wrapping quotes. I know this doesn't sound like a big deal, but it's one of the ways malware extends the depth of infection under Windows, so ampersands in filenames should be avoided. To see just how dangerous it can be, imagine you have an application named "destroy" on your computer and within your path. If you type in the filename you created above into a command line, the "destroy" application would be executed. While this is a reasonably small likelihood of infection, why risk it? Don't use ampersands in file or folder names if it can be avoided.

    Wow! That was really interesting...

     

    I've been using the yyyy.MM.dd date format for years now, including in my custom "regional settings" for date in Windows XP. Now you've got me wondering if it's worth or not changing it all to yyyy-MM-dd... I've never encountered a problem with my format; sorting is fine, finding (with "Everything 1.2.1.451a") is fine, running is fine and renaming (with "ReNamer 5.60+ Beta 13") is fine; I really wonder if I should postpone this change until it's really necessary (which basically means when I first encounter a problem), since it will probably be a lot of work... (there are already many scripts, excel spredsheets, routines, etc that are configured to use the "dot-separator" format).

     

    About the "&" character, I also have been using it... As a general rule, ever since the 8-char DOS names, I always avoided using most special characters in filenames, specially Portuguese accented characters like é, á, ç, ã, ô, etc; I even have a special "translit" alphabet in "ReNamer" to automatically Rename files that do have "forbidden" characters; but there came a point, after some years using WinXP, where I gave up and started allowing for "&" and "+" characters into the filenames. Never had any problems after that, but I guess in order to avoid future problems I could reconsider. I will have to analyze the implications of renaming all files that currently use those characters more carefully before committing to the change.

  9. ...importing from a modified template...properly formed (includes a Guid and is different...prompted to update...NOT required
    It took me a while to see this because (yes, my own fault) I wasn't using a Guid on my Template...

     

    ...maintaining a template...you want to update the child profiles...ensure that your template is fully functional.
    That's my current problem right now... I guess I'm not good enough (yet) at writing templates, as I don't know how to "avoid the trap" of customizing certain small characteristics and values given by the template here and there (editing some applications) and not loose these customizations when "updating" the template.

     

    A good (and trivial) example:

    I want to display the current version of the software in a custom column, so I have a {cur0} and {current} custom variables that's added to all my entries and included in all templates;

    <!-- ### cur0 = temp var. to obtain the FileName (with path) ### -->
    <TextualContent>-property:PreviousLocation}</TextualContent>
    <!-- ### current = the current version of the Software, obtained from the FileName on Disk ### -->
    <TextualContent>{cur0:regexreplace:.+(\s|_)v\.([\d\.\-_btalR]+(al|bt|\d|\d[a-z]))(\D.+)?\.(7z|exe|jar|msi|rar|xpi|zip):$2}</TextualContent>

    It took me literally hours to figure out that I couldn't have "{property:PreviousLocation}" on a variable in a Template, so the only workaround I found was to swap the first "{" delimiter for a "-"; So, now, if I update a template, the least I have to do is export all entries; edit the resulting .XML file, swap back the first "-" for a "{" delimiter on the {cur0} entry; import the .XML file back again (and loose all the current values of custom variables of all entries).

     

    Another good example is the SourceForge template:

    in some rare occasions, the project in question will put all of their files in a single directory, without creating a separate folder with the specific version in the folder name; on these occasions, I have to "tweak" the template's values for certain fields a little bit.

    If I update my SourceForge template (which is bound to happen) I will loose all those "tweaks", right? How can I avoid that?

     

    Assigning the Guid is really the deciding factor. If your template doesn't have a Guid, then it's not really a template...
    I think you had already said it before, but it took me a while (and some more experience) to realize what this meant and understand it better.

     

    It all comes down to the fact that exporting a certain entry in Ketarin's main interface and selecting "Save as type:" with "Application Template" will only give you the basic frame for you to edit and create your own template, but it will come without a Guid, and, unless you actually go to the Online GUID Generator and get one (or more) Guid to manually put in your new template, it won't be a fully-functional template, as you said.

     

    Oh...that reminds me, if you really want to see where the functionality is detailed, check out the changelog posts! You'll find them under the 'general discussion' forum with names such as "Ketarin 1.6.1 beta 2".
    That's yet another great tip!

    This forum is incredibly full of tips and good content, but it's all quite "spread out" in different posts, and the posts headers will only tell "a tiny part of the story" and most times, some of the content you're trying to find isn't related to the post header at all...

    Unlike a few other forums (and I realize this should probably be a limitation of the IP.Board software), you can't modify or assign a specific "subject" to your Replies, so it makes it even harder to look for content without these "local bookmarks" (the "title" or "subject" of the message reply).

    I've only now come to realize that using a custom Google search to look for content inside the forum is a bit more efficient... (I guess, it's hard to compete will Google's algorithms and capabilities anyways).

  10. +1 from me too. I might have mentioned this somewhere in the past. Not critical but if there's time i would like to see this implemented.
    As a newbie, I've just recently learnt ("the hard way") that the log window is the main "debugging" tool we have on Ketarin (even though Shawn had already told me so in another post, but I guess I didn't understand it back then).

     

    So, any functionality that could be implemented for it would be quite welcome. I personally would like to be able to switch, move, resize, scroll (while both the edit window and the log window are displayed, for example) and turn on and off a word-wrap on it (sometimes some content span out of the screen). Clearing the window content to isolate a certain application output would be wonderful too! +1 :)

  11. Thank you Shawn and Tomorrow, for taking interest and for all the great tips on this subject, I'm currently testing 5 different applications (including GoodSync, which I'm really liking) to see which one suits better my needs. It will be a while more before I can really decide. I'll post my impressions here once I'm done. ;)

  12. It can be. :)

    Open an exported xml file and look for the tag names. These are what are the appropriate names for the 'x' in {property:x}

    Examples: {property:LastUpdated} {property:DownloadDate} {property:VariableChangeIndicator}

    I see now... good tip!

     

    The wiki is open for editing. You're welcome to contribute to the docs. ;)
    I'll definitely look into it. Maybe create a few examples/tutorials/improve the references. I didn't know it was open. This program is so damn good, I feel almost obliged to contribute and "give back" (even though I'm still a newbie).

     

    This is part of the internal functionality and is actually very important. It ensures that if you used a template of any kind to import, that the variable values are preserved. This is especially useful on sites like SourceForge, Github and such where the host may change a relatively minor piece of expected code, breaking all the apps that you have setup for the site. If you used a template to parse them, you need only change the original template, reimport, and it'll "fix" all of them immediately.

    That's very good (and important) info, but the problem with my specific case is that in a few days I already changed my main Softpedia Template at least a dozen times. Until it is "mature" and really good, I'd rather it didn't make any part of the jobs I have already set up. Later on, when I feel confident enough, I can edit the whole XML and "force" the new Softpedia Template into all those apps that use the site for downloading reference (I think).

     

    It would be good if we could control whenever importing from a template, if we would like to keep or discard the template. It would same me some valuable time.

  13. If you need internet-enabled backups, check out Goodsync ($). If you don't, use Robocopy (free/part of windows or the windows resource toolkit).

    I'm really liking the specs of GoodSync2Go, although it's a little bit over my budget (originally R$50 ~ US$27). Do you use it personally? Is it worth paying US$10 more for the "2Go" option?
  14. I'm in the process of changing my current backup software (I have a very old version of KLS Backup), I wonder if you guys have any tips:

     

    - I have just a few machines to backup

    - I mostly have a few, but very specialized backup jobs on each machine (I don't really need system-wide-all-inclusive backups or drive images on this software)

    - I need a good Scheduling capabilities in it.

    - I don't really need a lot of networking options or capabilities on the software, but I'll take it as a bonus.

    - I prefer for the software to have a small footprint, do not take too much resources on the machine to run (some machines are very old and have limited memory available).

    - having the capacity to be portable and to backup to different on-line sources are a sure bonus.

     

    Any tips and indications of what is the current backup software you're currently using and why would be mostly appreciated. Thanks! :)

     

    PS: I don't know if this is relevant here, and if it is not, I apologize and will delete the topic later.

  15. Generally its {property:X}

    One other that deviates from the norm is {appname:regexreplace: \(.*\):}

    This removes anything in the curved brackets in the appname. So if you have AppName (Description) it is displayed as AppName in that column. The negative aspect is that the icons are not displayed for apps. Though if your intention is actually to NOT display icons before app name then this would be ideal.

    This also works for saving the downloaded file without the description.

    Thanks! ;) I'm already using the {property:X} but it really isn't an "exact science" with those either...

     

    For instance, I was really looking forward to having each file "modified" dates on a custom column, but none of the options below yield any desirable results:

     

    {property:LastFileDate}:

    = (only display the same date as "Last Updated")

    {property:LastFileDate:yyyy.MM.dd HH:mm}:

    = (only display the same date as "Last Updated" and still displays the seconds and " PM", even with the 24hour format HH)

    {f:yyyy.MM.dd HH:mm}:

    = (displays nothing)

    {file:yyyy.MM.dd HH:mm}:

    = (displays the filename, including the complete path)

    {date}:

    = (displays nothing)

    {date:modified}:

    = (displays nothing)

     

    On the wiki, it says "{dd}) or like {f:dd}. The latter one refers to the date of the downloaded file, instead of the system date"

     

    It took me a good while to figure out that I should be using instead:

     

    {f:yyyy}.{f:MM}.{f:dd} {f:HH}:{f:mm}

     

    It is so counter-intuitive (and barely documented) that it's no wonder I couldn't find it... Now I can even use {f:yyyy}.{f:MM} to have a special column that will allow me to sort by the month that those files where actually released (since Ketarin usually mimics the "modified" date from the fileservers it downloads from, I think). Why do we have to use "f", instead of "file" and why do we have to repeat it so many times is beyond me...

     

     

    Another unrelated doubt that I'm having about cleaning up (after exporting the entire database to a XML file to be able to manually edit, search and replace, etc) is that whenever you import an application through a template, the whole template sits there in each "<ApplicationJob..." description, bloating up the whole database unnecessarily (in my case).

     

    I think it would be better to eliminate completely the whole "<SourceTemplate..." section replacing it with <SourceTemplate /> . The only problem is that I'm afraid this will mess things up later on at some point...

     

    @shawn: I had already seen and read thoroughly the wiki pages, but I think what they're really missing is some quick use examples to make things more clear for newbies like me... (I might be wrong, though; maybe I'm lacking experience - the good news is that with experience Ketarin will eventually allow me to customize it to behave exactly as I want it. :P )

  16. You're asking the right questions... trying to get a handle on this...

    Thanks. :) I'm really tryin'... This program is totally worth the effort.

     

    Right now I'm stuck at trying to set up my templates, trying to format correctly and uniformly my variables for each "job" entry, trying to set up all the most useful custom columns at the program interface, and CLEANING up previous "jobs" entries. I'm using your VARIABLES as a big reference, although I'm tempted to change some of their names, for my own mnemonic reasons... (my memory is quite weak nowadays)

     

    1) Filehippo sucks at versions... multireplace function in the 'save as' though... days or even weeks behind an actual release... renamed...apps...Filehippo tag...didn't work anymore... ban your IP address...access too much information too quickly... Filehippo only as a last resort... switched to something else...wasn't reliable...info provided was insufficient...

    WOW! :o That's not one, but almost too many reasons to stop using FileHippo... :blink: Too bad, because it's soooo easy to set up. Anyhow, first time users will likely keep enjoying using it just for the almost-too-easy-to-be-true nature of it. Before, I was even thinking about navigating FileHippo entire SiteMap and collecting all basic addresses (and FileHippoId, consequently) to have on a small personal database here (and maybe this kind of info - that is already small enough, but really helpful - could already be incorporated into the program); My Internet connection here is not only limited, but quite weak, and besides being slow (depending on the time of day), it hangs up, drops the line all the time (when I receive my invoice in the end of the month, my connection description is always 6 to 8 pages long, front and back...) So, any off-line information usually is quite helpful (and valuable) for me.

     

    Anyhow, I've set up a quite good Softpedia Template here, and it's working like a charm (sometimes it requires small custom details for each job entry, but it's not a big deal). I was thinking about using MajorGeeks before, but Softpedia seams to be a more complete source for all kinds of Software (at least so far).

     

    2) Use {file:ext} instead of {url:ext}. The {url} variable is ONLY available in web contexts and is not preserved thru closing and re-opening the interface for things like column behavior. On the other hand, the {file} variable *is* available all the time, so can be used for column sorting and such with no problems. Try it.
    That's great to know! Many thanks.

     

    - Besides {file:ext}, what kind of information can we get from the {file} variable?

    modified dates? {file:modified}? or {filedate:modified}? what's the difference between {filesize:formatfilesize} and {file:size} (if it even exists)?

  17. This is by design. The pre* and post* variables require context. Thus, they can only be used at certain stages of the process, such as with the "pre-download command" (on the 'commands' tab). Likewise, as in your other thread, the {url} variable is contextual. If you've not currently done anything that would trigger a URL request, then it has no access to that URL for you - and can't display anything.

    Many thanks for your answer. This clear some things up for me now. I'm beggining to understand it better... :)

  18. I tried to set up a "custom column" in Ketarin main interface with {preupdate-url} , but it does not seam to be working... It shows nothing, either on the program startup, during an "check all for updates only...", or during an actual update, or even after any of those events, or even still after an individual "Force download".

     

    {preupdate-url}

    "Only in pre-download command: Final URL from which the application will be downloaded."

  19. @shawn: The most effetive sign that I'm a newbie is that I'm "a bit lost" with some of your answers, but I'll come back and read it again once I'm more experienced (in a few days, probably). Nonetheless, I really do appreciate ALL of it! ;) I can already see there's some really valuable information there; something it would take me a few months and many mistakes to realize; now I can plan and "correct course" beforehand; Many thanks!

     

    e.g. 1: FileHippo will give you a predefined {version} that many times has to be cleaned; how would I go about cleaning the {version} variable? Don't I have to create a new one (reversion) to be able to process it? Or can I trow it on a temp variable v1, process it and then reassign the cleaned value to {version} in the end?

     

    e.g. 2: My custom column with {url:ext} will show absolutely nothing at all times on Ketarin interface, whereas my variable {extsn} is always showing the correct value for that specific software... (I think)

  20. Oh, man...

     

    And I forgot to say I'm lovin' the standardization proposed by Shawn on this topic:

    http://ketarin.org/forum/index.php/topic/306-standardization-of-variable-names-proposal/page__view__findpost__p__4078

     

    I not only is very well organized, but also gave me some very good ideas of things to "include" as variables on all entries.

     

    My question is: Do you use all those variables as local items in each entry?

  21. Yes. Just use that in the 'save to file' path. That's almost exactly what I have, though I save the file within the Ketarin folder, and use another replacement operation to clean up certain strings: \{category}\{appname:regexreplace:([\s\t\r\n\-\\&\/]+):_}-{version}.{url:ext}
    That's very good to know... (I'm in good company. ;) )

    Right now mine is

    <TargetPath>..\{category}\{appname} v.{reversion}.{extsn}</TargetPath>

    I'm using right now a "reversion" variable to "automatically clean-up" almost all obtained version numbers. The keyword here is almost... some softwares must have this variable further customized. That's the reason why I'm hesitating to use a more simple approach with a "global variable" with the same name and avoid declaring it in every single piece of software. So, I would like to know:

     

    - Can I override the global variable with a local declaration whenever it becomes necessary?

    reversion = {version:multireplace:~: (32-bit)~ (IE)~ (Non-IE)~ Beta~ Alpha~, Build~ Build ~ part ~ beta ~/~(~):~~-NonIE~-bt~-al~.~.~.~.~.~~}

    sometimes become, for instance,

    reversion = {version:regexreplace: Build (\d\d).(\d\d).(20\d\d):-b_$3.$2.$1}

    and some other few necessary corrections, sometimes with the use of a temporary "v1" and "v2" variables to apply multiple consecutive corrections. So, my second question is:

     

    - Do I have to use (and declare) temporary variables to make use of consecutive transformations?

    (or is there an easier way to do more than one direct and different transformations on a variable output?)

     

    I've also just figured out that about 2/3rds of my software entries have the .exe extension (man, that grouping + sorting behavior of Ketarin is just fantastic!);

    So, I would like to have my "extsn" variable as a "global one" declared with the value "exe" and only change it locally whenever it becomes necessary;

    - Is it possible? Would this work well? or is it just another potential source for problems and I'd better stick with local "extsn" variables?

     

    (I do not like to use {url:ext} on the TargetPath because it does not display accurately on the column on the interface; also because it is does not get stored in the database, apparently; also because I can't have a custom column to sort and group entries by this value ;) )

     

     

    Edit: I forgot another very important question to the "PRO's":

     

    - When I edit the "ALL.xml" (all exported entries) with notepad++ and make all the desired corrections, trying to make everything as uniform, simple and functional as possible, I'm afraid as I import it to a new and clean jobs.db there will be probably some values that I had before on the old "jobs.db" that I will loose. Is this true?

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