Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

How to set the position of exe on desktop

For general discussion related FlowStone

How to set the position of exe on desktop

Postby jjs » Wed Apr 03, 2013 7:48 am

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.
User avatar
jjs
 
Posts: 142
Joined: Thu Jun 09, 2011 12:15 pm

Re: How to set the position of exe on desktop

Postby Nubeat7 » Wed Apr 03, 2013 9:39 am

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
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: How to set the position of exe on desktop

Postby jjs » Thu Apr 04, 2013 11:12 am

THX Nubeat , but thats not it.

Hopefully an answer or idea will come up with someone.

Thanks!
User avatar
jjs
 
Posts: 142
Joined: Thu Jun 09, 2011 12:15 pm

Re: How to set the position of exe on desktop

Postby billv » Thu Apr 04, 2013 12:03 pm

Registry.WIndow position parameter???
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: How to set the position of exe on desktop

Postby jjs » Thu Apr 04, 2013 5:58 pm

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.
User avatar
jjs
 
Posts: 142
Joined: Thu Jun 09, 2011 12:15 pm

Re: How to set the position of exe on desktop

Postby billv » Thu Apr 04, 2013 7:29 pm

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.
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: How to set the position of exe on desktop

Postby Jay » Fri Apr 05, 2013 8:44 am

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!

move running.rar
(688.28 KiB) Downloaded 1119 times


best regards
Jay
 
Posts: 276
Joined: Tue Jul 13, 2010 5:42 pm

Re: How to set the position of exe on desktop

Postby jjs » Fri Apr 05, 2013 11:45 am

Great Jay !

i will test asap and let you know if it works ok.

A BIG THANKS !
User avatar
jjs
 
Posts: 142
Joined: Thu Jun 09, 2011 12:15 pm

Re: How to set the position of exe on desktop

Postby Jay » Fri Apr 05, 2013 10:18 pm

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!
Jay
 
Posts: 276
Joined: Tue Jul 13, 2010 5:42 pm

Re: How to set the position of exe on desktop

Postby jjs » Sun Apr 07, 2013 12:41 pm

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 :)
User avatar
jjs
 
Posts: 142
Joined: Thu Jun 09, 2011 12:15 pm


Return to General

Who is online

Users browsing this forum: No registered users and 82 guests