jQuery

Facebook Messenger (Donation)

Many donors of this blog prefer to donate their money through Facebook Messenger!

Click here to go to this blog's Facebook Page!

Thank you!

Buy Us a Coffee


Advertise On This Blog!

If you want a Product\Service\Event to be advertised on this blog, feel free to contact us!

Warning!!!

If you are a Newcomer and want to write Real Programs, please STAY AWAY from this POOR and BAD DESIGNED "Program Language" (it's an Automation Tool in fact)!!!

This Automation Tool is maintained by LAZY, STUPID and DUMBASSES PEOPLE who try to deceive you that AutoHotkey is a very Powerful Program Language, but believe me, it isn't!!!

No Enterprise takes AutoHotKey seriously, because they know how poor it is and because they know what kind of people are behind it!

If you need an Automation Tool, you can at least give it a try!!! If you need a Program Language, STAY AWAY FROM IT AS SOON AS POSSIBLE!!!

Thanks for your Attention!!!

Thursday, March 28, 2019

Simple Object o(Function) - String Object


Basic Infos:

Write\Read string objects from "Simple Object o(Function)" to\from files can be easily done!

"InsertAt()\RemoveAt()" can be used with "Associative Arrays"!

For example:

- "InsertAt(Col_2)" would automatically make the previous "Col_2" the new "Col_3", the previous "Col_3" the new "Col_4", and so on ...!

- "RemoveAt(Col_2)" would automatically make "Col_3" the new "Col_2", "Col_4" the new "Col_3", and so on ...!

String objects from "SimpleObject o(Function)" are made of "Sections" and each section contains a set of "Key\value" pairs!
____

Download v1.4 (Includes Example script from the video and other examples):
http://www.mediafire.com/file/u3bfpc3n2p3xn6q/SimpleObject_o%2528Function%2529_-_v1.4.rar/file


___ v1.4 ___ :

 for "Key" parameter: ___

<=Sx            ;get the nth Section name from an "o()" function object (<=S1 First, <=S2 second, and so on ...!)

<=Cx            ;get the nth Section Content from an "o()" function object (<=C1 First, <=C2 second, and so on ...!)

<=CountSections        ;count sections that an "o()" function object contains

for "Task" parameter: ___

CheckKey        ;check if key exist

CheckSection        ;check if section exist

DelKey            ;delete keys from sections

___ v1.3 ___ :

Inside "UpdateSectionIndex", the line, if (IndexFound = 0), was replaced with, if RegExMatch(IndexFound, "^0")

Any section that ends by 0 or by an integer number that contains leading zero\s will be ignored while Updating section index!

___ v1.2 ___ :

AHK For-Loop equivalent implemented by using the new options below:

for "Key" parameter: ___

<=Get        ;get values from "o()" function static vars (Mainly for "FindAnyKey" var)

Kx=>        ;get the nth key of a section (K1=> First, K2=> second, and so on ...!)

Vx=>        ;get the nth value of a section (v1=> First, v2=> second, and so on ...!)

GetIndex=>    ;get index of a specified section

for "Task" parameter: ___

GetSectionIndex        ;get index of a specified section

___ v1.1 ___ :

for "Key" parameter: ___

=>    ;Add\Modify multiple keys (if section does not exist, it will be created)

+=>    ;Create new section at specified index and Add multiple keys (the previous section index number will be increased, and so on)

-=>    ;Delete content of the specified section and then add multiple keys!

Get=>    ;get content of the specified section

for "Task" parameter: ___

GetSection        ;get section content

DelSectionContent    ;delete section content






Keywords:
AHK String Object
AutoHotKey String Object
Simple Object o(Function) - String Object (AutoHotKey)

1 comment:

  1. You did a hell of lot of work for not liking Autohotkey thanks for the effort I am going to got through your work. Thanks again.

    ReplyDelete