Search found 14 matches

by dipstick5000
24 Jan 2020, 19:55
Forum: Ask For Help
Topic: Extracting data from Multiple line clipboard
Replies: 4
Views: 281

Re: Extracting data from Multiple line clipboard

Loop, Parse, clipboard, 'n,
by dipstick5000
24 Jan 2020, 14:48
Forum: Ask For Help
Topic: [Solved] Why won't this simple file loop work?
Replies: 12
Views: 589

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...
by dipstick5000
24 Jan 2020, 06:13
Forum: Ask For Help
Topic: [Solved] Why won't this simple file loop work?
Replies: 12
Views: 589

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?
by dipstick5000
24 Jan 2020, 06:07
Forum: Ask For Help
Topic: [Solved] Why won't this simple file loop work?
Replies: 12
Views: 589

Re: Why won't this simple file loop work?

gregster wrote:
24 Jan 2020, 05:05
Try to replace C:\2 sounds\*.mp3 in the FileCopy line with %A_LoopFilePath%:
FileCopy, %A_LoopFilePath%\*.*, C:\3 docs copied\%counter%.%A_LoopFileExt%

This produces properly named empty files (0 bytes).
by dipstick5000
24 Jan 2020, 05:42
Forum: Ask For Help
Topic: [Solved] Why won't this simple file loop work?
Replies: 12
Views: 589

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...
by dipstick5000
24 Jan 2020, 04:24
Forum: Ask For Help
Topic: [Solved] Why won't this simple file loop work?
Replies: 12
Views: 589

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.
by dipstick5000
24 Jan 2020, 03:52
Forum: Ask For Help
Topic: [Solved] Why won't this simple file loop work?
Replies: 12
Views: 589

[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...
by dipstick5000
23 Jan 2020, 22:32
Forum: Ask For Help
Topic: [Solved] Is it possible to use StringGetPos in a file loop?
Replies: 6
Views: 300

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...
by dipstick5000
23 Jan 2020, 16:14
Forum: Ask For Help
Topic: [Solved] Is it possible to use StringGetPos in a file loop?
Replies: 6
Views: 300

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...
by dipstick5000
23 Jan 2020, 15:01
Forum: Ask For Help
Topic: [Solved] Is it possible to use StringGetPos in a file loop?
Replies: 6
Views: 300

Re: Is it possible to use StringGetPos in a file loop?

just me wrote:
23 Jan 2020, 10:35
[/code]are you sure about L12?
No I'm not sure, but I was experimenting. The result is always -1, no matter if it's L12 or L-anything or left blank.
by dipstick5000
23 Jan 2020, 06:52
Forum: Pulovers Macro Creator
Topic: Pulover's Macro Creator v5.0.5 - The Complete Automation Tool
Replies: 1010
Views: 648799

Re: Pulover's Macro Creator v5.0.5 - The Complete Automation Tool

Here's a visual:
File Loop.png
File Loop.png (19.68 KiB) Viewed 1486 times
by dipstick5000
23 Jan 2020, 06:47
Forum: Ask For Help
Topic: [Solved] Is it possible to use StringGetPos in a file loop?
Replies: 6
Views: 300

[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 ...
by dipstick5000
23 Jan 2020, 06:28
Forum: Pulovers Macro Creator
Topic: Pulover's Macro Creator v5.0.5 - The Complete Automation Tool
Replies: 1010
Views: 648799

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...
by dipstick5000
21 Jan 2020, 22:24
Forum: Ask For Help
Topic: Are controls for Windows Explorer the same for all computers?
Replies: 0
Views: 140

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?

Go to advanced search