Search found 1109 matches

by Flipeador
19 Sep 2019, 10:28
Forum: Ask For Help
Topic: How to open the "new" open folder dialog?
Replies: 8
Views: 277

Re: How to open the "new" open folder dialog?

That's what it's for, try it:

Code: Select all

Gui +HWNDhGui
Gui Add, Button,, My Button
Gui Show, x10 y10 w100 h100
ChooseFolder( [hGui, "Dialog title - ChooseFolder.."] )
ExitApp
by Flipeador
19 Sep 2019, 09:34
Forum: Ask For Help
Topic: How to open the "new" open folder dialog?
Replies: 8
Views: 277

Re: How to open the "new" open folder dialog?

The first parameter allows you to specify the owner window. Is that what you are referring to?. :think:
by Flipeador
18 Sep 2019, 09:22
Forum: AutoHotkey v2 Help
Topic: Problem in rewriting of VarSetCapacity to BufferAlloc
Replies: 8
Views: 401

Re: Problem in rewriting of VarSetCapacity to BufferAlloc

Adding the FillByte parameter to the BufferAlloc function seems most appropriate. Another option, which does not have to be exclusive, is to remove the fill from the Size property and add a MemFill(FillByte,Target,Bytes,Offset) function. Having a function dedicated specifically to this is very usefu...
by Flipeador
18 Sep 2019, 08:59
Forum: Ask For Help
Topic: How to open the "new" open folder dialog?
Replies: 8
Views: 277

Re: How to open the "new" open folder dialog?

AHKv1: https://www.autohotkey.com/boards/viewtopic.php?f=76&t=65909&p=283111#p283101(specifically here).
@jNizM: My v2 code is out of date. I'll be updating it soon.

:wave:
by Flipeador
11 Sep 2019, 17:53
Forum: Ask For Help
Topic: Taking elemts from arrays: dots vs. square brackets Topic is solved
Replies: 6
Views: 577

Re: Taking elemts from arrays: dots vs. square brackets Topic is solved

@john_c: I only use AHKv2, and there is no other way to do it (with the recent updates) when you use a Map object (associative array).
o.xxx is no longer the same as o["xxx"]. For Array objects (linear arrays), only arr[index] can be used. I really like the new changes.
:wave:
by Flipeador
08 Sep 2019, 19:33
Forum: Pedir Ayuda
Topic: script para mover posicion de mouse 20 pixeles hacia abajo. Topic is solved
Replies: 6
Views: 992

Re: script para mover posicion de mouse 20 pixeles hacia abajo. Topic is solved

@Moises99:

Code: Select all

#Warn
#NoEnv
#SingleInstance Force
SetBatchLines -1

Velocidad := 5

~LButton::
while GetKeyState("LButton")
{
    MouseXY(0, -Velocidad)
    Sleep 25
}
return

MouseXY(X, Y)
{
    DllCall("User32.dll\mouse_event", "Int", 1, "Int", X, "Int", Y, "Int", 0, "Ptr", 0)
}
Crea un nuevo tema.
by Flipeador
08 Sep 2019, 08:05
Forum: Pedir Ayuda
Topic: Ayuda de un experto por favor Topic is solved
Replies: 2
Views: 174

Re: Ayuda de un experto por favor Topic is solved

Hola, como hago para hacer un recuadro de esa misma medida y ponerlo en esas coordenadas o posición de la pantalla ¿Que quieres decir con esto?. cuando detecte un punto rojo inmediatamente mande una señal de sonido ¿Cuando tetecte un punto rojo en cualquier parte del mini mapa?. No utilizo AHK para ...
by Flipeador
06 Sep 2019, 08:52
Forum: Pedir Ayuda
Topic: ver menu contextual
Replies: 3
Views: 212

Re: ver menu contextual

La documentación explica todo esto, es bastante clara: https://www.autohotkey.com/docs/Program.htm.
No se a que te refieres con que no cuenta con un menu contextual ni con las teclas de funciones. Pregunta y vemos.
by Flipeador
06 Sep 2019, 08:46
Forum: Pedir Ayuda
Topic: ayuda con script
Replies: 2
Views: 157

Re: ayuda con script

Si el proceso a terminar tiene permisos mas elevados, deberás ejecutar AutoHotkey como Administrador. #NoEnv #SingleInstance Force SetBatchLines -1 #Persistent DllCall("Ntdll.dll\RtlAdjustPrivilege", "UInt", 20, "UChar", TRUE, "UChar", FALSE, "IntP", 0) SetTimer Cerrar, 2000 return Cerrar: Process C...
by Flipeador
01 Sep 2019, 22:46
Forum: Pedir Ayuda
Topic: Ayuda en Batch Mover archivos de una lista txt
Replies: 2
Views: 196

Re: Ayuda en Batch Mover archivos de una lista txt

Usando AutoHotkey: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. #Warn ; Enable warnings to assist with detecting common errors. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. SetBatchLines -1 ; ---------------------------------------...
by Flipeador
01 Sep 2019, 22:35
Forum: Pedir Ayuda
Topic: ver menu contextual
Replies: 3
Views: 212

Re: ver menu contextual

Hola!
Prueba ^m:: send {appskey} o ^m:: send {rbutton}.
by Flipeador
17 Aug 2019, 10:07
Forum: Pedir Ayuda
Topic: Captura de Pantalla
Replies: 2
Views: 257

Re: Captura de Pantalla

En el antiguo foro hay un tema al respecto. El código es medio feo pero funciona. Guarda la imagen en el escritorio. #NoEnv #SingleInstance Force SetBatchLines -1 !p:: ; Alt+p File := A_Desktop . "\" . A_Now . ".bmp" ; Donde guardar la imagen. CaptureScreen(,, File) return CaptureScreen(aRect := 0, ...
by Flipeador
21 Jul 2019, 19:10
Forum: Pedir Ayuda
Topic: Me gustaría mover el mouse con el teclado Topic is solved
Replies: 4
Views: 448

Re: Me gustaría mover el mouse con el teclado Topic is solved

La opción 2 debería funcionar, debes ejecutar el script como Administrador.
by Flipeador
18 Jul 2019, 19:14
Forum: Pedir Ayuda
Topic: Me gustaría mover el mouse con el teclado Topic is solved
Replies: 4
Views: 448

Re: Me gustaría mover el mouse con el teclado Topic is solved

Hola; Opción #1: #NoEnv #SingleInstance Force SetBatchLines -1 CoordMode Mouse, Screen Count := 5 i:: Move(0, -Count) j:: Move(-Count, 0) k:: Move(0, Count) l:: Move(Count, 0) Move(X, Y) { local MouseGetPos CX, CY MouseMove % CX+X, CY+Y } Opción #2: #NoEnv #SingleInstance Force SetBatchLines -1 Coor...
by Flipeador
18 Jul 2019, 16:41
Forum: Forum Issues
Topic: Forum changes, requests and features
Replies: 76
Views: 18623

Re: Forum changes, requests and features

Well, IMO with one dark theme and one light theme is enough. I only use Digi , the other dark ones look very ugly to me. ok, the change should be live Did you write .postlink:visited and .postlink:hover again?, you just had to change the content. I'm asking because the color of .postlink:visited doe...
by Flipeador
18 Jul 2019, 15:09
Forum: Forum Issues
Topic: Forum changes, requests and features
Replies: 76
Views: 18623

Re: Forum changes, requests and features

@joedf It's OK. The important thing is the second code (related to this).
by Flipeador
17 Jul 2019, 15:37
Forum: Pedir Ayuda
Topic: Es posible hacer esto?
Replies: 1
Views: 230

Re: Es posible hacer esto?

Hola, ¿has leído alguna vez la documentación?, deberías tener al menos un script que hayas intentado hacer.

Code: Select all

#NoEnv
#SingleInstance Force


CoordMode Mouse, Screen

F6::
MouseGetPos X, Y
X += 68
Click %X%, %Y%
;MouseMove % X-68, % Y  ; Para restaurar la posición.
return
by Flipeador
17 Jul 2019, 15:01
Forum: Forum Issues
Topic: Forum changes, requests and features
Replies: 76
Views: 18623

Re: Forum changes, requests and features

https://i.imgur.com/dzw0HJa.gif /* https://stackoverflow.com/questions/6008324/fade-effect-on-link-hover */ a, li, button { background-color: transparent; -o-transition:color .4s ease-out, background 1s ease-in, border .4s ease-in; -ms-transition:color .4s ease-out, background 1s ease-in, border .4...
by Flipeador
16 Jul 2019, 21:03
Forum: Ask For Help
Topic: Windows 10 Build 1903 broke my "change monitor input" script Topic is solved
Replies: 9
Views: 787

Re: Windows 10 Build 1903 broke my "change monitor input" script Topic is solved

The problem here is that function GetPhysicalMonitorsFromHMONITOR is failing with error code ERROR_NOT_FOUND , which doesn't say much. I searched for information but found nothing about why it fails. Maybe a driver is required, I have no idea (if you decide to install something, do so at your own ri...

Go to advanced search