Search found 15 matches
- 14 Nov 2020, 14:40
- Forum: Scripts and Functions
- Topic: Script to save daily daily desktop backgrounds for Windows
- Replies: 0
- Views: 147
Script to save daily daily desktop backgrounds for Windows
I usually like the daily pictures Microsoft sends me, so I made a simple script to make it faster to copy them into a new folder. It leaves the original untouched so your background doesn't get messed up. There are several utilities to automatically change your wallpaper daily, such as this one: htt...
- 24 Jan 2020, 19:55
- Forum: Ask For Help
- Topic: Extracting data from Multiple line clipboard
- Replies: 4
- Views: 536
Re: Extracting data from Multiple line clipboard
Loop, Parse, clipboard, 'n,
- 24 Jan 2020, 14:48
- Forum: Ask For Help
- Topic: [Solved] Why won't this simple file loop work?
- Replies: 12
- Views: 986
Re: Why won't this simple file loop work?
What a relief. A big thank you to everyone who helped. Either I wouldn't have figured it out without you guys, or it would have taken weeks instead of days. This does nothing: FileCopy, %A_LoopFilePath%, C:\2 sounds copied\%counter%.%A_LoopFileExt% This produces empty files: FileCopy, C:\2 sounds\%A...
- 24 Jan 2020, 06:13
- Forum: Ask For Help
- Topic: [Solved] Why won't this simple file loop work?
- Replies: 12
- Views: 986
Re: Why won't this simple file loop work?
FileCopy, %A_LoopFilePath%, C:\3 docs copied\%counter%.%A_LoopFileExt%
this does nothing,
Also message box tells me %A_LoopFilePath% is blank, should that happen?
this does nothing,
Also message box tells me %A_LoopFilePath% is blank, should that happen?
- 24 Jan 2020, 06:07
- Forum: Ask For Help
- Topic: [Solved] Why won't this simple file loop work?
- Replies: 12
- Views: 986
Re: Why won't this simple file loop work?
FileCopy, %A_LoopFilePath%\*.*, C:\3 docs copied\%counter%.%A_LoopFileExt%gregster wrote: ↑24 Jan 2020, 05:05Try to replace C:\2 sounds\*.mp3 in the FileCopy line with %A_LoopFilePath%:
This produces properly named empty files (0 bytes).
- 24 Jan 2020, 05:42
- Forum: Ask For Help
- Topic: [Solved] Why won't this simple file loop work?
- Replies: 12
- Views: 986
Re: Why won't this simple file loop work?
I think C:\2 sounds\*.mp3 will, in this case, always just match - and use - the first matching file, every loop iteration again, so that you end up with the same audio or text or whatever, just with different names But if that's true why would the message box tell me it's about to use the proper fi...
- 24 Jan 2020, 04:24
- Forum: Ask For Help
- Topic: [Solved] Why won't this simple file loop work?
- Replies: 12
- Views: 986
Re: Why won't this simple file loop work?
I just tried it with 3 text files. It does the same thing. All are named as expected, but all are the first file.
- 24 Jan 2020, 03:52
- Forum: Ask For Help
- Topic: [Solved] Why won't this simple file loop work?
- Replies: 12
- Views: 986
[Solved] Why won't this simple file loop work?
I'm freaking out because yesterday this worked perfectly, but for the past 6 hours it doesn't work. counter := 15 Loop, Files, C:\2 sounds\*.mp3, F { MsgBox, 262144, , (LTrim About to copy sound named "%A_LoopFileName%" New name will be "%counter%.%A_LoopFileExt%" ) FileCopy, C:\2 sounds\*.mp3, C:\2...
- 23 Jan 2020, 22:32
- Forum: Ask For Help
- Topic: [Solved] Is it possible to use StringGetPos in a file loop?
- Replies: 6
- Views: 509
Re: Is it possible to use StringGetPos in a file loop?
Okay I figured it out. The solution was quite simple. It dawned on me that the problem may not lie with StringGetPos being inside file loops. I thought maybe it had something to do with it not working with A_LoopFileName. When I set a variable equal to A_LoopFileName and used it instead, it works pe...
- 23 Jan 2020, 16:14
- Forum: Ask For Help
- Topic: [Solved] Is it possible to use StringGetPos in a file loop?
- Replies: 6
- Views: 509
Re: Is it possible to use StringGetPos in a file loop?
Using InStr() TLM, first of all, thank you very much . I appreciate your knowledge and time. But I wasn't asking how to use InStr, I was asking what you would do if you couldn't. There is no InStr in Macro Creator. Instead it uses the outdated StringGetPos. “Deprecated: This command is not recommen...
- 23 Jan 2020, 15:01
- Forum: Ask For Help
- Topic: [Solved] Is it possible to use StringGetPos in a file loop?
- Replies: 6
- Views: 509
- 23 Jan 2020, 06:52
- Forum: Pulovers Macro Creator
- Topic: Pulover's Macro Creator v5.4.0 - The Complete Automation Tool
- Replies: 1186
- Views: 757756
Re: Pulover's Macro Creator v5.0.5 - The Complete Automation Tool
Here's a visual:
- 23 Jan 2020, 06:47
- Forum: Ask For Help
- Topic: [Solved] Is it possible to use StringGetPos in a file loop?
- Replies: 6
- Views: 509
[Solved] Is it possible to use StringGetPos in a file loop?
I'm using Pulover's Macro Creator, and it has no option to use InStr. I realize I'm not supposed to be using StringGetPos anymore, but I must find the position of a character. StringGetPos works perfectly every time I don't use it in a loop, but It always returns -1 in a file loop. I posted this in ...
- 23 Jan 2020, 06:28
- Forum: Pulovers Macro Creator
- Topic: Pulover's Macro Creator v5.4.0 - The Complete Automation Tool
- Replies: 1186
- Views: 757756
StringGetPos doesn't work in file loop?
"Deprecated: This command is not recommended for use in new scripts. Use the InStr function instead." I must get the position of a character (a hyphen in this case) in a string, but StringGetPos doesn't work. It always returns -1 no matter what. There is no option for InStr in Macro Creator. What d...
- 21 Jan 2020, 22:24
- Forum: Ask For Help
- Topic: Are controls for Windows Explorer the same for all computers?
- Replies: 0
- Views: 281
Are controls for Windows Explorer the same for all computers?
ToolbarWindow323 is the name for the control that is the address bar in Windows Explorer on my computer. If I point to that in a script will it be the same name for all users of Windows 10? How about other versions of Windows?