Search found 41 matches

by kintar0e
28 Aug 2023, 16:27
Forum: Ask for Help (v1)
Topic: need my mouse to double-click at two separate locations
Replies: 3
Views: 266

Re: need my mouse to double-click at two separate locations

ClickCount: If omitted, it defaults to 1. Otherwise, specify the number of times to click the mouse button or turn the mouse wheel. For example, Click, 2 performs a double-click at the mouse cursor's current position. If Coords is specified, ClickCount must appear after it. Specify zero (0) to move...
by kintar0e
21 Aug 2023, 09:20
Forum: Pedir Ayuda
Topic: Problema con if y else en PixelSearch
Replies: 1
Views: 655

Re: Problema con if y else en PixelSearch

Ejemplo con loop: SetTitleMatchMode 2 CoordMode "Pixel", "Window" f1:: { loop 5 ;Bucle se repetira 5 veces { if WinActive("Google Chrome"){ if PixelSearch(&Px,&Py,1,2,913,590,0x00AA00){ Move_Click(Px,Py) } else { if PixelSearch(&Px,&Py,1,2,913,590,0xFF5500) Move_Click(Px,Py) } } } } Move_Click(x,y){...
by kintar0e
09 Jun 2023, 16:16
Forum: Ask for Help (v1)
Topic: Basic question (loop)
Replies: 2
Views: 240

Re: Basic question (loop)

Code: Select all

FFile := {"folder1":"C:\Temp","folder2":"D:\Drivers","folder3":"e:","folder4":"z:" }
F1::
	for k,v in FFile
	{
		MsgBox, % k " - " v
	}
Return
by kintar0e
09 Jun 2023, 15:53
Forum: Pedir Ayuda
Topic: Ayuda con remplazo de caracter
Replies: 1
Views: 617

Re: Ayuda con remplazo de caracter

F9:: Clipboard := "" SendInput ^c ClipWait,1 tipo := Trim(clipboard) send,{Tab} Sleep 500 send,{Tab} Clipboard := "" SendInput ^c cuil := RegExReplace(clipboard, "\D") ;only numbers send,{Tab} Clipboard := "" SendInput ^c ClipWait,1 nombre := Trim(clipboard) send,{Tab} Clipboard := "" SendInput ^c ...
by kintar0e
02 May 2023, 12:43
Forum: Ask for Help (v1)
Topic: How do I trigger dropdown list
Replies: 4
Views: 243

Re: How do I trigger dropdown list

Code: Select all

#IfWinActive, ahk_class wxWindowNR
!a::
	ControlClick,ComboBox3, ahk_class wxWindowNR, , , ,x185
Return
#IfWinActive
by kintar0e
24 Apr 2023, 07:47
Forum: Ask for Help (v1)
Topic: ClassSQLiteDB, CRUD and Search (please help) Topic is solved
Replies: 5
Views: 453

Re: ClassSQLiteDB, CRUD and Search (please help) Topic is solved

I was wondering what might be the best approach here. Or should I store everything in one table and assign the content to its controls when querying the hole table? I don't know. If the project is small it is not much relevant. Then that is up to you, you can do in one table or one table for each c...
by kintar0e
12 Apr 2023, 22:21
Forum: Ask for Help (v1)
Topic: ClassSQLiteDB, CRUD and Search (please help) Topic is solved
Replies: 5
Views: 453

Re: ClassSQLiteDB, CRUD and Search (please help) Topic is solved

Adapted your code and attach Sqlite Database example. ; ====================================================================================================================== ; Script Function: Sample script for Class_SQLiteDB.ahk ; AHK Version: L 1.1.00.00 (U 32) ; Language: English ; Tested on: Wi...
by kintar0e
29 Nov 2022, 21:47
Forum: Ask for Help (v1)
Topic: Excel not getting all info?
Replies: 12
Views: 648

Re: Excel not getting all info?

I think position of bracket { in loop is not correct. so with := you are storing data. for comparing is a simple = #a:: xl := ComObjActive("Excel.Application") ; Gets an open instance of the excel application myArray := [ "62001- 24X200ML", "62002- 32X200ML", "62003- 50X200ML", "62004- 40X200ML", "6...
by kintar0e
17 Oct 2022, 07:56
Forum: Ask for Help (v1)
Topic: Windows 7 directory Topic is solved
Replies: 8
Views: 496

Re: Windows 7 directory Topic is solved

I had this issue long time ago, then I find out that in windows 7 is: ToolbarWindow322
by kintar0e
05 Oct 2022, 19:02
Forum: Ask for Help (v1)
Topic: GUI Help
Replies: 3
Views: 345

Re: GUI Help

Exmaple using UIAutomation with a focus on Chrome library. https://www.autohotkey.com/boards/viewtopic.php?f=6&t=104999 #Include, UIA_Interface.ahk SetTitleMatchMode, 2 Run, www.autohotkey.com/boards/ucp.php?mode=login Sleep 1000 if WinExist("AutoHotkey Community - User Control Panel - Login"){ WinA...
by kintar0e
28 Sep 2022, 07:45
Forum: Pedir Ayuda
Topic: Cambiar tamaño letra en oneNote 2019 Topic is solved
Replies: 2
Views: 701

Re: Cambiar tamaño letra en oneNote 2019 Topic is solved

Code: Select all

#IfWinActive, ahk_exe ONENOTE.EXE
^+<::Send, {CTRL DOWN}{SHIFT DOWN}.{SHIFT UP}{CTRL UP}
^<::Send, {CTRL DOWN}{SHIFT DOWN},{SHIFT UP}{CTRL UP}
#IfWinActive
o puede ser tambien:

Code: Select all

#IfWinActive, ahk_exe ONENOTE.EXE
^+<::^+.
^<::^+,
#IfWinActive
by kintar0e
27 Sep 2022, 21:27
Forum: Pedir Ayuda
Topic: Unir 2 ejecutables en 1 Topic is solved
Replies: 5
Views: 814

Re: Unir 2 ejecutables en 1 Topic is solved

Puede ser de esta manera: DetectHiddenWindows, on SetTitleMatchMode, 2 #Persistent SetTimer, COMPROBAR, 1000 SetTimer, ESPERAR, 800 SetTimer, windowBottom, 500 return COMPROBAR: if WinExist("ahk_exe mpc-be64.exe") { SendMessage, 0x111, 888,,,ahk_class MediaPlayerClassicW PostMessage , 0x112 , 0xF060...
by kintar0e
22 Sep 2022, 12:56
Forum: Ask for Help (v1)
Topic: Nested Variables Topic is solved
Replies: 4
Views: 356

Re: Nested Variables Topic is solved

Code: Select all

Path:= "C:\Users\ME\OneDrive\Desktop\" mytime " Results.xlsx"
by kintar0e
21 Sep 2022, 10:15
Forum: Ask for Help (v1)
Topic: I can't get Imagesearch to work.
Replies: 4
Views: 387

Re: I can't get Imagesearch to work.

try using bmp file: google.bmp CoordMode,Pixel, Screen Run, https://www.google.com Sleep, 2300 Imagesearch, FoundX , FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, google.bmp if (ErrorLevel = 2) MsgBox, 262144,, Could not conduct the search. else if (ErrorLevel = 1) MsgBox, 262144,, The image was not ...
by kintar0e
19 Sep 2022, 19:23
Forum: Ask for Help (v1)
Topic: associative array of arrays? Topic is solved
Replies: 5
Views: 561

Re: associative array of arrays? Topic is solved

Code: Select all

	minDimsAhkId := {}
	Array := {"X": minX, "XW": minXW, "Y": minY, "YH": minYH}
	minDimsAhkId["ahk_id 0x170095c"] := Array

	for k in minDimsAhkId
	{
		str := ""
		For key, value in minDimsAhkId[k]
		{
		 	str .= (A_Index = 1?k "> ":"") key "-" value A_Tab
		}
		FileAppend, %str%`n, log2.txt 
	}
by kintar0e
17 Sep 2022, 11:38
Forum: Pedir Ayuda
Topic: Como hacer que funcione "ControlClick" Topic is solved
Replies: 9
Views: 1370

Re: Como hacer que funcione "ControlClick" Topic is solved

Use una alternativa al "window spy" que a veces uso que es el AHK Window Info 1.7 lo puedes encontrar en el siguiente link
https://www.autohotkey.com/board/topic/8204-ahk-window-info-17/page-6

el codigo de este tool esta en el boton spoiler del usuario lblb.
:wave: :beer:
by kintar0e
16 Sep 2022, 11:28
Forum: Pedir Ayuda
Topic: Script ejecutar aplicacion y cuando esta termine suene un sonido.
Replies: 2
Views: 463

Re: Script ejecutar aplicacion y cuando esta termine suene un sonido.

Code: Select all

f1::
	SoundPlay, Entrada.wav
	RunWait, totalcommander.exe

	SoundPlay, Salir.mp3
	ExitApp
Return
by kintar0e
16 Sep 2022, 10:59
Forum: Pedir Ayuda
Topic: Como hacer que funcione "ControlClick" Topic is solved
Replies: 9
Views: 1370

Re: Como hacer que funcione "ControlClick" Topic is solved

Code: Select all

F1::
	run explorer.exe
	WinWaitActive,ahk_class CabinetWClass ; Explorador de archivos
	Sleep, 500
	ControlClick, ToolbarWindow323, ahk_class CabinetWClass ;Explorador de archivos 
	Sleep,100
	ControlSetText, Edit1, % A_ScriptDir, ahk_class CabinetWClass
	Sleep,100
	Send, {Enter}
Return

Go to advanced search