AutoHotkey Community

It is currently May 27th, 2012, 10:05 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: September 22nd, 2010, 10:17 am 
Offline

Joined: November 7th, 2006, 9:47 pm
Posts: 1934
Location: Germany
Ahk Compatible: Vanilla / Mainstream
License: New BSD License

Requires: argp

Download (~28 kb)
    The archive contains the library, a demo script and the documentation. Also all required modules are included.

Online Documentation

Description

This function does not count just all words. It creates a list of all counted words too. The functionality is customizable through options. Options is a command line like string.

Examples

Code:
inputOutputVar := "Hello World! This variable have 7 words."
MsgBox % wordcount("", inputOutputVar)


Code:
options = -@msgbox -nodigit -file '%A_ScriptName%'
count := wordcount(options, output_wordlist)
MsgBox,, %count% counted words, %output_wordlist%

_________________
{1:"ahkstdlib", 2:"my libs", 3:"my apps", 4:"my license"}
--> Don't feed the troll! <--


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 21 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group