2012-03-18

Issuu Publication Downloader

I created a tool named Issuu Publication Downloader and decided to share it.

Here is an info from the readme file:
The tool itself is a batch script that uses GNU Wget made by Giuseppe Scrivano and Hrvoje Nikšić. The main purpose of it is downloading Issuu publications which aren't available for the download the usual way. Normally, to download an Issuu publication, one has to register first, and publication itself needs to have download enabled. When using this tool neither of these two requirements are needed because it downloads the images, shown to users through a Flash application when they are reading them, directly from the server.

Download: Issuu Publication Downloader v1.0 (2012-03-18)

EDIT: Look at the source code of the website to find a document ID. If you are using Firefox, just press Ctrl+U to open the source, and then use Ctrl+F and search for "documentid".

Add-on: ICDL Book Downloader v1.0 (2013-10-02)

2012-03-08

Hiding a console window when coding in Bloodshed Dev-C++

There exist a several ways of hiding a console window of your program.
Let me explain a few of them.

First method:
#include <windows.h>

int main() {
    HWND hWnd = GetConsoleWindow();
    ShowWindow(hWnd,SW_HIDE);
}

This method will hide the console window right after it shows up. Because console window will still be displayed for a fraction of second, this is probably not a method you would want to use.

Second method:
#include <windows.h>

int main() {
    FreeConsole();
}

This method behaves same as the first one, hiding console window right after it shows up.
So let's see the last method which solves this problem.

Third method:
Considering you are using Dev-C++ by Bloodshed, do the following:
Tools > Compiler Options > Settings > Linker > Do not create a console window > Yes

This method actually doesn't hide a console window.
Because it isn't created in the first place, there is nothing to hide. :)