Search the Community
Showing results for tags 'case'.
-
Recently I was working on a script with icons using GuiCtrkCreatIcon. I decided to change the sub folder name of the icons to a more meaning name, however made a typo. I tested the .exe on my test computer and it worked flawlessly (because both icon folder where on my test computer) 😁 But af...
- 11 replies
-
- guictrlcreateicon
- switch
-
(and 3 more)
Tagged with:
-
Hi guys!, i have a problem to convert Python code to AutoIt code, in fact i had not coded with Python yet!, this code is about permutation a string's case, i will be happy with your comments :)❤; Python code: # Python code to print all permutations # with respect to cases # Function to gen...
- 19 replies
-
- permutation
- string
-
(and 2 more)
Tagged with:
-
I created a quick script to set/clear the topmost status of a window. It works like top <title> /on | /off I want the title match to be case insensitive and to work on partial strings. For example, if the window of note is titled "APLX for Windows" I want top apl /on...
-
@JLogan3o13 I apologize, I did not think of it that way. I have attached all the code and the Ini File information. Please let me know if I need to add anything else to help understand what is happening. thank you. Guys, I apologize in advance as I did not search for my...
-
Hello Im using Metro UDF and there is a code when menu panel is shown by clicking on menu button. And what I want I want make instead Case $GUI_MENU_BUTTON, this $MenuSelect[1].. Case While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE, $GUI_CLOSE_BUTTON _Metro_GUI...
-
I am working on a Video Player Test Script. I am reading a text file into a 3d array to be displayed in a GUI. Array Content: [x][0]FileName.mp4 [x][1]UsageCount -> Up to a 4 digit number [x][2]EnableUsageCount (True/False) In the GUI the user can check the filename box, edi...
- 2 replies
-
- guictrlcreateedit
- arrays in a case statement
-
(and 2 more)
Tagged with:
-
Hey guys I hope that I can get a little help with this one In this GUI example using GUIListViewEx, I have a list based on items found in test.txt. _____________________________________________ item1 item2 item3 ____________________________________________ et...
-
Good Afternoon All Let me start by saying... I'm not sure if this belongs in the GUI part of the forum as it's more of a loop / code / dynamic GUI layout issue. I understand if you move it though. I have been doing some crazy things in AutoIT lately and one of them just so happens to be an accident...
-
Hello, Please look at the code: ; As always, this is a decoy script ;) Global $sNum = Random(1, 4, 1) & "E" Switch $sNum Case "1E" And "2E" MsgBox(64, "TEST", "1E or 2E") Case "3E" And "4E" MsgBox(64, "TEST", "3E or 4E") EndSwitch MsgBox(64, "TEST", "The number was: " &...
-
This is a spin-off of >Seeker's function which i rewrote and tried to optimize for doing only sentence casing and for better Unicode handling. Haven't done a lot of testing with it, but it seems to work well so far. #include-once ; #FUNCTION# =======================================================...
- 2 replies
-
- case
- sentence case
-
(and 1 more)
Tagged with:
-
I am having problem. I have script that has a main GUI window that allows you to select which kind of encryption you'd like to use. When I go to start the script, for some reason the case statement for the: $iSubmit button for the child GUI runs right away and tried to read the data from the input...
-
This code loads the result of a regread into a variable and then parses the result: $RegResult = RegRead($HKLM & "\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters", "AutoShareWks") Select Case $RegResult = "" $RegWriteResult = RegWrite($HKLM & "\SYSTEM\CurrentControlSet\services\L...
-
so my script was made to load drivers based on a selection from a combo box. i've created a VERY robust system to load drivers when imaging with wds or ghost using a winPE wim. WDS does not work correctly with injected drivers. so comes into play my script/program that loads from a winPE wim after w...
-
While i am waiting for Better Solutions for Finding Multiple @error Cases and React according to them, i am hoping that some1 could explain me what my problem in this (time consuming) function is.. The Idea is that i check for @Errors from the 3 PixelSearch i am doing, and give Message according to...
- 16 replies
-
- pixelsearch
- error
- (and 5 more)