Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
TehnoPoint Webpage
10 discussion posts
Hi everyone,

I used to use Winsplit Revolution, now on win 8 im thinking of switching to DisplayFusion.
What i would like to is be able to cycle trough specified window sizes and positions using one hotkey.

For example when i click CTRL+SHIFT+L i want it to cycle trough 70% and 50% window size and stick to left and CTRL+SHIFT+R
to cycle trough 50% and 30%.

Im sure it can easily be done even without the help of autohotkey.
Any help?

Also where can i find API documentation for writing plugins?

Thx for making great software.
Nov 13, 2014  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
There isn't any browseable documentation at the moment, but if you type "BFS." you'll get an Intellisense type box with the available namespaces. You can click each one to get a tooltip, and after typing a name space, the Intellisense box will switch to all of the functions available in that namespace, which also have tooltips that show the syntax and examples.

We should be able to write a script that does this for you. I'll put it on our list and let you know when it's available to try out :)

Thanks!
Nov 14, 2014  • #2
User Image
TehnoPoint Webpage
10 discussion posts
That would be great,

When u upload script please update this post also.

Thank you Keith
Nov 14, 2014  • #3
User Image
TehnoPoint Webpage
10 discussion posts
Also from TopDesk i used option to "hide visible windows".
Is there a way to recreate that with DF?

Minimize visible windows (show desktop)
Interact with desktop (eg. Open folder)
Restore minimized windows.

http://www.otakusoftware.com/images/topdesk/see/video_hidevisiblewindows.gif

thx.
Nov 18, 2014  • #4
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Will do! We should have that script ready for the next beta. I believe we need to add a couple of things to the scripting functions to make it work correctly.

Regarding the hiding of active windows, Windows has that built in. You can just hit Win + D to hide them, and when you want to restore them, press Win + D again. Does that not work for your usage case?
Nov 18, 2014  • #5
User Image
TehnoPoint Webpage
10 discussion posts
U think i know about displayfusion, topdesk, autohotkey and Winsplit but dont know about simple windows shortcuts? :P
Try this simple thing - Hide all Windows, Open folder and try to restore all Windows... after that install TopDesk and try its "hide all windows" function...
Not the same.

What u need to add? I think that if u have C# script supported u should be able to do it.
When is next beta planned?

thx.
Nov 26, 2014  • #6
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Sorry about that! I totally missed the GIF that you linked to in your previous post. Just to see if I'm understanding that functionality correctly, it does this?
  • Minimizes or moves all windows off the screen so that the desktop is visible
  • After you double-click a desktop icon, it restores all the windows, and puts the newly launched window in front of the other ones
Nov 27, 2014  • #7
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Also, for your original script request, I have a follow-up question. When you say you want it to "stick to left," you mean you want it to be at the left edge of the monitor? If that's true, do you want both the width and the height of the window to cycle between 50 and 70%, or just the width?
Nov 27, 2014  • #8
User Image
TehnoPoint Webpage
10 discussion posts
Keith, did u tired installing TopDesk? ;)
"hide all windows" shortcut Is a great little function that would nicely improve displayFusion...

It does this -
1- Press Shortcut - Show Desktop (hide windows)
2. Interact with desktop how u want
3. Press Shortcut - Show windows that where previously hidden

Closest that i can come with shortcuts is - Win + Home , Win + Shift + M ... i usually have one little always visible window that i never hide but that is not important now...

There is option in DF - allow displayfusion to help minimize all windows when win + m is pressed... but im not sure what it does...

---

As for original request, yes left edge of monitor and change only width with one shortcut and with other shortcut right edge, full height and cycle trough different widths, and i hope i will be able to customize script :) its a simple autohotkey script, im sure it can easily be done in df also....

Thank you and have a nice day!
Nov 28, 2014  • #9
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, awesome. I'll let you know as soon as it's ready. And yes, you will be able to edit it via the DF script editor :)
Nov 28, 2014  • #10
User Image
TehnoPoint Webpage
10 discussion posts
So, whats up? :)

5 weeks and still not even an estimate when u plan to finish ;)

p.s. should i look for other solutions?
Dec 22, 2014  • #11
User Image
Collin Chaffin
69 discussion posts
Well holy crap Keith, the BFS. intellisense boy I wish I had found that before I coded all the native start process stuff! LOL

Is there now updated docs or an ETA on the available API calls for the macro/functions? Right now I'm digging through intellisense to find (has to be here) a call to get the DF install/execution path.
Collin Chaffin's profile on WallpaperFusion.com
Dec 22, 2014  • #12
User Image
Collin Chaffin
69 discussion posts
"its a simple autohotkey script". I code in autohotkey also, I'd love to see the "simple" script and did you write it, or did someone else? I am working on this myself and in about 15 min have it dropping a window to 70% snapping to left edge of window and vice versa for right but "storing" prior runs to know what "was" the 100% for the next hotkey to be 50%.....50% of what? If you're not storing the original 100% statically, how the heck will you know on the 3rd press where you started?

Instead of putting in a request and showing zero code after claiming this is simple in other languages and five weeks later literally bitching at the developer like this feature request that no one else requested is somehow owed to you, how about you help in the solution? Post your autohotkey code I'd love to see the simple code that remembers 10 min ago what the 100% window size was so the 2nd press 10 min later is now 50% of original size after the last press being 70%. If you show me that, I'd bet in another 15 min I can have this done for you but shy of writing to disk I'm not real clear on how else that can be accomplished!

5 weeks ago Keith gave you the same intellisense info I just saw, so if you write code and want to help this really should only take a few min and we can let Keith sleep for 10 min today. :)
Collin Chaffin's profile on WallpaperFusion.com
Dec 22, 2014  • #13
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Sorry for the delay. I've attached the script, could you test it out and let me know if it's what you're looking for? If it's good, I'll post it to the online repository :)
• Attachment: Hide and Restore All Windows.txt [3,204 bytes]
Dec 24, 2014  • #14
User Image
Collin Chaffin
69 discussion posts
Hey Keith,

That script is cool but as for the original request of "cycling" between 100%,70%,50% sizes and snapping either left or right, the requestor hasn't come back and suggested anything but I do see one reference to BFS.ScriptSettings.WriteValue and ReadValue. Would you agree to remember the last state (and 2 states ago) of a window that saving to disk via this call is about the only way to go about it?

Thanks!

Collin
Collin Chaffin's profile on WallpaperFusion.com
Dec 26, 2014  • #15
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Oh yeah, sorry. I've just posted up that script as well. It's in the repository, called "Cycle Through Window Sizes."

You're correct. To remember the previous window sizes, you'd need to use WriteValue and ReadValue :)
Dec 30, 2014  • #16
User Image
TehnoPoint Webpage
10 discussion posts
Hi,

Sorry for feeling that im "bitching" but i wanted to set up my new environment and was willing to pay for software that has this feature... i was told that it will be developed and only wanted more precise info when so i can decide if to wait or do it myself. In the meantime i was buried with other work and this feature was down prioritized.
Also DF has probably limited trial period and i dont want waste time on reinstall.

My solution was indeed simple and stupid and involved around checking and comparing window size. Old code is on old computer now far away from me. But smtg in the lines of

ResizeWinLeft()
{
WinGetPos,X,Y,W,H,A
{pseudocode}
If WinWidth cca 50 percent ScreenWidth
Width := 70 percent

2 more checks

If %Height% = 0
Height := A_ScreenHeight - 30

WinMove,A,,0,0,%Width%,%Height%
}

I didnt store anything for this feature. What i actually found hard to accomplish with autohotkey is "hide visible windows" cause then u would have to store position of every window.

I actually use Ctrl+MouseWheelLeft click and Ctrl+MouseWheelRight click for resizing. It seems very practical for me.

Keith thank you very much, i will test soon and get back to you.
Jan 8, 2015 (modified Jan 8, 2015)  • #17
User Image
TehnoPoint Webpage
10 discussion posts
Hm, it seems that even after re installing DF i cant get optionFunctions Download or Add scripted cause DF remembers, in i guess registry, that it was installed and that trial ended? Now i cant test it without buying licence?
Jan 8, 2015  • #18
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Sent you a new trial key via email, please let me know if you don't receive it shortly :)
Jan 8, 2015  • #19
User Image
TehnoPoint Webpage
10 discussion posts
Tested everything. Its almost perfect.
Script 1 - Minimaze and Restore
Sometimes some window gets stuck with "always on Top" property. Active window after restoring doesnt always restores as active. After excluding some windows (Win 8 search box etc.) it does what i want with only 2 little things that i mentioned.

Script 2 - Cycle trough window sizes
If some window was in full screen mode and i resize it with script, then after minimizing it is restored as full screen. Again some property is probably not removed.

Thank you
• Attachment: cycle resize.txt [1,803 bytes]
• Attachment: minimaize.txt [4,220 bytes]
Jan 14, 2015  • #20
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, we've fixed up the Cycle Through Window Sizes script. Updated copy is attached.

For the other script, we could make it focus a specific window. Which of the following would you want it to focus?
  • The window that was focused when the minimize was started
  • The window that was focused while everything was minimized
• Attachment: Cycle Through Window Sizes.txt [1,833 bytes]
Jan 20, 2015 (modified Jan 20, 2015)  • #21
User Image
TehnoPoint Webpage
10 discussion posts
This is great.
I would prefer :
"The window that was focused when the minimize was started"

but if u can give me both scripts it would be even better.

Im already satisfied with how it works, u have really more then deserved small licence fee and will promote your product and service further. Thx
Jan 21, 2015  • #22
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Sure thing! Both variations of the script are attached.
Jan 23, 2015  • #23
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)