Search found 669 matches

by LAPIII
03 May 2024, 10:45
Forum: SciTE4AutoHotkey
Topic: Do regular expressions work?
Replies: 1
Views: 289

Do regular expressions work?

I've got version 3.1.00 in Replace this is what I did: In the "Find" field, enter the regular expression: ^.LocalizedType:.$ (This will remove 'LocalizedType:' and everything after it on each line in the file.) Leave the "Replace" field empty. Make sure the "Regular expression" option is checked. Cl...
by LAPIII
05 Apr 2024, 11:43
Forum: Scripts and Functions (v1)
Topic: WatchFolder() - updated on 2021-10-14
Replies: 152
Views: 90320

Re: WatchFolder() - updated on 2021-10-14

You should convert this a very useful script for v2.
by LAPIII
11 Mar 2024, 18:01
Forum: Scripts and Functions (v2)
Topic: UIA v2
Replies: 375
Views: 55188

Re: UIA v2

UIA Browser won't interact with Lastpass and at Spotify the Log In button. I've tried both in chrome and edge, as admin and without running as admin.
by LAPIII
09 Mar 2024, 23:03
Forum: SciTE4AutoHotkey
Topic: Can I be able to save AHK files and to be able to click on one in File Explorer without opening in this app?
Replies: 13
Views: 2998

Re: Can I be able to save AHK files and to be able to click on one in File Explorer without opening in this app?

I came up with this solution because I've had scripts with the word save in it:

Code: Select all

SetTitleMatchMode "RegEx"

loop {																	; writes .ahk in a Save window
	WinWaitActive "Save File|Save a Copy ahk_exe SciTE.exe"
	Send ".ahk{left 4}"
	WinWaitNotActive "Save ahk_exe SciTE.exe"
}
by LAPIII
27 Feb 2024, 18:48
Forum: SciTE4AutoHotkey
Topic: Backup question? Changing path of .bak files.
Replies: 1
Views: 760

Re: Backup question? Changing path of .bak files.

Tools > Scite4Autohotkey Settings...
Uncheck Auto-backups.
by LAPIII
24 Feb 2024, 10:56
Forum: Ask for Help (v2)
Topic: Callback function help Topic is solved
Replies: 8
Views: 490

Re: Callback function help Topic is solved

No boiler, I copied and pasted your snippet perfectly. My solution: ClipChanged(*) { ControlSendText(A_Clipboard "`r`n", "Scintilla1", "ahk_exe Notepad++.exe") } This will not only work in the background but will eliminate pasting nothing when copying a modifier symbol, functions such as ^v or {Ente...
by LAPIII
24 Feb 2024, 10:37
Forum: Ask for Help (v2)
Topic: Callback function help Topic is solved
Replies: 8
Views: 490

Re: Callback function help Topic is solved

I get an error about the fourth line that says: Error: Target control not found..

EDIT: This is my solution:

Code: Select all

ClipChanged(*) {
	ControlSend("{Enter} " A_Clipboard, "Scintilla1", "ahk_exe Notepad++.exe")
}
`n Actually would take a few spaces before each paste.
by LAPIII
24 Feb 2024, 10:07
Forum: Ask for Help (v2)
Topic: Callback function help Topic is solved
Replies: 8
Views: 490

Re: Callback function help Topic is solved

Thank you very much! I like your second snippet best because it works in the background, but it will only create a line every second paste. Do you know what could fix this?
by LAPIII
24 Feb 2024, 03:25
Forum: Ask for Help (v2)
Topic: Callback function help Topic is solved
Replies: 8
Views: 490

Re: Callback function help Topic is solved

In the latest Notepad++ v8.6.2 this no longer works. I know I didn't change the code in my script because it works perfectly in WordPad. What's happening is that when I switch to another app and copy then it will only send Enter . I tried running the script as admin and using two ControlSends, one w...
by LAPIII
26 Oct 2023, 22:03
Forum: Ask for Help (v2)
Topic: UIA If / Else help.
Replies: 3
Views: 420

Re: UIA If / Else help.

On Pinterest.com , when logged in I can't select "Log out" from the "Accounts and more options" button in the top right corner. This is what I was wanted to do in Chrome: Sleep(2500) if button := cUIA.ElementFromPathExist("VR0/") button.click(), button.ElementFromPathExist("VRR9B/") && (button.Name ...
by LAPIII
18 Oct 2023, 09:15
Forum: Ask for Help (v2)
Topic: UIA If / Else help.
Replies: 3
Views: 420

UIA If / Else help.

If I start an autologin, like so: #Requires Autohotkey v2.0+ #Include <UIA> #Include <UIA_Browser> Run "chrome.exe https://google.com" WinWaitActive "ahk_exe chrome.exe" cUIA := UIA_Browser() cUIA.ElementFromHandle() if (button := cUIA.ElementFromPathExist("VR0/")) && InStr(button.Name, "Google Acco...
by LAPIII
30 Sep 2023, 16:24
Forum: Ask for Help (v2)
Topic: GUI script conversion request Topic is solved
Replies: 4
Views: 501

Re: GUI script conversion request Topic is solved

Can you tell me why couldn't I change it to:

Code: Select all

#Requires AutoHotkey v2.0
myGui := Gui()
myGui.SetFont('s10 underline')
myGui.AddText('w200 cBlue Center', 'Click this text')
myGui.OnEvent('Click', txt_Click)
myGui.Show 'x400'

txt_Click(txt, info) {
 MsgBox 123
}
by LAPIII
30 Sep 2023, 16:08
Forum: Ask for Help (v2)
Topic: GUI script conversion request Topic is solved
Replies: 4
Views: 501

Re: GUI script conversion request Topic is solved

Thank you very much. This is so awesome!
by LAPIII
30 Sep 2023, 15:01
Forum: Ask for Help (v2)
Topic: GUI script conversion request Topic is solved
Replies: 4
Views: 501

GUI script conversion request Topic is solved

Rohwedder had helped me write this : #SingleInstance, Force Path = C:\Users\LPIII\OneDrive\Documents\AutoHotkey\AHK Scripts\Bookmark Manager Gui, Add, Text, gLink1, PostImages Gui, Show Return Link1: Run, PostImages.ahk, %Path% Return I'm missing an Event : #SingleInstance Force #Requires Autohotke...
by LAPIII
17 Sep 2023, 04:05
Forum: General Discussion
Topic: AutoHotkey v2 Help
Replies: 4
Views: 1377

Re: AutoHotkey v2 Help

I'm editing chm_config.js, trying to make the Selected tab to be Search, 3, and Color theme to be Dark, 1. It isn't working; once I save the file and then open AutoHotkey v2 Help then I see that no changes have been made. Do you know what I have been doing wrong?
by LAPIII
16 Sep 2023, 14:02
Forum: General Discussion
Topic: AutoHotkey v2 Help
Replies: 4
Views: 1377

AutoHotkey v2 Help

I tried changing some settings and upon saving I got the following error message: Message_from_webpage 16_09_23 02⦂55⦂13⦂684 PM.jpg So I reopened AutoHotkey v2 Help, but as Administrator. My questions is: Do I always need to run it as administrator in order to use it with settings that are not defau...
by LAPIII
09 Sep 2023, 11:18
Forum: SciTE4AutoHotkey
Topic: It is possible to make the editor Not you backtick as an error?
Replies: 1
Views: 952

It is possible to make the editor Not you backtick as an error?

I use literal accents to send symbols, but this editor marks it as an error. Can I add it a file in order to prevent this happen?
by LAPIII
04 Sep 2023, 08:54
Forum: Suggestions on Documentation Improvements
Topic: Errors in docs. Topic is solved
Replies: 2
Views: 1258

Re: Errors in docs. Topic is solved

Thanks for clearing that up. :)
by LAPIII
02 Sep 2023, 13:07
Forum: Suggestions on Documentation Improvements
Topic: Errors in docs. Topic is solved
Replies: 2
Views: 1258

Errors in docs. Topic is solved

On this page, Example #4 has 2 errors.


[Mod edit: Moved topic from 'About this Community'.]

Go to advanced search