Search found 227 matches

by scriptors
30 Jan 2020, 03:55
Forum: Gaming Help (v1)
Topic: How to remap special mouse keys?
Replies: 3
Views: 1128

Re: How to remap special mouse keys?

must use logitech software and define G button like F13, F14, F15 ecc. ecc.
then use AHK as normal

Code: Select all

F13::
; ...
; your script
; ...
Return
:thumbup:
by scriptors
28 Jan 2020, 04:36
Forum: Ask for Help (v1)
Topic: Help for IE page COM automation Topic is solved
Replies: 7
Views: 863

Re: Help for IE page COM automation Topic is solved

This work, just change "TR" to "TD" ... really thanks :clap:
by scriptors
28 Jan 2020, 04:12
Forum: Ask for Help (v1)
Topic: Help for IE page COM automation Topic is solved
Replies: 7
Views: 863

Re: Help for IE page COM automation Topic is solved

"0123456789" are into TD so: input := IE.document.getElementsByTagName("TD") ; loop through list of <input> tags loop, % input.Length ;% Loop { ; find <input> tag by name if ( input[(A_index-1)].InnerTEXT == "0123456789" ){ ; change to InnerTEXT MsgBox FOUND break ; break loop } } Return this FOUND ...
by scriptors
28 Jan 2020, 04:01
Forum: Ask for Help (v1)
Topic: Help for IE page COM automation Topic is solved
Replies: 7
Views: 863

Re: Help for IE page COM automation Topic is solved

problem, with this i found nothing :( input := IE.document.getElementsByTagName("TR") ; loop through list of <input> tags loop, % input.Length ;% Loop { ; find <input> tag by name if ( input[(A_index-1)].InnerTEXT == "0123456789" ){ ; change to InnerTEXT MsgBox FOUND break ; break loop } } Return
by scriptors
28 Jan 2020, 03:18
Forum: Ask for Help (v1)
Topic: Help for IE page COM automation Topic is solved
Replies: 7
Views: 863

Help for IE page COM automation Topic is solved

Hi, i have a multiple web page of user and every page have a hundred of "IDENTITY_Number" with two button on the right, Delete and Modify. For example I have 20 IDENTITY_NUMBER and I have to click 20 times on the button on the right to Delete the qualifications <tr> <td>Annullamento</td> <td>Pratica...
by scriptors
22 Jan 2020, 10:13
Forum: Gaming Help (v1)
Topic: PixelGetColor Question colour code changes
Replies: 1
Views: 467

Re: PixelGetColor Question colour code changes

i think you must work directly on remote PC

also you must "active" teamviewer windows before work on it (i also work teamviewer and have some little "problem")

ps. set CoordMode correctly by you script ... and ... verify colour ;)
by scriptors
22 Jan 2020, 06:51
Forum: Ask for Help (v1)
Topic: Search pixel and click on bottom left corner
Replies: 1
Views: 344

Re: Search pixel and click on bottom left corner

Pixel haven't left/right - top/bottom corner .. it's a pixel

Try to ImageSearch and add "number" for know image dimension

Code: Select all

Click, %FoundX% + 10, %FoundY% + 10, Right, 1
just for example
by scriptors
22 Jan 2020, 06:37
Forum: Ask for Help (v1)
Topic: Find A Specific Mouse Coord
Replies: 2
Views: 813

Re: Find A Specific Mouse Coord

Code: Select all

+!^p::
CoordMode, ToolTip, Screen
	ToolTip \ Top`nLeft, 500, 400 ; just to write somethings
	Sleep 3000
	ToolTip
Return
by scriptors
21 Jan 2020, 09:57
Forum: Ask for Help
Topic: Function are data/char limited ?
Replies: 11
Views: 4243

Re: Function are data/char limited ?

I feel a little stupid but I don't understand :oops: Error are on: ---> 3969: Return,AhkThread(" ....... so, like this ? ^!t:: MyFunction_H(1,2,3) MyFunction_H(4,5,6) MyFunction_H(7,8,9) Return MyFunction_H(data_1,data_2,data_3) { return AhkThread(" ( ; ... ; my script FIRST~16834 characters ; ... )...
by scriptors
20 Jan 2020, 06:05
Forum: Ask for Help (v1)
Topic: Improve PixelGetColor script ?
Replies: 0
Views: 323

Improve PixelGetColor script ?

Usually i use this script to verify correct color before click on a game command windows PixelGetColor, ResClose, 526, 50, RGB ; Gets the colour at the coordinates (x, y) in the active window if(ResClose = 0xFDBB37 or ResClose = 0xFDBA38 or ResClose = 0xA67B24 or ResClose = 0xFFBB37 ... ... ... or R...
by scriptors
20 Jan 2020, 05:54
Forum: Ask for Help
Topic: Function are data/char limited ?
Replies: 11
Views: 4243

Re: Function are data/char limited ?

:thumbup: ok

I reduced the size of the text by merging/modify some pieces of script and using the GoSub command, now all work

But, how do i do to "split" one thread ? Have some example ?
by scriptors
15 Jan 2020, 12:35
Forum: Ask for Help
Topic: Function are data/char limited ?
Replies: 11
Views: 4243

Re: Function are data/char limited ?

Here the error: --------------------------- NOX.ahk --------------------------- Error: Expression too long Line# … … ... ---> 3969: Return,AhkThread(" CoordMode ,Pixel,Screen ;set this to use absolute coordinates and for specific thread … … … The script was not reloaded; the old version will remain ...
by scriptors
15 Jan 2020, 03:06
Forum: Ask for Help
Topic: Function are data/char limited ?
Replies: 11
Views: 4243

Re: Function are data/char limited ?

sorry but I am super cooled and I was unable to reproduce the error screen again

will try again tonight

ps. however, the script acts on 10 NOX sessions, windows of the same size, same game but different accounts and different screen position of course ;)
by scriptors
14 Jan 2020, 10:52
Forum: Ask for Help
Topic: Function are data/char limited ?
Replies: 11
Views: 4243

Function are data/char limited ?

Sorry for question, i'm not at home now so update after with exact error type Problem are this: ^!t:: MyFunction_H(1,2,3) MyFunction_H(4,5,6) MyFunction_H(7,8,9) Return MyFunction_H(data_1,data_2,data_3) { return AhkThread(" ( ; ... ; 80 line of script ; )") } this work perfectly ... if i add some o...
by scriptors
14 Jan 2020, 10:27
Forum: Gaming Help (v1)
Topic: ControlSend and Nox App Player
Replies: 4
Views: 3726

Re: ControlSend and Nox App Player

I use NOX 5.1 and ControlClick work perfectly ... of course you must remember coords are relative the specific windows (by windows name). For example i use "color test" with absolute coords (windows desktop), then controlclick with specifically windows coords and name. I normally work on 21 NOX sess...
by scriptors
16 Dec 2019, 10:40
Forum: Ask for Help (v1)
Topic: switch from IE to Chrome
Replies: 1
Views: 257

switch from IE to Chrome

Hi friends, i usually use AHK with IE interaction and for my personal macro ... but now I must use it with Chrome :oops: My goal are to interact with online form, so: 1. vrite into "input" cell, "select" cell and similar (usually transfer from excel data to fill "input" cell) 2. open web page and wr...
by scriptors
09 Dec 2019, 15:10
Forum: Scripts and Functions (v1)
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 345
Views: 205708

Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

Sorry but I can't install and work with AutoHotInterception … strange but true :( I use Autohotkey_H (on Win10 64) and if i try Monitor.ahk have this: --------------------------- AutoHotkey --------------------------- Error: CONTINUABLE EXCEPTION_ACCESS_VIOLATION Mouse and Keyboard hooks have been d...
by scriptors
05 Dec 2019, 05:56
Forum: Ask for Help (v1)
Topic: Running .ahk automatically when the computer starts
Replies: 4
Views: 1165

Re: Running .ahk automatically when the computer starts

just put .ahk file "Link" into "automatic execution" .. i don't remember in english :oops:

C:\utenti\Nome Utente\AppData\Roaming\Microsoft\Windows\Menu Start\Programmi\Esecuzione automatica (in italian language, translate it ;) )

Go to advanced search