Jump to content

Xavier

Members
  • Posts

    17
  • Joined

  • Last visited

Everything posted by Xavier

  1. Well, thanks a lot Amen, that is what i needed.
  2. Hi all, I use to create label controls but i realize i cannot select & copy (to clip) its text. I could find any corresponding styles. Is it possible to do it? my workaround is currently the following: create a input control with $ES_READONLY styles instead of creating a label. Actually, it works but the GUI is not as nice as a label. Thx a lot
  3. Well, thx a lot. It works fine.
  4. Hi all, I'm trying to have a Gui with 2 set of Tabs and i can't get it. The second set is created next to the first. I'd like to have a set a tab up and one down without nesting them. Here is the code i have processed: Thx all for any help
  5. Hello, Found in AutoIT help file, GUICtrlSetColorFunction Reference ->> Remarks Only Label and Progress controls can currently be colored.
  6. Well, thank you all Xavier
  7. Hi all, I'm trying to run programs with a admin account, it works fine but the windows is visible. Here is part of the code Runasset ($AdminAccount, $DomainName, $AdminPassword) Run (@Comspec & " /c " & "dsquery " & $target & " -samid " & $Computername & "$" & " -limit 0 | dsget " & $target & " -memberof >> " & $CompInfoBuffer , "c:\temp", @SW_HIDE) Runasset() If i try the same without runasset, the windows won't appear Any help would be greatly apprecited. Xavier
  8. Hello, Is it an AutoIt related questions? You couls use either GPO, Logon script to manage IE favorite or maybe copy the shortcut in the user profile. Hope this help Xavier
  9. hi, Have you got a secure way to do it? a+ Xavier PS: inow use _StringEncrypt (works fine)
  10. Hi, I'll try to help you !! You could use an array Dim $Myarray[41] $Myarray[1] = "phrase 1" .... $My Arry[30] = "phrase 30" ... $My Array[40] = "phrase 40" then a loop for $i = 1 to 40 Sleep(10000) MouseClick("Right",350,237) Sleep(100) Send(Myarray[$i] ,1) Send({ENTER}) Sleep(7000) MouseClick("Right",60,125) Sleep(10000) Next Hope this help We could also use a file from wich read each phrase (refer to FileReadLine ) Regarding the GUI concept, i don't understand the purpose of your script, thus i can't help Xavier
  11. Which encryption are you reffering to? In my case , i use a file crypted with EFS in wich i generate dummies ascii caracters before and after the password but i feel like it is not secure enough. Xavier
  12. Well, It might be caused if you use a Proxy Server In my corporate environnement, if i ommit iexplore, i am requested to log on the proxy server whereas in the other case it is fully fonctionnal.
  13. Hello, Have you tried this? Hope you have IE (if no , you may change the target exe file) Runwait(@ComSpec & " /c Start iexplore http://google.com", "", @SW_HIDE)
  14. Hum it seems like it doesn't work ! would yo have a sample of quotes in dos command for me?
  15. Well, thanks for a reply. It will be a great workaround. But i really need to init a variable containing commands like runwait, filecopy and have them run later. Is it possible?
  16. Hi all, I want to create a variable as follow $myvar = RunWait(@ComSpec & " /c " & "reg import " & $TreeCreate[7] & "\HKCU_Environment.reg", "", @SW_HIDE) I do not want the runwait to be executed at the time of the variable init but later in the script by something like that: $run_it = $myvar I've tried to use quotes but won't work I am really annoyed, any idea? Thx in advance Xavier
  17. Hi all, I am encountering problems when using Runwait with dos command line. See below (part of the code): $Elements[0] = "Network printers" $RepCible = "u:\Saveprofiles" $TreeCreate[0] = $RepCible & "\" & $Elements[0] RunWait(@ComSpec & " /c " & 'reg export HKCU\Printers " & $TreeCreate[0] & "\HKCU_PRINTERS.reg', "", @SW_HIDE) Runwait won't work cause the Dos "reg export" command need to be in quotes (cause of the space included in network printers); the problem is that Autoit already use quotes for himself . Can anyone help me please to allow the "quoting" of quotes?? Thanx in advance. Xavier The newbie
×
×
  • Create New...