Design Con 2015
Breaking News
Comments
Newest First | Oldest First | Threaded View
<<   <   Page 3 / 4   >   >>
Max The Magnificent
User Rank
Blogger
Re: Batch files
Max The Magnificent   6/4/2014 5:18:37 PM
NO RATINGS
@MeasurementBlues: ...and you will share this discovery with us, right?

I was going to say "what's it worth to you?" But then I remembered that you introduced me to the delights of the knish, so I owe you one :-)

Once I've got it sorted out, I'll post a follow-up blog explaining all.

MeasurementBlues
User Rank
Blogger
Re: Batch files
MeasurementBlues   6/4/2014 5:10:37 PM
NO RATINGS
@Max, and you will share this discovery with us, right?

Max The Magnificent
User Rank
Blogger
Re: Not a problem
Max The Magnificent   6/4/2014 4:16:19 PM
NO RATINGS
@perl_geek: Too bad you don't use Linux. When I log in, the set up, (on all 4 desktops), is exactly the same as it was when it shut down. That's standard behaviour.

Why do I get the impression you really wanted to finish up by saying "Nah Nah na Nah-naa!" LOL

perl_geek
User Rank
CEO
Not a problem
perl_geek   6/4/2014 3:46:07 PM
NO RATINGS
Too bad you don't use Linux. When I log in, the set up, (on all 4 desktops), is exactly the same as it was when it shut down. That's standard behaviour.

Max The Magnificent
User Rank
Blogger
Re: rap.exe disappeared
Max The Magnificent   6/4/2014 12:48:45 PM
NO RATINGS
@DU00000001: Having less than full auto is never a problem...

I fear I'm growing to be a bit of a fuddy-duddy -- not the least that I don't trust computers (even though I started designing them in 1980 LOL). On the one hand I want the convenience of a "double-click" to configure my desktop -- on the other hand I want to be the one who initiates things -- maybe I just have a lust for power LOL

DU00000001
User Rank
CEO
Re: rap.exe disappeared
DU00000001   6/4/2014 12:44:31 PM
NO RATINGS
@Max:

Having less than full auto is never a problem ...

On the other hand you might be able to find out when synching has finished - delaying the automatic start a bit. I do not have a tool readily available but it should be doable.

Max The Magnificent
User Rank
Blogger
Re: Batch files
Max The Magnificent   6/4/2014 12:38:43 PM
NO RATINGS
@Wnderer: Try NirCMD...

Cool Beans -- thanks for the suggestion

Wnderer
User Rank
CEO
Re: Batch files
Wnderer   6/4/2014 12:23:11 PM
NO RATINGS
Try NirCMD

http://www.nirsoft.net/utils/nircmd.html

Here's an example of using it to set the location of window.

http://stackoverflow.com/questions/10392620/how-can-a-batch-file-run-a-program-and-set-the-position-and-size-of-the-window/


I've called nircmd from a Python program to turn on and off monitors , but I haven't used it to set the location of a window.

Good Luck

Max The Magnificent
User Rank
Blogger
Re: rap.exe disappeared
Max The Magnificent   6/4/2014 12:21:56 PM
NO RATINGS
@DU0000001: ...whatever is in the autostart folder will be launched during startup...

Actually, I don't want that -- I do a lot of work at home and a lot of work "on the road" -- so the first thing that happens when I boot up a machine is that it syncs itself to DropBox. This means that I want to wait for the DropBox sync to complete before I launch my script to open all the windows so as to ensure I'm looking at/editing the most recent version of the files. 

DU00000001
User Rank
CEO
rap.exe disappeared
DU00000001   6/4/2014 11:13:28 AM
NO RATINGS
@ Max: "But that would just open the files -- not place everything where I want stuff on the screens (sad face)..."


I tried to locate rap.exe but could not find it either. An additional research revealed a tool called autosizer(.exe) that might do the trick (though it seems to know even more tricks).

As for the automatic starting: in former times (DOS x.yy) we had autoexec.bat. Now (Windoof xyz) you might remember we've got the start menu hierarchy instead - including the autostart folder. (Currently tried to locate the resp. folders on my Win 7 computer and failed. I hate these constant changes !!)

Anyway, whatever is in the autostart folder will be launched during startup. Requiring the associated files to be opened you might wish to have the beforementioned batch file with entries like:
...
cd \MyDocuments\Excel-Files
Excel "this_file.xls"
cd \MyDocuments\Notes
notepad open_issues.txt
notepad documents.txt
...
And so on.

As little as I've learned about autosizer it might be the first tool to be launched to control the window sizes and positions of the applöications launched subsequently.

What I'm not absolutely sure about is whether window sizes/ positions can only be stored as 'per application' (might require to create copies of notepad) or whether they can be associated to files opened. Some research left :)

Good luck

<<   <   Page 3 / 4   >   >>


Flash Poll
Top Comments of the Week
Like Us on Facebook
EE Times on Twitter
EE Times Twitter Feed

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
EE Life
Frankenstein's Fix, Teardowns, Sideshows, Design Contests, Reader Content & More
Max Maxfield

Book Review: Deadly Odds by Allen Wyler
Max Maxfield
11 comments
Generally speaking, when it comes to settling down with a good book, I tend to gravitate towards science fiction and science fantasy. Having said this, I do spend a lot of time reading ...

Martin Rowe

No 2014 Punkin Chunkin, What Will You Do?
Martin Rowe
1 Comment
American Thanksgiving is next week, and while some people watch (American) football all day, the real competition on TV has become Punkin Chunkin. But there will be no Punkin Chunkin on TV ...

Rich Quinnell

Making the Grade in Industrial Design
Rich Quinnell
14 comments
As every developer knows, there are the paper specifications for a product design, and then there are the real requirements. The paper specs are dry, bland, and rigidly numeric, making ...

Martin Rowe

Book Review: Controlling Radiated Emissions by Design
Martin Rowe
1 Comment
Controlling Radiated Emissions by Design, Third Edition, by Michel Mardiguian. Contributions by Donald L. Sweeney and Roger Swanberg. List price: $89.99 (e-book), $119 (hardcover).