Search found 267 matches

by JnLlnd
05 Aug 2018, 16:14
Forum: Scripts and Functions
Topic: Get the URL of the current (active) browser tab
Replies: 121
Views: 41076

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

in chrome 67 and 68 if you have a new tab window as the main window this wont work to test click to get a new tab in chrome and then run to get list of windows, u will get blank even if you have 5 other regular websites opne @AHKStudent: If we are talking of the same function GetActiveBrowserURL(),...
by JnLlnd
15 Jun 2018, 18:56
Forum: Ask For Help
Topic: Running a PowerShell script from AHK when its path include space Topic is solved
Replies: 11
Views: 315

Re: Running a PowerShell script from AHK when its path include space Topic is solved

@burque505: Thanks for checking and for the additonnal info.

@Flipeador: Sorry, I overlooked your suggestion. This is actually working and is more straight forward solution. Thanks!
by JnLlnd
15 Jun 2018, 10:23
Forum: Ask For Help
Topic: Running a PowerShell script from AHK when its path include space Topic is solved
Replies: 11
Views: 315

Re: Running a PowerShell script from AHK when its path include space Topic is solved

@burque505: Does it also work when the A_ScriptDir (or A_WorkingDir if we use it) includes a space in its path?
by JnLlnd
13 Jun 2018, 13:53
Forum: Ask For Help
Topic: Running a PowerShell script from AHK when its path include space Topic is solved
Replies: 11
Views: 315

Re: Running a PowerShell script from AHK when its path include space Topic is solved

Luck guy! The drive where I wanted to run my PS script does not support 8.3! I tested the script on another drive supporting it and it solved the issue. If you know of another way to have a script with path/file name including spaces to be launched, let me know. This would make my solution work on a...
by JnLlnd
13 Jun 2018, 12:59
Forum: Ask For Help
Topic: Running a PowerShell script from AHK when its path include space Topic is solved
Replies: 11
Views: 315

Re: Running a PowerShell script from AHK when its path include space Topic is solved

Found it. We need to get the script file's "8.3 short path and name". #SingleInstance force ; Skips the dialog box and replaces the old instance automatically strPsScriptFile := A_ScriptDir . "\pause.ps1" Loop, %strPsScriptFile% if StrLen(A_LoopFileShortPath) ; in case the file s...
by JnLlnd
13 Jun 2018, 08:44
Forum: Ask For Help
Topic: Running a PowerShell script from AHK when its path include space Topic is solved
Replies: 11
Views: 315

Running a PowerShell script from AHK when its path include space Topic is solved

How do you Run (or RunWait) a PowerShell script from an AHK script when its path includes space(s). For example, this PS1 script (save as "pause.ps1": write-host "Press any key to continue..." [void][System.Console]::ReadKey($true) And this AHK script: #SingleInstance force ; Ski...
by JnLlnd
14 May 2018, 17:31
Forum: Ask For Help
Topic: Hotstring() function with label or function vs Ending character
Replies: 7
Views: 212

Re: Hotstring() function with label or function vs Ending character

Ah! Good. The solution is already available: sending A_EndChar.

Thanks.
by JnLlnd
12 May 2018, 22:17
Forum: Ask For Help
Topic: Hotstring() function with label or function vs Ending character
Replies: 7
Views: 212

Re: Hotstring() function with label or function vs Ending character

Thanks Lexikos for the precision. Would you consider in a future release to add the "Keep ending character" options for "other hotstrings" (those non-auto-replace)?
by JnLlnd
12 May 2018, 08:25
Forum: Ask For Help
Topic: Hotstring repeated after hitting the ending char twice
Replies: 3
Views: 106

Re: Hotstring repeated after hitting the ending char twice

SirRFI wrote:Consider using #SingleInstance force
Thanks, SirRFI. But, in this case these were just test scripts running under different names :-)
by JnLlnd
11 May 2018, 16:19
Forum: Ask For Help
Topic: Hotstring repeated after hitting the ending char twice
Replies: 3
Views: 106

Re: Hotstring repeated after hitting the ending char twice

Yes, I succeeded making a fool of myself twice the same day :-)

I had two scripts running with the same hotstring "by the way". This is the reason...

A moderator could delete my two last posts, I would not be offended...
by JnLlnd
11 May 2018, 16:09
Forum: Ask For Help
Topic: Hotstring repeated after hitting the ending char twice
Replies: 3
Views: 106

Hotstring repeated after hitting the ending char twice

I hope I will not make a fool of myself again ;-) but, speaking of hotstring, I had this strange behavior. Using the format ::btw::by the way , is it just me but if I press the ending char twice after the trigger "btw", I get the hotstring twice with part of the first instance deleted for ...
by JnLlnd
11 May 2018, 15:58
Forum: Ask For Help
Topic: Hotstring() function with label or function vs Ending character
Replies: 7
Views: 212

Re: Hotstring() function with label or function vs Ending character

Oh ;-) I first tested it with the format ::btw::by the way then changed last minute to using Send. (never do :-\ )

So it is not using the Hotstring() function with a Label or a Function that cause this but the use of Send. I see...

This was awkward, but it replied my question :-)
by JnLlnd
11 May 2018, 15:10
Forum: Ask For Help
Topic: Hotstring() function with label or function vs Ending character
Replies: 7
Views: 212

Hotstring() function with label or function vs Ending character

Not sure if this is the desired behavior or if this should be considered as a bug. When you type an hotstring trigger with default options, the ending character is kept after the hostring is expanded. For example, with the code below, type "btw" and Enter and the expanded "by the way&...
by JnLlnd
09 May 2018, 16:55
Forum: Ask For Help
Topic: Getting a list of Universal Applications installed on a system
Replies: 5
Views: 283

Re: Getting a list of Universal Applications installed on a system

I don't really know CLSID_EnumInstalledApps. But on UWP, you can start here: https://en.wikipedia.org/wiki/Universal_Windows_Platform And search "UWP" on this forum. There are not many posts on it yet. But you will find how to launch them here: https://www.google.com/url?q=https%3A%2F%2Fau...
by JnLlnd
09 May 2018, 16:43
Forum: Ask For Help
Topic: Getting a list of Universal Applications installed on a system
Replies: 5
Views: 283

Re: Getting a list of Universal Applications installed on a system

Thanks for the ref, iPhilip but, unfortunately, the Universal Application (UWP apps) are not covered by CLSID_EnumInstalledApps.
by JnLlnd
01 May 2018, 22:50
Forum: Ask For Help
Topic: Getting a list of Universal Applications installed on a system
Replies: 5
Views: 283

Getting a list of Universal Applications installed on a system

Hi, I found this PowerShell script on this page: https://jcutrer.com/howto/windows/find-aumid . It lists the AUMID (Application User Model ID) of Universal Applications installed on the system (Windows 10). Is it possible to obtain the same result in AutoHotkey? This is a PowerShell script: $install...
by JnLlnd
03 Apr 2018, 16:44
Forum: Ask For Help
Topic: 4 options to change the current folder in Windows Explorer
Replies: 63
Views: 13785

Re: 4 options to change the current folder in Windows Explorer

Hi Eureka, Please read this post and the following: https://autohotkey.com/boards/viewtopic.php?p=25199#p25199 For me, it still does not work if there is a slash after the hash. My message and example should have been: "This will fail if myPath includes a hash and has a slash after it (as in C:...
by JnLlnd
13 Feb 2018, 16:14
Forum: Ask For Help
Topic: Updating hostrings with function Hotstring()
Replies: 1
Views: 147

Re: Updating hostrings with function Hotstring()

Thinking a little bit more about this, I realize that if I use the "On" parameter when I redefine an hotstring (like this: Hotstring(":T*C:aaa", "ccc!", "On") ), this works: ; define hotstring with "T*C" options (Text raw, Do not wait for end...

Go to advanced search