Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
Gilad Barnea
5 discussion posts
Hi!
Just discovered DisplayFusionCommand.
If I understood correctly, currently the available commands are only global in nature (i.e. close all windows, wallpapers stuff etc).

I feel like there's a huge unrealized potential though; targeting a function to a specific window, or at the very least, to the last window used. This is because running -hotkeyrun Maximize Window, maximizes my cmd window.

I'll explain why I think that would upgrade the CMD functionality tremendously:
1. My main use of DF is for running functions on windows. Move around screen, always on top, transparency etc. This is impossible with DF Command.

2. I would have loved to remember all the hotkeys for all the functions that I like, but my memory isn't good enough. A perfect solution would be being able to just run functions through the terminal, i.e.

Code

DisplayFusionCommand.exe -hotkeyrun "Maximize Window"

maximizes last window used

Code

DisplayFusionCommand.exe -hotkeyrun "MoveLeftBottom"

moves last window to the bottom left corner of screen

etc.

3. An additional, very simple script could simplify things even further - accepting flags and arguments. Imagine the following:

Code

dfc move=leftbottom

self explanatory

Code

dfc size=80

size is a function that gets an int argument, and changes the size of the last used window to 80% of what it had been

Code

dfc size=80 "Notepad"

same as above, but for the first window whose title includes "Notepad"

Code

dfc move=(25,25,25,25) "Notepad"

moves the first 4 "Notepad" windows each to a different corner of the screen

Code

dfc alwaysontop MyCustomizedScript

can call several independent functions

There's a hacky solution that I could build in the meanwhile, if only I knew how to write a BFS script that gets the last window used :D If someone could direct me, that would be great and I'd upload my solution within the following days.
That would include an exe that handles cmd args, wraps them nicely so BFS API could understand them, and sends things to DisplayFusionCommand.exe -hotkeyrun % varies based on args %.

To clarify what I need: something that simulates Alt+Tab (focus last window).

Thanks a lot!
Gilad

/edit
I uploaded a completely fake GIF that shows how the end result could look :)
There's a .mp4 if the GIF doesn't work for some reason.
• Attachment: df.gif [1,537,866 bytes]
df.gif
df.gif
• Attachment: df.mp4 [1,006,644 bytes]
May 10, 2018 (modified May 10, 2018)  • #1
User Image
Gilad Barnea
5 discussion posts
Looks like it fell through the cracks :)
May 15, 2018 (modified May 15, 2018)  • #2
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Nope! Was just waiting for one of our devs to do up an example script. If you go to Functions > Download Scripted, you can grab the "Get Last Focused Window" script. That should get the window that last had focus :)

At the moment we're not likely to make too many changes to DisplayFusionCommand but I have added your requests to our list for consideration in the future.

Thanks!
May 15, 2018  • #3
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)