Home | Reviews | GUIpedia | Forum | Fun500
aguma | Spark v0.3: IdeaHello, well first of all Spark is going well so far; I have error handling, file functions & string manipulation functions, themes (well they're actually just single-color but they're still themes), and more!
Also I got this simple lil' idea that works really well. To make the programs communicate with each other, I have 3 new commands, IDENT, RETURN, and GETRET. IDENT sets your identification code so other programs that know it will be able to "talk to" yours; RETURN sets your "return value" (not really a return value but it started out as one, I was too lazy to change the name), and GETRET gets another program's return value based on their IDENT. Also you could use this as a variable for your own program. Tell me what you think of it! | 2009-03-16 | 6:54 PM |
Brandon | Re:Spark v0.3: IdeaWhat if you run more than one copy of the same script? | 2009-03-16 | 6:56 PM |
aguma | Re:Spark v0.3: Ideahmm...good point. any suggestions? | 2009-03-16 | 7:07 PM |
pharoah | Re:Spark v0.3: IdeaOne thing you could do mow that you have inter-process communication is to actually write things like the window manager, drivers, etc... in your scripting language. Then apps can ask for resources and the manager script would handle the real I/O. | 2009-03-17 | 10:07 PM |
pharoah | Re:Spark v0.3: IdeaFor the multiple copy problem, a script can check to see if its identity is used. If it is, many times there will be no need to register a new one (IE for, say, a print spooler). If there is a need maybe the script could add a number to its identity to make it unique. | 2009-03-17 | 10:37 PM |
aguma | Re:Spark v0.3: Ideawell yes i thought of that, but then how does the receiving program know which one of the id's the program has?
also, about coding everything in the scripting language: that would be cool, but for right now, it's waaaaay too hard. lol :P | 2009-03-17 | 10:42 PM |
ksr | Re:Spark v0.3: IdeaWhat sort of things would the value passing be used for? Apart from maybe dialogs like file selectors, etc. | 2009-03-18 | 12:33 PM |
aguma | Re:Spark v0.3: Ideawell actually I just used it for 'libraries' a.k.a. including scripts into other scripts so you can use the functions that are in them | 2009-03-18 | 7:12 PM |
GUIs
2021 Brandon Cornell