Search found 1424 matches

by burque505
Yesterday, 19:00
Forum: Scripts and Functions
Topic: [Function] NewItem - Create new files or folders
Replies: 2
Views: 81

Re: [Function] NewItem - Create new files or folders

iPhilip , this is fantastic. It will go in my startup scripts - just by adding a few file extensions, i.e. FileExtensions := ["txt", "ahk", "docx", "xlsx", "pptx", "js", "py"] it makes creating JS and Python files a lot easier for me. :bravo: Menu looks like this now when I click the hotkey: iphili...
by burque505
24 Jan 2021, 14:44
Forum: Scripts and Functions
Topic: AutoHotkey.py: Write AutoHotkey scripts in Python
Replies: 3
Views: 128

Re: AutoHotkey.py: Write AutoHotkey scripts in Python

@Perlence, thanks for the clarification, much appreciated.
Regards,
burque505
by burque505
24 Jan 2021, 12:04
Forum: Scripts and Functions
Topic: AutoHotkey.py: Write AutoHotkey scripts in Python
Replies: 3
Views: 128

Re: AutoHotkey.py: Write AutoHotkey scripts in Python

Perlence , this is a very exciting project. Despite the stated requirements, it does run on Win7. For my Win7 Pro 64-bit system, Python 3.7.3, I needed to make the following changes to get the first github example to run from an admin command prompt (and I see that's exactly what you have above!): ...
by burque505
24 Jan 2021, 11:43
Forum: Scripts and Functions
Topic: Get Title and Url of the active browser tab
Replies: 21
Views: 593

Re: Get Title and Url of the active browser tab

rommmcek , thanks again to you! I forgot to ask for AccSpy. rommmcek said: P.s.: If all this does not help I could post my AccSpy based on this code if anybody is willing to play with it. It is very user unfriendly, but for me the only one which retrieves e.g. AccPath(s) for any browser in fact for...
by burque505
24 Jan 2021, 10:50
Forum: Scripts and Functions
Topic: Get Title and Url of the active browser tab
Replies: 21
Views: 593

Re: Get Title and Url of the active browser tab

@rommmcek, my Win10 Pro just updated. I no longer experience the errors I and @MancioDellaVega had. There's an interesting side-effect - see below. Maybe this could be expanded to report accurately for non-browser apps?
Word - help..PNG
Word - help..PNG (9.9 KiB) Viewed 52 times
Scite.png
Scite.png (8.67 KiB) Viewed 52 times
Notepad.png
Notepad.png (6.69 KiB) Viewed 52 times
Regards,
burque505
by burque505
23 Jan 2021, 19:49
Forum: Scripts and Functions
Topic: Using COM for PowerPoint
Replies: 3
Views: 1555

Re: Using COM for PowerPoint

@julesverne, thanks for this. You might have a look at this thread for a function to work with an existing PowerPoint COM object rather than creating one, very much like the Excel_Get function you can find in the forum.
Regards,
burque505
by burque505
19 Jan 2021, 08:50
Forum: Scripts and Functions
Topic: Hybrid Rule Engine completely written in AHK
Replies: 5
Views: 282

Re: Hybrid Rule Engine completely written in AHK

@TheBigO, thanks. I'll have a look.
by burque505
18 Jan 2021, 16:07
Forum: Scripts and Functions
Topic: Hybrid Rule Engine completely written in AHK
Replies: 5
Views: 282

Re: Hybrid Rule Engine completely written in AHK

TheBigO , this is very interesting to me, and I'd like to see a GitHub project. A couple of years ago I started dabbling with CLIPS , a rules engine which according to Wikipedia was inspired by OPS5. Might there be a way to use similar syntax with your rules engine? Below is some code using the CLI...
by burque505
17 Jan 2021, 09:59
Forum: Scripts and Functions
Topic: Get Title and Url of the active browser tab
Replies: 21
Views: 593

Re: Get Title and Url of the active browser tab

@rommmcek, @MancioDellaVega, this works fine for me on Win7 SP 1, 64-bit, AHK 1.33.02, but on Win10 Pro, 10.0.19041, I get the same results as @MancioDellaVega.
Regards,
burque505
by burque505
12 Jan 2021, 18:12
Forum: Scripts and Functions
Topic: [class] Multi-Colored Tooltips
Replies: 7
Views: 409

Re: [class] Multi-Colored Tooltips

@Hellbent, genius at work once again. :bravo:
Regards,
burque505
by burque505
11 Jan 2021, 11:57
Forum: Scripts and Functions
Topic: Text Filter
Replies: 48
Views: 1520

Re: Text Filter

@SundayProgrammer, thank you very much for this script. I have made one tiny mod to the 'buttongo' label for my own use (case insensitive regex).

Code: Select all

	theNeedle := Needle%n%
	r := "mi`a)^(?!" ; <---- only modded line

Regards,
burque505
by burque505
10 Jan 2021, 11:25
Forum: Ask For Help
Topic: WinGetPos delivers wrong (fixed) values (for Firefox window only)
Replies: 8
Views: 101

Re: WinGetPos delivers wrong (fixed) values (for Firefox window only)

@mikeyww is right, of course. I should have written "CoordMode, [target], Screen".
by burque505
10 Jan 2021, 09:27
Forum: Ask For Help
Topic: WinGetPos delivers wrong (fixed) values (for Firefox window only)
Replies: 8
Views: 101

Re: WinGetPos delivers wrong (fixed) values (for Firefox window only)

rhl , you might try this in the auto-execute section: CoordMode, Screen Although it defaults to 'Screen' if not used, see the CoordMode page : Remarks If this command is not used, all commands except those documented otherwise (e.g. WinMove and InputBox) use coordinates that are relative to the act...
by burque505
09 Jan 2021, 08:31
Forum: Other Programming Languages
Topic: AutoIt vs AutoHotkey
Replies: 6
Views: 385

Re: AutoIt vs AutoHotkey

malcev , your example is very good. That is a very active thread in the AutoIt forum. Also, user 'junkew' who created it has been active on that thread for 7 years at least. I have been using SimpleSpy to help with IUIAutomation for quite a while now. SimpleSpy even generates code that (if it can't...
by burque505
05 Jan 2021, 12:10
Forum: Scripts and Functions
Topic: Get the URL of the current (active) browser tab
Replies: 148
Views: 84960

Re: Get the URL of the current (active) browser tab

rommmcek , thank for this, should come in very handy. I just tried it with 5 tabs open in Firefox 84.0.1 64-bit and 7 tabs open in Chrome Version 87.0.4280.88 (Official Build) (64-bit). I set a hotkey as shown below, randomly went from tab to tab, switching browsers randomly, not a single failure o...
by burque505
03 Jan 2021, 08:38
Forum: Scripts and Functions
Topic: Working on Ultimate AHK Help Gui
Replies: 5
Views: 204

Re: Working on Ultimate AHK Help Gui

Hi gibenedek , maybe this'll get you a bit closer (at least the GUI appears now). If I were you I would use relative coordinates for your controls instead of the absolute ones created by SmartGUI. With that many tabs it's going to quickly become difficult to manage. Gui, Add, ListView, x662 y39 w240...
by burque505
21 Dec 2020, 09:06
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 367
Views: 158929

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

hi Vaggeto , for multi-line JS I prefer continuation sections (keeps me from trashing the syntax with double-quotes inline), though it appears lots of other people do not. Will something like this work for you? iframeJs = ( var iframe = document.getElementById('iframe-id'); var test2 = iframe.conten...
by burque505
20 Dec 2020, 19:06
Forum: Offtopic
Topic: « What's on your mind? »
Replies: 4480
Views: 1066908

Re: « What's on your mind? »

jballi , very interesting. I understand 'they' (CDC committee of some kind) just added a '1c' category, though, which may change these calculations. The committee vote also included prioritizing adults ages 65 to 75, people ages 16 to 64 with high-risk medical conditions and "other essential worker...

Go to advanced search