floele Posted January 19, 2009 Author Report Share Posted January 19, 2009 Not a big deal. I re-uploaded .22 now, and after renaming, it should not re-download the file. Link to comment Share on other sites More sharing options...
Stalker Posted January 19, 2009 Report Share Posted January 19, 2009 Oh, it was a bug then. Because I was frozen for a few seconds thinking "Ehhh..." before I found out there was page 2 in this discussion already Link to comment Share on other sites More sharing options...
FranciscoR Posted January 19, 2009 Report Share Posted January 19, 2009 This new version solves renames using F2 =), but does not work for file renames using Windows Explorer. =( Link to comment Share on other sites More sharing options...
floele Posted January 19, 2009 Author Report Share Posted January 19, 2009 No, of course not. Feel free to suggest an implementation for that. Link to comment Share on other sites More sharing options...
Stalker Posted January 19, 2009 Report Share Posted January 19, 2009 Now try the method I suggested. Basically as far as I can see it everything goes like this: 1) Ketarin downloads a file 2) PreviousKnownLocation is updated with a path to downloaded file 3) User renames the file from outside Ketarin 4) User updates PreviousKnownLocation entry in the db 5) User initiates the update 6) Ketarin checks the PreviousKnownLocation and sees that the file is indeed there and up to date 7) Ketarin reports the file as up-to-date Link to comment Share on other sites More sharing options...
FranciscoR Posted January 19, 2009 Report Share Posted January 19, 2009 4) User updates PreviousKnownLocation entry in the db With XML export-import ? Well, if there's no other fix, I will have to use that. Â No, of course not. Feel free to suggest an implementation for that. How about using metadata ? Â There's metadata that almost never changes, like name (not to be confused with file name, e.g. although I have renamed Ccleaner.exe to Ccleaner_ABC_123.exe, metadata name is the same, Ccleaner) size, version, data type, extension, where it is located, how it is associated, atributes, ownership... is this non-sense ? =) Link to comment Share on other sites More sharing options...
floele Posted January 19, 2009 Author Report Share Posted January 19, 2009 Don't like the meta data stuff. 4) sounds good, but the question is how you want to update it. Command line? Public API? Link to comment Share on other sites More sharing options...
Stalker Posted January 19, 2009 Report Share Posted January 19, 2009 With XML export-import ? Well, if there's no other fix, I will have to use that. wink I was actually talking about sqllite command-line tool. Link to comment Share on other sites More sharing options...
floele Posted January 19, 2009 Author Report Share Posted January 19, 2009 Editing SQlite databases directly: Bad idea. Link to comment Share on other sites More sharing options...
Stalker Posted January 19, 2009 Report Share Posted January 19, 2009 Editing SQlite databases directly: Bad idea. Well yeah, if you can implement a solution inside Ketarin it would be safer, compatible with all versions etc. etc. But for the lack of better idea and strong demand on it I came up with that Link to comment Share on other sites More sharing options...
floele Posted January 20, 2009 Author Report Share Posted January 20, 2009 For the next release, you can use the command line with the following command: Â /update /appguid={373d4791-37d4-441a-81b8-8466e55e9803} /PreviousLocation=c:\test.exe Link to comment Share on other sites More sharing options...
FranciscoR Posted January 20, 2009 Report Share Posted January 20, 2009 For the next release, you can use the command line with the following command: /update /appguid={373d4791-37d4-441a-81b8-8466e55e9803} /PreviousLocation=c:\test.exe  Are you including a new "execute command before download" field? Your "appguid" is an example, I can use any app, right ? Link to comment Share on other sites More sharing options...
floele Posted January 20, 2009 Author Report Share Posted January 20, 2009 1. Not that I am aware of. 2. Yes, you can. Link to comment Share on other sites More sharing options...
floele Posted January 22, 2009 Author Report Share Posted January 22, 2009 I reuploaded Ketarin, now with background colors instead of text colors. Link to comment Share on other sites More sharing options...
FranciscoR Posted January 22, 2009 Report Share Posted January 22, 2009 (edited) For the next release, you can use the command line with the following command: /update /appguid={373d4791-37d4-441a-81b8-8466e55e9803} /PreviousLocation=c:\test.exe  1. Background colors look OK; =) 2. What command line are we talking about ? It's probably a sqlite command line after all, anyone will do (http://www.sqlite.org/sqlite.html ) or you have a specific recommendation ? 3. Also, instead of appguid can I use app name ? It's faster and more intuitive to use, personally I don't have two app name's alike so this won't be a problem (I think). Edited January 22, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
floele Posted January 22, 2009 Author Report Share Posted January 22, 2009 2. Ketarin.exe of course. Wouldn't make sense otherwise. 3. No, you can't. Just use the variable {appguid}. Link to comment Share on other sites More sharing options...
FranciscoR Posted January 22, 2009 Report Share Posted January 22, 2009 Yes, this does the trick. Link to comment Share on other sites More sharing options...
FranciscoR Posted January 22, 2009 Report Share Posted January 22, 2009 (edited) Yep, only location is updated [date and time are also updated here because I was using a second machine]. <PreviousLocation>D:\Programas\ccsetup215.exe</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId>ccleaner</FileHippoId> <LastUpdated>2009-01-19T19:29:18.3420903</LastUpdated> <PreviousLocation>c:\ccsetup_ABCD_215.exe</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId>ccleaner</FileHippoId> <LastUpdated>2009-01-22T12:57:24.9161344</LastUpdated> Edited January 22, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
floele Posted January 22, 2009 Author Report Share Posted January 22, 2009 I uploaded a new version again, with a couple of GUI updates. Most importantly: The scroll position does not change anymore if you edit regular expressions or start/end of variables. Link to comment Share on other sites More sharing options...
CybTekSol Posted January 22, 2009 Report Share Posted January 22, 2009 Florian, I LOVE the background highlighting in the 'Edit Variables' window!! THANKS!! I'm not sure about disabling the auto-scroll though... makes me have to hunt for the first match. It will grow on me with time I'm sure. Link to comment Share on other sites More sharing options...
CybTekSol Posted January 22, 2009 Report Share Posted January 22, 2009 (edited) Okay Flo... once again YOU were right... the scroll position NOT changing works better in the initial development of regular expressions as you can go to what you want to match and it stays put while you are copying & pasting the pieces of the regex together. SWEET!! BEST beta to date... YOU ROCK! Edited January 22, 2009 by CybTekSol Link to comment Share on other sites More sharing options...
CybTekSol Posted January 23, 2009 Report Share Posted January 23, 2009 (edited) Okay Flo... once again YOU were right... the scroll position NOT changing works better in the initial development of regular expressions as you can go to what you want to match and it stays put while you are copying & pasting the pieces of the regex together. SWEET!! BEST beta to date... YOU ROCK! HOWEVER... a small weakness in this became apparent to me late last night when I was developing, tweaking and testing 'universal' regular expressions for a new site template... Whenever I am somewhat satisfied with my regex, I proceed to import the template repeatedly for at least 8 or 10 apps on the site for which I am developing the template. This particular site's hypertext had many long lines which made it VERY DIFFICULT to find the regex match in the 'Edit Variables' window. I believe this issue could be solved simply by adding 'Jump to match' Ctrl+J or something similar along with the existing 'Copy' and 'Copy match' right-click features that already exist which would center the regex match in the window. What do you think Flo... a reasonable solution? Edited January 23, 2009 by CybTekSol Link to comment Share on other sites More sharing options...
floele Posted January 23, 2009 Author Report Share Posted January 23, 2009 I thought about this as well and reuploaded a new version now which should suit your needs Link to comment Share on other sites More sharing options...
CybTekSol Posted January 23, 2009 Report Share Posted January 23, 2009 It appears the 'background highlighting' feature is now intermittent... worked flawlessly with the previous beta. Any ideas? Link to comment Share on other sites More sharing options...
floele Posted January 23, 2009 Author Report Share Posted January 23, 2009 What do you mean? I don't see a problem. 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