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

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort---- Sort arrays on multiple columnsChooseFileFolder---- Single and multiple selections from specified path treeview listingDate_Time_Convert-- Easily convert date/time formats, including the language usedExtMsgBox--------- A highly customisable replacement for MsgBoxGUIExtender-------- Extend and retract multiple sections within a GUIGUIFrame---------- Subdivide GUIs into many adjustable framesGUIListViewEx------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx------ Check/clear parent and child checkboxes in a TreeViewMarquee----------- Scrolling tickertape GUIsNoFocusLines------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify------------- Small notifications on the edge of the displayScrollbars----------Automatically sized scrollbars with a single commandStringSize---------- Automatically size controls to fit textToast-------------- Small GUIs which pop out of the notification area

Sign in

Similar Content

Hello all! I hope everyone is enjoying their holiday festivities.
I'm working on a script that involves copying a string of text from an Excel workbook and searching for it in a particular website's search tool. If a result is found, it will do something. If not, it will do something else.
So far, it can successfully execute the search -- and then it shows me the results in an array.
Screenshot of the successful search:

I've to upload different number of photos online in different assignments. There is a problem that all photos cannot be selected at once to upload. I have to choose and upload photos one by one. For this purpose I have made a script to automate whatever I have to do manually for choosing and uploading photos one by one.
Please see my script below and check the last "MouseClick" command. This command clicks the button to choose and upload next photo. The problem I'm facing is; the last "MouseClick" works 1 step extra when all photos have been selected and uploaded. I mean if 7 photos are to be uploaded, this command opens the box from where next photo is selected and uploaded then it again opens the box and next photo is choosen and so on.... when last photo is selected and uploaded, this button once again opens the box. When all photos are uploaded, it should not click the button to select next photo. Please suggest how can I resolve this issue.
#include <AutoItConstants.au3>
Sleep(200)
HotKeySet("{ESC}","Quit") ;Press ESC key to quit
Send("{ALT DOWN}")
Send("{TAB}")
Send("{ALT UP}")
Sleep(200)
Local $photos = InputBox("Question", "How many photos to upload?", "#", "", _
- 1, -1, 0, 0) ; How many photos to upload
Local $selector = 0
While $photos <> $selector
MouseClick("Left", 281, 238, 1) ; mouse click on very first photo in the box.
if $selector = 0 Then
Send("{ENTER}") ; for selecting very first photo from "open" window.
Sleep(800)
Else
sleep(200)
Send("{RIGHT " & $selector & "}") ; for selecting 2nd to onward photos from "open" window.
sleep(1000)
Send("{ENTER}")
sleep(1000)
EndIf
MouseClick("Left", 495, 198, 1) ; for clicking a button to choose next photo to upload
$selector = $selector + 1
WEnd
Beep(1500, 300) ; beep when all photos uploaded
Exit
Regards,

Hi guys,
I'm learning about GUI's, I'm trying the below code, the idea being if I press the letter "e" while I have the GUI open I want the label color to change to green (I'm using a UDF for label colors). But every time I press "e" on my keyboard I just get a "ding" sound from my speakers and nothing changes with the label.
I've looked at using something like "While GUIGetMsg() <> $GUI_EVENT_CLOSE" as I've seen it in other code instead of "While 1", but I don't think it's relevant.
#include <GUIConstantsEx.au3>; for GUI...
#include <GUIRichLabel.au3>; UDF for rich text label fonts
#include <Misc.au3>; for _IsPressed
$myLetter = "e"
$hGUI = GUICreate("test", 700, 60)
$lbl2 = _GUICtrlRichLabel_Create($hGUI, '<font color="purple">' & $myLetter & '</font>', 10, 10); , 260, 25
GUISetState(@SW_SHOW)
Local $hDLL = DllOpen("user32.dll")
While 1
if _IsPressed(Hex($myLetter), $hDLL) Then
While _IsPressed(Hex($myLetter), $hDLL)
Sleep(250)
WEnd
_GUICtrlRichLabel_SetData($lbl2, '<font color="green">' & $myLetter & '</font>')
Sleep(2000)
DllClose($hDLL)
Exit
EndIf
Sleep(50)
WEnd
DllClose($hDLL)
I am using an array of letters that I'm wanting to do this for, but as I can't get it to work I've stripped it down to the simplest code I can think of to try and get this working first. Appreciate any help.
Thanks!

Hi, i'm curious if this is even possible, i want to do an action if the ini file contains current values under a section.
for my test i'm looking for 100,200,300,400,500
and if any of those excits i want to pop a msgbox with the number in the section.
i can in my example find one, but it does not check everyone. why? what am i missing?
Local $iscore810[5] = [100,200,300,400,500]
Local $iMax800 = 5
While 1
;~ Send("{pause}")
;;func les ini fil
$var = IniReadSection("Area.ini", "modus")
If @error Then
MsgBox(4096, "Error", "Unable to read section.")
Else
For $number = 1 To $var[0][0]
If $var[$number][1] == $iscore810[3] Then
MsgBox($MB_SYSTEMMODAL, "FAnt den på", $var[$number][0], 5)
EndIf
Next
EndIf
exit
WEnd