Page 1 of 1
How to set the position of exe on desktop
Posted: Wed Apr 03, 2013 7:48 am
by jjs
Hi,
Maybe someone knows how to set the position of an exe on your desktop once it starts?
When i start a exe it always starts on the left upper side, but i want it to start on the right upper corner of my desktop.
Now i have to drag it every time.
Is it a windows setting?
Or can we use Ruby to force it to a certain position on the screen?
Anyone a clue?
Thanks.
Re: How to set the position of exe on desktop
Posted: Wed Apr 03, 2013 9:39 am
by Nubeat7
hmm there was a similarquestion a while ago with remember fullscreen on different monitors...
viewtopic.php?f=2&t=1086&p=3144&hilit=remember+window#p3149 looks like there is not really a way... maybe support can answer this
Re: How to set the position of exe on desktop
Posted: Thu Apr 04, 2013 11:12 am
by jjs
THX Nubeat , but thats not it.
Hopefully an answer or idea will come up with someone.
Thanks!
Re: How to set the position of exe on desktop
Posted: Thu Apr 04, 2013 12:03 pm
by billv
Registry.WIndow position parameter???
Re: How to set the position of exe on desktop
Posted: Thu Apr 04, 2013 5:58 pm
by jjs
billv wrote:Registry.WIndow position parameter???
That could be a solution, but not user friendly.
There should be a solution that you can set.
In some cases people want some screens on some positions.
And you can't ask them all to change the registry for that.
Also in some other cases people do not have the rights for that, but can run a non-installed executables like these.
Re: How to set the position of exe on desktop
Posted: Thu Apr 04, 2013 7:29 pm
by billv
jjs wrote:but not user friendly.
Yeh I know, the registry is the last place you want to go, but all i could think of.
If an answer dosn't turn up, maybe try e-mail support direct.
Re: How to set the position of exe on desktop
Posted: Fri Apr 05, 2013 8:44 am
by Jay
ok here is a little workaround for screen positioning of an exported exe or vst
inside the rar is an app called move.exe, a txt file called placement.dat and also a schematic called move.fsm
1st. open the schematic and you will see a module called "move application". paste it into the fist level of your exe/vst.
2nd. export your exe/vst to your required destination.
3rd. copy the move.exe and placement.dat into your exported exe/vst folder,
4th edit the placement dat as follows horizontal position, vertical position, export name (without the extension)
like this - 500
200
big synth
5th. run the exe or vst and it will reposition itself to your coordinates after load.
you can just keep editing the coords until you are happy with the positioning, its a bit rough and ready but i will work on it some more and see how i can improve on it!
best regards
Re: How to set the position of exe on desktop
Posted: Fri Apr 05, 2013 11:45 am
by jjs
Great Jay !
i will test asap and let you know if it works ok.
A BIG THANKS !
Re: How to set the position of exe on desktop
Posted: Fri Apr 05, 2013 10:18 pm
by Jay
No problem at all m8! im glad it is of use!
i will add in screen size/resolution detection and see if i can add an "open on second monitor" feature as well, there are a few other bits that can be implemented like, Run hidden, system tray access etc
will footer about with it some tomorrow!
Re: How to set the position of exe on desktop
Posted: Sun Apr 07, 2013 12:41 pm
by jjs
Hi Jay,
i've tested it, it works great!
now i searched a bit on the web it seems a claas curses is needed wich is not available in flowstone, if you want to do it from within ruby/FS, if i'm correct.
thanks!
until a internal solution is there, i will use your solution
