AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

eBook v1.0 :: a Collection of Basic Tutorials [ text only ]
Goto page 1, 2  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources
View previous topic :: View next topic  
Author Message
SKAN



Joined: 26 Dec 2005
Posts: 5298

PostPosted: Fri Jan 04, 2008 6:59 am    Post subject: eBook v1.0 :: a Collection of Basic Tutorials [ text only ] Reply with quote

Edit: 25-March-2008

    The basic 45 Line version.



    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



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

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


Smile


Last edited by SKAN on Thu Mar 27, 2008 7:34 am; edited 4 times in total
Back to top
View user's profile Send private message
Tuncay



Joined: 07 Nov 2006
Posts: 379
Location: Berlin

PostPosted: Sat Jan 05, 2008 10:37 pm    Post subject: Reply with quote

Shocked Cool uhhhh wooooh, thx SKAN. Good that we have weekend now. Very Happy
Back to top
View user's profile Send private message Send e-mail
sterrenstof ('stardust')



Joined: 17 Mar 2008
Posts: 4
Location: Netherlands

PostPosted: Mon Mar 17, 2008 10:09 pm    Post subject: WARNING *** DON"T DL THIS MALWARE MESS *** WARNING Reply with quote

OH OH

You provided us with a TROJAN and a bad VIRUS

BAT.rbtg.gen
UNIX.rootkit.c

SHAME ON YOU ?

Evil or Very Mad
_________________
your eyes are like bright stars in the sea,
you clean the dishes and I watch tv...
Back to top
View user's profile Send private message Visit poster's website
Oberon



Joined: 18 Feb 2008
Posts: 408

PostPosted: Mon Mar 17, 2008 10:47 pm    Post subject: Re: WARNING *** DON"T DL THIS MALWARE MESS *** WARNING Reply with quote

sterrenstof wrote:
You provided us with a TROJAN and a bad VIRUS
I can confirm: http://www.virustotal.com/analisis/9f94d190d3e039fb0c30da94a04278eb
The viruses are provided for educational purpose. I doubt that Skan posted them with malicious intent, after all it is a collection of tutorials.
Back to top
View user's profile Send private message
sterrenstof ('stardust')



Joined: 17 Mar 2008
Posts: 4
Location: Netherlands

PostPosted: Fri Mar 21, 2008 2:56 pm    Post subject: Educational ? Reply with quote

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 ? Crying or Very sad
_________________
your eyes are like bright stars in the sea,
you clean the dishes and I watch tv...
Back to top
View user's profile Send private message Visit poster's website
SKAN



Joined: 26 Dec 2005
Posts: 5298

PostPosted: Fri Mar 21, 2008 3:12 pm    Post subject: Re: Educational ? Reply with quote

Edit: Have removed the link and I sincerely regret the inconvenience caused. Sad

sterrenstof wrote:
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. Sad
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.

Smile


Last edited by SKAN on Tue Mar 25, 2008 12:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
sterrenstof ('stardust')



Joined: 17 Mar 2008
Posts: 4
Location: Netherlands

PostPosted: Sat Mar 22, 2008 4:59 pm    Post subject: hard work, great sharing Reply with quote

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



You're one of the best Skan ! The teacher that stays student...
Mr. Green
_________________
your eyes are like bright stars in the sea,
you clean the dishes and I watch tv...
Back to top
View user's profile Send private message Visit poster's website
SKAN



Joined: 26 Dec 2005
Posts: 5298

PostPosted: Tue Mar 25, 2008 12:52 pm    Post subject: Reply with quote

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. Smile
Back to top
View user's profile Send private message
Rhys



Joined: 17 Apr 2007
Posts: 618
Location: Florida

PostPosted: Tue Mar 25, 2008 2:08 pm    Post subject: Reply with quote

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.
_________________
Back to top
View user's profile Send private message
sterrenstof ('stardust')



Joined: 17 Mar 2008
Posts: 4
Location: Netherlands

PostPosted: Tue Mar 25, 2008 6:35 pm    Post subject: Great ! Reply with quote

Very Nice work Skan !

Rhys maybe this can help you finding the way :
http://www.autohotkey.com/forum/viewtopic.php?t=10180

tnx

Very Happy
_________________
your eyes are like bright stars in the sea,
you clean the dishes and I watch tv...
Back to top
View user's profile Send private message Visit poster's website
SKAN



Joined: 26 Dec 2005
Posts: 5298

PostPosted: Tue Mar 25, 2008 10:43 pm    Post subject: Reply with quote

sterrenstof ('stardust') wrote:
Very Nice work Skan !

Rhys wrote:
Very cool package!


Thanks! Very Happy

Rhys wrote:
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.

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


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

Rhys wrote:
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.

Smile
Back to top
View user's profile Send private message
SKAN



Joined: 26 Dec 2005
Posts: 5298

PostPosted: Thu Mar 27, 2008 7:36 am    Post subject: Reply with quote

Rhys wrote:
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. Smile
Back to top
View user's profile Send private message
Rhys



Joined: 17 Apr 2007
Posts: 618
Location: Florida

PostPosted: Fri May 09, 2008 3:03 pm    Post subject: Reply with quote

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 Rolling Eyes

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....
_________________
Back to top
View user's profile Send private message
SKAN



Joined: 26 Dec 2005
Posts: 5298

PostPosted: Fri May 09, 2008 3:29 pm    Post subject: Reply with quote

Quote:

http://www.autohotkey.com/forum/viewtopic.php?p=186653#186653

.. 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. Smile
Back to top
View user's profile Send private message
Rhys



Joined: 17 Apr 2007
Posts: 618
Location: Florida

PostPosted: Fri May 09, 2008 3:43 pm    Post subject: Reply with quote

Ah, I missed that part (I remember reading it long ago but only looked at the top post today)!
SKAN wrote:
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² Cool
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group