Search found 55 matches

by slyfox1186
02 May 2024, 21:39
Forum: Ask for Help (v2)
Topic: help required for a script that should open a browser and search using the values stored in the clipboard
Replies: 3
Views: 407

Re: help required for a script that should open a browser and search using the values stored in the clipboard

mikeyww This did not work well. It only opened links not highlighted and were already in the clipboard. Any links that were highlighted did not work. Regardless, thank you for showing me new ways to go about things. If you have any other ideas please let me know because this is still not solved. I ...
by slyfox1186
02 May 2024, 17:42
Forum: Ask for Help (v2)
Topic: help required for a script that should open a browser and search using the values stored in the clipboard
Replies: 3
Views: 407

help required for a script that should open a browser and search using the values stored in the clipboard

This script's purpose is to do the following: If a URL or string is in the clipboard when the hotkey is triggered the open the chrome browser and search google if it is a plain non-url string and open a website directly if it is a website URL. The script should always work and open the chrome browse...
by slyfox1186
07 Apr 2024, 17:15
Forum: Scripts and Functions (v2)
Topic: Open any Linux WSL Distro to the active explorer.exe's path in Windows Terminal
Replies: 0
Views: 298

Open any Linux WSL Distro to the active explorer.exe's path in Windows Terminal

This script will do the following: If a hotkey is activated on an active explorer.exe window it will open the Linux version the hotkey corresponds to in the Windows Terminal to the path in the active explorer window. If a hotkey is activated on any other window besides explorer.exe it will open the ...
by slyfox1186
29 Jan 2024, 14:42
Forum: Ask for Help (v2)
Topic: loop an array of folders and open all in a single explorer window in multiple tabs
Replies: 3
Views: 335

Re: loop an array of folders and open all in a single explorer window in multiple tabs

This works but is not efficient.

If I can make a features request for code the recognizes additional tabs to be opened I would like to do so now.

Regardless thank you for helping me.
by slyfox1186
28 Jan 2024, 22:26
Forum: Ask for Help (v2)
Topic: loop an array of folders and open all in a single explorer window in multiple tabs
Replies: 3
Views: 335

loop an array of folders and open all in a single explorer window in multiple tabs

I want to loop an array of folder names and open them in Explorer, but I want all folders to open in a single Explorer window as separate tabs and not multiple Explorer windows. This code does what I don't want, open each folder path in a new explorer window. How can I get it to open one window and ...
by slyfox1186
27 Jan 2024, 06:27
Forum: Ask for Help (v2)
Topic: optimize menu popup
Replies: 3
Views: 258

Re: optimize menu popup

mikeyww wrote:
27 Jan 2024, 06:21
Hello,

This may help.

:arrow: How to position a menu
yeah I am still struggling. I already looked at this... my bad! Any other help would be great at this point.
by slyfox1186
27 Jan 2024, 06:15
Forum: Ask for Help (v2)
Topic: optimize menu popup
Replies: 3
Views: 258

optimize menu popup

I feel (and know) that this can not be the most efficient way of coding this. I still have not figured out how to center the popup menu. It currently opens up at the current mouse position. Purpose: Open a popup menu centered on the screen and allow the user to select the folder that will then be op...
by slyfox1186
14 Jan 2024, 07:00
Forum: Ask for Help (v2)
Topic: store names of files in an array and delete the corresponding files in file path recursive Topic is solved
Replies: 3
Views: 267

store names of files in an array and delete the corresponding files in file path recursive Topic is solved

I want to recursively search this folder path "C:\Program Files (x86)\FolderName". I want to store the names of the files to search for in an array delArray := [ 'Name1.exe', 'Name2.exe' ] Then take the names stored in the array and loop them to search the directory recursively and if a match is fou...
by slyfox1186
09 Aug 2023, 02:12
Forum: Ask for Help (v2)
Topic: How to open URI file path, must convert number into hex strings Topic is solved
Replies: 2
Views: 292

Re: How to open URI file path, must convert number into hex strings Topic is solved

I can't believe it but I fixed it by removing the '!' from the list of characters that are looped.

So it went from

Code: Select all

Static convert := " !#$%&'()-.*:?@[]^_``{}|~/"
to

Code: Select all

Static convert := " #$%&'()-.*:?@[]^_``{}|~/"
by slyfox1186
09 Aug 2023, 01:51
Forum: Ask for Help (v2)
Topic: How to open URI file path, must convert number into hex strings Topic is solved
Replies: 2
Views: 292

How to open URI file path, must convert number into hex strings Topic is solved

So I am having trouble opening WSL using the wsl.exe that I start using PowerShell that I also start powershell using cmd.exe.... So anyways everything works great EXCEPT when there are paths that have numbers in them ... so 0-9... For example, I can activate the hotkey on an explorer window with th...
by slyfox1186
05 Aug 2023, 00:12
Forum: Ask for Help (v2)
Topic: Text to Speech Topic is solved
Replies: 2
Views: 386

Re: Text to Speech Topic is solved

OK so this worked. Thanks for the heads up Tensai.

Code: Select all

ComObj := ComObject("SAPI.SpVoice").Speak("Peter Piper picked a peck of pickled peppers")
by slyfox1186
04 Aug 2023, 20:31
Forum: Ask for Help (v2)
Topic: Text to Speech Topic is solved
Replies: 2
Views: 386

Text to Speech Topic is solved

I have been looking for a way to execute text-to-speech when a hotkey successfully completes and came across some old ahk v1 posts on Google but can't make the examples work. Below is all I have so far. Can anyone give me some advice? _delDone := ComObjCreate("SAPI.SpVoice").Speak("Peter Piper picke...
by slyfox1186
23 Jul 2023, 18:26
Forum: Ask for Help (v2)
Topic: Still struggling with mitigating unwanted popup error windows Topic is solved
Replies: 3
Views: 327

Re: Still struggling with mitigating unwanted popup error windows Topic is solved

I use it to save pictures as zip files. I click a download link using the latest Chrome browser that will download a zip file full of pictures and the name of the said file will be a random string of characters. So it could be default named "1231237-asdad.zip" or "797u9asdj.zip" So when I click the ...
by slyfox1186
23 Jul 2023, 16:35
Forum: Ask for Help (v2)
Topic: Still struggling with mitigating unwanted popup error windows Topic is solved
Replies: 3
Views: 327

Still struggling with mitigating unwanted popup error windows Topic is solved

I'll give what I think is a simple hokey and explain what happens and then explain what I am trying to accomplish. The first undesirable popup box would happen when defining variables such as PID := WinGetPID(win) This would spawn a pop-up box stating that the window that is was looking for which wa...
by slyfox1186
25 Apr 2023, 20:04
Forum: Ask for Help (v2)
Topic: How to turn off TargetError box popup
Replies: 1
Views: 195

How to turn off TargetError box popup

I swear I looked for this answer before posting this.

I want to get ride of the TargetError box popup windows.

Does anyone know a one liner?

I am trying the

Code: Select all

Try
{
    blah
}
Catch
{
    blah
}
with no success
by slyfox1186
14 Apr 2023, 13:55
Forum: Ask for Help (v2)
Topic: #Warn All, Off not working with WinWait command that times out waiting for a window to appear
Replies: 9
Views: 670

Re: #Warn All, Off not working with WinWait command that times out waiting for a window to appear

@slyfox1186, I can confrim FG's findings - no timeout error here. Afaics, the Winwait function just gives feedback via its return value if it timed out, like documented. You should show your code. You are right, I have posted my code in the original question with a brief explanation as to what the ...
by slyfox1186
14 Apr 2023, 12:56
Forum: Ask for Help (v2)
Topic: #Warn All, Off not working with WinWait command that times out waiting for a window to appear
Replies: 9
Views: 670

Re: #Warn All, Off not working with WinWait command that times out waiting for a window to appear

swagfag Your logic checks out and that makes me think that there should be a MUCH better way of handling these exceptions. For example, if I don't want to see an unhandled exception popup warning box when winwait doesn't find the window it is looking for then by god there should be a way to disable...
by slyfox1186
14 Apr 2023, 10:26
Forum: Ask for Help (v2)
Topic: #Warn All, Off not working with WinWait command that times out waiting for a window to appear
Replies: 9
Views: 670

#Warn All, Off not working with WinWait command that times out waiting for a window to appear

Updated: As someone who is way smarter than me (lol) pointed out I really needed to show you the code that I am having these issues with. This script will open one of 4 possible windows store apps when one of the 4 corresponding hotkeys are pressed. On some presses I get NO error box.... however the...
by slyfox1186
26 Mar 2023, 11:28
Forum: Ask for Help (v2)
Topic: How to chain multiple If win statments on same line Topic is solved
Replies: 3
Views: 417

Re: How to chain multiple If win statments on same line Topic is solved

I must have been really tired not to figure this out myself.... thank you.

Go to advanced search