Run As Admin (Self execution)
Hi there, I'm trying to write a script for some users in my domain. The script needs administrator rights, but i don't want to go to every pc and type the pw in manually. So i tried something like...
View ArticleReduction code
Hi, please reduction function.. Code, case func.. [ autoit ] popup case $a a() case $b b() case $c c() case $d d() case $e e() case $f...
View Articlepossibility to detect error windows during autoit script execution
Hello, I created a script to automate installation of Oracle Discoverer 10g R2 and Oracle Objects for OLE 11g. During the execution of the script I regulary receive an error from java.exe concerning...
View ArticleExcel - opening with a password
Hi, I have a small application that uses an excel file to store data. At this point my excel file does not have a password but I would like to set one and I am bit lost - so that users do not have...
View ArticleAutomate a .net application with AutoIT
Can any one suggest us in using Auto it for automation in the below scenario: Can we have a selection or data input to a parameter using name of the icon /text box selection: 1. The challenges in my...
View ArticleWinGetHandle - What can be wrong?
Hello, can you take look on this and say me why its not working? $uchwyt = WinGetHandle("PokeWars - Kultowa gra przeglądarkowa Pokemon online - Google Chrome") ControlSend($uchwyt,"","Edit1", "Tr") Is...
View ArticleWinGetHandle - What can be wrong?
Hello, can you take look on this and say me why its not working? $uchwyt = WinGetHandle("PokeWars - Kultowa gra przeglądarkowa Pokemon online - Google Chrome") ControlSend($uchwyt,"","Edit1", "Tr") Is...
View ArticleAdd to multicolumn ListBox
I created a multidimenstional listbox (by adding $LBS_MULTICOLUMN when creating it). I know that by using _GUICtrlListBox_AddString() you can add strings to listbox, but you are not able to select in...
View ArticleExecute MSSQL Stored Procedure
I got problem with executing procedure. Got an error: ==> The requested action with this object has failed.: $rs.Open("declare @aa int exec NewAnalyzeNumber @aa output,1 select @aa as value",$conn)...
View ArticleAdmin
Hello all Apologies if this question has been asked before, but is it possible to run a program requiring administrative privileges from a script without admin privileges (i.e. without using...
View Articlehow to distinguish between local user and domain user?
@username will give me the name of the current user. However if I log in as the local administrator, or a domain administrator both usernames are "administrator" Is there a way to distinguish between...
View Articleproblem with DB mysql
hi guy i do a big script in a part of this script , i have created this Func _tag_sitlefacebook() $tag_scritta=GUICtrlRead($input2) if $tag_scritta = '' Then MsgBox(4160+48,"info","Inserisci...
View ArticleHow to made program recorded microphone?
Hi all! How to made program a recorded microphone and save to format '.wav ? I'm amateurd Autoit language. I'm from poland.
View ArticleRun Function located in main script from included sub script
Hi! lets say i have my main script main.au3, that among other things contains this: [ autoit ] popup#include<subscript.au3> func logg($TextToLog) FileWrite("log.txt", $TextToLog) EndFunc Is...
View ArticleProblem with regWrite
I am trying to replace an existing registry value (which is a string) by another one. The following doesn't work, any idea why ? [ autoit ]...
View Articleloop problem
i would like this to loop forever,im new at this just simply dont get many options of looping,ty. if $acccnt>=$acctot Then $Trip=False $sttime=False $acccnt=0 EndIf Exit func pause()...
View ArticleProgressbar for file/folder delete to stop GUI hang
In my programm i need to delete folders/files and show the user about progress. Though it can can easily be done with FileDelete and DirRemove (without progress), the problem comes when the folder/file...
View ArticleExcel doesn't close after command
Hi, Can anyone advise me why my excel process doesn't close after clicking button 2 even after I state in the code to close the excel process. Btw, need to create a temp.xls file in the script...
View ArticleDollar signs and number format during printing.
I want to make this number 20244747 look like $20,244,747.00 when printing... Can someone steer me to the section describing that sort of formatting when printing... Actually I will be printing it to...
View Article