Search found 505 matches

by newcod3r
30 Oct 2023, 01:49
Forum: Scripts and Functions (v1)
Topic: Get the URL of the current (active) browser tab
Replies: 197
Views: 141650

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

hmm I updated the window title to "Google Chrome ahk_exe chrome.exe" but it's still not working. I'm on v1 by the way.
by newcod3r
29 Oct 2023, 17:18
Forum: Scripts and Functions (v1)
Topic: Get the URL of the current (active) browser tab
Replies: 197
Views: 141650

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

@newcod3r, yeah I've had the same problem and I'm not exactly sure what they've changed. I think it's the same problem as before: for some reason sometimes Chrome "forgets" it's content control. Before it automatically "woke up" when the window was activated/focused, but now it appears to require C...
by newcod3r
13 Oct 2023, 20:21
Forum: Ask for Help (v1)
Topic: Tidying up new bullet points when copying & pasting
Replies: 5
Views: 796

Re: Tidying up new bullet points when copying & pasting

The downside is that once in awhile the stray backslash comes out in the text and I have to delete it manually. I suggest using a different shortcut. Both the backslash and backspace are keys that may be need for normal editing while the script is running, If you block them (by removing the tilde),...
by newcod3r
12 Oct 2023, 17:19
Forum: Ask for Help (v1)
Topic: Tidying up new bullet points when copying & pasting
Replies: 5
Views: 796

Re: Tidying up new bullet points when copying & pasting

Hello, You would need to create a written description of the criteria indicating exactly where the line break should be placed. Test your description with various samples. It will be tough to solve as every "sentence" is different. How about this issue below? What I currently do is use this workaro...
by newcod3r
09 Oct 2023, 22:48
Forum: Ask for Help (v1)
Topic: only ^#Numlock:: doesn't work?
Replies: 3
Views: 554

Re: only ^#Numlock:: doesn't work?

I see, so there's no workaround yah?
by newcod3r
08 Oct 2023, 17:29
Forum: Ask for Help (v1)
Topic: Tidying up new bullet points when copying & pasting
Replies: 5
Views: 796

Tidying up new bullet points when copying & pasting

Sample text: What sensations are in your body when you start thinking about this goal? ( e.g. I don’t think I can do it, don’t know if I have enough money to sustain it for the next 6 months, etc) If that is the sensation inside, let’s go even deeper. Focus on that sensation and let's ask it to poin...
by newcod3r
08 Oct 2023, 17:20
Forum: Ask for Help (v1)
Topic: only ^#Numlock:: doesn't work?
Replies: 3
Views: 554

only ^#Numlock:: doesn't work?

I noticed any other key combi works but not ^#Numlock. why is that so and how do I make it execute my code?
by newcod3r
30 Aug 2023, 17:41
Forum: Ask for Help (v1)
Topic: Winclip broken on v1?
Replies: 5
Views: 311

Re: Winclip broken on v1?

mikeyww wrote:
30 Aug 2023, 17:32
My script failed in Word?
yes, blank return in Word.
by newcod3r
30 Aug 2023, 17:25
Forum: Ask for Help (v1)
Topic: Winclip broken on v1?
Replies: 5
Views: 311

Re: Winclip broken on v1?

yes, I already used the simplest possible code like what you did above - and it returned nothing.
by newcod3r
30 Aug 2023, 02:42
Forum: Ask for Help (v1)
Topic: Winclip broken on v1?
Replies: 5
Views: 311

Winclip broken on v1?

I've been using Winclip for years to paste rich text, but recently it stopped working and I couldn't figure out why. I checked it's the correct directory and the file has the right text, but it's just not being pasted. Any idea why? #NoEnv ; Recommended for performance and compatibility with future ...
by newcod3r
16 Aug 2023, 23:37
Forum: Scripts and Functions (v1)
Topic: Get the URL of the current (active) browser tab
Replies: 197
Views: 141650

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

@deets, it seems for some reason sometimes Chrome "forgets" it's content control and it goes blank. I rewrote the function to find the Document element instead, which seems to be more reliable. Also I added logic to clear the hotstring matching when Ctrl+A is followed by a backspace. global Hostrin...
by newcod3r
06 Aug 2023, 17:15
Forum: Ask for Help (v1)
Topic: How to open latest modified folder instead of file?
Replies: 3
Views: 260

Re: How to open latest modified folder instead of file?

Hello, See :arrow: Loop, Files . You can use mode D as needed. If your description has two steps, then the script would also have two steps: examine folder first, and then file. Loop, FilePattern is deprecated; I would avoid it. this is what I did but it returns a blank for me: GetNewestFolder(path...
by newcod3r
06 Aug 2023, 08:39
Forum: Ask for Help (v1)
Topic: How to open latest modified folder instead of file?
Replies: 3
Views: 260

How to open latest modified folder instead of file?

I have a function for opening the latest modified file, but can't get it to work by opening the latest subfolder first, then the latest file. How do I go about doing that? E.g. Travel folder has USA & UK Subfolders. Assume USA is the latest modified subfolder, to open it, then open latest modified f...
by newcod3r
03 Aug 2023, 20:58
Forum: Ask for Help (v1)
Topic: Creating a Read all function for WhatsApp windows client
Replies: 0
Views: 184

Creating a Read all function for WhatsApp windows client

I'm using the Findclick function to make a read all function in whatsapp. However, because after marking as read, the green dot (i.e. my screenshot) is still active, albeit without the number, it keeps finding the same image. How can I overcome this issue and get it to click on other green dots on t...
by newcod3r
31 Jul 2023, 02:57
Forum: Ask for Help (v1)
Topic: Copyfolder function suddenly stopped working properly?
Replies: 7
Views: 442

Re: Copyfolder function suddenly stopped working properly?

destinationFile := destination "\" A_LoopFileName This doesn't (create or) use existing subfolders in destination . It just copies the files directly into destination . how do I amend so that it copies into the respective subfolders? I changed FileCopy to FileCopyDir in my script and it produced Er...
by newcod3r
26 Jul 2023, 21:48
Forum: Ask for Help (v1)
Topic: Copyfolder function suddenly stopped working properly?
Replies: 7
Views: 442

Re: Copyfolder function suddenly stopped working properly?

You've said what the script doesn't do, but you haven't said what it does do. Does the destination directory exist? What is the ErrorLevel? Are any files copied? Have you read the entire FileCopy page in the documentation? What is your example for how you call this function? What is your specific e...
by newcod3r
26 Jul 2023, 17:26
Forum: Ask for Help (v1)
Topic: Copyfolder function suddenly stopped working properly?
Replies: 7
Views: 442

Re: Copyfolder function suddenly stopped working properly?

Hello, Read: Loop, Files R = Recurse into subdirectories (subfolders). If R is omitted, files and folders in subfolders are not included . Hi there, I included ,R but it still doesn't copy over the subfolders. CopyFolder(source, destination) { Loop, Files, %source%\*.*, R ;recurse into subfolders {...
by newcod3r
26 Jul 2023, 01:47
Forum: Ask for Help (v1)
Topic: Copyfolder function suddenly stopped working properly?
Replies: 7
Views: 442

Copyfolder function suddenly stopped working properly?

I use this to sync my preferences, but not sure why recently it only copies the files at the top-level folder instead of including all files in sub-folders too. by right it should loop through all files? CopyFolder(source, destination) { Loop, Files, %source%\*.* { sourceFile := A_LoopFileLongPath d...
by newcod3r
26 Jul 2023, 00:45
Forum: Ask for Help (v1)
Topic: ControlClick not working as expected in Outlook?
Replies: 3
Views: 214

Re: ControlClick not working as expected in Outlook?

If you'll notice using Window Spy, that control name applies to the whole area above the email list, not specifically to the "arrange by" part. There isn't a control specific to that little widget. You can click by position. Your coordinates may need to be adjusted (it looks like yours may be 1075,...
by newcod3r
25 Jul 2023, 21:51
Forum: Ask for Help (v1)
Topic: ControlClick not working as expected in Outlook?
Replies: 3
Views: 214

ControlClick not working as expected in Outlook?

I'm trying to code a toggle between Arranging by Flag vs Arranging by Date in Outlook. Why is it that the code doesn't trigger this button? Is there any other more efficient method too? #If WinActive("ahk_class rctrl_renwnd32") || WinActive("ahk_class OlkWV2Frame") ; Old + New Outlook Class f2:: Con...

Go to advanced search