Search found 236 matches

by John1
10 Aug 2022, 14:25
Forum: Tutorials (v1)
Topic: FindText tutorial
Replies: 120
Views: 101332

Re: FindText tutorial

Hello, Thank you for your very helpful tutorial! How can i look at the current mouse position. Take there a small screenshot and stop click when the screenshot changes/ when the screen changes at that position? Thank you! 1:: MouseGetPos, StartX1, StartY1 FindText().ScreenShot(StartX1-20,StartY1-20,...
by John1
08 Aug 2022, 07:55
Forum: Ask for Help (v1)
Topic: Disable Mouse Click in specific area of screen Topic is solved
Replies: 5
Views: 2316

Re: Disable Mouse Click in specific area of screen Topic is solved

mikeyww How can i disable mouse movement in a specific area of the screen? (physically mouse movement by hand) Thank you! #if blockPos101([434,29], [434,29]) *LButton:: *RButton:: *MButton:: *XButton1:: *XButton2:: return TAB:: MouseMove_(944,200) return #if blockPos101(xy1, xy2) { MouseGetPos, xpo...
by John1
08 Aug 2022, 07:38
Forum: Ask for Help (v1)
Topic: Disable mouse movement for all hotkeys in script Topic is solved
Replies: 4
Views: 1108

Re: Disable mouse movement for all hotkeys in script Topic is solved

@boiler
Thanks a lot for your reply!

I mean:
i have a lot of hotkeys in the script and want not change them manually. Can i change the default behavior of the script like adding something in the auto section. So it only disable mouse movement when one of the hotkeys is running.

Thank you!
by John1
08 Aug 2022, 05:47
Forum: Ask for Help (v1)
Topic: Disable mouse movement for all hotkeys in script Topic is solved
Replies: 4
Views: 1108

Disable mouse movement for all hotkeys in script Topic is solved

I want to disable the mouse movement for all hotkeys in my script. (The mouse movement i send physically.) Can i disable it for all hotkeys in the whole script instead writing at every single hotkey "BlockInput, MouseMove" "BlockInput, MouseMoveOff"? And i also would like to when disabled it for all...
by John1
08 Aug 2022, 05:38
Forum: SciTE4AutoHotkey
Topic: Search in Scite4Autohotkey Topic is solved
Replies: 2
Views: 987

Re: Search in Scite4Autohotkey Topic is solved

@Xtra Thanks a lot!
by John1
07 Aug 2022, 14:23
Forum: SciTE4AutoHotkey
Topic: Search in Scite4Autohotkey Topic is solved
Replies: 2
Views: 987

Search in Scite4Autohotkey Topic is solved

Hello, when I press ^F i want just to activate the search bar. So i can search for the word i typed allready in the search bar. when i typed there in "word1". I want to search only "word1" by pressing ^F and Enter. But yet when i pres ^F the word where the mouse cursor is in the code. gets selected ...
by John1
04 Aug 2022, 15:04
Forum: Ask for Help (v1)
Topic: RegEx: Delete everything up to a certain word ...
Replies: 19
Views: 3549

Re: RegEx: Delete everything up to a certain word ...

@boiler
@sofista

Thank you both a lot!
by John1
04 Aug 2022, 09:25
Forum: Ask for Help (v1)
Topic: RegEx: Delete everything up to a certain word ...
Replies: 19
Views: 3549

Re: Re:

If like you described, you want to delete everything before first occurence of offer : vText := "abcdefghijkloffermnopqrstuvwxyzoffer123456" MsgBox, % RegExReplace(vText, "^.*?(?=offer)") The (?=offer) part of the needle is a look-ahead, which means it is part of what is searched for but isn’t incl...
by John1
03 Aug 2022, 08:05
Forum: SciTE4AutoHotkey
Topic: How can i in Scite4autohotkey replace a line and also remove the line?
Replies: 0
Views: 661

How can i in Scite4autohotkey replace a line and also remove the line?

How can i in Scite4autohotkey replace a line and also remove the line? So the line is removed instead just a blank line.
For example when i replace "blabla" with nothing. I just have blank line/s.

Thank you!
by John1
21 Jul 2022, 12:51
Forum: Ask for Help (v1)
Topic: how can i make a gui only movable/drag with mouse at y axis? Topic is solved
Replies: 4
Views: 850

how can i make a gui only movable/drag with mouse at y axis? Topic is solved

Hello,

how can i make a gui only movable/drag with mouse at y axis/ block only moving/dragging with mouse at x axis?


Thank you!
by John1
19 May 2022, 05:27
Forum: Ask for Help (v1)
Topic: different actions for the "." key
Replies: 3
Views: 303

Re: different actions for the "." key

@flyingDman

I tried with your method. I did not understand how to make it that fast like my version with T0.1.

Thank you!
by John1
16 Apr 2022, 13:22
Forum: Ask for Help (v1)
Topic: different actions for the "." key
Replies: 3
Views: 303

Re: different actions for the "." key

@flyingDman
Thanks a lot for your reply!
by John1
16 Apr 2022, 12:58
Forum: Ask for Help (v1)
Topic: different actions for the "." key
Replies: 3
Views: 303

different actions for the "." key

Hello, I have this, when i press a key one, two times or longer it does different actions. How could i write this the "." "," "-" keys? Thank you! ;A (A) A:: KeyWait, A , T0.1 if (ErrorLevel) gosub GoSub_10_A3 ;Long else { KeyWait, A, D T0.1 if (ErrorLevel) ; 1x gosub GoSub_10_A1 else gosub GoSub_10...
by John1
02 Apr 2022, 04:51
Forum: Ask for Help (v1)
Topic: FoundX Topic is solved
Replies: 6
Views: 645

Re: FoundX Topic is solved

@boiler

Thank you a lot!
It works now.

Code: Select all

;A (Click_FoundXY)
Click_FoundXY(X1,Y1)
{

global FoundX:=FoundX+X1
global FoundY:=FoundY+Y1
MouseMove, %FoundX%, %FoundY%, 0
Click	
return	
}
;E (Click_FoundXY)
by John1
02 Apr 2022, 04:36
Forum: Ask for Help (v1)
Topic: FoundX Topic is solved
Replies: 6
Views: 645

Re: FoundX Topic is solved

boiler Thank you for your reply. ;A (Click_FoundXY) Click_FoundXY(X1,Y1) { FoundX:=FoundX+X1 FoundY:=FoundY+Y1 MouseMove, %FoundX%, %FoundY%, 0 Click return } ;E (Click_FoundXY) ImageSearch, FoundX, FoundY, 0,0, A_ScreenWidth, A_ScreenHeight, *50, Image1 if(ErrorLevel=0) { FoundX:=FoundX-200 FoundY...
by John1
02 Apr 2022, 03:35
Forum: Ask for Help (v1)
Topic: FoundX Topic is solved
Replies: 6
Views: 645

Re: FoundX Topic is solved

@AHKStudent

Thank you for your reply. I want to have it work as function.
by John1
02 Apr 2022, 03:19
Forum: Ask for Help (v1)
Topic: FoundX Topic is solved
Replies: 6
Views: 645

FoundX Topic is solved

Code: Select all

Click(X1,Y1)
{

FoundX:=FoundX+X1
FoundY:=FoundY+Y1
Click
return	
}
How can i have it also work with a negative number?

Code: Select all

MouseMove, %FoundX%, %FoundY%, 0
Click(-200,0)
Thank you!
by John1
18 Mar 2022, 14:44
Forum: Ask for Help (v1)
Topic: stop command
Replies: 10
Views: 3042

Re: stop command

@Rohwedder
Thank you!!

Go to advanced search