17 Replies - 1594 Views - Last Post: 15 November 2012 - 09:04 PM
#1
Does anybody use the program name as a control
Posted 18 October 2012 - 02:53 PM
Just asking?
Replies To: Does anybody use the program name as a control
#2
Re: Does anybody use the program name as a control
Posted 18 October 2012 - 03:00 PM
This post has been edited by AdamSpeight2008: 18 October 2012 - 03:01 PM
#3
Re: Does anybody use the program name as a control
Posted 18 October 2012 - 03:13 PM
Make a Modes enum.
public enum modes
{
unknown = 0,
sequential = 1,
random = 2,
alphabetic = 3,
usercustom = 4
}
If you want to put the mode IN the form's caption/title as a form of feedback that's one thing - but not the other direction as a way of controlling the application.
#4
Re: Does anybody use the program name as a control
Posted 19 October 2012 - 06:19 AM
#5
Re: Does anybody use the program name as a control
Posted 19 October 2012 - 07:17 AM
#6
Re: Does anybody use the program name as a control
Posted 19 October 2012 - 07:33 AM
jon.kiparsky, on 19 October 2012 - 08:17 AM, said:
You're being sarcastic, right? You wouldn't really do this to CONTROL the application, would you? I mean you would put the text "print" in the titlebar then use that as the controlling event of the application to cause the program to string printing. You might start printing, and as a side affect display the status of "printing" in the titlebar. But the OP is saying that placing the commands/status such as "random" in the name of the application is how they are triggering behavior.
Quote
#7
Re: Does anybody use the program name as a control
Posted 19 October 2012 - 07:35 AM
Jon is what you call a swampy, spectate swamp is who swampies entertain the dribbling nonsense of, spectate swamp is... oh dear god... I have no words to describe the user. I only hope he is a troll, but even then after how ever many years he's been running this joke... that's dedication.
[edit]
I must say, this is all fun and games in the caffeine lounge. But we shouldn't be letting him metastasize to other more serious forums.
This post has been edited by lordofduct: 19 October 2012 - 07:37 AM
#8
Re: Does anybody use the program name as a control
Posted 19 October 2012 - 07:39 AM
tlhIn`toq, on 19 October 2012 - 09:33 AM, said:
jon.kiparsky, on 19 October 2012 - 08:17 AM, said:
You're being sarcastic, right? You wouldn't really do this to CONTROL the application, would you? I mean you would put the text "print" in the titlebar then use that as the controlling event of the application to cause the program to string printing. You might start printing, and as a side affect display the status of "printing" in the titlebar. But the OP is saying that placing the commands/status such as "random" in the name of the application is how they are triggering behavior.
Think about it logically. The name and the functionality should really be tightly bound right? You wouldn't want a program called "calculator" that maybe managed you shopping list - it would be confusing. So Swamp's got a point here - this should not only be allowed, it should be required.
ICANN could probably come up with a list of functionalities that programs might want to implement - "calculator", "spreadsheet", "browser", "music player", etc - and you would just look up the functionality that you wanted and build a name around it.
What could be simpler?
#9
Re: Does anybody use the program name as a control
Posted 19 October 2012 - 08:03 AM
#10
Re: Does anybody use the program name as a control
Posted 19 October 2012 - 01:04 PM
#11
Re: Does anybody use the program name as a control
Posted 20 October 2012 - 03:46 PM
randomseg.exe Plays random segments of the above catalog videos
randommix.exe Plays random video with large font text describing the action
catmydrivejpg.exe Does a catalog for jpg
All programs are the exact same code.
The list could go on and on.
I'm going to create one called addmynotes.exe that will immediately jump to the enter notes prompt to add to mynotes.txt.
lastpagemynotes.exe Will show the last entry to that file.
Just easy and quick for the end user.
Another will be findemailfriends.exe that will search mynotes.txt to find the people I email regularly, that have "emailfriends" in the line. Returning those email addresses to the clipboard one at a time.
Anything that I do on a regular basis will have it's own program and shortcut. How fast and simple that will be.
Yup Jon.KiparskySwamp you can definitely see what the others overlooked. Good Going.
This post has been edited by SpectateSwamp: 21 October 2012 - 06:44 AM
#12
Re: Does anybody use the program name as a control
Posted 23 October 2012 - 09:48 AM
Quote
alias word='vi'
#13
Re: Does anybody use the program name as a control
Posted 23 October 2012 - 10:13 AM
#14
Re: Does anybody use the program name as a control
Posted 23 October 2012 - 10:36 AM
And I far prefer a parameter based input.
myprogram -modetorunin
And the program definitely shouldn't do 12 unrelated things. If in mode1 it plays movies, and mode2 it sorts my e-mails... well that shouldn't be the same damn program!
[edit]
I hate you swamp, I hate that you got me to respond to this again.
Ughhhhhhh... ::eats cyanide pill::
...
damn it, it was just a tic-tac
This post has been edited by lordofduct: 23 October 2012 - 10:37 AM
#15
Re: Does anybody use the program name as a control
Posted 23 October 2012 - 10:42 AM
|
|

New Topic/Question
Reply


MultiQuote






|