Search found 7 matches

by tfountain
31 Jan 2014, 11:33
Forum: Pulovers Macro Creator
Topic: Pulover's Macro Creator v5.4.1 - The Complete Automation Tool
Replies: 1255
Views: 997005

Re: Macro Creator v4.1.1 - Automation Tool (Recorder & Write

Hello again! First, thanks for the help with getting a zero padded string. I ended up using SubStr via a function command with these parameters 00%A_Index%, -1 Worked like a charm! Now my next question. I have to automate configuring a 3rd party application and lets just say there are literally hund...
by tfountain
24 Jan 2014, 16:45
Forum: Ask for Help (v1)
Topic: Macro Creator - Converting number to zero padded string
Replies: 7
Views: 3185

Re: Macro Creator - Converting number to zero padded string

Hey Lemon, I think there are a few syntax tweaks with using Macro Creator where quotes and percentage signs are required, but when you export to an AHK script it converts it nice. For example, the previous post is the script file for Macro Creator. That same script generates this AHK code: Loop, 15 ...
by tfountain
24 Jan 2014, 15:24
Forum: Ask for Help (v1)
Topic: Macro Creator - Converting number to zero padded string
Replies: 7
Views: 3185

Re: Macro Creator - Converting number to zero padded string

I think I have it figured out finally.

Code: Select all

[PMC Code]|F3||1|Window|1|Macro1
1|[LoopStart]|LoopStart|15|0|Loop|||||
2|SubStr|varA := 00%A_Index%, -1|1|0|Function|||||
3|[MsgBox]|varA: %varA%|1|0|MsgBox|262208||||
4|[Assign Variable]|varA := |1|0|Variable|||||
5|[LoopEnd]|LoopEnd|1|0|Loop|||||
by tfountain
24 Jan 2014, 14:54
Forum: Pulovers Macro Creator
Topic: Pulover's Macro Creator v5.4.1 - The Complete Automation Tool
Replies: 1255
Views: 997005

Re: Macro Creator v4.1.1 - Automation Tool (Recorder & Write

I inadvertently posted a new topic instead of replying to this one (http://auto-hotkey.com/boards/viewtopic.php?f=6&t=1661). Short question is I'm looking to generate a zero (left) padded string in a loop based off of the A_Index variable. Any thoughts? I'm using Macro Creator and was not planning o...
by tfountain
24 Jan 2014, 12:27
Forum: Ask for Help (v1)
Topic: Macro Creator - Converting number to zero padded string
Replies: 7
Views: 3185

Re: Macro Creator - Converting number to zero padded string

Definitely works in AHK! Now I just need to figure out how to reverse engineer this into MC! I changed the title of the thread also so it's obvious this is a question for MC.

Code: Select all

SetFormat, FloatFast, 02
Loop, 15
{
	varA := A_Index + 0.0
	MsgBox, 262208, , varA: %varA%
	varA := ""
}
Return
by tfountain
24 Jan 2014, 12:02
Forum: Ask for Help (v1)
Topic: Macro Creator - Converting number to zero padded string
Replies: 7
Views: 3185

Re: Converting number to zero padded string

Hey lemon, thanks for the help! I assume this would run in AHK? How would that translate into Macro Creator? Sorry for such novice questions as I just picked up this tool yesterday lol.
by tfountain
24 Jan 2014, 11:41
Forum: Ask for Help (v1)
Topic: Macro Creator - Converting number to zero padded string
Replies: 7
Views: 3185

Macro Creator - Converting number to zero padded string

Hello, first let me say nice tool, it's saving my butt applying configuration changes to an internal tool of ours that I need to replicate later! I am having one issue though. I am attempting to zero pad a variable based on the A_Index variable. However all of my attempts have not worked (I tried th...

Go to advanced search