Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Recent.bin editor
#9
(04-01-2023, 09:11 AM)bplus Wrote: Well I think I have my GUI version working but for Windows only mainly due to fact I have to add C: to pathed files to match the IDE's pathed files so duplicate entries are avoided.

Pretty good. I made it work in Linux by commenting out the last few lines in GetBas$() function (which force "C:" prefix) and just returning the local string variable's value.

Also had to turn RecentF$ into a global variable due to my decision to use ENVIRON$("HOME"), to make sure it works for any regular user on Linux. However still can't do anything about how he/she installs QB64PE...

On Windows could use ENVIRON$("USERPROFILE") to get "C:\Users\(username)", while on Linux the same thing is produced by ENVIRON$("HOME"). The problem is that it's a function which cannot be used with CONST, even though the function is returning a constant value out of another constant value.

One flaw with this system is that it requires fonts installed in a specific place. But which is good because various Linux distros have mind-boggling arrangements and don't neatly establish what the hey is "Monospace". In some configuration files a font is called differently from its filename which wastes time in investigative work and trial and error.
Reply


Messages In This Thread
Recent.bin editor - by eoredson - 03-31-2023, 04:13 AM
RE: Recent.bin editor - by bplus - 03-31-2023, 01:18 PM
RE: Recent.bin editor - by eoredson - 04-01-2023, 04:17 AM
RE: Recent.bin editor - by bplus - 03-31-2023, 10:07 PM
RE: Recent.bin editor - by eoredson - 04-01-2023, 02:03 AM
RE: Recent.bin editor - by RhoSigma - 04-01-2023, 07:41 AM
RE: Recent.bin editor - by bplus - 04-01-2023, 09:11 AM
RE: Recent.bin editor - by mnrvovrfc - 04-10-2023, 08:22 PM
RE: Recent.bin editor - by eoredson - 04-02-2023, 10:17 PM
RE: Recent.bin editor - by bplus - 04-10-2023, 09:09 PM
RE: Recent.bin editor - by eoredson - 05-03-2023, 02:52 AM
RE: Recent.bin editor - by mnrvovrfc - 05-03-2023, 03:04 AM
RE: Recent.bin editor - by eoredson - 05-03-2023, 03:46 AM
RE: Recent.bin editor - by SMcNeill - 05-03-2023, 04:21 AM



Users browsing this thread: 1 Guest(s)