Jump to content

User talk:Neo: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 218: Line 218:
----
----
Neo, is it possible to make OniSplit say something to the user if they double-click the app, that is, run it without sending it any commands?  In other words, right now, the console window just flashes onscreen for a moment if they do that. Could you insert a pause, and display a message about how they need to run it by sending it a command? Maybe it doesn't close the window until they press a key. Just a suggestion. I know that we should probably also be clearer about it in places like [[OniSplit]], but it seems like, if this is doable, it probably would only take a minute to code, and it will save users from having to ask this question every couple weeks on the forum :-) --[[User:Iritscen|Iritscen]] 16:10, 21 December 2008 (CET)
Neo, is it possible to make OniSplit say something to the user if they double-click the app, that is, run it without sending it any commands?  In other words, right now, the console window just flashes onscreen for a moment if they do that. Could you insert a pause, and display a message about how they need to run it by sending it a command? Maybe it doesn't close the window until they press a key. Just a suggestion. I know that we should probably also be clearer about it in places like [[OniSplit]], but it seems like, if this is doable, it probably would only take a minute to code, and it will save users from having to ask this question every couple weeks on the forum :-) --[[User:Iritscen|Iritscen]] 16:10, 21 December 2008 (CET)
:For some reason, that idea inspired me so I wrote some test code. http://rossy.oni2.net/files/ConsoleTest.zip :D When it recieves no arguments, the test program checks if it has been run from a console window, if not it creates its own cmd.exe and runs itself. I don't know what would happen on MacOSX, but i think the Process.Start call will fail and cause the program to display a message box instead.


----
----
98

edits