Pulover / PuloversMacroCreator

Automation Utility - Recorder & Script Generator
http://www.macrocreator.com
Other
1.66k stars 235 forks source link

Error with the tabulation in the message boxes #151

Closed TirOFlanc closed 3 years ago

TirOFlanc commented 3 years ago

Hi Pulover !

Thank you very much for taking over the development of 'Macro Creator'.

It's all in the title and on the screenshots.

image image

There was no such error under version 5.0.5, and it seems to be due to indentation depending on whether 'spaces' or 'tabs' are used.

v5.0.5 : image

v5.3.7 : image

Ask if you need more information. Have a good day.

TirOFlanc commented 3 years ago

Another error related to the tabulations, but regarding the variable assignment.

ErrorTabNPipe

This has the consequence of replacing the 'Tabs' by 'Pipes' and thus shifting the columns in the 'pmc' file.

TirOFlanc commented 3 years ago

A solution would be to replace the tabs by the variable 'A_Tab' when saving the 'pmc' file or to indicate with a warning message that it is not advisable to use the tabulation at the risk of corrupting the file.

Pulover commented 3 years ago

I don't see any issue with tabs in MsgBox. Neither with A_Tab variable nor with tab character.

Btw, I haven't taken over the development. I'm the original developer.

TirOFlanc commented 3 years ago

I don't see any issue with tabs in MsgBox. Neither with A_Tab variable nor with tab character.

This is however highlighted on the first two screenshots on lines 14 and 23, line 14 being a rewrite of line 23 but without tabs in the message box.

image image

Btw, I haven't taken over the development. I'm the original developer.

Yes, I know, it's a translation problem. I mean I'm glad you're updating it after 4 years of absence.

TirOFlanc commented 3 years ago

Oooh !

Tab is image

Pulover commented 3 years ago

I still don't know what you're talking about...

TirOFlanc commented 3 years ago

The problem is that when saving, Tabs have been replaced by Pipes which are used to delimit the columns in the 'pmc' file.

image

I encountered this problem with MsgBox, Assign Variable and File Append, only and always because of Tab

Pulover commented 3 years ago

I saved a file with tabs here and it loaded normally.

TirOFlanc commented 3 years ago

Maybe by upgrading from version 5.0.5 to 5.3.7 ... or by saving and closing the application too quickly.

I'll let you know if I have any news about this problem, in the meantime I've fixed my file by hand, if you think it's ok, you can close this post ...

And have a good night ! ;)

TirOFlanc commented 3 years ago

Hmm, Have you tried with a MsgBox under an if_statement ?

TirOFlanc commented 3 years ago

image

Pulover commented 3 years ago

You have to give me a consistent way to reproduce the problem. Otherwise I'll just have to close the issue.

TirOFlanc commented 3 years ago

Ok, I'll let you know if I have any news about this problem. ;)

Thank you for your patience.