Jump to content

Vlasssov

Members
  • Posts

    13
  • Joined

  • Last visited

Vlasssov's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. How it is possible to send mouse click with coordinates into hide window? function mouseclik send omly into active windows.
  2. When I have started a program that have received a error What is it? oops... It`s my problem... All rights!!
  3. Yes. I have same question about microphone.
  4. I have the same question...
  5. I have a constraction which looks so $Year $Month $day I need to receive a variable which will look here so '01.02.2010' First two symbols up to a point it is day, further month and last four figures is a year.
  6. I have written function #Include <File.au3> #include <Array.au3> Func _FindFilesName($sRoot, $sFile,byref $sp) dim $ss dim $i if StringRight($sRoot,1) = "\" Then $sRoot = StringLeft($sRoot,StringLen($sRoot)-1) EndIf $ss = "" _FindFiles($sRoot, $sFile,$ss) $sp1 = StringSplit($ss, @TAB) if $sp1[0]>0 then redim $sp[$sp1[0]-1] for $i=1 to $sp1[0]-2 $sp[$i] = $sp1[$i+1] Next $sp[0] = $sp1[0]-2 Else $sp[0] = 0 EndIf EndFunc Func _FindFiles($sRoot, $sFile, byref $ss) Local $FileList $FileList = _FileListToArray($sRoot, $sFile, 1) If Not @error Then For $i = 1 To $FileList[0] $ss = $ss &$sRoot & '\' & $FileList[$i]& @TAB Next EndIf $FileList = _FileListToArray($sRoot, '*', 2) If Not @error Then For $i = 1 To $FileList[0] _FindFiles($sRoot & '\' & $FileList[$i], $sFile,$ss) Next Else EndIf EndFunc Look, whether it is possible to simplify it.
  7. Standart functions FileFindFirstFile and FileFindNextFile find file in current directories. As I can find a file including subdirectories? If there is a standard example where I can look it?
  8. I should enter a plenty of data through the form of input in the program. When I start a script time of its work very big. I wish to start the program in a background mode. A code I start the program a command ' run ' $Pid = Run (' some_program ', ", @SW_HIDE) That the program becomes hidden. However, if in the programm it is caused child window it will be shown on the screen. What should I make, that child windows also had condition Hide?
  9. Thanks for the information! Big thanks for the information! I shall take advantage AU3Info.exe, but I still the beginner in Autoit, therefore for me to use GUI \Menu of the application easier. In difference from "notepad" this program uses non-standard controls.
  10. I also thinking what to use controls more favourable, but my code - an example, for the decision of a problem in other program. How I can learn names of elements of the form there? Do you want I shall result the text of the real program?
  11. ; Run Notepad Run("notepad.exe") ; Wait for the Notepad become active - it is titled "Untitled - Notepad" on English systems WinWaitActive("Untitled - Notepad") winmove("Untitled - Notepad","",0,0) $n=10 for $i=1 to $n send("Text"&$i) ;save MouseClick("left",15,34,1,0) for $j=1 to 4 Send("{down}") Next Send("{Enter}") WinWaitActive("Open") winmove("Open","",0,0) Send("c:\proekt\a\file"&$i&".txt") Send("{Enter}") Next
  12. I have a similar problem. At work in a constraction "for..next" moving of a window sometimes they don't.. It can depends on the program where the script is carried out?
×
×
  • Create New...