1j01 / 98

💿 Web-based Windows 98 desktop recreation █████▓█▓▓▒▓▒▒░▒░░░🗕︎🗗︎🗙︎
https://98.js.org
1.15k stars 183 forks source link

Allow desktop icons to be passed attributes in object #2

Closed kirkins closed 7 years ago

kirkins commented 7 years ago

I'm adding this on my own fork so I can pass in files to programs. For example having a general Notepad function but allowing instances (e.g. myNote.txt) to be passed in.

I thought it might be useful for other programs as well. For example with paint you may want to have an icon representing a specific picture which was painted.

Let me know what you think.

kirkins commented 7 years ago

My example usage https://github.com/kirkins/98/commit/5a2f28b8608de9b5520f8c295617aca31dd74800

1j01 commented 7 years ago

We definitely want this sort of functionality for multiple programs, but this on its own isn't useful.