-
Posts
5,603 -
Joined
-
Last visited
-
Days Won
186
argumentum last won the day on February 2
argumentum had the most liked content!
About argumentum

Profile Information
-
Member Title
✨Universalist ✨
-
Location
I'm in your browser now =)
-
WWW
https://www.youtube.com/watch?v=SjwX-zMRxO0&t=5s
-
Interests
Relax
Recent Profile Visitors
argumentum's Achievements
-
WildByDesign reacted to a post in a topic:
Need to have Admin privileges after WinActivate
-
Need to have Admin privileges after WinActivate
argumentum replied to Zog's topic in AutoIt General Help and Support
if the user/password are not used ( figure you'd need to pass along the password ) then yes. Otherwise TaskSched is the only simple way to not divulge the password. -
WildByDesign reacted to a post in a topic:
Need to have Admin privileges after WinActivate
-
Need to have Admin privileges after WinActivate
argumentum replied to Zog's topic in AutoIt General Help and Support
Yes you can make it on demand from a shortcut. And if he wrote the script can make it self elevate via TaskSched. ControlViewer has code that does just that. -
Need to have Admin privileges after WinActivate
argumentum replied to Zog's topic in AutoIt General Help and Support
If use something to make an entry in task scheduler then it will not ask every time. or make one manually. -
Need to have Admin privileges after WinActivate
argumentum replied to Zog's topic in AutoIt General Help and Support
That is not a problem, rather a solution. Admin level is god level. User level is not-god level. No, no way around it. -
SOLVE-SMART reacted to a post in a topic:
Comparison of two very larges arrays : how to (efficiently) ?
-
Ghost_Line reacted to a post in a topic:
Comparison of two very larges arrays : how to (efficiently) ?
-
argumentum reacted to a post in a topic:
Comparison of two very larges arrays : how to (efficiently) ?
-
Ghost_Line reacted to a post in a topic:
Comparison of two very larges arrays : how to (efficiently) ?
-
SOLVE-SMART reacted to a post in a topic:
Comparison of two very larges arrays : how to (efficiently) ?
-
If|Then within Switch|Case
argumentum replied to mr-es335's topic in AutoIt General Help and Support
Read the help file. Try the examples. Copy the examples and change small parts until you understand them. If you have a question that is not in the help file, and not in the forum either, then I'll jump in and help. But if you don't know what basic coding tools there are, how can you formulate a question ?, or even apply common sense to your code !?. You have over 600 of these simple questions. Is time that you stop thinking of money and start understanding some basics, that will apply to all coding languages, not just AutoIt. If you do that you'll change the way you code. Because you'll change the logic in your rational thinking, because you'll remember that you can do it this or that way. But again, it'll start once you try the examples from the help file. And that is something that you should have done some 5 years ago. So no. Your code flow is wrong and you need to go to school. Go drink, smoke, play guitar or whatever you do to calm your impetuous personality, and think about what those that are harshly judging you are conveying. P.S.: Am not ignoring you ( never did ). But will not help with your code until you show some elegance, compared to your own prior style of course. Not asking for miracles. -
If|Then within Switch|Case
argumentum replied to mr-es335's topic in AutoIt General Help and Support
Yes my dear, believe it or not, you are asking exactly that. And I will continue to ignore your posts as I did before. I know others will come to your aid but they are not teaching you. And you're not learning 🤷♂️ -
If|Then within Switch|Case
argumentum replied to mr-es335's topic in AutoIt General Help and Support
Not really. Just gave him a for loop example. The way it goes, is going to be a head scratcher for him. But after over 600 questions of always the same, c'mon !. The code is to tell him to slow down and learn. I've been there and do understand him. But in the end, there is only so much one gets done by copy and paste. Eventually the coder needs to know/learn or get ignored by the rest of the users Do you understand @mr-es335 that you are not in an "ignore list". You are just not showing independence of thought. Do learn or you'll be faced with more posts not been answered. And that is going to be painful as you already experienced this week in another post. Please do look at the help file we all actively contribute to maintain, and practice, practice, practice. -
If|Then within Switch|Case
argumentum replied to mr-es335's topic in AutoIt General Help and Support
...that is because: ... Local $iStart = 11, $iEnd = 10 Local $sFolder[$iStart] = [$iEnd] $sFolder[1] = "G:\AltPeakData" $sFolder[2] = "G:\Automation_Data" $sFolder[3] = "G:\CHT_Files" $sFolder[4] = "G:\ControlTrack_Data" $sFolder[5] = "G:\F-Key_Data" $sFolder[6] = "G:\Mix_Templates" $sFolder[7] = "G:\Prf_Data" $sFolder[8] = "G:\Scene_Data" $sFolder[9] = "G:\Session_Data" $sFolder[10] = "G:\Session_Master" ; ----------------- Local $iFolderExists[$iStart] = [$iEnd] $iFolderExists[1] = FileExists($sFolder[1]) $iFolderExists[2] = FileExists($sFolder[2]) $iFolderExists[3] = FileExists($sFolder[3]) $iFolderExists[4] = FileExists($sFolder[4]) $iFolderExists[5] = FileExists($sFolder[5]) $iFolderExists[6] = FileExists($sFolder[6]) $iFolderExists[7] = FileExists($sFolder[7]) $iFolderExists[8] = FileExists($sFolder[8]) $iFolderExists[9] = FileExists($sFolder[9]) $iFolderExists[10] = FileExists($sFolder[10]) ; ----------------- ... makes no sense. Why would you code it that way !?. It just don't make any sense. ... ; you can make a file and read from it or ; declare it just like this: $sFolders = "G:\AltPeakData" & @CRLF $sFolders &= "G:\Automation_Data" & @CRLF $sFolders &= "G:\CHT_Files" & @CRLF $sFolders &= "G:\ControlTrack_Data" & @CRLF $sFolders &= "G:\F-Key_Data" & @CRLF $sFolders &= "G:\Mix_Templates" & @CRLF $sFolders &= "G:\Prf_Data" & @CRLF $sFolders &= "G:\Scene_Data" & @CRLF $sFolders &= "G:\Session_Data" & @CRLF $sFolders &= "G:\Session_Master" & @CRLF ; then chop that into an array $aFolders = StringSplit($sFolders, @CRLF, 1) ; make the $aFolderExists array based of $aFolders Local $aFolderExists = $aFolders ; lazy way but it will work ; then use a for loop For $n = 1 To UBound($aFolders) - 1 If $aFolders[$n] = "" Then ContinueLoop $aFolderExists[$n] = FileExists($aFolders[$n]) ConsoleWrite(($aFolderExists[$n] = 0 ? '!' : '+') & ' This is at index ' & $n & ' and contains this string: "' & _ $aFolders[$n] & '" and does ' & ($aFolderExists[$n] = 0 ? 'not ' : '') & 'exist.'& @CRLF) Next ... You have over 600 posts and, what have you learned ?. You are going to have to slow down your hurry to get your code done. Because you lack flexibility. You don't know how to use a "for loop" and that is a shame. And do use the "F1" key in the editor. Most of the answers given to you are right there -
If|Then within Switch|Case
argumentum replied to mr-es335's topic in AutoIt General Help and Support
;~ If Case = 0, I then need to call the "RestoreInitialFolderData()" function ;~ If Case = 1, I then need to call the "Notice()" function Switch FileExists($sFolder[$i]) Case 1 $sResult = "The folder [" & $sFolder[$i] & "] DOES exist!" Notice() Case Else $sResult = "The folder [" & $sFolder[$i] & "] DOES NOT exist!" RestoreInitialFolderData() EndSwitch Edit: ...I have no idea. -
if running the VC distributable fix it, then that was that. Is not going to brake anything updating. Since you're chatting with the developer ( Jos ), I'll step out of the thread.
-
Can you open SciTE and edit scripts with it ?
-
oh, ok. Note to self: pay attention Update the https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#latest-supported-redistributable-version files. Do both, x64 and x86 😅