Search found 124 matches

by BriHecato
11 Nov 2017, 05:57
Forum: AHK Studio
Topic: AHK Studio
Replies: 1179
Views: 620685

Re: AHK Studio

Thank You, this Studio is amazing.
I only need to find light background theme :D
by BriHecato
10 Nov 2017, 10:22
Forum: AHK Studio
Topic: AHK Studio
Replies: 1179
Views: 620685

Re: AHK Studio

When I'm trying to run AHK-Studio from ahk file (not zip), I'm getting those errors: Errors happened while trying to save lib\Menus.xml. Reverting to old version of the XML. And next Error: Menu does not exist. Specifically: main Line 5757: Gui,1:Menu,%menuname% The current thread will exit. Process...
by BriHecato
17 Oct 2017, 04:34
Forum: Ask for Help (v1)
Topic: Held Hotkey for holding two keys Topic is solved
Replies: 2
Views: 451

Held Hotkey for holding two keys Topic is solved

I'm used to panning 2D canvas by holding and dragging middle mouse button (like AutoCAD, Office etc..) But got this old and strange written CAD/CAM software for waterjet where panning is executed only by holding Left Alt, then holding Left mouse Button and dragging. So I need some "translation" for ...
by BriHecato
14 Sep 2017, 00:18
Forum: Ask for Help (v1)
Topic: Double press / double click issue Topic is solved
Replies: 8
Views: 1652

Re: Double press / double click issue Topic is solved

I've noticed that some AutoCAD commands were working (like round corners "fillet") but some happen to break (like "rotate"). Finally I've written script with negative SetTimer (just like example). So far no issues XButton1:: if xbut1pres > 0 { xbut1pres += 1 Return, } xbut1pres = 1 SetTimer, Xkey1, ...
by BriHecato
13 Sep 2017, 07:40
Forum: Ask for Help (v1)
Topic: Double press / double click issue Topic is solved
Replies: 8
Views: 1652

Re: Double press / double click issue Topic is solved

No matter what timeout I put - I always get single click command after double click command. I tried this solution ~XButton1:: if (A_PriorHotkey <> "~XButton1" and A_TimeSincePriorHotkey > 400) { KeyWait, XButton1 ClipBoard = Send, ^c ClipWait, 0.5 Return, } else { Send, _rotate{Enter} } Return, Doe...
by BriHecato
11 Sep 2017, 05:19
Forum: Ask for Help (v1)
Topic: Double press / double click issue Topic is solved
Replies: 8
Views: 1652

Re: Double press / double click issue Topic is solved

I've noticed that sometimes it works but more often it doesn't I'm still with first attepmt and "$" modificator. My log: 003: SendMode,Input 004: SetWorkingDir,%A_ScriptDir% 008: Return (5.38) 624: KeyWait,XButton1 625: KeyWait,XButton1,D T0.15 (0.09) 626: if (ErrorLevel) 634: Send,_rotate{Enter} 63...
by BriHecato
11 Sep 2017, 02:28
Forum: Bug Reports
Topic: Bug with replication of script when reload
Replies: 6
Views: 2764

Re: Bug with replication of script when reload

Bug still happens on Win7 with capslock as a reload key
by BriHecato
11 Sep 2017, 02:25
Forum: Ask for Help (v1)
Topic: Double press / double click issue Topic is solved
Replies: 8
Views: 1652

Double press / double click issue Topic is solved

Based on this (and other) topic: https://autohotkey.com/boards/viewtopic.php?t=10067 I'm trying to make a hotkey for AutoCad. First I got "global" hotkeys like this (copy, paste) XButton1:: ClipBoard = Send, ^c ClipWait, 1 Return, XButton2:: Send, ^v Return, First attempt XButton1:: KeyWait, XButton...
by BriHecato
27 Aug 2017, 12:17
Forum: Bug Reports
Topic: Bug with replication of script when reload
Replies: 6
Views: 2764

Re: Bug with replication of script when reload

I handle it changing "reload key" from Escape to Capslock. I almost never used it anyway. Escape was in veeery often use. Maybe that's why Windows10 gone mad
by BriHecato
27 Aug 2017, 12:14
Forum: Ask for Help (v1)
Topic: Looking for file in two-wildcard path Topic is solved
Replies: 3
Views: 1092

Re: Looking for file in two-wildcard path Topic is solved

I found my solution inbetween. Needed to add If FileExist for sourcepdf2 like in this piece of code Loop, Files, %sourcepdf1% , D { sourcepdf2 = % A_LoopFileLongPath . bslasz . elemname . pdfstar If FileExist(sourcepdf2) { Loop, Files, %sourcepdf2% { If FileExist(A_LoopFileLongPath) {..... etc And a...
by BriHecato
22 Aug 2017, 07:26
Forum: Bug Reports
Topic: Bug with replication of script when reload
Replies: 6
Views: 2764

Bug with replication of script when reload

I've come across strange bug with my scripts. I use escape as a reload key, and it's global windows setting for all scripts - so whenewer i hit escape to break any activity or command (in any app) scripts reload. In my sripts I'm forcing single instance. But something happen for the third time How c...
by BriHecato
21 Aug 2017, 02:41
Forum: Ask for Help (v1)
Topic: Looking for file in two-wildcard path Topic is solved
Replies: 3
Views: 1092

Looking for file in two-wildcard path Topic is solved

Hello. I got this piece of script that can dig into two-wildcard path and retrieve filename. But it cannot do the "else" action (if file doesn't exist). What am I doing wrong here? Loop, Files, %sourcepdf1% , D { sourcepdf2 = % A_LoopFileLongPath . bslash . elemname . pdfstar Loop, Files, %sourcepdf...
by BriHecato
17 Aug 2017, 09:15
Forum: Ask for Help (v1)
Topic: How to limit script to one object in application window ?
Replies: 1
Views: 622

How to limit script to one object in application window ?

In everyday script I use different combinations of #IFWinActive ahk_exe and ahk_class and wintitle, even visibletext to determine which application (or subprocess) should "get the script". But I feel it's often brute force approach - and I'm wondering how to limit my script to one object (one contro...
by BriHecato
09 Aug 2017, 08:02
Forum: Ask for Help (v1)
Topic: How to read data from opened web page in Firefox?
Replies: 4
Views: 1106

How to read data from opened web page in Firefox?

Data that I'm interested in are in <input>, and few <div>, fortunatelly all tags have "id".
I'm not using IE, just Firefox or Chrome (Vivaldi/Opera).
Copying page source to clipboard seems terrible ...

Is there any other solution?
by BriHecato
09 Aug 2017, 06:50
Forum: Ask for Help (v1)
Topic: Need help - custom 2-keys hotkey combinations Topic is solved
Replies: 8
Views: 19182

Re: Need help - custom 2-keys hotkey combinations Topic is solved

For future searchers - alternatives CHORDING / MORSE-CODE / ALTERNATIVE HOTSTRINGS Two-key combinations https://autohotkey.com/board/topic/65702-two-key-combinations-not-working-in-word-2010/#entry417321 Detect Ctrl+K followed by Ctrl+P by transforming Ctrl-characters -- source: http://www.autohotk...
by BriHecato
09 Aug 2017, 00:48
Forum: Ask for Help (v1)
Topic: Need help - custom 2-keys hotkey combinations Topic is solved
Replies: 8
Views: 19182

Re: How? Custom 2-keys Hotkey combinations Topic is solved

Anyone can help me with that riddle ???
by BriHecato
08 Aug 2017, 02:20
Forum: Ask for Help (v1)
Topic: Need help - custom 2-keys hotkey combinations Topic is solved
Replies: 8
Views: 19182

Re: How? Custom 2-keys Hotkey combinations Topic is solved

FFS! This works a & s:: Send, combo Return, a UP:: Send, a Return, but all other keys with "a" are blocked: capital letter {Shift}a regional characters with {AltGr}a and {Shift}{AltGr}a windows default shortcuts like Select all with {Ctrl}a So need to cover all of them in your script - for example +...
by BriHecato
08 Aug 2017, 00:44
Forum: Ask for Help (v1)
Topic: Need help - custom 2-keys hotkey combinations Topic is solved
Replies: 8
Views: 19182

Re: How? Custom 2-keys Hotkey combinations Topic is solved

Another attempt

Code: Select all

#If GetKeyState("a","P")
s::
	Send, combo
Return,
#If
"a" sends "a"
"s" sends "s"
a+s send "acombo" ...... instead of "combo" !!!

How get this thing to work!!??
by BriHecato
07 Aug 2017, 11:13
Forum: Ask for Help (v1)
Topic: Need help - custom 2-keys hotkey combinations Topic is solved
Replies: 8
Views: 19182

Re: Custom 2-keys Hotkey combinations Topic is solved

I was also trying to edit "double press hotkeys" found in the archived forum: a:: KeyWait, a KeyWait, s, D T0.5 if ErrorLevel Return, else Send, combo Return, But it's not what I want (or it didn't work) pressing a = no result - it should send a when "a" key is released or when i don't press s in 50...

Go to advanced search