Search found 2070 matches

by mikeyww
9 minutes ago
Forum: Ask For Help
Topic: Can sorting by % be scripted?
Replies: 1
Views: 24

Re: Can sorting by % be scripted?

Are you referring to a formatted text file, or just an image that contains numbers?
by mikeyww
13 minutes ago
Forum: Ask For Help
Topic: One file with differents actions
Replies: 1
Views: 14

Re: One file with differents actions

Code: Select all

Hotkey, 1, Beep1, On
Hotkey, 2, Beep2, On
Return

Beep1:
Hotkey, 1, Stop, On
SetTimer, Beep1b, 400
Beep1b:
Send x
Return

Beep2:
Hotkey, 2, Stop, On
SetTimer, Beep2b, 500
Beep2b:
Send y
Return

Stop:
Suspend
Pause,, 1
Return
by mikeyww
Today, 22:25
Forum: Ask For Help
Topic: Ughh Mouse Clicks
Replies: 8
Views: 107

Re: Ughh Mouse Clicks

LButton:: If recent := (A_PriorHotkey = "~LButton Up" && A_TimeSincePriorHotkey < 100) { KeyWait, LButton, T.4 recentAndHeld := ErrorLevel } Else recentAndHeld := False Send % (recentAndHeld || !recent) ? "{LButton Down}" : "" Return ~LButton Up:: If !recentAndHeld && recent SoundBeep, 900, 20 Retu...
by mikeyww
Today, 19:06
Forum: Ask For Help
Topic: Excel Ribbon sometimes changes when window is activated
Replies: 5
Views: 86

Re: Excel Ribbon sometimes changes when window is activated

Those are all great points and suggestions!

https://autohotkey.com/board/topic/69033-basic-ahk-l-com-tutorial-for-excel/

There are also lots of posts with Excel COM examples.
by mikeyww
Today, 18:09
Forum: Ask For Help
Topic: Excel Ribbon sometimes changes when window is activated
Replies: 5
Views: 86

Re: Excel Ribbon sometimes changes when window is activated

I had no trouble with the following, but this does not necessarily apply to how your script works-- what commands are being used after the activation, etc. F3:: SoundBeep, 1500, 20 WinActivate, Book1.xlsx SendInput 4{Enter} Return If you are using WinWaitActive immediately after the program is run, ...
by mikeyww
Today, 16:01
Forum: Ask For Help
Topic: Running Script in Inactive Window
Replies: 1
Views: 33

Re: Running Script in Inactive Window

Unfortunately, some programs do not accommodate ControlSend or ControlClick . For Loop , note that the command applies either to a subsequent block enclosed in braces, or to the single line that follows the command, if a block is not present. You can use Window Spy to try to identify a specific cont...
by mikeyww
Today, 14:33
Forum: Ask For Help
Topic: using wildcards in Window Title match
Replies: 5
Views: 61

Re: using wildcards in Window Title match

You were on the right track. The following may work, too (has the extra . representing ( ). SetTitleMatchMode, RegEx wTitle = ES........17711 Volume MsgBox, 64, Unique ID, % WinExist(wTitle) WinExist is a function as shown here. Regarding your earlier attempts, note that parentheses are special char...
by mikeyww
Today, 14:16
Forum: Ask For Help
Topic: using wildcards in Window Title match
Replies: 5
Views: 61

Re: using wildcards in Window Title match

SetTitleMatchMode, RegEx wTitle = ES \d\d-\d\d \(17711 Volume\) MsgBox, 64, Unique ID, % WinExist(wTitle) If no other windows have similar titles, you could also simplify the title further. An example is below. wTitle = ES.+Volume An even easier method is just to use the process name, if it has onl...
by mikeyww
Today, 11:17
Forum: Ask For Help
Topic: How to correctly map the button on the right side of "L" button? Topic is solved
Replies: 2
Views: 39

Re: How to correctly map the button on the right side of "L" button? Topic is solved

Have you tried the following?

Code: Select all

!;::Send {Text}'
or:

Code: Select all

!;::Send % Chr(39)
If it does not work, you could look at KeyHistory or try to get the scan code for the key you want.
by mikeyww
Today, 11:13
Forum: Ask For Help
Topic: RButton Mouse pressed
Replies: 1
Views: 33

Re: RButton Mouse pressed

Code: Select all

#If GetKeyState("CapsLock", "T")
RButton::
SoundBeep, 1500, 20
Click, down, right
Return
by mikeyww
Today, 10:31
Forum: Ask For Help
Topic: problem with speed typing on thinkpad
Replies: 4
Views: 57

Re: problem with speed typing on thinkpad

OK. I made a few adjustments to the script above. It seems to work.
by mikeyww
Today, 08:13
Forum: Ask For Help
Topic: problem with speed typing on thinkpad
Replies: 4
Views: 57

Re:

If the click is unintended, then why do you want to send it? In case helpful: some touchpad utilities have configuration options that handle this common issue, in case yours is a touchpad issue. I think that they essentially block the pad if you are typing at the same time, or appear to have your pa...
by mikeyww
Today, 06:29
Forum: Ask For Help
Topic: When to use study option (S) of regular expressions? Topic is solved
Replies: 2
Views: 52

Re: When to use study option (S) of regular expressions? Topic is solved

Yes, it means that it might. Studies the pattern to try improve its performance. This is useful when a particular pattern (especially a complex one) will be executed many times. If PCRE finds a way to improve performance, that discovery is stored alongside the pattern in the cache for use by subsequ...
by mikeyww
Today, 06:27
Forum: Ask For Help
Topic: Getting Rid of Werfault.Exe When a Crash Is Experienced
Replies: 5
Views: 67

Re: Getting Rid of Werfault.Exe When a Crash Is Experienced

As I noted, my impression is that excluding applications excludes them from being sent to Microsoft, but does not necessarily exclude them from desktop notification. I'm not certain, but that is what I read.
by mikeyww
Today, 06:26
Forum: Ask For Help
Topic: help with adobe connect code
Replies: 6
Views: 77

Re: help with adobe connect code

Sorry to give you some unhelpful information!
by mikeyww
Today, 06:24
Forum: Ask For Help
Topic: MouseClickDrag going to wrong location
Replies: 3
Views: 56

Re: MouseClickDrag going to wrong location

This particular drag command does not use coordinates relative to the cursor's location. It's a y-value coordinate relative to the client area. It's conceivable that this could be used for a toolbar divider present in the general area of the menu or below it, but I still doubt it because -397 is a l...
by mikeyww
Today, 06:19
Forum: Gaming
Topic: [Help] Keypress and left click rapid fire loop Topic is solved
Replies: 20
Views: 184

Re: [Help] Keypress and left click rapid fire loop Topic is solved

Comments may also be added at the end of a line, in which case the semicolon must have at least one space or tab to its left.
by mikeyww
Today, 06:15
Forum: Gaming
Topic: How to spam Z
Replies: 6
Views: 74

Re: How to spam Z

Yes! A third way, too:

Code: Select all

Send {Text}This!3
by mikeyww
Yesterday, 22:36
Forum: Gaming
Topic: Help autoclick script
Replies: 2
Views: 55

Re: Help autoclick script

If SetKeyDelay is never used by a script, the default Delay for the traditional SendEvent mode is 10.
by mikeyww
Yesterday, 22:22
Forum: Ask For Help
Topic: Can AHK be triggered by a TamperMonkey script?
Replies: 4
Views: 54

Re: Can AHK be triggered by a TamperMonkey script?

The script that I posted works with the Amazon Web site in Firefox (no other changes needed just to see the MsgBox). Why change something that works? Change the MsgBox to whatever routine you want to run when the tab opens. You can change Amazon to whatever tab title you need. Leave the rest intact....

Go to advanced search