Jump to content

victor141516

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by victor141516

  1. Oh fine, but then I think this could be wrong: ; #FUNCTION# ==================================================================================================================== ; Name...........: _Skype_ChatGetActive ; Description ...: Queries active chat object ; Syntax.........: _Skype_ChatGetActive() ; Parameters ....: None ; Return values .: Success - Active chat object ; Failure - 0 [Sets an error event] ; Author ........: FireFox (d3mon) ; Modified.......: ; Remarks .......: ; Related .......: ; Link ..........: ; Example .......: Yes ; =============================================================================================================================== I mean this: ; Return values .: Success - Active chat object
  2. I have discovered this today and the first thing I tried have been to send a message in the current chat, so this is the code: #include "Skype.au3" _Skype_ChatSendMessage(_Skype_ChatGetActive(),"hola") I think it should work, but I get an error: err.number is: 169 err.windescription: Variable must be of type 'Object'. err.description is: err.source is: err.helpfile is: err.helpcontext is: 0 err.lastdllerror is: 0 err.scriptline is: 2650
  3. Yeah, I must be retarded for not having noticed that way... thanks you both!
  4. I'm trying to make a script that does something when a text in a window changes from "Searching..." to a random number. So I have coded this: while 1 if $c=0 Then ExitLoop EndIf $c = Winwaitactive("Sixaxis Pair Tool","Searching...",1) WEnd But it takes 1 second until it realizes the text has changed and I want to solve that, sooo... help me maybe?
  5. Really really thanks, so useful. Great work with the scrollbar UDF.
  6. Hi everyone, I'm a bit noob at this so please be patient I'm creating a backup manager, I have implemented the backup creating in other executable. Now I'm creating the backup resorting. This is what I have: #include <File.au3> #include <Array.au3> #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> Local $b=@AppDataDir & "\BACKUP\" Local $search = FileFindFirstFile($b & "\*.*") Local $n=0 If $search = -1 Then MsgBox(16,"Backup Manager","No backup existing.") Exit EndIf While 1 Local $file = FileFindNextFile($search) If @error Then ExitLoop $n+=1 if @error Then ExitLoop WEnd FileClose($search) Local $arr[$n] $arr = _FileListToArray ($b) Local $height=0 $Form1 = GUICreate("Form1", 247, 272, 192, 124) while $n<>0 $Radio = GUICtrlCreateRadio("$arr[$n]", 0, $height, 113, 17) $height+=16 WEnd GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd I've been stuck creating the n variables for the Radios in the GUI. I've been searching a way to do something like: while n<>0 $"Radio" & $n $n-=1 wend But obviously it doesn't work. I don't know if there is a way to do that way or if I've to do another way. If you have to, ask some question, and sorry about my english.
×
×
  • Create New...