Search found 844 matches

by scriptor2016
15 Mar 2024, 18:00
Forum: Ask for Help (v1)
Topic: Use AHK script only when Photoshop is active - Photoshop WinTitle?
Replies: 2
Views: 78

Re: Use AHK script only when Photoshop is active - Photoshop WinTitle?

Those shortcuts look a little complicated, with the modifers and everything (CTRL, ALT, etc)

If you're interested, I could maybe help you out a little bit if you can describe what you want each shortcut to do.
by scriptor2016
24 Feb 2024, 02:24
Forum: Forum Issues
Topic: Documentation and Google
Replies: 27
Views: 1196

Re: Documentation and Google

oh ok never mind - found it, thanks
by scriptor2016
24 Feb 2024, 02:22
Forum: Forum Issues
Topic: Documentation and Google
Replies: 27
Views: 1196

Re: Documentation and Google

Sorry boiler, I'm not getting it - page 1 of what thread? (I haven't been here in a really long time so I'm kind of out of touch at the moment..)
by scriptor2016
24 Feb 2024, 01:50
Forum: Forum Issues
Topic: Documentation and Google
Replies: 27
Views: 1196

AHK topics not searchable in Chrome?

Hi everyone Long, long time. Playing around with AHK again , it'll take some time to become re-aquainted :) I'm searching for topics as I always did by typing in something like the following into a google search: "AHK clear an edit control" but nothing shows up in Google's search engine results anym...
by scriptor2016
07 Oct 2022, 23:50
Forum: Ask for Help (v1)
Topic: Program won't see key stroke
Replies: 5
Views: 643

Re: Program won't see key stroke

Amongst a few other things, I think you might need a hotkey to trigger the actions. In the case below, press SHIFT+z to run the code. It's been quite a while since I've used AHK due to "life", so I'm not sure this is going to work just yet. But you can try it out: +z:: If WinExist("ahk_class DigiApp...
by scriptor2016
28 Aug 2022, 13:17
Forum: Ask for Help (v1)
Topic: Is a Window Visible on Screen
Replies: 8
Views: 1839

Re: Is a Window Visible on Screen

I had this script kicking around on my hard drive. You could try it: Settitlematchmode, 2 Test_WinVisibleFunction: WinTitle = MyWindow ;enter you window title here ;WinHide %WinTitle% If WinVisible(WinTitle) Msgbox Visible Else Msgbox Hidden Return WinVisible(WinTitle) { WinGet, Style, Style, %WinTi...
by scriptor2016
21 Jul 2022, 00:50
Forum: Ask for Help (v1)
Topic: How to detect a click outside of the GUI?
Replies: 3
Views: 663

Re: How to detect a click outside of the GUI?

Wow I thought this would be an easy task by the sounds of it! I had a really hard time coming up with an idea. This works, but I'm not sure how efficient it is or how much sense it makes. Might be good for starters though: Gui, Show, x100 y100 w200 h200, MYGUI Return ~LButton:: Sleep, 50 WinGetTitle...
by scriptor2016
16 Jul 2022, 03:02
Forum: Ask for Help (v1)
Topic: Flagging Variable From Group
Replies: 5
Views: 902

Re: Flagging Variable From Group

ooops, nevermind - just saw Rohwedder's reply as well:

Code: Select all

Group=
(
three
six
seven
nine
)

Loop, read, C:\MyTextFile.txt
	IfInString, Group, %A_LoopReadLine% 
		msgbox, %A_LoopReadLine%


...and it works as well.

Perfect, thanks!!
by scriptor2016
16 Jul 2022, 02:58
Forum: Ask for Help (v1)
Topic: Flagging Variable From Group
Replies: 5
Views: 902

Re: Flagging Variable From Group

Hi, thanks to both of you guys. Really appreciated :) I was able to get it going like this: Loop, read, C:\MyTextFile.txt if A_LoopReadLine contains three,six,seven,nine msgbox, %A_LoopReadLine% which I suppose is much easier than creating a group. However, the Group idea still won't work (yet) no m...
by scriptor2016
16 Jul 2022, 01:15
Forum: Ask for Help (v1)
Topic: Flagging Variable From Group
Replies: 5
Views: 902

Flagging Variable From Group

I have a text file which looks like this: one two three four five six seven eight nine ten My script will read that text file line-by-line. When the text in the A_LoopReadLine reaches three,six,seven and eventually nine, it should pop up a messagebox - but only for those four numbers. However though...
by scriptor2016
01 Jul 2022, 01:22
Forum: Ask for Help (v1)
Topic: Make control size adjustments all on one line
Replies: 2
Views: 369

Re: Make control size adjustments all on one line

alright awesome, thanks man. I'll look up that link in a sec :)
by scriptor2016
01 Jul 2022, 01:02
Forum: Ask for Help (v1)
Topic: Make control size adjustments all on one line
Replies: 2
Views: 369

Make control size adjustments all on one line

Howdy I have this code so far: width:=100 height:=100 Gui, 1: Add, Picture, x0 y0 w%width% h%height% vBUTTON gButton, D:\MyPic.png What I'm trying to do, is make size adjustments for the picture all on the Gui, 1: line. For example, instead of making the picture 100 pixles wide as above, I'd like to...
by scriptor2016
18 Jun 2022, 16:26
Forum: Ask for Help (v1)
Topic: Multiple options with one Hotkey.
Replies: 24
Views: 2257

Re: Multiple options with one Hotkey.

I have some morse code on my hard drive that might be of interest. Tap or hold the Space key and follow the patterns shown in the script. Just want to add, that I didn't write this code, it can be found somewhere in the forums. Very useful ! maybe it will help? Morse(timeout = 250) { ; tout := timeo...
by scriptor2016
18 Jun 2022, 01:41
Forum: Ask for Help (v1)
Topic: Listview Scrolling Problem
Replies: 6
Views: 868

Re: Listview Scrolling Problem

OK, one last post here (I promise!) sorry, it looks like I'm posting to myself here all night lol but I'm guessing the problem might indeed be a focus issue. When I run the script originally, the first focused control was always 'Button1'. So when I went directly to the bottom of the scrollbar colum...
by scriptor2016
18 Jun 2022, 00:35
Forum: Ask for Help (v1)
Topic: Listview Scrolling Problem
Replies: 6
Views: 868

Re: Listview Scrolling Problem

I'd like to add, if I move the three Gui, Add, Button lines from the top of the script down to just above the Gui, Show line, then the issue is solved. I'm totally stumped. Seems like it's solved, but why would the placement of Gui, Add, Button in the code make a difference when it comes to this pro...
by scriptor2016
17 Jun 2022, 23:57
Forum: Ask for Help (v1)
Topic: Listview Scrolling Problem
Replies: 6
Views: 868

Re: Listview Scrolling Problem

Thanks guys. Sorry for the delay but I'm still very curious about this. I'm using a regular Logitech mouse, with nothing special about the drivers or anything like that. This problem is only happening with an AHK Listview. All other listviews on the system act as normal. I'm honestly scratching my h...
by scriptor2016
17 Jun 2022, 00:34
Forum: Ask for Help (v1)
Topic: Listview Scrolling Problem
Replies: 6
Views: 868

Listview Scrolling Problem

Hey eyeryone, I posted this topic quite a while back but I wanted to re-visit it as I'm still having the same problem in most of my listview projects. I'll post the sample code below. Basically, when clicking inside the scrollbar column (but not ON the scrollbar), the listview scrolls endlessley unt...
by scriptor2016
12 Jun 2022, 02:15
Forum: Ask for Help (v1)
Topic: Simple Script Press Keys Topic is solved
Replies: 5
Views: 7901

Re: Simple Script Press Keys Topic is solved

Without prior it could hold 13 seconds but f4 is it f1 and f2 together. But without gui focus, f13 can be alt if not held down first.

could you?
by scriptor2016
08 Jun 2022, 23:53
Forum: Ask for Help (v1)
Topic: Syntax Error?
Replies: 9
Views: 1165

Re: Syntax Error?

ok hope I got it now. Looks to be working: ~lbutton:: mousegetpos, x1, y1 keywait, lbutton, u mousegetpos, x2, y2 newx_positive:=x1+5 newx_negative:=x1-5 newy_positive:=y1+5 newy_negative:=y1-5 if (((x2 >= x1 and x2 <= newx_positive) or (x2 >= x1 and x2 <= newx_negative)) && ((y2 >= y1 and y2 <= new...
by scriptor2016
08 Jun 2022, 23:50
Forum: Ask for Help (v1)
Topic: Syntax Error?
Replies: 9
Views: 1165

Re: Syntax Error?

nevermind - it's bizarre. Totally random - it works half the time, and the other half it's misfiring. Can't figure out why..

Go to advanced search