Search found 508 matches

by rommmcek
20 Mar 2019, 01:48
Forum: Ask For Help
Topic: Magnification API
Replies: 6
Views: 695

Re: Magnification API

This is great! The first Ahk magnifier I know, wich works on modern Windows correctly! Adding -Caption , -DpiScreen , NA and WS_EX_CLICKTHROUGH becomes really useful! P.s.: Shouldn't be this: vRectX := vMouseX-Floor(vGuiW/(2*vMagFactor)), vRectY := vMouseY-Floor(vGuiH/(2*vMagFactor)) making vRectY +...
by rommmcek
19 Mar 2019, 12:04
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 110
Views: 16322

Possible bug/limitation

Very grandiose work! Didn't migrate to you yet, but I'm checking periodically. Not sure if this is a known issue or it just appears on my OS (Win10). Parentheses at the beginning of the line seem to prevent highlighting the rest of the code below that line. (a:=5) Sleep, 15 ; lacks highlight in Auto...
by rommmcek
11 Mar 2019, 06:32
Forum: Ask For Help
Topic: How to make the condition "true for x milliseconds"?
Replies: 1
Views: 91

Re: How to make the condition "true for x milliseconds"?

Try to implement this: SetTimer, WatchCursor, 250 Return WatchCursor: if CursorVisible && (A_TickCount-CursorAppear >= 20000) Reload Else Gosub, GetCursorVar Return GetCursorVar: ; here paste your code wich will set CursorVisibe to 1 if visible otherwise to 0 if !CursorVisible CursorAppear:= "" else...
by rommmcek
11 Mar 2019, 02:14
Forum: Ask For Help
Topic: Faster horizontal scroll
Replies: 12
Views: 196

Re: Faster horizontal scroll

Obviously this is due to how your app handles these commands.
A workaround would be to programmatically click aside from the scroll bar (if it is visible and if manuel click works as expected).
by rommmcek
10 Mar 2019, 18:32
Forum: Ask For Help
Topic: Faster horizontal scroll
Replies: 12
Views: 196

Re: Faster horizontal scroll

Well, when you turn the Wheel quick enough the variable rNotch increments. rNotch is then used, to send Shift+Right that muche of times.
by rommmcek
10 Mar 2019, 18:26
Forum: Ask For Help
Topic: Faster horizontal scroll
Replies: 12
Views: 196

Re: Faster horizontal scroll

The above suggestion should work, but is not very rational. Here is the whole code ;#IfWinActive, WinTitle ; Replace "WinTitle" with your app Title and uncomment this and last line <+WheelDown:: ; Scroll right. <+WheelUp:: ; Scroll left. (A_ThisHotkey!=A_PriorHotkey||A_TimeSincePriorHotkey>450)? rNo...
by rommmcek
10 Mar 2019, 17:58
Forum: Ask For Help
Topic: Faster horizontal scroll
Replies: 12
Views: 196

Re: Faster horizontal scroll

Replace SendMessage, 0x114, 0, 0, %fcontrol%, A with:
Send, +{Left %rNotch%} and
Replace SendMessage, 0x114, 1, 0, %fcontrol%, A with:
Send, +{Right %rNotch%}

P.s.: Sorry for blunder see above!
by rommmcek
10 Mar 2019, 17:45
Forum: Ask For Help
Topic: Faster horizontal scroll
Replies: 12
Views: 196

Re: Faster horizontal scroll

What's the full name of your app? Is it Share/Free ware?

Btw: If +Left/Right works for you then instead of SendMessage use e.g. Send, +{Left %rNotch%}.
Edit: Fixing blunder (not !, but +}
by rommmcek
10 Mar 2019, 17:09
Forum: Ask For Help
Topic: Faster horizontal scroll
Replies: 12
Views: 196

Re: Faster horizontal scroll

To test it open Notepad, write a very very long line, run the script above and turn Wheel while pressing left Shift down.
If it works in Notepad and not in your app, then try to run the script as admin...
Edit: In Notepad for test you should uncheck Word Wrap (Format>Word Wrap).
by rommmcek
10 Mar 2019, 15:50
Forum: Ask For Help
Topic: Faster horizontal scroll
Replies: 12
Views: 196

Re: Faster horizontal scroll

Try this: <+WheelDown:: ; Scroll right. <+WheelUp:: ; Scroll left. (A_ThisHotkey!=A_PriorHotkey||A_TimeSincePriorHotkey>450)? rNotch:=1: (rNotch<20)? rNotch++: rNotch+=3 ControlGetFocus, fcontrol, A if (A_ThisHotkey = "<+WheelUp") Loop % rNotch ; <-- Increase this value to scroll faster. SendMessage...
by rommmcek
25 Feb 2019, 16:28
Forum: Ask For Help
Topic: Question about ControlClick
Replies: 5
Views: 237

Re: Question about ControlClick

If you can't retrieve data... it'll be tough.
Maybe you should look at FindText if it suits you.
by rommmcek
23 Feb 2019, 11:14
Forum: Ask For Help
Topic: copy in Adobe Reader - no clipboard owner Topic is solved
Replies: 9
Views: 281

Re: Cannot copy in Adobe - clipboard empty Topic is solved

@jeeswg: I was speaking of the guru, the guru is here! Very classy piece of code!
by rommmcek
23 Feb 2019, 05:46
Forum: Ask For Help
Topic: copy in Adobe Reader - no clipboard owner Topic is solved
Replies: 9
Views: 281

Re: Cannot copy in Adobe - clipboard empty Topic is solved

Looks like handle is retrieved only when Clipboard is occupied. SetBatchLines, -1 VarSetCapacity(vOutput, 55*1000000*2) Loop, 200000 vOutput .= "abcdefghijklmnopqrstuvwxyz`tabcdefghijklmnopqrstuvwxyz`r`n" ; big data by Jeeswg to occupy Clipboard as long as possible Clipboard := vOutput MsgBox % DllC...
by rommmcek
23 Feb 2019, 05:33
Forum: Ask For Help
Topic: copy in Adobe Reader - no clipboard owner Topic is solved
Replies: 9
Views: 281

Re: Cannot copy in Adobe - clipboard empty Topic is solved

Sorry, there was typo! if !ClipBord should be if !Clipboard!!!!!
With DllCall unfortunately I do not have experience!
by rommmcek
23 Feb 2019, 04:03
Forum: Ask For Help
Topic: copy in Adobe Reader - no clipboard owner Topic is solved
Replies: 9
Views: 281

Re: Cannot copy in Adobe - clipboard empty Topic is solved

Try this: f:: ; works for me While (Clipboard != "" && A_Index <= 90) { ; This While loop is for normal use redundant, but under heavy load useful. Clipboard := "" Sleep, 10 } While (Clipboard = "" && A_Index <= 6) { Send, ^c Sleep, 150 if !Clipboard msgBox Mark some text first! ; will be empty else...
by rommmcek
22 Feb 2019, 21:59
Forum: Ask For Help
Topic: Question about ControlClick
Replies: 5
Views: 237

Re: Question about ControlClick

Thanks just me!
@rambius: So try:

Code: Select all

ControlGet, hnd1, hwnd,, LOGIN, Login
ControlClick,, ahk_id %hnd1%
and

Code: Select all

ControlGet, hnd2, hwnd,, YES, %marker%
ControlClick,, ahk_id %hnd2%
by rommmcek
22 Feb 2019, 08:34
Forum: Ask For Help
Topic: Mouse click command not waiting for controclick function to perform it's command
Replies: 1
Views: 105

Re: Mouse click command not waiting for controclick function to perform it's command

I tried to guess what you wanted: sETBATCHLINES, -1 sETKEYDELAY, -1 sETMOUSEDELAY, -1 sETDEFAULTMOUSESPEED, 0 sETWINDELAY, -1 sETCONTROLDELAY,-1 settitlematchmode, 1 setbatchlines -1 Rshift::reload ]:: ControlClick, ThunderRT6CommandButton5, Anagram Master, &Search! Clipboard:= "" ControlClick, Thun...
by rommmcek
22 Feb 2019, 08:18
Forum: Ask For Help
Topic: Question about ControlClick
Replies: 5
Views: 237

Re: Question about ControlClick

First paramater should be control, not text!
Should look like: ControlClick, Button1,Login and ControlClick, Button2, %marker%.
by rommmcek
22 Feb 2019, 08:03
Forum: Ask For Help
Topic: Script Error
Replies: 2
Views: 126

Re: Script Error

Move #IfWinActive ahk_class (Progman|CabinetWClass) up before $enter::! Otherwise it has no effect.
by rommmcek
19 Feb 2019, 21:38
Forum: Ask For Help
Topic: Hotkeystrings don't work 20% of the time
Replies: 12
Views: 507

Re: Hotkeystrings don't work 20% of the time

You should use WinWait, ahk_pid %OutputVarPID%,, 6, to avoid script being stuck.
Edit: And uncomment ; msgbox % Files to see "Files" content!

Go to advanced search