[Fixed] Problem with Trailing Invisible Char Warning Dialog

Ideas for new features & functions

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
jpuziano
Automation Wizard
Posts: 1085
Joined: Sat Oct 30, 2004 12:00 am

[Fixed] Problem with Trailing Invisible Char Warning Dialog

Post by jpuziano » Fri Jan 12, 2007 4:45 pm

Hi Marcus,

There's a problem with the Trailing Invisible Character Warning Dialog.

- open Macro Scheduler main window
- click "New" toolbar icon, Macro Properties (simple editor) window opens
- type in a name for the macro e.g. "test"
- open a browser to the following page: http://www.mjtnet.com/forum/viewtopic.php?t=3537
- hit CTRL-A to select everything on that browser page
- hit CTRL-C to copy everything on that browser page to the Windows clipboard
- navigate back to the Macro Properties (simple editor) window
- hit CTRL-V to paste everything into the body of the macro in the Macro Properties (simple editor) window
- click OK button to save this new macro
- A dialog then pops up saying:
  • "Warning! The following lines have trailing invisible characters:"
    -- all problem lines are listed --
    "These may be undesirable. Do you want to remove them now?"
    "Yes" button "No" button
The problem is, there are so many lines, the bottom message line and the Yes and No buttons are not even visible. This happens often for me when moving around large chunks of code. Stretching the dialog taller usually doesn't help because you can't stretch it taller than the full height of the screen.

I know the focus is on the Yes button so when this happens for me I just hit Enter and keep going but this could be improved by showing the problem lines in a scrolling region within the dialog. Failing that, even reordering the elements on the dialog like this would mean the user would always see the instructions and the buttons:
  • "Warning! The following lines have trailing invisible characters:"
    "These may be undesirable. Do you want to remove them now?"
    "Yes" button "No" button
    -- all problem lines are listed --
Thanks for listening and take care
Last edited by jpuziano on Tue Dec 02, 2008 11:07 pm, edited 2 times in total.
jpuziano

Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post - :-)

User avatar
Marcus Tettmar
Site Admin
Posts: 7393
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Fri Jan 12, 2007 4:49 pm

Thanks for this. I guess a better solution would be a window with a scrollable section within it containing the bad lines.

Although ... the editor is supposed to remove trailing blanks from HTML sources automatically .... what web browser are you using?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
jpuziano
Automation Wizard
Posts: 1085
Joined: Sat Oct 30, 2004 12:00 am

Post by jpuziano » Fri Jan 12, 2007 5:03 pm

mtettmar wrote:Although ... the editor is supposed to remove trailing blanks from HTML sources automatically .... what web browser are you using?
It would be helpful if the editor did that automatically; here's what I have to use at work:

Browser: IE 6.0
Version: 6.0.2900.2180.xpsp_sp2_rtm.040803-2158
Cipher Strength: 128 bit

Running on OS:
Microsoft Windows XP Professional
Version 2002
Service Pack 2

Now you have me wondering. Does the Macro Sched editor already remove trailing spaces automatically from HTML sources if you use Firefox or other browsers? Would be great if it worked for IE as well.
jpuziano

Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post - :-)

User avatar
Marcus Tettmar
Site Admin
Posts: 7393
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Fri Jan 12, 2007 5:19 pm

Now you have me wondering. Does the Macro Sched editor already remove trailing spaces automatically from HTML sources if you use Firefox or other browsers? Would be great if it worked for IE as well.
Yes. Works with Firefox and IE.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
jpuziano
Automation Wizard
Posts: 1085
Joined: Sat Oct 30, 2004 12:00 am

Post by jpuziano » Fri Jan 12, 2007 8:03 pm

Strange, when I paste in text copied from an IE 6.0 browser into Macro Scheduler, I always see the grey box characters at the end of the lines. Are you saying they should already have been removed automatically as part of the paste operation?
jpuziano

Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post - :-)

User avatar
jpuziano
Automation Wizard
Posts: 1085
Joined: Sat Oct 30, 2004 12:00 am

Post by jpuziano » Thu Dec 13, 2007 8:57 pm

Hi Marcus,
jpuziano wrote:Strange, when I paste in text copied from an IE 6.0 browser into Macro Scheduler, I always see the grey box characters at the end of the lines. Are you saying they should already have been removed automatically as part of the paste operation?
I never heard back from you on the above.

I often CTRL-A and CTRL-C an entire forum post, create a new macro in Macro scheduler and paste the whole thing in there for future reference.

Would you consider that text to be "from HTML sources"? If so, should I be expecting there not to be the gray boxs at the end of lines signifying trailing spaces? Because they are always there after the paste.
mtettmar wrote:Thanks for this. I guess a better solution would be a window with a scrollable section within it containing the bad lines.
Could this possibly be includined in the big version 10 release?
jpuziano

Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post - :-)

User avatar
jpuziano
Automation Wizard
Posts: 1085
Joined: Sat Oct 30, 2004 12:00 am

Post by jpuziano » Sat Sep 27, 2008 6:58 am

I see this did indeed make it into the 11 release and it works great.

Now I can scroll to see all the lines I am saying yes or no to...

Thanks for this :D
jpuziano

Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post - :-)

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts