Search found 61 matches

by partof
09 Oct 2018, 13:06
Forum: Ask For Help
Topic: removing double blank lines using regex
Replies: 3
Views: 43

Re: removing double blank lines using regex

Bravo AlphaBravo! Oh I'm so happy, thank you so much!
by partof
09 Oct 2018, 10:16
Forum: Ask For Help
Topic: removing double blank lines using regex
Replies: 3
Views: 43

Re: removing double blank lines using regex

It's getting closer: this one removes the multiple blank lines *when the text contains line breaks*, but... it adds an extra line when the text doesn't contain line break... Crazy... ^!Space:: clipboard = Send, ^a Send, ^c ClipWait clipboard := RegExReplace(clipboard,"\v\v+","`n`n") ; v find vertica...
by partof
09 Oct 2018, 09:40
Forum: Ask For Help
Topic: removing double blank lines using regex
Replies: 3
Views: 43

removing double blank lines using regex

I don't understand why this code isn't working since the regex works fine (I need to change the double/tripple/... blank line, into a single). [code=autohotkey file=Untitled.ahk]^!Space:: clipboard = Send, ^a Send, ^c ClipWait clipboard := RegExReplace(clipboard, "^[\r\n]{2,}","\n") sleep 100 Send, ...
by partof
23 Aug 2018, 10:08
Forum: Ask For Help
Topic: [Solved]Help please for DLL(s) 32bit --> 64bit
Replies: 8
Views: 1243

Re: [Solved]Help please for DLL(s) 32bit --> 64bit

To check if you run the 32 or 64 ahk version

Code: Select all

Msgbox % "v" A_AhkVersion " " (A_PtrSize = 4 ? 32 : 64) "-bit " (A_IsUnicode ? "Unicode" : "ANSI")
by partof
23 Aug 2018, 10:06
Forum: Ask For Help
Topic: How do i check in script what installed version of AHK - short or long?
Replies: 5
Views: 1118

Re: How do i check in script what installed version of AHK - short or long?

Code: Select all

Msgbox % "v" A_AhkVersion " " (A_PtrSize = 4 ? 32 : 64) "-bit " (A_IsUnicode ? "Unicode" : "ANSI")
by partof
09 Apr 2018, 15:50
Forum: Scripts and Functions
Topic: HTML tooltip creator editor: ; select a text in an html editor and create/edit/remove a ToolTip
Replies: 0
Views: 185

HTML tooltip creator editor: ; select a text in an html editor and create/edit/remove a ToolTip

You can create and add tooltips in any editor (they look like that: https://jsfiddle.net/cmftodzy/ ) (Don't hesitate to propose some improvement, it needs it) But this script needs 2 things to work: 1) Winclip (2 files: WinClipAPI.ahk WinClip.ahk. You can download them here https://autohotkey.com/bo...
by partof
09 Apr 2018, 10:09
Forum: Ask For Help
Topic: variable not recognized in literal string Topic is solved
Replies: 3
Views: 139

Re: variable not recognized in literal string Topic is solved

thanks a lot for your help both of you!
by partof
09 Apr 2018, 09:58
Forum: Ask For Help
Topic: variable not recognized in literal string Topic is solved
Replies: 3
Views: 139

variable not recognized in literal string Topic is solved

The variable %fronttext% and %backtext% are seen as strings. Any idea why? [code=autohotkey file=Untitled.ahk] #Include WinClipAPI.ahk #Include WinClip.ahk WinClip.Clear() fronttext := "front text" backtext := "back text" html := "<span class='tooltip'> %fronttext% <span class='tooltiptext'> %backte...
by partof
09 Apr 2018, 08:54
Forum: Scripts and Functions
Topic: use the winclip clipboard html (quick example)
Replies: 1
Views: 143

use the winclip clipboard html (quick example)

I struggle to find this info (among very complicated code) 1: download these 2 scripts: https://autohotkey.com/board/topic/74670-class-winclip-direct-clipboard-manipulations/page-1 2: the script (just change the path to your files (#include). Run the script, it will add some html to the clipboard, j...
by partof
12 Mar 2018, 16:10
Forum: Ask For Help
Topic: escaping special character ::///::<!--
Replies: 8
Views: 249

Re: escaping special character ::///::<!--

thanks for your help, I'm on the version 1.1.28.00, I tried to run the script by admin.

It doesn't work* (actually it's even weirder, :T:///::<!-- worked, but only once).

But I gave up, I found another solution.
by partof
12 Mar 2018, 08:52
Forum: Ask For Help
Topic: escaping special character ::///::<!--
Replies: 8
Views: 249

Re: escaping special character ::///::<!--

sorry for the delay: I'm running the last version of ahk. No it doesn't work on notepad. I believe it's a forbidden characters '/' issue
by partof
11 Mar 2018, 17:27
Forum: Ask For Help
Topic: escaping special character ::///::<!--
Replies: 8
Views: 249

Re: escaping special character ::///::<!--

it doesn't work
by partof
11 Mar 2018, 17:18
Forum: Ask For Help
Topic: escaping special character ::///::<!--
Replies: 8
Views: 249

escaping special character ::///::<!--

Hi, sorry for the dumb question but I can't find an answer:

I want to ahk to automatically change /// into <!--

I tried

Code: Select all

::`/`/`/::`<!--
Any idea ?
by partof
04 Mar 2018, 15:22
Forum: Ask For Help
Topic: GUI: is it possible to add a link into an edit?
Replies: 4
Views: 141

Re: GUI: is it possible to add a link into an edit?

thank you Garry!

(and also for the links! We share the same taste, if only I was born in Danemark, you guys are awesome!)
by partof
04 Mar 2018, 13:42
Forum: Ask For Help
Topic: GUI: is it possible to add a link into an edit?
Replies: 4
Views: 141

Re: GUI: is it possible to add a link into an edit?

yes, they don't seem to be compatible, the only way seems to add my links at the beginning or at the end of the Gui (but not too many because I can't scroll them down )
by partof
04 Mar 2018, 13:31
Forum: Ask For Help
Topic: GUI: is it possible to add a link into an edit?
Replies: 4
Views: 141

GUI: is it possible to add a link into an edit?

Hi, I'm want to add some <a> links into this gui (I don't fully understand how it works but it does) gui, add, Edit, ReadOnly h400 vEditField, When I try that: gui, add, Link,, Edit, ReadOnly h400 vEditField, The link works but I lose the scrollbar and the windows size. Any idea how to solve this?
by partof
28 Feb 2018, 07:40
Forum: Bug Reports
Topic: Bug when click is followed by a comment
Replies: 1
Views: 178

Bug when click is followed by a comment

I have a bug with this line of code: click, 100, 200 ; 500, 600 The click wasn't position at 100-200 but at 100-500 (I have verify this with MouseGetPos) I change my code to this and the bug disappeared. click, 100, 200 ; 500, 600 Somehow the comment wasn't processed as a comment. Ahk version 1.1.26...
by partof
30 Dec 2017, 17:07
Forum: Ask For Help
Topic: if #IfWinActive 'xx' AND the pixel_color of this position is 123 Topic is solved
Replies: 4
Views: 201

Re: if #IfWinActive 'xx' AND the pixel_color of this position is 123 Topic is solved

noname wrote:Maybe it helps using functions ,it depends on what you want to do
It's perfect thanks a lot! (I just understood how to build ahk function, I'm very happy!)
by partof
30 Dec 2017, 09:33
Forum: Ask For Help
Topic: #IfWinActive not working
Replies: 2
Views: 225

Re: #IfWinActive not working

Super! It's working, thanks so much!
I can even use the windows title:

Code: Select all

if (WinActive("Windows Security")){
	Send, {TAB 2}
	Send, {Enter}
}

Go to advanced search