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
Freelancer
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   >   >>


EE Life
Frankenstein's Fix, Teardowns, Sideshows, Design Contests, Reader Content & More
Glen Chenier

Engineers Solve Analog/Digital Problem, Invent Creative Expletives
Glen Chenier
Post a comment
An analog engineer and a digital engineer join forces, use their respective skills, and pull a few bunnies out of a hat to troubleshoot a system with which they are completely unfamiliar. ...

Max Maxfield

What's the Best Traveling Toolkit?
Max Maxfield
13 comments
A few years ago at a family Christmas party, I won a pocket knife as part of a "Dirty Santa" game. This little scamp was a Buck 730 X-Tract. In addition to an incredibly strong and sharp ...

Rishabh N. Mahajani, High School Senior and Future Engineer

Future Engineers: Don’t 'Trip Up' on Your College Road Trip
Rishabh N. Mahajani, High School Senior and Future Engineer
10 comments
A future engineer shares his impressions of a recent tour of top schools and offers advice on making the most of the time-honored tradition of the college road trip.

Larry Desjardin

Engineers Should Study Finance: 5 Reasons Why
Larry Desjardin
41 comments
I'm a big proponent of engineers learning financial basics. Why? Because engineers are making decisions all the time, in multiple ways. Having a good financial understanding guides these ...

Top Comments of the Week
Flash Poll
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)