I have several things I always do together, and I’d like to know how to do it.
For example, when I log on to the net, I also always want to open several window. My calendar page, my email page, and the tv listings.
Remember batch files?
I could call multiple programs with one command with a batch file.
I’d do it that way again, but I can’t figure out how to make dos read the longer file names. Also how to just quit when done.
All you need to do is select the icon on your desktop, then right-click (or option-click) and choose “Open With Action…” from the pop-up contextual menu. Then…
You could write a batch file that opens all that stuff, then make a shortcut to it. Double-clicking the shortcut would run the batch file, which would open everything else.
What he wants to do is easy! All he has to do is select the icon on his desktop, open properties, and type in the commands seperated by ; . Oh, wait, he’s not using X windows? Well, no problem. Just add Linux for PowerPC to the Mac or Linux for x86 to the Windows or Linux for SPARC to Sun machine he’s using!
Gosh, good thing he’s not stuck using some inflexible OS that only runs on one platform…
Why, so he could have an overpriced ‘computer’ that doesn’t do what he needs? PC Users can BUILD their own computers.
I’ve never seen a Mac person say they BUILT their Macinslosh.
And what do I run on my PC OS??? Primarily LINUX. mwah
If all the jokers are through now, I can tell you how to do this.
Make three icons with the proper internet shortcuts.
Select all three with a “window.” You can do this by clicking and holding the left mouse button on a point to the top right of the three icons, then releasing the button at a point to the lower left of the icons.
The little titles below the icons should now be highlighted. Now, finally, strike the enter key on your keyboard. Voila, three open windows pointing to the proper URL.
Go explain to TubaDiva why you appear to have more than one screen name. Maybe you should do this first.
Or you can make a folder on the desktop. Drag the bookmarks from the broswer window of all the web sites you want to the open folder. Hold down CTRL & select those web sites you want to open at once & Viola! They open.
I didn’t know about this trick to using long file names in batch files. Thanks, sailor, for the info.
I was immediately inspired to do a startup batch file that opens a different directory depending on what day of the week it is (tv listings, actually). It works great!
To get the day of the week, I used a trick I saw in a book called “Voodoo Windows” or something like that, and it was credited to some other book.
Create a batch file with the output of the DATE command, like this: “echo.| date > curdat.bat”. Now CALL this batch file. It tries to execute the first line of the date output, which looks something like “Current date is Sat 10-21-00”. The trick is that prior to this, you created a batch file called “current.bat”. Therefore, when you execute the first line of the DATE output, “Current.bat” will be executed with the rest of the words in the line as parameters! You can now work with the current date or day of the week.
Also, since “Current.bat” is executed, not CALLed, control never returns to curdat.bat, and the second line of the date output (“Enter new date (mm-dd-yy):”) is never executed, avoiding any problems.
Yay, Windows can almost do a crippled cron.
My book on Perl devotes a few pages to writing Perl scripts headers that Windows is fooled into think are batch files with peculiar syntax so as to make your Perl executable.
Now that Windows has ActiveScript this isn’t really needed all that much, unless you’re one of the few sane people who have turned that off so as to eliminate Windows’ thoughtful automatic virus interpretation functionality.
oops. Yes, ActiveScript is actually the windows native scripting language which is what is interpreted by Windows Scripting Host which can also pipe output to other apps (like Perl).