FileCreateDir command? Topic is solved
FileCreateDir command?
Hi,
I'm using AHK v2, and the FileCreateDir command seems to not be working.
Has it been discontinued, and is there an alternative?
Thanks,
Ben
I'm using AHK v2, and the FileCreateDir command seems to not be working.
Has it been discontinued, and is there an alternative?
Thanks,
Ben
Re: FileCreateDir command? Topic is solved
When you choose v2 in the header of the FileCreateDir page, you will be directed to https://lexikos.github.io/v2/docs/commands/DirCreate.htm.
This might also help, if you plan to use v2: https://lexikos.github.io/v2/docs/v2-changes.htm
This might also help, if you plan to use v2: https://lexikos.github.io/v2/docs/v2-changes.htm
Re: FileCreateDir command?
If not now, when?
Since backwards compatibility to v1.x versions was finally abandoned, I guess there was a chance to change some design choices that were made a long time ago by another developer than the current one for whatever reason.
At least for me, "DirCreate" makes more sense than "FileCreateDir". Why File... ? (PS: The other "File..." statements have been renamed as well, but other changes are much more fundamental.)
Since backwards compatibility to v1.x versions was finally abandoned, I guess there was a chance to change some design choices that were made a long time ago by another developer than the current one for whatever reason.
At least for me, "DirCreate" makes more sense than "FileCreateDir". Why File... ? (PS: The other "File..." statements have been renamed as well, but other changes are much more fundamental.)
Re: FileCreateDir command?
I see about that.Since backwards compatibility to v1.x versions was finally abandoned, I guess there was a chance to change some design choices that were made a long time ago by another developer than the current one for whatever reason.
Yes, it does. Thanks for telling me about the other changes with the File command, too!At least for me, "DirCreate" makes more sense than "FileCreateDir". Why File... ? (PS: The other "File..." statements have been renamed as well, but other changes are much more fundamental.)
Thank you!
Ben
Re: FileCreateDir command?
Because you are not working with **files** in this particular instance so it makes more sense to remove that from the name entirely.Ben the Coder wrote: ↑19 Aug 2022, 09:31I see.
But why change the FileCreateDir to DirCreate in the first place? Just curious.
Ben
I for one welcome the change
Projects:
AHK-ToolKit
AHK-ToolKit
Re: FileCreateDir command?
Yes, so do I.RaptorX wrote: ↑20 Aug 2022, 10:02Because you are not working with **files** in this particular instance so it makes more sense to remove that from the name entirely.Ben the Coder wrote: ↑19 Aug 2022, 09:31I see.
But why change the FileCreateDir to DirCreate in the first place? Just curious.
Ben
I for one welcome the change
Just a question: in AHK V2, has the URLDownloadToFile command changed to Download?
Thanks!
Re: FileCreateDir command?
That is correct...
I suggest you taking a little time and reading this link: https://lexikos.github.io/v2/docs/v2-changes.htm
Major command name changes are documented there.
I suggest you taking a little time and reading this link: https://lexikos.github.io/v2/docs/v2-changes.htm
Major command name changes are documented there.
Projects:
AHK-ToolKit
AHK-ToolKit
Re: FileCreateDir command?
Chris Mallett wrote: -> Maybe rename File*Dir to Dir*, for brevity and preciseness. e.g. DirCreate/Copy/GetSize/Move/Remove
Source: AutoHotkey v2