Jump to content

Recommended Posts

Due to a huge issue I've been having with editing the first post in this topic, since the forum upgrade, which makes it excruciating to modify, I have relocated a sizable chunk to the second post in this topic. I'm hoping that will improve things, and things seem to have sped up a little, but only after fixing all the remaining problem links in the first post.

I may not get a full improvement though, until I fix all the dead links, now located in the second post. This is purely a guess though.

Thus as of this post, I'm still having long lag issues while editing, and to add insult to injury, the fixed links are misbehaving.

For some unknown reason, when you click a link, it takes you to the right location, but then when the page stops loading, it jumps to the end of that page or another location ... very weird.

EDIT
It seems to be a browser (or browser version) issue for the link problem, and it may very well be causing the editing issue too. Oh  joy of joys, something for me to do tomorrow ... update Firefox.

Edited by TheSaint
further enlightenment

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to post
Share on other sites
  • Replies 116
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

This version has been discontinued. See the new version here. MANUAL MODE+ ONLY. No longer fully working automatically for price and adding new ebooks. NOTICE - As many of you are probably a

UPDATED - see first post. (v1.8) Added an option to store and view up to the last five Query results. Both the 'Settings.ini' and 'Catalog.ini' files can be viewed via a button on the SETTINGS win

Another goodish connection speed day. Well, the good news is that I have not needed to redo the Updater again. The bad, is that this process is taking far longer than expected ... not helped by a head

Posted Images

UPDATED - see first post.

(v3.6)

Another minor update while still working on the major v4.0 update.
Private Comments are now supported and separate from previous Comments, which are now called Shared.
Image Data window can now be viewed whether Image Data exists or not.
Renaming of a Title or Author, now creates a respective backup key, and has restore options.


NOTES - When the Image Data doesn't exist, you still get the warning, but not when using UP and DOWN arrows. Private Comments can be viewed in the same manner as Shared Comments, but can only be modified via the right-click option. Shared Comments are not truly shared in this version, but they become fully so in the upcoming v4.0. In fact, having Private and Shared settings in this version, is just a preparatory aid for the v4.0 Updater, to maintain secrecy where needed.

Apologies for getting stalled with this update partway through uploading.

As previously mentioned, I am holding off on completing v4.0 for a while. I may even eventually rewrite it from scratch, though that seems unlikely. So I recommend that users update to v3.6. An eventual v3.7 is not out of the question.

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to post
Share on other sites
  • 3 weeks later...

About to investigate a BUG I discovered last night (an important issue, especially, for multi users and those who have relocated bought ebooks).

This probably affects selections after adding or removing an ebook entry too, if my guess on the probable cause is right.

If I am indeed correct, then it was a silly oversight by me.

Essentially, I was having selection issues after a specific number of lines, where I would select a line entry and selection would immediately jump to the line below. If I kept going up the list, this issue eventually stopped at a specific line, and only repeated when I selected below that line number again.

I have noticed an issue on the rare occasion in the past, but put it down to a quirk of ListViews after changing the number of listed entries.

On this occasion (last night), I had mistakenly left the Relocated Bought Ebooks user as the currently selected user when I'd closed the program on previous use (I'd relocated an absolute bargain there). I hadn't realized that on startup, and initiated a sort of favorites and then a Query ALL, at which point I did suddenly realize and thus cancelled after only two ebook prices had been checked (which has made me decide I need a prompt for Queries by this type of user). Anyway, I then selected the correct user and tried again. Towards the end of that query, I seemed to notice that a few changes were not being reported in the overall count.

In other words, a change would be indicated by an asterisk, but the count not go up.
Which lead me to investigate further once the Query ALL finished.
It was then, when selecting an entry near the bottom of the list, that I was having the jump to the next line selection issue.

After discovering this and eventually finding out that this behavior stopped when I went up the list far enough, that it dawned on me, that a variable related to list entry count (and selection) was probably not being updated on User change, and that the value was less than it should be, due to the Relocate Bought Ebooks user list being much shorter (smaller count of entries). This would probably not be an issue going from longer to shorter lists and then back again, but as the program had started with a shorter list, then going to a longer list could cause this, if the necessary variable wasn't updated.

How I might have overlooked this variable being updated after a user change, and perhaps even adding or removing an ebook, I'm not really sure. Perhaps I just thought updating the list count was enough or maybe I was sidetracked or interrupted when I did the modifications for having other users etc.

At this point, I have not yet checked my code, to make sure that this is indeed the issue, but I suspect it is.

Stay tuned for v3.7 and a fix (hopefully) and the prompt I mentioned. I am also considering relocating General Comments to its own file, so that they truly can be Shared Comments. That last is certainly a consideration, as it could be some time before I continue work on v4.0, as I want to devote most of my attention right now, on my Audio DVD Producer program.

P.S. It is not beyond the bounds of possibility, that the other issue, which drove me in the direction of creating a v4.0, might in fact be related to this same bug. If that is the case, and I manage to fix it, then I will have even less reason to continue work on v4.0. At the end of the day though, v4.0 is an improvement on v3.x and earlier, so probably still worth doing eventually ... or maybe as a complete rewrite now I have a greater vision and understanding than when I started ... remember though, that this program has become far more than expected or anticipated ... it really was just meant to be a simple affair. A rewrite may involve an overall name change to simplify update issues.

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to post
Share on other sites

Mmmm ... after some preliminary attempts to reproduce the issue (aside from marking a book as Bought and then relocating), I have not been able to reproduce the issue. This means (phew) that the issue may not be exactly what I thought or not as wide ranging, and perhaps only to do with relocating (though Add and Remove may still be at issue too).

This is great, in that I do not need to give myself a big slap ... but perhaps a little one only.

However, this means it could end up being much more complex, and I really don't wish to devote that much time to it right now, as Audio DVD Producer is calling me, and I want to capitalize on the downmix to stereo testing I did much of yesterday.

P.S. I only discovered this selection issue last night, just before retiring to bed, and so aside from a quick investigation I did not devote much mind power to the issue, and was happy enough to investigate further today based on my first suspicion, and take it from there. I find, it is best to not have too much to cogitate over when attempting to go to sleep with a tired mind.

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to post
Share on other sites

Just reporting that I have been sidetracked by other things, including working on my Audio DVD Producer program, and doing my head in from reworking the predictive elements for projected project time and size ... so many variables now.

That all means I have avoided further testing and investigation with the latest issue here.

Despite that, I have still been using the program and making purchases, and not experienced any further trouble. So upon a little more thought, I reckon the issue only occurs in a specific set of conditions, and probably very unlikely ones at that. The prompt I have already mentioned should address that and make the likelihood of the same conditions even more remote.

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to post
Share on other sites

UPDATED - see first post.

(v3.7)

Bugfix for Timer Label causing a miscount of control numbers when swapping users in certain scenario.
Prompt when making a Query from relocated bought ebooks user.
Private Comments are now queried when copying or moving an ebook to another user, if they exist for that ebook.
All Shared Comments are now stored and read from the shared file 'Comments.ini', though they still also exist in each user file for now, if no longer referenced or updated there. Any conflicts during this updating change, between users, meant comments were combined but separated by a pipe '|' character.

NOTES - I finally got the urge to troubleshoot this program last night for the previously mentioned bug, and add some other improvements.
It didn't take very long to replicate the problem, and then discover the cause, which was an errant Label that needed deleting after use before doing some other things. I'd originally intended for this Timer Label to be deleted after use, like the Please Wait one, but had decided it was handy to leave it displayed, not fully realizing the later impact, when changing user etc, due to how ListViews work, and Control ID's. Anyway the issue is resolved now, and I expect it may have also been the cause of the other issue that drove me into pursuing a v4.0.

v4.0 is on indefinite hold now, with both issues (bugs) having been seemingly fixed, plus making Shared Comments truly shared.

P.S. The Timer Label, which displays the time during a Query and the end time taken, is still displayed until such time as a User is changed, ebook added or removed or relocated etc, list sorted and a few other things that require it being deleted.

Edited by TheSaint

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to post
Share on other sites

Well, as luck would have it, it appears the store in question have changed something.

The price is not being returned, and on the third item being queried, the program crashes.

This happens with the new version and the older v3.6, so not something I have done ... though the crash is surprising.

I cannot be bothered chasing up what it might be at the moment, but I imagine it only requires a simple adjustment after investigation .... hopefully.

P.S. A quick play with how many HTML characters are read, did not fix things, and sometimes the program crashes on first item queried, so what item seems relevant and not number of query. I'm guessing a key word or it's location has changed ... and maybe more than one. The crash is probably array related and so I may have left out a test or two

Edited by TheSaint

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to post
Share on other sites

I've had time to have a quick look, and determined that the info I need for my program to work, is no longer being gleaned by _InetGetSource. Some other elements have changed as well, but chiefly I get all I would need by manually saving the Web page, which creates a html file almost twice the size of that created by _InetGetSource.

I've also tried InetGet but that returns the same data as _InetGetSource, so I need to find some method of downloading the full web page to overcome this problem. I'm presuming the key elements I need are being stored in dynamic JavaScript, which is being overlooked or stripped out by the Inet functions. There has to be some way of replicating what I can do manually.

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to post
Share on other sites

For now, the program is broken.

An example of the issue, is the following.

If I manually browse to the following item on my wishlist.

http://www.amazon.com/dp/B00TE3HFLQ/ref=wl_it_dp_o_pC_nS_ttl?_encoding=UTF8&colid=2R26DRFTGUUA&coliid=I3IK6RKPAQJ4WM

It shows it as being available to me for $13.09 (and I'm presuming that is US currency). I also have a Buy now with 1-click button.

If I use _InetGetSource or a command-line third party web page downloading program, it returns a different scenario.
The ebook is not currently available for purchase, and is priced at $21.31, with no Buy now with 1-click button.

If I manually save the web page of the first instance, the price of $13.09 is in the html source, but is nowhere to be seen in the second instance.

My program will remain broken until I can find a method to faithfully download an ebook's web page data.
I'm presuming this is something to do with JavaScript and Cookies, and that perhaps I need to provide some kind of identity to get the correct return.

Edited by TheSaint

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to post
Share on other sites

One thing I have discovered today, is that Amazon are now dishing up pages as https rather than just http. I found that out after logging out and then back in. Now all my wishlist items show https at the start. This alone would have prevented adding new ebooks to the program, as it tests for http only.

However using http does still work, and using https does not overcome the lack of correct price being returned, even when I use InetGet instead of _InetGetSource, and provide my username and password. There is only a few kb's difference in the Html source that is downloaded/scraped.

Perhaps there is a delay occurring before the current price is displayed, and both InetGet and _InetGetSource are returning too soon?

Currently, I'm hoping a DLL (program) I found online will do what I need ... it promises a lot.

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to post
Share on other sites

For now, I have decided to put further development on hold (but see below), as the program is broken (no longer works) and a solution seems nigh impossible or difficult, and in any case, I have no wish for Amazon to be unhappy with me (not that they should be).

You can read my Web Page Price Checker topic in Chat to see further and related discussions. The latest entry by me is here. Link not working, try this and browse to the entry.

Further to that, my program can still be useful, to gain access to ebook pages faster than going through your Amazon Wishlist, so in that regard you can still be better off ... still a lot of clicking and waiting though.

I will probably do another update, so that you can still add ebooks from your wishlist to the program, but Prices won't work.
I am also considering making it quicker and easier to open an ebook's web page.
That last, would mean less clicking and no right-click menu selection. So perhaps a button and/or checkbox, with the ability to auto move to the next item on the list.

A true shame that this has occurred.

P.S. The damn specific Post link above, is not currently working. On Jon's advice, I've now pasted the link directly into the page and are bypassing using the Link button from now on, until the forum issue is fixed.

Edited by TheSaint

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to post
Share on other sites

I'm also looking at the option of the user copying and pasting the current price into the program themselves, and the program processing it ... perhaps keeping a short term record as well, and providing a Report for all recent changes, at the click of a button.

That would mean that the program still essentially works, if in a much more convoluted way.

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to post
Share on other sites

UPDATED - see first post.

(v3.8)

Program is broken as far as getting prices automatically from Amazon, but a 'manual' mode has been added, and set by default, but can be reset to 'automatic' in program settings. The manual mode allows you to do your usual Query (one or ALL), and presents you with an Input box to manually paste the price you have copied from the ebook webpage that has been executed. You can stop at anytime, by clicking the Cancel button. The usual Report will be displayed and any changes stored.
NOTE - You cannot currently ADD any new ebooks to the list with this version, but I will address that issue soon.

NOTES - If the program is not running with the On Top setting enabled, then it will be enabled at the end of a Query ALL, to ensure the window is visible when restored. During a Query ALL, the main program window is minimized and a floating Input Box appears top left of screen for each item queried. Clicking Cancel will exit the Query All process. The floating Input Box relies on an executable called CheckForWin.exe, to ensure it is set on top by the program. Before the Input Box is presented, CheckForWin.exe is executed and the URL for the currently selected ebook is executed, and the Amazon web page should appear shortly afterward in your default browser. You then highlight and copy the current price from the webpage, and paste it over the previous current price displayed in the Input Box. You then click OK, and if you wish to, close your browser or browser tab for that ebook.

If an ebook price hasn't changed, just click OK anyway, as the program does the usual comparisons, and will skip any matches with a previous current price.

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to post
Share on other sites

Okay, I've now done a full manual Query ALL of 42 ebooks on my list, and it wasn't too painful or take too long. It did however strike home to me, that the ebook title needs to be displayed on the Input Box, to reduce the chance of pasting a price into a wrong entry. So expect to see that improvement tomorrow, as I'm ready for bed now.

I've also had a report that prices are not being detected wrongly for at least one other person, so I will look into fixing the program, even if it won't benefit me.

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to post
Share on other sites

Had a bit of time up my sleeve waiting for something to finish on another PC, so I coded the small improvement I mentioned and just replaced the other version of v3.8 with the update.

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to post
Share on other sites

UPDATED - see first post.

(v3.9)

Program can now have ebooks added to it manually, when in 'manual' mode.
The Timer and Wait labels are now dealt with correctly, by being hidden when not required or wanted.
An Input Box is continually presented for user to manually add an Ebook's details (Title, etc).
No other fix has been added yet, to deal with broken status in regard to automatic price checking.
That last, also includes not automatically getting details when adding ebooks. I may do that next.

NOTES - Adding an ebook manually, still requires an Internet connection, though it is only checked and not used. This is because of the ISBN element, which is a requirement. It is reasonable to expect, that you will need to have the Amazon web page for the ebook, available, so you can copy the relevant detail from it, to paste into the Input Box fields. Clicking CANCEL at any point, will abort ADD and remove any detail provided so far. Clicking OK in the case of Pre-Order or Book Description, without changing the displayed default text, is seen the same as clearing the default text to none. Adding a Book Description relies on a clipboard comparison, to overcome the 254 character count limit of an Input field. It is also then able to deal with carriage returns etc.

And here we are, almost up to the fabled v4.0, which will undoubtedly be a very different beast now.
If I need to refer to the original again, it will now be called v5.0.

P.S. I discovered through a discussion I initiated in the MVP forum, that the way I handled the Timer and Wait labels, was not correct programming. Chiefly, I had used $Label_timer = "" after having deleted the control, and the same for $Label_wait. They are now both always created, but hidden and shown at need. I also learnt how to better use Listviews, but incorporating that into this program, may never happen or have to wait until another time ... perhaps when it is working fully again. I have however taken on board the new knowledge for the future. I'm not overly enamored at the added complexity though, despite all the obvious benefits. Thanks go to Melba23, guinness and jhcd etc.

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to post
Share on other sites

UPDATED - see first post.

(v4.0)

No, not the mythical v4.0 .... that is now v5.0.

A Query ALL can now start at the currently selected entry, via a prompt.
An option to auto close current browser tab (using Ctrl + W), has been added for when getting price in manual mode.
Input Box window widened slightly in ADD Ebook manual process.
A delay option has been added, to allow a pause for specified seconds between queries during a Query ALL. This delay may be helpful in preventing erroneous detection as a malicious scraper.
Ebook cover can now be a .jpg file, in the Image Data folder, where filename matches ISBN ID.
Bugfix for whitespace in Price in manual mode (sorry about that).

NOTES - Just when you thought this program almost dead and buried, it drags itself up again from the primordial soup.

Added some improvements that would have been welcome in the original fully working automated version. In fact, one of those I added (Delay) is of no benefit, unless it does get fully working again ... so I live in hope.

Close Browser Tab, works quite well for me, and I only had it fail once out of 45 ebook queries (unknown reason, but probably mistiming or an ebook name change). This option, if you enable it, means less clicks and probably faster processing, so adds a bit of automation back.

Starting at the currently selected item, in the current circumstances, can be really helpful as doing a Query All is a much longer process. It does have obvious benefits for automatic mode though, if we can get it working again.

My apologies for any (if any) that had price errors due to copy & paste whitespace. I overlooked that initially and then kept forgetting to fix it. If however you were careful with copy & paste you should not have been impacted.

Not really much more to do now, except the obvious.
If it is indeed possible to get it reworking for some of you, then I am just waiting on a Html.txt file from one of you (created when you add an ebook), to compare to mine. I cannot go forward without that. Mine doesn't have the data I need, whereas yours might.

One of the obvious missing elements of the manual mode for adding ebooks, is the lack of cover.
It is possible, that if you save the cover as a .jpg and rename it to .dat and then give it the ISBN ID as filename, and put it into the Image Data folder, that it might work. I'm about to test that myself.
EDIT - It did not work, so I modified the program so it does, and as no-one has downloaded this version yet, I just uploaded it as a replacement. Any .jpg can now be used as a book cover, provided it has the extension .jpg and the filename matches the ISBN ID (i.e. BOOIJKLDV.jpg).

There is a possibility, that despite not getting a price or correct price, that I may indeed still be able to get all the other data, including Image data. I just haven't bothered to look into that just yet.

P.S. Just for the record, I do realize that the so called ISBN ID is not really an ISBN. I just forgot what ID it really was at the time, and keep forgetting (ASIC or something similar), but saw reference to it again recently. It is kinda too late to bother changing it now, It works and that's the important thing.

Edited by TheSaint

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By TheSaint
      An adaption of an adaption.
      A good while back, I created a program, KindEbook Wishlist, that I use most days and is still available here at the forum. It works well, keeping tabs on price changes for Kindle ebooks at Amazon ... at least for my modest wants.
      About a year or so later, I struck upon the idea of adapting that program for CDs, DVDs, Blu-rays etc from the JB Hifi store, where there was a limit of about 50 items on the in-store wishlist. JB Wishlist is kind of a niche program, really only suitable for those from AUS, at the AutoIt Forum, who would want such a thing ... so not many I imagine, so it has never been available here. However, if you meet that criteria etc, and are willing to register at the AutoIt4Life Clubrooms, then it is available in the Project Chat section there ... though not the more recent updates (you need to ask me about them). That too, works quite well for my modest needs, and even includes an additional Preview & Summary window, which KindEbook Wishlist doesn't have ... though both programs do have access to a Details window per item, that is like the Preview window ... just doesn't constantly display alongside the Main program window (see later for an example with IonGoG Wishlist).
      So, now we come to IonGoG Wishlist, which is an adaption of the JB Wishlist program, and used for keeping tabs on GOG Games ... prices, history of changes, bought list, etc.
      IonGoG Wishlist is an incomplete adaption, so still in beta ... though all the really important elements work well enough. I have been working on it in dribs and drabs, and I now think it has come to a reasonable enough stage to share it ... just be advised, that some of the features accessed via the right-click menu etc, may not work or give strange results. Any of the options that I have given an Accelerator key facility to, should be working fine ... and most of the others are too ... and I am not even sure at this point, of what remains to be adapted ... not much I imagine.
      The name by the way, in case you were wondering, is a phonetic mangling on the words - keep an Eye On your GOG Wishlist.
      Here is a screenshot, with the Preview window on left. The Preview window can be placed at right instead or even turned off.

      Download, includes source files.
      IonGoG Wishlist v0.0_b28.zip  (see detail at Post#23)
      Enjoy!
      OLDER DOWNLOADS
      SUPPLEMENTARY
      I have another program that GOG users may be interested in, that can assist with getting game images that IonGoG Wishlist gets and doesn't get ... larger versions taken from modified thumbnail links in their GOG Library.
      Downloads Dropbox  (see the GOG example in Post #7)
      ADDENDUM
      In reality, compared to most stores I have come across, the GOG store is great, well setup and laid out. and for most things, including their Wishlist, is more than adequate. So I rarely do a full list Price Query ... so much quicker and easier to just check the two pages of my in-store wishlist. When I first started work on IonGoG Wishlist, the in-store wishlist wasn't as good as it is now.
      All that said, I still find it handy to use IonGoG Wishlist, for a variety of things - Offline browsing, Cover images to use with my bought & downloaded game folders, price changes history (and patterns of GOG behavior for sales etc), a bought list (with price I paid and date etc), Game Notes & Warnings, etc. And while not as quick as just checking the pages of your in-store wishlist, you can just set the full, favorites or non-favorites Query going, while you go away and do something else, and then later come back and look at the highlighted changes that may have occurred.
    • By TheSaint
      I have now added a 4th program to the mix, and decided to place all under the banner of a suite - KindEbook Suite.
      I believe it will be better served by having its own topic, rather than attempt to edit the first few posts in the old one - KindEbook Wishlist.
      It is also a chance to de-clutter and make some improvements.
      MAIN PROGRAM
      KindEbook Wishlist
      COMPLIMENTARY PROGRAMS
      AZWPlug
      Add Book & All Formats To Calibre
      UpdateFromOPF
      Bucket-for-URLs
      ConvertEbook (now replaced by Batch Ebook Convert if you wish) Redundant where KFX files are concerned.
      Batch Ebook Convert (new)
      CalibBrowser - Multi-faceted viewer for calibre  (while kind of complimentary, not part of the suite proper, not a step to apply)
      ASSISTIVE PROGRAMS
      Batch Create & Run
      TeraCopy Timer
      RECOMMENDED 3RD PARTY PROGRAMS & RESOURCES
      calibre - Integral to the last two of my complimentary programs, and an important element of the first one. Basically an ebook database & conversion program, but also offers plenty more, especially adding ebooks to or removing ebooks from your reading device. Wikipedia
      Sigil - A wonderful open source ebook editor & creator. Great for fixing issues with EPUB files, especially after converting from another format. Wikipedia
      MobileRead Forums - Excellent resource for all things ebook.
      BookBub  - Great advisory source for ebooks, that lets you know via email about great bargains at Amazon Kindle, Kobo, Google Play, Barnes & Noble, Apple iBooks. I still use KindEbook Wishlist with anything I obtain at Amazon via BookBub links, but usually just for a purchase record ... essentially I ADD (mostly freebies) and then immediately RELOCATE to my bought (b) user. A BIG Thanks to @willichan who told me many months ago, about BookBub.
       
      Usage Of My Programs
      To help others to understand about these programs and how to use them for the best benefit, I thought it best to outline how I use them, usually each and every day.
      Quick Summary Of Usage  (in order of use)
      1. KindEbook Wishlist - Amazon Kindle Wishlist, Price Checker, History of Changes, Record of Purchases.
      2. Bucket-for-URLs - Assistant to KindEbook Wishlist with new ebook discoveries, if a lot of them. When BookBub freebies lead to many others at Amazon.
      3. AZWPlug - Add Kindle purchases to a database and to calibre, plus get right-click detail of selected ebook file (once added to database).
      4. UpdateFromOPF - Make changes or corrections to the Metadata (OPF) file in calibre.
      5. Batch Ebook Convert - Convert existing ebook (usually AZW3, sometimes MOBI) to EPUB and if missing, MOBI.
      6. TeraCopy Timer - Make backups locally (outside of calibre library), and to thumbstick for transfer to another PC etc.
      7. Batch Create & Run - Make passworded and zipped backups to Google Drive (locally).
      8. Add Book & All Formats To Calibre - Add one backup copy of each ebook (all formats) to calibre on another PC.
      KindEbook Wishlist
      AZWPlug
      Add Book & All Formats To Calibre
      UpdateFromOPF
      Bucket-for-URLs
      ConvertEbook
      Batch Ebook Convert
       
    • By TheSaint
      Only early days at this point, but I have been pondering such a program for a while.
      As good as calibre is (thank you Kovid Goyal), which is a great and wonderful ebook suite of tools and a fair database, it does have its limitations. One of which, is how it deals with multiple libraries, another is the views you get. CalibBrowser will seek to address those.
      What CalibBrowser is not going to be, is an editor for existing calibre libraries. That will be left up to calibre, which is very much needed still, and covers many aspects I will never look at. Unlike calibre, which is quite a complex program, CalibBrowser also seeks to be simple. It is mainly a viewer, at this point, but will later be able to create its own libraries. However, it does not and will not export them to calibre, especially as calibre employs a far different method and structure to what CalibBrowser will employ.
      When CalibBrowser starts, it looks for calibre executables and the main Calibre Library. Whatever isn't found, you get prompted for with a browse option.
      A calibre library, is a set of ebook folders (Author\Ebooks) and a database file, always named metadata.db, and which causes an issue when it comes to multiple libraries, but makes life a bit easier when reconstructing any corrupted libraries. However, there are better ways to deal with that, as my program will show.
      The metadata.db file is an SQL database, so I am having a learning curve right now, as I have only ever dealt with an SQL database previously, codewise, when I created my INItoSQL program some time last year, as an exercise to prove a point.
      At the moment, things are pretty basic, and not everything works 100%. Here is a screenshot, to give an idea of it, but keep in mind, I intend to expand the current GUI for other stuff I will be adding.

      Older Screenshots
      Gawd, I just noticed the '3|7' in the Book Input field (original screenshot). I was using that during troubleshooting for the multiple images scrolling and forgot to disable it ... not that it impacts anything. When it comes to maths, I struggle a bit, especially when tired. Right scrolling was easy, with a continuous loop, was easy to implement. Left scrolling was significantly harder for my poor brain ... until I realized I needed to see them as Min and Max.
      As you can see the program is usable, and all the buttons, aside from the Program Information one, work. You can even load different calibre libraries, and even reload after making changes to one with calibre. The calibre program does not need to be running, even to view an ebook in the Calibre Reader. The combo selector for a library and the ADD button are only temporarily placed where they are, until I expand the GUI.
      My intention at this point, is to add another five thumbnail images, directly below existing. Currently they aren't clickable, but I may add that.
      Here is another screenshot, of what you see when you click the larger Cover image.

      If you want to have a play with the program as is, then you will need to also get the 'sqlite3.dll' file from some online source. When CalibBrowser starts successfully with the selected calibre library, it copies its metadata.db file to a sub-folder of the program called 'Backups'. It also creates a sub-folder in that, based on the library name, to house it. That copied file, is the one the program uses, though it does not even edit that, and file modification is checked every time the program starts with a particular library, or when you Reload or select a library. If the original source file has been modified, then the program copy is overwritten. The Reload Database button does nothing, if there is no change detected, and reports such.
      Place the required 'sqlite3.dll' file in the CalibBrowser root folder. Download includes source files (sqlite3.dll excepted).
      Also required of course, is an install of calibre, plus some ebooks in a created library - Calibre Library is the default when you first add ebooks to calibre. The Mobile Read Forums, is a great source for all things ebook, and calibre can be found there in the E-Book Software section.
      CalibBrowser.zip  - Upload 4  (previous downloads: 1 + 12 + 5)
      CalibBrowser (new).zip
      My apologies for the program being created in AutoIt v3.3.0.0. It is the first one I have done in a while, with an older AutoIt version. Basically my Win 7 Netbook, which has a current version of AutoIt, was busy and is always busy doing something, and not suitable for doing big projects for several reasons. My older but more powerful Win XP Laptop, has a better programming environment, better computer chair (most important for my knees etc), better external monitor (wider and newish), full size external keyboard & mouse, and a great suite of setup tools to assist me. I run several older versions of AutoIt already on my Laptop, but haven't yet determined what I need to adjust to add a current version of AutoIt to the mix. This also applies to my hugely beneficial Toolbar For Any program (one of those tools), which I constantly use with SciTE. At some point, when finished, I may update the program to the current AutoIt version ... especially as I believe I am now proficient enough to do so, having become quite familiar with it in the last year or so, making many programs with it.
      Enjoy!
       
×
×
  • Create New...