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


Flash Poll
EE Life
Frankenstein's Fix, Teardowns, Sideshows, Design Contests, Reader Content & More
Max Maxfield

MSGEQ7-Based DIY Audio Spectrum Analyzer: Testing
Max Maxfield
13 comments
In my previous column on this topic, we discussed the step-by-step construction of the first pass at a MSGEQ7-based DIY audio spectrum analyzer for use in my BADASS Display project. Of ...

Karen Field

June 2014 Cartoon Caption Winner
Karen Field
13 comments
Congratulations to "Wnderer" for submitting the winning caption for our June cartoon, after much heated conversation by our judges, given the plethora of great entries.

Jeremy Cook

Inspection Rejection: Why More Is Less in a Vision System
Jeremy Cook
3 comments
Albert Einstein has been quoted as saying, "Everything should be as simple as possible, but not simpler." I would never claim to have his level of insight -- or such an awesome head of ...

Jeremy Cook

Machine Fixes That Made Me Go 'DUH!'
Jeremy Cook
21 comments
As you can see in my bio at the end of this article, I work as a manufacturing engineer. One of my favorite things that happens on a Friday late in the afternoon is to hear my phone ring ...

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)