"Virtual icons" possible in any way?
Posted: 24 Nov 2022 20:23
After popup-menus scripting was added i was using some simple menus with icons, basically using bold format:
As i understand i was using everything right and only way possible when adding icons to menus.
But then one day i suddenly realised, that each time when i open say a menu of 20 items with icons = it's 20 reads from different parts of hard drive, and i didn't even do anything useful yet, or maybe even i won't select anything. Plus when such menus opened dozens times per day, and again just to open some one item from there while other files are still read each time = it results in hundreds, if not thousands, of useless I/O operations.
As a result i remade menus no have no icons, but that surely is less practical. Then i remembered how i adapted some scripts to load-store their data in variable on first run per session and next times these scripts are run there was no unnecessary reads just for menu forming.
So i wonder, if there is some way via XY to send icons into ram/variables? Or maybe there is a way to transform icons into base64 and use that stored in ram/variable, instead of real reading files?
Code: Select all
C:\Program\Launch.exe|C:\Program\Launch.exe|C:\Program\Launch.exe
name|location|icon
But then one day i suddenly realised, that each time when i open say a menu of 20 items with icons = it's 20 reads from different parts of hard drive, and i didn't even do anything useful yet, or maybe even i won't select anything. Plus when such menus opened dozens times per day, and again just to open some one item from there while other files are still read each time = it results in hundreds, if not thousands, of useless I/O operations.
As a result i remade menus no have no icons, but that surely is less practical. Then i remembered how i adapted some scripts to load-store their data in variable on first run per session and next times these scripts are run there was no unnecessary reads just for menu forming.
So i wonder, if there is some way via XY to send icons into ram/variables? Or maybe there is a way to transform icons into base64 and use that stored in ram/variable, instead of real reading files?