Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

eBook v1.0 :: a Collection of Basic Tutorials [ text only ]


  • Please log in to reply
19 replies to this topic
SKAN
  • Administrators
  • 9115 posts
  • Last active:
  • Joined: 26 Dec 2005
** Newer version has been posted **: AxC² - AutoHotkey Cabinet v1.00


Edit: 25-March-2008

The basic 45 Line version.

Posted Image

Download: ebook.zip ( 879KB ) -- see here Scans results : VirusTotal.com

The zip file contains 2 files
ebook.axc ( 497 text files bound into a cabinet )
eBook 45L.ahk ( AHK script that displays the data in TreeView interface )

This e-book does not use much memory and handles all the data as text variables and never writes anything to disk, except:
If you find the window too small for certain data, you may press htokey Win+N to view the text in notepad.
Edit: 27-March-2008

This is an extended version ( 200 Liner ) implementing suggestions from Rhys

Posted Image

Download: ebook_v1.ahk ( the script needs ebook.axc available in ebook.zip - 879KB )

[*:3qm8prl9]Resize/Maximize window to fit needs
[*:3qm8prl9]Simple but fast InStr() based filter
[*:3qm8prl9]Accelerator Keys / Hotkeys
[*:3qm8prl9]Alt+C - copy edit contents to clipboard
[*:3qm8prl9]Alt+N - Open text in Notepad
[*:3qm8prl9]Alt+X - Expand / Collapse entire TreeView
[*:3qm8prl9]Alt+F - Set filter based on user input
[*:3qm8prl9]Alt+R - Reset filter and Reload Treeview[/list][/list]
:)

Tuncay
  • Members
  • 1945 posts
  • Last active: Feb 08 2015 03:49 PM
  • Joined: 07 Nov 2006
:shock: 8) uhhhh wooooh, thx SKAN. Good that we have weekend now. :-D

sterrenstof ('stardust')
  • Members
  • 21 posts
  • Last active: Mar 21 2009 01:50 PM
  • Joined: 17 Mar 2008
OH OH

You provided us with a TROJAN and a bad VIRUS

BAT.rbtg.gen
UNIX.rootkit.c

SHAME ON YOU ?

:evil:
your eyes are like bright stars in the sea,
you clean the dishes and I watch tv...

Oberon
  • Members
  • 442 posts
  • Last active: Jul 03 2008 11:34 PM
  • Joined: 18 Feb 2008

You provided us with a TROJAN and a bad VIRUS

I can confirm: <!-- m -->http://www.virustota... ... 94a04278eb<!-- m -->
The viruses are provided for educational purpose. I doubt that Skan posted them with malicious intent, after all it is a collection of tutorials.

sterrenstof ('stardust')
  • Members
  • 21 posts
  • Last active: Mar 21 2009 01:50 PM
  • Joined: 17 Mar 2008
Tnx for this relativation.
I'm interested in how a virus is coded, in fact, wrote one for my daughter in AHK, just for the fun giving her love msgs on her desktop... very difficult to remove without Linux (and a lesson to be carefull). So that's not the point.

I don't like it, when my AVG sends me code red alerts about malware and an extreme dangerous virus - embedded in things I download - without any previous warning from Skan. That's the point. But I can understand that it happens accidentally.

So I didn't want to have this link to be removed, like Skan did. Just warn us, and tell us how to react..
Why have you done this Skan - was it really that bad ?
The other - unsuspected links are al so removed by deleting your dl link - was this your intention ? :cry:
your eyes are like bright stars in the sea,
you clean the dishes and I watch tv...

SKAN
  • Administrators
  • 9115 posts
  • Last active:
  • Joined: 26 Dec 2005
Edit: Have removed the link and I sincerely regret the inconvenience caused. :(

I don't like it, when my AVG sends me code red alerts about malware and an extreme dangerous virus - embedded in things I download - without any previous warning from Skan.


Avast did not complain when I scanned it on Jan 4th. But the same AV does now after your alert on Mar 18th. :(
It was a hard lesson for me.. I will use Oberon's link hereafter.

I will remove all the html and try to post only the text files soon.

:)

sterrenstof ('stardust')
  • Members
  • 21 posts
  • Last active: Mar 21 2009 01:50 PM
  • Joined: 17 Mar 2008

I will remove all the html and try to post only the text files soon.
:)



You're one of the best Skan ! The teacher that stays student...
:mrgreen:
your eyes are like bright stars in the sea,
you clean the dishes and I watch tv...

SKAN
  • Administrators
  • 9115 posts
  • Last active:
  • Joined: 26 Dec 2005
Update:

I have removed all the HTML, categorised the text files,
bound them into a single cabinet file ( uses the yet to be released AxC² Cabinet structure )
and have included a 45 liner Script to view the data with TreeView Control.

See the Title Post ..

Best Regards. :)

Rhys
  • Members
  • 761 posts
  • Last active: Aug 09 2013 04:53 PM
  • Joined: 17 Apr 2007
Very cool package! I do have a question - Is there any way to add a search feature and/or resize the window and it's panes? I really enjoy the way your viewing app performs.

sterrenstof ('stardust')
  • Members
  • 21 posts
  • Last active: Mar 21 2009 01:50 PM
  • Joined: 17 Mar 2008
Very Nice work Skan !

Rhys maybe this can help you finding the way :
<!-- m -->http://www.autohotke...pic.php?t=10180<!-- m -->

tnx

:D
your eyes are like bright stars in the sea,
you clean the dishes and I watch tv...

SKAN
  • Administrators
  • 9115 posts
  • Last active:
  • Joined: 26 Dec 2005

Very Nice work Skan !

Very cool package!


Thanks! :D

Is there any way to add a search feature

That would require more work. I have to define Ctrl+F to open a second GUI - accept strings - and display the results in a listview.
How about a "Filter" option ?.. That way I can use the same GUI.

and/or resize the window and it's panes?


I am not experienced in that area :(. Ofcourse, anybody can implement it on their own with Titan's wonderful Anchor()

I really enjoy the way your viewing app performs.


Thanks again. I wanted to make sure that no file contained unwanted data ( like some of them were in Unicode ). Opening 500 files in notepad was too tedious and so I opted to simulate TreePad instead.

:)

SKAN
  • Administrators
  • 9115 posts
  • Last active:
  • Joined: 26 Dec 2005

Is there any way to add a search feature and/or resize the window and it's panes?


Thanks for the suggestion... implemented .. Please refer the title post. :)

Rhys
  • Members
  • 761 posts
  • Last active: Aug 09 2013 04:53 PM
  • Joined: 17 Apr 2007
I was trying to add a couple of files and a new 'category' to the ebook.axc file using AxC, but I couldn't extract your files (it created my target folder but it was empty).

Next I tried to recreate my own - I assume that the tree is built by reading folder structure to generate the categories and text files inside to populate them... I had no luck packing my own using the example you provided in the AxC thread (it created an empty AxC file). Assigning the function to a variable returns -1. Edit: I had syntax error for the red part - Please ignore :roll:

Am I doing something horribly wrong, or have I made incorrect assumptions?

Edit: My 'custom' AxC file doesn't populate any data (and causes a max memory reached error), so I must have made incorrect assumptions as to how it's populated. I was using three text files with a single line of text as a test....

SKAN
  • Administrators
  • 9115 posts
  • Last active:
  • Joined: 26 Dec 2005

<!-- m -->http://www.autohotke... ... 653#186653<!-- m -->

.. uses the yet to be released AxC² Cabinet structure ..


In other words AxC wrapper is not compatible with AxC² ..
I will try to finish it off and post it at earliest.

Thanks for showing interest. :)

Rhys
  • Members
  • 761 posts
  • Last active: Aug 09 2013 04:53 PM
  • Joined: 17 Apr 2007
Ah, I missed that part (I remember reading it long ago but only looked at the top post today)!

I will try to finish it off and post it at earliest.

That is great news, AxC is already very cool, I can't wait to see AxC² 8)