Sign in to follow this  
Followers 0
Encryption

Logical Operators in AutoIt?

8 posts in this topic

I am deeply sorry if this is in the AutoIt Help File, but I skimmed through it and did not find anything on it, so I decided to trek here and ask with the risk of losing dignity.

Are the logical operators present in AutoIt? I need to use the && (and) operand in my script, otherwise it will be completely useless so if someone could please tell me if they are included in the AutoIt language, and how to use them, or a pointer to where they would be in the Help File. Thanks in advance.

Share this post


Link to post
Share on other sites



I just found them, sorry.

AND OR NOT operators are included.

Share this post


Link to post
Share on other sites

I just found them, sorry.

AND OR NOT operators are included.

<{POST_SNAPBACK}>

just curiosity what mix up you in not finding in the help the first time? :lmao:

Share this post


Link to post
Share on other sites

just curiosity what mix up you in not finding in the help the first time? :lmao:

I decided to answer this question myself since I had problems getting NOT function info too.

For me, I assumed that NOT was in AutoIt but wanted to make sure. In SCITe editor I typed NOT, saw the Scite indication it was part of the language, highlighted NOT, hit F1, and was not taken to the NOT function but the introduction to HELP files.

Index list on left did not show NOT.

Search term NOT did not find it.

Looked at Function lists, expanded a few possible locations for NOT function, did not find it.

Opened internet explorer, googled "autoit logical function NOT" and found this old posting.

Finally did find it in the table I found when used help key word "operator" search. My problem is I was thinking of it as a function, not operator.

My guess is that the search function in help can't handle the three letter search term well, and the NOT (and AND) links from Scite do not go to the right place.

Share this post


Link to post
Share on other sites

Please do not necro a thread that is more than 8 years old :naughty:

Keyword "Not" is not in the Index. That's why you get the introduction page. If you use the search function you are not successful because "Not" is a keyword for the search function.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

Can you guys believe i didn't notice how old thread is until you pointed that out? lol

And yeah, i usually just search for operators

Edited by careca

Spoiler

Paster - Main function is to paste text, but has more functions.

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

Renamer - Rename files and folders, remove portions of text from the filename etc.

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Firefox Profile Backup - Backup/restore previously saved profile.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Share this post


Link to post
Share on other sites

photonblaster,

I can understand this happening once, but please do not do anything as stupid as this in future. :bonk:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0