  Rank: Member Groups: Registered
Joined: 22/10/2018(UTC) Posts: 22  Location: Saarbrücken
|
Hi While working with SMath everything is covered in black, see picture below. Even older files are shown in black and I can't use them anymore. I already reinstalled SMath. Thank you in Advance. 
|
|
|
|
 Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,797  Was thanked: 974 time(s) in 802 post(s)
|
Originally Posted by: G-Tate  While working with SMath everything is covered in black, see picture below. Even older files are shown in black and I can't use them anymore. I already reinstalled SMath. This freak is quite old wrt versions. Select all, click background white. It may come back black again, a pen in the ass. Try it ... report ... a real bug !
|
|
|
|
  Rank: Member Groups: Registered
Joined: 22/10/2018(UTC) Posts: 22  Location: Saarbrücken
|
Thanks for your kind answer,
what a beautiful atmosphere here.
Well that worked, sometimes the thoughts are somewhere else, but it should never stop you from being kind.
At least... try!
|
|
|
|
  Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,618   Location: Italy Was thanked: 1320 time(s) in 871 post(s)
|
If you want you can use this small utility to batch fix one or more files at once (It is just an automated raw "find and replace" routine on the plaintext data, doesn't use/require SMath Studio.) Just drag & drop the sm files on the executable. the original files are kept and the fixed files are created next to the originals with a "_fixed" suffix. black to transparent bg (1.0.1).zip (3kb) downloaded 13 time(s).Edited by user 04 January 2022 23:15:43(UTC)
| Reason: ver 1.0.1 updated to not auto-close on double-click |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,075  Was thanked: 481 time(s) in 319 post(s)
|
one-line command for linux users:Code:sed 's/bgColor="#000000"//g' input.sm > output.sm
for multiple files in a directory:Code:for i in *.sm; do sed 's/bgColor="#000000"//g' "$i" > "${i%.sm}_fixed.sm"; done
Edited by user 05 January 2022 18:16:47(UTC)
| Reason: Not specified
|
 1 user thanked overlord for this useful post.
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.