Search found 94 matches

by partof
09 Apr 2018, 09:58
Forum: Ask For Help
Topic: variable not recognized in literal string Topic is solved
Replies: 3
Views: 468

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: 346

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: 699

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: 699

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: 699

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: 699

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: 360

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: 360

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: 360

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: 470

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: 572

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: 494

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}
}
by partof
29 Dec 2017, 13:23
Forum: Ask For Help
Topic: #IfWinActive not working
Replies: 2
Views: 494

#IfWinActive not working

I want to send a hotkeys to a specific log in popup. Here is my code: #IfWinActive, ahk_class Credential Dialog Xaml Host Send, {TAB 2} Send, {Enter} But the tabs and the enter are still send to any Windows open (chrome, np++,MS Word...). With Window Spy, I got this info for Windows Tilte, Class and...
by partof
29 Dec 2017, 04:16
Forum: Ask For Help
Topic: if #IfWinActive 'xx' AND the pixel_color of this position is 123 Topic is solved
Replies: 4
Views: 572

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

I want to apply several shortcuts to a IfWinActive condition plus a pixel color I'm looking for something that would look like: If (WinActive ahk_exe abc.exe) and (PixelGetColor at 1359, 64 RGB is "0x85C78B") ^a:: msgbox yes I know I could do that (bellow) but is there a shorter way? #IfWinActive ah...
by partof
26 Dec 2017, 13:25
Forum: Scripts and Functions
Topic: Acc library (MSAA) and AccViewer download links
Replies: 22
Views: 14196

Re: Acc library (MSAA) and AccViewer download links

For the (others) dummies who(also) struggle to understand the syntax:
https://autohotkey.com/boards/viewtopic ... 72#p190772
by partof
26 Dec 2017, 11:57
Forum: Ask For Help
Topic: how to know if windows media player is playing or not? Topic is solved
Replies: 16
Views: 2590

Re: how to know if windows media player is playing or not? Topic is solved

I still did not manage to make it work (using jeeswg code) but I'm sharing the progress I made to understand his code: update : the code below actually work (but I don't know why: cf the acc path...): + when WMP is set on "library" mode, + and only when I press "q" on the WMP (pressing "q" above an...
by partof
26 Dec 2017, 10:38
Forum: Ask For Help
Topic: how to know if windows media player is playing or not? Topic is solved
Replies: 16
Views: 2590

Re: how to know if windows media player is playing or not? Topic is solved

@jeeswg : thanks a lot for your explanations I'm excited to be able to use it elsewhere! But, I still struggle with 2 points: Question 1 I obtained '4.1.16.2.14.3' via a script, the link is at the top of the script then you wrote (also about it?): I obtained the information using the Acc library and...
by partof
26 Dec 2017, 10:11
Forum: Ask For Help
Topic: how to know if windows media player is playing or not? Topic is solved
Replies: 16
Views: 2590

Re: how to know if windows media player is playing or not? Topic is solved

@Qwerty Thanks you so much for your explanation! It's impressive (I wish I could download your brain). I'm deeply touched by all the time you have invested in this code (I find it as impressing as your code!).
by partof
26 Dec 2017, 09:56
Forum: Ask For Help
Topic: how to know if windows media player is playing or not? Topic is solved
Replies: 16
Views: 2590

Re: how to know if windows media player is playing or not? Topic is solved

@jeeswg I also tried your code (I followed your instructions here https://autohotkey.com/boards/viewtopic.php?f=6&t=26201 ) . It doesn't work (it always believe it's playing) I'm trying to understand how it works (I'm discovering the Acc tool which opens many possibilities for other code!) "worked w...

Go to advanced search