Search found 1396 matches

by burque505
20 Nov 2020, 09:03
Forum: Scripts and Functions
Topic: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 121
Views: 27685

Re: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.

william_ahk , try this code. There's apparently a carriage return in the stdout from 'echo'. #Include RunCmd.ahk str1 := RunCMD(A_ComSpec . " /c echo SKAN") str1 := RegExReplace(str1, "`r`n") msgbox % str1 If (str1 == "SKAN") msgbox Equal else msgbox %str1% Is Not Equal to SKAN Regards, burque505
by burque505
19 Nov 2020, 11:28
Forum: Scripts and Functions
Topic: VBA to AHK Translator (Excel)
Replies: 9
Views: 464

Re: VBA to AHK Translator (Excel)

Thanks very much, @AHK_user, great stuff. Perhaps this thread might be useful at some point, and jeeswg's list of all Office constants on GitHub.
Regards,
burque505
by burque505
19 Nov 2020, 11:17
Forum: Tutorials
Topic: Manipulate VBA code in Excel
Replies: 1
Views: 173

Re: Manipulate VBA code in Excel

AHK_user , thanks very much for this, quite interesting. On my Win7 64-bit system, Excel 2016, I wasn't able to get the code to run as provided, no doubt due to my Office setup. The following code works for me. I first created a guinea-pig file, 'text.xlsm' in the script directory. SetWorkingDir %A...
by burque505
16 Nov 2020, 08:27
Forum: Scripts and Functions
Topic: [ Game ] AHK Flappy Bird
Replies: 11
Views: 2122

Re: [ Game ] AHK Flappy Bird

:bravo: Fantastic, @Hellbent. Genius at work! Nice to see another post from you.
Regards,
burque505
by burque505
15 Nov 2020, 11:10
Forum: Tips and Tricks
Topic: Incremental search in listbox without sort
Replies: 6
Views: 1544

Re: Incremental search in listbox without sort

@Greast, :thumbup: Thanks! Credit goes to @jkeks, though.
Regards,
burque505
by burque505
14 Nov 2020, 20:00
Forum: Tips and Tricks
Topic: Incremental search in listbox without sort
Replies: 6
Views: 1544

Re: Incremental search in listbox without sort

Greast , at the moment it doesn't do anything except demonstrate a fuzzy search. You'll have to handle a GuiEvent to actually see anything, here's a simple MsgBox example. sites := "cnn.com|autohotkey.com|google.com|robin-language.org" sitesArr := StrSplit(sites, "|") Gui Add, Edit, ge1 x5 y5 w185 ...
by burque505
14 Nov 2020, 18:19
Forum: Tips and Tricks
Topic: Incremental search in listbox without sort
Replies: 6
Views: 1544

Re: Incremental search in listbox without sort

jkeks , I had forgotten how much I liked your hack. Here is a mod that clears the search box when the string isn't found. May not be necessary, but it's useful for me. sites := "cnn.com|autohotkey.com|google.com|robin-language.org" sitesArr := StrSplit(sites, "|") Gui Add, Edit, ge1 x5 y5 w185 h20 ...
by burque505
11 Nov 2020, 12:44
Forum: Scripts and Functions
Topic: MsgBox() for V1
Replies: 18
Views: 819

Re: MsgBox() for V1

@SKAN, thanks as always for another great contribution. Working fine for me on Win7 SP1 64-bit.
Regards,
burque505
by burque505
10 Nov 2020, 13:24
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 332
Views: 140686

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

I think it was in JXON.ahk. See this thread . The copy I have mentions the above error. Regards, This code is in the method Jxon_Load(), and the variable "value" does not occur anywhere else in that method. There is a parameter "Value" in the methods GetPageBy*(), but those parameters don't seem to ...
by burque505
10 Nov 2020, 09:01
Forum: C#
Topic: Keysharp - the resurrection of IronAHK
Replies: 40
Views: 8818

Re: Keysharp - the resurrection of IronAHK

@mfeemster, thanks for the update, great news. Really looking forward to it.
Regards,
burque505
by burque505
09 Nov 2020, 19:54
Forum: Other Utilities & Resources
Topic: dotNETRunner - run JS, C#, Powershell, VB.NET from COM
Replies: 0
Views: 308

dotNETRunner - run JS, C#, Powershell, VB.NET from COM

Link to files: dotNETRunner. Requires registration of DLLs before use. I had to do it as admin. From the web page: This library offers the possibility to use C#, VB.NET, JScript or PowerShell code seamlessly in any COM enabled language. Consolidated dotNET code can easily be used on this way. A cave...
by burque505
08 Nov 2020, 17:34
Forum: Offtopic
Topic: « What's on your mind? »
Replies: 4446
Views: 1058385

Re: « What's on your mind? »

@SOTE, plenty going on on that front. Take a look here , here, here and here just for starters.
Regards,
burque505
by burque505
07 Nov 2020, 17:44
Forum: Tutorials
Topic: Using Selenium with AutoHotkey- Cross browser automation!
Replies: 159
Views: 95831

Re: Using Selenium with AutoHotkey- Cross browser automation!

hi Thoughtfu1Tux , is something like this an option for you? (Quick and dirty. There's a better way to get rid of the Chrome pages.) #Include SChrome_get.ahk driver := SChrome_Get("http://www.rpachallenge.com") driver.ExecuteScript("document.querySelector('button.waves-effect').click();") sleep 2000...
by burque505
04 Nov 2020, 08:42
Forum: Tips and Tricks
Topic: AHK with Chrome extension (No Selenium, no debug mode, no web connectors)
Replies: 31
Views: 1161

Re: AHK with Chrome extension (No Selenium, no debug mode, no web connectors)

I'd like to see that, @william_ahk, you might have a look at this thread.
Regards,
burque505
by burque505
02 Nov 2020, 13:40
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 332
Views: 140686

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

tpitera , maybe this will give you some ideas. I use continuation sections for JS because it's easier for me. Note the seeming redundancy of .value followed by .value for the "Easting" value return - it has to be done this way, apparently. #NoEnv SetBatchLines, -1 SetTitleMatchMode, 2 #Include Chro...
by burque505
01 Nov 2020, 09:19
Forum: Tutorials
Topic: Using Selenium with AutoHotkey- Cross browser automation!
Replies: 159
Views: 95831

Re: Using Selenium with AutoHotkey- Cross browser automation!

@tadamm, nice video. Since you won't be using Selenium (I take it), it might be worth continuing this in a new topic. Looking forward to more videos.
Regards,
burque505
by burque505
30 Oct 2020, 18:10
Forum: Scripts and Functions
Topic: TV_DragAndDrop - Drag & Drop function for TreeView controls (Updated Nov, 13, 2020)
Replies: 20
Views: 749

Re: TV_DragAndDrop - Drag & Drop function for TreeView controls

hasantr , take a look at the "TreeView Browser.ahk" file in the Examples folder. You will find a "CreateTreeView(TreeViewDefinitionString)" function by Learning one in the script. Using your "Paths" variable described above as an argument to the function, you should be able to create your treeview....
by burque505
29 Oct 2020, 16:11
Forum: Scripts and Functions
Topic: TV_DragAndDrop - Drag & Drop function for TreeView controls (Updated Nov, 13, 2020)
Replies: 20
Views: 749

Re: TV_DragAndDrop - Drag & Drop function for TreeView controls

@Pulover, thanks a million. :facepalm: What a relief. I wasn't dragging the cursor far enough over to the left. I see now that the indicator line has to extend all the way to the left of the GUI to promote an item to Level One.
Regards, burque505

Go to advanced search