Search found 271 matches

by lmstearn
15 Feb 2020, 21:15
Forum: Ask For Help
Topic: Alternative to FileSelectFolder, folder - No Gui
Replies: 2
Views: 152

Re: Alternative to FileSelectFolder, folder - No Gui

Hi @mojobadshah :)
There's a resource shared by all processes in Windows, the Current Directory aka the AHK working directory, or A_WorkingDir. It can be changed at any time with SetWorkingDir. Is that what you are looking for?
by lmstearn
06 Feb 2020, 12:15
Forum: Offtopic
Topic: Flat Earth vs. Globe Earth
Replies: 82
Views: 20241

Re: Flat Earth vs. Globe Earth

Flat Earth may not exist in any other context than a two-dimensional mind. A side-scrolling spectacle of life as it presents in a closed set of infinite 2D planes. Which would be an amazing thing from other perspectives, notably the popular 1D point of view ,- or even zero D ! Ah, for a slow boat to...
by lmstearn
06 Feb 2020, 00:04
Forum: Ask For Help
Topic: Hotkey for app running elevated rights not working Topic is solved
Replies: 4
Views: 229

Re: Old script working partially Topic is solved

Hi Rayearth , and welcome, :) The SetTitleMatchMode has to be set in the autoexec section (right at the top) e.g. SetTitleMatchMode, 2 Return ;Edit default script ... Try that first, else XYExplorer might be showing a different (or hidden) window. Edit: Also try WinActivate before the mousepress: #I...
by lmstearn
05 Feb 2020, 23:39
Forum: Ask For Help
Topic: Odd CheckBox behavior when Gui quickly disabled
Replies: 5
Views: 479

Re: Odd CheckBox behavior when Gui quickly disabled

Hi JBensimon , the checkbox sometimes doesn't visually change state until after the GUI is re-enabled. Sounds interesting, in your testing does it vary according to particular styles applied to the gui, for example? Posting some test code illustrating the variations in the appearance of the checkbox...
by lmstearn
02 Feb 2020, 23:43
Forum: Scripts and Functions
Topic: wget w/ progress bar, download any file
Replies: 4
Views: 3229

Re: wget w/ progress bar, download any file

Thanks, the url in the script can now be replaced with the new one . If the D/L fails the notification might want to be: There was a problem accessing the server.`n Before closing this box , check status file for details. if L1 is digit is now preferred as is isn't supported in a bracketed expressio...
by lmstearn
01 Feb 2020, 22:07
Forum: Ask For Help
Topic: Change encoding from URL [URIEncode] to Readable Text Topic is solved
Replies: 1
Views: 148

Re: Change encoding from URL [URIEncode] to Readable Text Topic is solved

Hi throwawayforahkqs :, and welcome. :) That script uses an URIEncode function that allows for a certain class of characters to function in urls. If you wish for no encoding at all , e.g. for pasting into a browser url box where you want the browser's code instead to do all the work, just comment ou...
by lmstearn
23 Jan 2020, 10:44
Forum: Ask For Help
Topic: Shutdown if idle
Replies: 1
Views: 108

Re: Shutdown if idle

Hi @hannahelappin: :) This thread may be of some use for the first question, at least for hibernation. For shutdown, there's Shutdown which includes all the options including hibernate. The second, well, there's this thread that may help as well. And for this, also consider using A_Tickcount: The nu...
by lmstearn
20 Jan 2020, 08:09
Forum: Tutorials
Topic: jeeswg's dates tutorial
Replies: 1
Views: 2257

Re: jeeswg's dates tutorial

MAKELANGID wants locale names from GetLocaleinfoEx now. Excerpt from winnt.h: #define MAKELANGID(p, s) ((((WORD )(s)) << 10) | (WORD )(p)) #define PRIMARYLANGID(lgid) ((WORD )(lgid) & 0x3ff) #define SUBLANGID(lgid) ((WORD )(lgid) >> 10) // // ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED *...
by lmstearn
19 Jan 2020, 22:36
Forum: Suggestions on documentation improvements
Topic: uninitialized
Replies: 8
Views: 602

Re: uninitialized

I agree, notwithstanding many of the high quality descriptions in Variables & Expressions, there is too much content compared to the others. Perhaps we could even have something like separate topics for Variables, Expression, and The Use of Variables in Expressions . joefiesta , why not a new thread...
by lmstearn
18 Jan 2020, 22:36
Forum: Suggestions on documentation improvements
Topic: uninitialized
Replies: 8
Views: 602

Re: uninitialized

As a matter of interest, here's an early Google search for Americanisation , and one for Americanization . The English one has the earliest reference viz "re-Americanisation" found in the Edinburgh review (1830), the earliest for American "z" version is for 1835. Best not to take that as too reliabl...
by lmstearn
16 Jan 2020, 21:44
Forum: Ask For Help
Topic: FileObject.Read() missing data? Topic is solved
Replies: 5
Views: 211

Re: FileObject.Read() missing data? Topic is solved

Hi @TheArkive! :)
STDOUT is a pipe which limits the options some:
Seek, Tell and Length should not be used if Filename is a handle to a nonseeking device such as a pipe or a communications device.
Any luck with RawRead?
by lmstearn
16 Jan 2020, 21:21
Forum: Wish List
Topic: early exit from #Warn loadtime error messages
Replies: 2
Views: 2036

Re: early exit from #Warn loadtime error messages

Doesn't this do anything?

Code: Select all

#Warn, LocalSameAsGlobal,  Off
Recommended use is for a debugger:

Code: Select all

#Warn All, OutputDebug
#Warn, LocalSameAsGlobal,  Off
by lmstearn
15 Jan 2020, 03:06
Forum: Ask For Help
Topic: Confusing Mp3tag script
Replies: 4
Views: 239

Re: Confusing Mp3tag script

In the first script, after WinWaitActive, writing tag data try replacing

Code: Select all

Send, {ENTER}
with

Code: Select all

If (WinExist(ahk_class #32770)
WinClose, ahk_class #32770 
It should work provided there are no other active messagebox dialogs in the system.
by lmstearn
14 Jan 2020, 07:14
Forum: Ask For Help
Topic: Confusing Mp3tag script
Replies: 4
Views: 239

Re: Confusing Mp3tag script

Hi @seamoon, :)
We might suppose Mp3tag shows the title "writing tag data" while it's writing. The second script doesn't check for that.
by lmstearn
14 Jan 2020, 07:03
Forum: Ask For Help
Topic: Rename Most Recent File in a Folder? Topic is solved
Replies: 1
Views: 128

Re: Rename Most Recent File in a Folder? Topic is solved

Hi 3ggg :) Try this: FileSelectFolder, Folder if (Folder){ NewFileName := "newfilename.csv" Time := 0 Folder := RegExReplace(Folder, "\\$") ; sanity Loop, Files, %Folder%\*.* If ( A_LoopFileTimeModified >= Time ){ Time := A_LoopFileTimeModified File := A_LoopFilePath } FileMove,%File%,%Folder%\%NewF...
by lmstearn
11 Jan 2020, 06:55
Forum: Suggestions on documentation improvements
Topic: Mini Suggestions
Replies: 1
Views: 182

Mini Suggestions

Here's a proposal for a thread handling small (one-line max) requests/suggestions mainly directed to terminology, punctuation, cross links and the like. In a nutshell, not enough in the item for a new thread. Here's one: The words "built-in" in this section of Funcs might want to be cross-linked ove...
by lmstearn
08 Jan 2020, 05:18
Forum: Bug Reports
Topic: FileGetShortcut and Universal Apps Shurtcuts
Replies: 1
Views: 483

Re: FileGetShortcut and Universal Apps Shurtcuts

Hi there @andy2020,
FileGetShortcut is an older function which only resolves (.lnk) shortcut files. Filesystem functions for symbolic links such as UWP apps are listed here.
More for the Ask for Help section, there's an interesting (non ahk) app which handles symlinks.
by lmstearn
29 Dec 2019, 07:46
Forum: Gaming
Topic: Prglnch: Yet Another Game Launcher
Replies: 7
Views: 8848

Re: Prglnch: Yet Another Game Launcher

It looked like there was enough for version 3.0, but no, there had to be a tutu version first:
Spoiler
OP updated on the details.
by lmstearn
27 Dec 2019, 01:07
Forum: Scripts and Functions
Topic: GUI Font Tool
Replies: 3
Views: 1390

Re: GUI Font Tool

Thanks for the script. :) Bit out of left field so here goes: when one is presented with the option of a font, would his choice be affected if he knew it was already used by the system? Here's a standalone script which covers two defaults, there may be a number more (untested for non-default- sry): ...
by lmstearn
21 Dec 2019, 08:10
Forum: About This Community
Topic: Paranoia: Compromised Password?
Replies: 2
Views: 572

Paranoia: Compromised Password?

As soon as logged today in AHK in there was a new popup tab in Chrome with: Password Checkup.JPG "Password Checker" is now bundled into Chrome , so these types of alerts might become more common place. In my case it seems, there is more than enough to be concerned about, especially if it is leading ...

Go to advanced search