AutoHotkey Community

It is currently May 27th, 2012, 5:29 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 144 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 10  Next
Author Message
 Post subject:
PostPosted: March 5th, 2010, 9:06 am 
Offline

Joined: November 7th, 2006, 9:47 pm
Posts: 1934
Location: Germany
There is such a documentation for that already. For some libraries which do not have a doc, I`ll create a simple one by me. That applies to the $ lib also.

I am asking myself: Makes such a default library any sense? What would the pros and contras in your (you all are asked) opinion?

You can post either links, send a pm, or post the functions here or post the meta data (for ini database) only ... whatever.

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 5th, 2010, 9:14 am 
Offline

Joined: November 23rd, 2007, 10:23 am
Posts: 841
Location: ~/.
Anonymous wrote:
...I don't "conform" to standards...


don't get me wrong, but in that case any discussion is obsolete, since we are talking about standard library files.

Anonymous wrote:
...case-in-point: who "won" the $ & A prefixes?


"A" prefix: http://www.autohotkey.com/forum/viewtopic.php?t=36600

Anonymous wrote:
If it helps, I reserve Base_* for me...(not that every one of my functions will use that prefix tho)...[cut off blah]


unless you dont publish a stdLib script using this prefix and its name got something to do with base whatever this is pretty pointless.

@tuncay:

instead of using the $ prefix, you might want to put the functions into seperate files such as anchor.

greets
dR

_________________
Image
    All scripts, unless otherwise noted, are hereby released under CC-BY


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 5th, 2010, 9:37 am 
Offline

Joined: November 7th, 2006, 9:47 pm
Posts: 1934
Location: Germany
Quote:
instead of using the $ prefix, you might want to put the functions into seperate files such as anchor.

Like already said before, I am really not sure about that. These functions are not seen as projects, like the wrapper of Random command. Random is a command which many people would wrap it into a function. Anchor is a very specific name and project, having an own license and version information.

Shouldn`t be such a default library available?

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Update
PostPosted: March 5th, 2010, 10:34 am 
Offline

Joined: November 7th, 2006, 9:47 pm
Posts: 1934
Location: Germany
Update

Database
Timestamp: 2010-03-05
Libraries: 31

From History.txt
Quote:
2010-03-05

* IMPORTANT: Changed all library Guids. Now all Guids are created from Titan`s uuid.ahk script!

* LIB: Added sXMLget.ahk by infogulch. (GUID=379fbd40-9560-126a-9d15-19e66f18ae9d)
* LIB: Added uuid.ahk by Titan. (GUID=419a0f80-9560-126a-911e-12f0811bfaba
* LIB: Added cdomessage.ahk by Sean. (GUID=00bdf260-95ab-126a-9b35-1c3983b2b3d8)
* LIB: Added VA.ahk by Lexikos. (GUID=b5a82970-98fd-126a-9389-138e21f31941)
* LIB: Added GetAvailableFileName.ahk by toralf. (GUID=c4dc7a30-9912-126a-9e34-1e1327e792ec)
* LIB: Added Mount.ahk by Tuncay. (GUID=481ea630-9935-126a-96ab-15c4af760f7f)
* LIB: Added httpQuery.ahk by DerRaphael. (GUID=70ee3630-9a56-126a-9d45-136c428259a0)
* LIB: Added HttpQueryInfo.ahk by olfen. (GUID=83fc1040-9a6e-126a-941c-151ed87341f3)

* GUI: Changed to install (at install button) all dependent libraries automatically.
But deinstall does not deinstall all dependent libraries.
* GUI: Added a tab for showing all those dependent libraries in a fast and dirty way.
* GUI: Extended the testing example routine, working with uninstalled dependent files.

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 5th, 2010, 10:49 am 
Offline

Joined: November 23rd, 2007, 10:23 am
Posts: 841
Location: ~/.
Tuncay wrote:
Like already said before, I am really not sure about that. These functions are not seen as projects, like the wrapper of Random command. Random is a command which many people would wrap it into a function.


just treat it as a project, and name the discussion thread as the source of information.

all not licensed scripts are

a) copyrighted by the original author
b) since published in a public forum, granted to be used by a wide audience at no charge unless explicitly stated otherwise

greets
dR

_________________
Image
    All scripts, unless otherwise noted, are hereby released under CC-BY


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 5th, 2010, 3:06 pm 
Offline

Joined: April 8th, 2009, 8:23 pm
Posts: 3036
Location: Rio de Janeiro - RJ - Brasil
Tuncay wrote:
The $ is a library for all functions I found, which don't get a separate file.

Are you gonna mantain this criteria?
I can see sXMLget.ahk by infogulch consists of a single function and was not inserted into the $ library.

_________________
"Read the manual. Read it again. Search the forum.
Try something before asking. Show what you've tried.
"
Image
Antonio França
My stuff: Google Profile


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 5th, 2010, 3:24 pm 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7503
Location: Australia
Guest wrote:
Lexikos wrote:
AHKL/AHKU: %A_ScriptDir%\Lib takes precedence over user lib.
...while I see the merit in the "main" dir overriding, perhaps the user-specific folder should override the system folder?
I'm not sure what you mean by "main dir". %A_ScriptDir% is obviously the script's own directory, and %A_ScriptDir%\Lib is intended specifically for the script's own dependencies, which by nature must take precedence over the more general Lib folders. My previous post showed that the user-specific folder ("user lib") already overrides the system folder ("standard lib").
Tuncay wrote:
Makes such a default library any sense?
I don't see the benefit of grouping a bunch of unrelated functions under a common arbitrary prefix. On the contrary, it would cause a bunch of unneeded functions to be inserted into the script whenever any single function from the file is used. Since the prefix is arbitrary, the function names would be less intuitive. What have you against creating a file for each function?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 6th, 2010, 10:07 am 
Offline

Joined: November 7th, 2006, 9:47 pm
Posts: 1934
Location: Germany
Quote:
What have you against creating a file for each function?

In example of this case:
Quote:
Code:
; How to find Internet Connection Status? by SKAN
; http://www.autohotkey.com/forum/viewtopic.php?p=60892#60892
$_ConnectedToInternet(flag=0x40) {
   Return DllCall("Wininet.dll\InternetGetConnectedState", "Str", flag,"Int",0)
}

  1. It is just one DllCall. And that function could be in a more generic file with inet functions. It is too specific and too simple to create a file for that. If someday a library makes this function deprecated, it would not hurt anyone. Since it does not get deleted from this library.

All functions from this library are marked from begin as deprecated (just in mind). They are just archived here.

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 6th, 2010, 11:02 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7503
Location: Australia
Quote:
It is too specific and too simple to create a file for that.
No function is too specific or too simple to have its own file yet still worth distributing.
Quote:
If someday a library makes this function deprecated,
A function like this is likely to be used alone even if related (i.e. Wininet) functions are available. In those cases, users might prefer not to include the larger library.
Quote:
Since it does not get deleted from this library.
It can just as easily "not get deleted" from its own file as from some other file.
Quote:
All functions from this library are marked from begin as deprecated
If that it is the case, they should not be distributed in a "standard" library.

Anyway, you asked and I've given my opinion. TBH, it's unlikely I'll ever use it, so I'll leave it at this.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Update
PostPosted: March 6th, 2010, 9:04 pm 
Offline

Joined: November 7th, 2006, 9:47 pm
Posts: 1934
Location: Germany
Update

Database
Timestamp: 2010-03-06
Libraries: 36

From History.txt
Quote:
* LIB: Removed the default library $.ahk and resolved the functions to separate files.
Internal numbering of some scripts are rearranged. Resolved to these two:
* LIB: Added Random.ahk by [VxE]. (GUID=360f6d10-9e23-126a-986d-1ca5a588dc11)
* LIB: Added ConnectedToInternet.ahk by SKAN. (GUID=cdf2e490-9e82-126a-9250-1aa2d0890913)

* LIB: Added DamerauLevenshteinDistance.ahk by Titan. (GUID=683cc900-9ec7-126a-9f10-15a625f9f073)
* LIB: Added Hotstrings.ahk by Titan. (GUID=fe63f180-9ed9-126a-9597-1e6ec5af61f2)
* LIB: Added json.ahk by Titan. (GUID=86f4d720-9efe-126a-9bc1-1f8fbf25d100)
* LIB: Added pgArray.ahk by Infogulch. (GUID=acfea630-9f08-126a-9c3e-14a09d53a8c7)

* GUI: Added an "Analyze Source" button, which uses a modified version from DerRaphael`s
script "Doc-O-Matic" to generate an "on the fly"-documentation.
Location: http://www.autohotkey.com/forum/viewtopic.php?t=54846
* GUI: Added a search field (control), which filters out all entries not matching the regex.
It recognizes if an id/md5/guid search is done.
(Thx to jaco0646, http://www.autohotkey.com/forum/viewtop ... 231#250231)

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Update
PostPosted: March 7th, 2010, 3:08 pm 
Offline

Joined: November 7th, 2006, 9:47 pm
Posts: 1934
Location: Germany
Update

Database
Timestamp: 2010-03-07
Libraries: 36

From History.txt
Quote:
* GUI: Improved search field. Type recognization and general speed. Also normal searches at
the description and notes also. New: If search line is prefixed with a ">" character, then
all source files are searched. New: Added some buttons and checkboxes for searching.
* GUI: Added the ability to copy current row to clipboard, with double left or right click.
* GUI: Replaced back the compiled tool doc-o-matic.exe with the uncompiled version doc-o-matic.ahk
(Thx hugov).


Image

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


Report this post
Top
 Profile  
Reply with quote  
PostPosted: March 11th, 2010, 3:04 am 
Offline

Joined: November 7th, 2006, 9:47 pm
Posts: 1934
Location: Germany
Help with making or finding standard library of bin functions.

I am searching functions for generic work with binary and hex data and files. If you have suggestions, so please post them here or give links. I have found some old versions, and I am not sure if they are ok. Also I am looking for functions which do not just work under specific Windows version (but its ok if XP and upwards).

I would rename them to make one standard library. I`ll give ofcourse appropiate credit and link.

Here are some links I found already:

and http://www.autohotkey.com/forum/viewtopic.php?t=20495

I need help on not including outdated and lame code. :) thx for any help.

I think the module would be named to bin.ahk. It would contain functions for conversion from and to bin / hex / num / txt and some functions getting data from memory and reading files etc. I am a lost.

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Update
PostPosted: March 11th, 2010, 11:53 pm 
Offline

Joined: November 7th, 2006, 9:47 pm
Posts: 1934
Location: Germany
BIG Update

Database
Timestamp: 2010-03-11
Libraries: 69

From History.txt
Quote:
* General: For libraries without a documentation, but having a comprehensive description at the forum
post, will be selected and saved the selection with ScrapBook. After that, the page will be saved
with Firefox native save as command. All that only to have the selected part as a separate file,
without loosing the original posts stylings.
Location: http://amb.vis.ne.jp/mozilla/scrapbook/

* GUI: Some small changes and improvements.
* GUI: Added to the title the count of current search matching and the total number of libraries.
* GUI: Added a link to all libraries with an unknown license, pointing to a default license text.
* GUI: Improved/Changed the way the search field works. Now it sees every typed word as individual
search term. It shows only those items, who matches all search words.

* LIB: The documentation entry in the database accepts multiple files in csv format also.
* LIB: Added a gui tool for adding entries in the database: libdb-add_entry.ahk

* LIB: Added CMDret.ahk corrupt. (GUID=c34f6d30-a529-126a-9d45-113e3e5de4a6)
* LIB: Added CMDret_stream.ahk by corrupt. (GUID=62a84c80-a557-126a-96e9-1d01bbbb3a89)
* LIB: Added SB.ahk by DerRaphael. (GUID=7f9bd500-a593-126a-953f-14d140efa75e)
* LIB: Added GetCommonPath.ahk by majkinetor. (GUID=b1cc7600-a61b-126a-9160-1b177ec0d468)
* LIB: Added Eval.ahk by Laszlo. (GUID=af6c1c30-a639-126a-9ff3-132aa35070d5)
* LIB: Added ftp.ahk by olfen. (GUID=f9cc0690-a5ef-126a-9780-1ee71b8ae8a0)
* LIB: Added Crypt.ahk by Sean. (GUID=35e34f20-a696-126a-9be6-1e1a54a3292e)
* LIB: Added File.ahk by Sean. (GUID=6e9da590-a682-126a-9fb2-14966547c727)
* LIB: Added TrayIcon.ahk by Sean. (GUID=261da040-a7f4-126a-92c7-11524d1f1df5)
* LIB: Added TaskButton.ahk by Sean. (GUID=f0f24340-a8d3-126a-9963-16eb15ad24c9)
* LIB: Added RandomUniqNum.ahk by Laszlo. (GUID=29a02810-a938-126a-991f-129be1ffffd9)
* LIB: Added Win.ahk by majkinetor. (GUID=2e009d40-aaff-126a-9bdc-13ad9e9ec159)
* LIB: Added Align.ahk by majkinetor. (GUID=9b312810-aae8-126a-9d26-1d2919edd232)
* LIB: Added CColor.ahk by majkinetor. (GUID=9a27e010-ab85-126a-9892-15b8121c4ae1)
* LIB: Added ILButton.ahk by majkinetor. (GUID=24d6e950-ac2f-126a-9cb7-1f1ea184d563)
* LIB: Added Font.ahk by majkinetor. (GUID=8a94db30-ac39-126a-915e-11be63bc1dde)
* LIB: Added Toolbar.ahk by majkinetor. (GUID=a2f16550-ac47-126a-9117-1294d276d4b1)
* LIB: Added Rebar.ahk by majkinetor. (GUID=6ba96490-ac50-126a-926b-16e3eaff0f8e)
* LIB: Added RichEdit.ahk by majkinetor. (GUID=59e4a950-ac59-126a-98c1-12146b74db76)
* LIB: Added HLink.ahk by majkinetor. (GUID=050c5a50-ac67-126a-9611-158451ae38ac)
* LIB: Added Splitter.ahk by majkinetor. (GUID=7a326b10-ac6e-126a-9ba1-14a055f3eb15)
* LIB: Added DockA.ahk by majkinetor. (GUID=ed633b80-ac75-126a-97c9-1634b021e32f)
* LIB: Added argp.ahk by Tuncay. (GUID=c7711350-ac90-126a-980d-180b2e7d254c)
* LIB: Added Mem.ahk by Philo. (GUID=db92c800-aca0-126a-9d99-137a13b80698)
* LIB: Added UnHTM.ahk by SKAN. (GUID=7177b690-ace3-126a-97df-1505eb9499ff)
* LIB: Added StrX.ahk by SKAN. (GUID=4b482750-acea-126a-9125-18093784c24a)
* LIB: Added TVX.ahk by majkinetor. (GUID=d34c3290-ae48-126a-947c-1680d72944cb)
* LIB: Added StdoutToVar.ahk by Sean. (GUID=7e93d650-af14-126a-97a8-1212949628eb)
* LIB: Added regionGetColor.ahk by Infogulch. (GUID=90e4f670-af34-126a-9abf-1c0b1fede15b)
* LIB: Added fileIsBinary.ahk by Lexikos. (GUID=af0f3490-af4c-126a-9bbb-14077bf2c1be)
* LIB: Added ThousandsSep.ahk by infogulch. (GUID=af0f3490-af4c-126a-9bbb-14077bf2c1be)
* LIB: Added FileExtract.ahk by Lexikos. (GUID=a03bce10-af6f-126a-9196-1c8e368e8d4e)
* LIB: Added IsFullScreen.ahk by TheGood. (GUID=5eeeef9e-af7f-126a-988e-162a974c743d)

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


Report this post
Top
 Profile  
Reply with quote  
PostPosted: April 11th, 2010, 4:55 am 
Offline

Joined: April 10th, 2010, 10:10 pm
Posts: 1
hello;
newbie to the forum and the ahk environment, but trying to come up the curve as rapidly as possible as ahk has many features/capabilities that I can use in my corporate env.

...newb question probably;

when click the link to the zip file; get blank page, mild trace effort (:doesnt exist..)

found/using the libraries located:
http://www.autohotkey.com/wiki/index.ph ... _Libraries

please disregard if I am missing something obvious, but a single download/compilation is a wonderful idea and quite useful (to me Atleast)

cheers! :D


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 11th, 2010, 6:23 am 
Offline

Joined: November 7th, 2006, 9:47 pm
Posts: 1934
Location: Germany
Quote:
a single download/compilation is a wonderful idea and quite useful (to me Atleast)

Thx, your not the only person that finds it useful. :D

And sorry for that. Currently the files are not online. I had problems and meantime changed to Linux. The files on my disk are at another computer. I will upload an updated version soon. Again, really sorry!

_________________
{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  [ 144 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 10  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Google Feedfetcher, sks, Stigg and 11 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