Search found 27 matches

by AntoineBK
06 Jul 2023, 15:54
Forum: Ask for Help (v1)
Topic: AHK Workspaces - Window Management Script by Maestrith
Replies: 18
Views: 10543

Re: AHK Workspaces - Window Management Script by Maestrith

ip32523 wrote:
05 Jul 2023, 20:23
Thank you very much!!
You're welcome ! I use it everyday, it's so useful ! Also, this script to swap all windows between monitors, very useful : viewtopic.php?f=76&t=109556&p=487156#p487156
by AntoineBK
05 Jul 2023, 06:13
Forum: Ask for Help (v1)
Topic: AHK Workspaces - Window Management Script by Maestrith
Replies: 18
Views: 10543

Re: AHK Workspaces - Window Management Script by Maestrith

Hello, Please find below the modified script. It should include modifications 1 to 6. #SingleInstance,Force global settings:=new xml("settings") global toMaximize if(FileExist("workspaces.ico")) Menu,Tray,Icon,Workspaces.ico Gui() return show: WinShow,% hwnd([1]) return capture(){ static node Gui,1:...
by AntoineBK
19 Oct 2022, 08:21
Forum: Ask for Help (v1)
Topic: AHK Workspaces - Window Management Script by Maestrith
Replies: 18
Views: 10543

Re: AHK Workspaces - Window Management Script by Maestrith

6th modification to the original script This is for people who use this script with dual monitor (or more) setup. On Windows 11 (at least), if you have a workspace with a fullscreen app on monitor 1 and move this app to the monitor 2 in fullscreen (either manually, or using a AHK script to swap mon...
by AntoineBK
19 Oct 2022, 08:02
Forum: Ask for Help (v1)
Topic: Swap all Windows between Monitors - Windows 10 Bug
Replies: 5
Views: 1745

Re: Swap all Windows between Monitors - Windows 10 Bug

I could not use this script on Windows 11 : It fails to swap some windows only when they are maximized (no problem for windows that are not fullscreen). For example, it does not work with Adobe Acrobat, notepad, Firefox, file explorer when they are maximized. It works fine with a lot of other softwa...
by AntoineBK
18 Oct 2022, 16:40
Forum: Ask for Help (v1)
Topic: AHK Workspaces - Window Management Script by Maestrith
Replies: 18
Views: 10543

Re: AHK Workspaces - Window Management Script by Maestrith

5th modification to the original script : This modification allows to use "Update Open Windows Positions" or "Alt + U" shortcut to update the position&size of windows that are maximized. Currently, the only way to update the position&size of maximized windows is to click on "Position" (just under "...
by AntoineBK
18 Oct 2022, 12:51
Forum: Ask for Help (v1)
Topic: AHK Workspaces - Window Management Script by Maestrith
Replies: 18
Views: 10543

Re: AHK Workspaces - Window Management Script by Maestrith

@capeably Just tried to launch the script on Windows 11 : it works almost fine except that it can't minimize windows that are maximized !

Currently investigating, will report progress.
by AntoineBK
18 Oct 2022, 11:28
Forum: Ask for Help (v1)
Topic: Swap windows between monitors - Windows 11 bug [Workaround found]
Replies: 2
Views: 1006

Re: Swap windows between monitors - Windows 11 bug

Ok, I found a *dirty* workaround, but it works fine. If a window is maximized, I just do the following : WinRestore > WinMove > WinMaximize (instead of only WinMove which does not work properly sometimes) :angel: At the beginning of the script (after line 8 for example), declare : global isMin And a...
by AntoineBK
18 Oct 2022, 09:47
Forum: Ask for Help (v1)
Topic: Swap windows between monitors - Windows 11 bug [Workaround found]
Replies: 2
Views: 1006

Swap windows between monitors - Windows 11 bug [Workaround found]

I am using the following script (and see below) to swap windows between 2 monitors. It worked fine on Windows 10, but I can't make it work properly on Windows 11. I think the problem comes from the WinMove function (last line of script) : It fails to swap some windows only when they are maximized (n...
by AntoineBK
17 Feb 2022, 14:59
Forum: Ask for Help (v1)
Topic: AHK Workspaces - Window Management Script by Maestrith
Replies: 18
Views: 10543

Re: AHK Workspaces - Window Management Script by Maestrith

4th modification to the original script :

4) If you want to be able to add apps that are fullscreen (using "Add windows to selected workspaces" option), change line 25 of the script from :

Code: Select all

if(max!=0||title="")
to :

Code: Select all

if(max=-1||title="")
Otherwise, fullscreen apps are not listed.

;)
by AntoineBK
16 Feb 2022, 21:03
Forum: Ask for Help (v1)
Topic: AHK Workspaces - Window Management Script by Maestrith
Replies: 18
Views: 10543

Re: AHK Workspaces - Window Management Script by Maestrith

Thanks for the suggestion BoBo ! I'm not using ChromeOS, but I will keep this in mind ;) Modifications n°1, 2 and 3 to the original script : 1) To hide GUI on startup, replace line 175 of the script : Gui,Show,,Workspace %version% by : Gui,Show,Hide,Workspace %version% Not sure if it is the proper w...
by AntoineBK
16 Feb 2022, 19:06
Forum: Ask for Help (v1)
Topic: Problem with path and accent Topic is solved
Replies: 23
Views: 1651

Re: Problem with path and accent Topic is solved

Should probably be mentioned/commented within the code?!
@BoBo : Mmm unfortunately, unless I've missed it, I don't think so :/
by AntoineBK
16 Feb 2022, 19:05
Forum: Ask for Help (v1)
Topic: Problem with path and accent Topic is solved
Replies: 23
Views: 1651

Re: Problem with path and accent Topic is solved

Hurray ! :bravo: :superhappy:

Thanks a lot for your help and patience @BoBo and @gregster !

There is another occurence of "UTF-8" in the code, so I suppose I should replace it too by "UTF-16".
by AntoineBK
16 Feb 2022, 18:52
Forum: Ask for Help (v1)
Topic: Problem with path and accent Topic is solved
Replies: 23
Views: 1651

Re: Problem with path and accent Topic is solved

BoBo , gregster : I think I've identified the problem. The path goes through UriDecode function : UriDecode(Uri) { Pos := 1 While Pos := RegExMatch(Uri, "i)(%[\da-f]{2})+", Code, Pos) { VarSetCapacity(Var, StrLen(Code) // 3, 0), Code := SubStr(Code,2) Loop, Parse, Code, `% NumPut("0x" A_LoopField, ...
by AntoineBK
16 Feb 2022, 18:15
Forum: Ask for Help (v1)
Topic: Problem with path and accent Topic is solved
Replies: 23
Views: 1651

Re: Problem with path and accent Topic is solved

@BoBo : Oh no, I've simply replaced my name with a placeholder !
by AntoineBK
16 Feb 2022, 18:13
Forum: Ask for Help (v1)
Topic: Problem with path and accent Topic is solved
Replies: 23
Views: 1651

Re: Problem with path and accent Topic is solved

BoBo , gregster : Oh ! So the script saves data in a settings.xml, and mine had an encoding problem. Still wondering why the path is not saved correctly in the xml file ? <?xml version="1.0"?> <settings> <Settings name="Settings" expand="1"> <setting name="Hide/Show GUI" hotkey="+^o"></setting> <se...
by AntoineBK
16 Feb 2022, 18:00
Forum: Ask for Help (v1)
Topic: Problem with path and accent Topic is solved
Replies: 23
Views: 1651

Re: Problem with path and accent Topic is solved

@gregster : The script I use is the workspace manager script made by @maestrith. Please find the link below :

viewtopic.php?t=17228
by AntoineBK
16 Feb 2022, 17:53
Forum: Ask for Help (v1)
Topic: Problem with path and accent Topic is solved
Replies: 23
Views: 1651

Re: Problem with path and accent Topic is solved

@gregster : Same problem after having saved the script as UTF-8 with BOM (in Sublime Text). Since the accent is not in the script, I'm not sure if it changed something ?
by AntoineBK
16 Feb 2022, 17:52
Forum: Ask for Help (v1)
Topic: Problem with path and accent Topic is solved
Replies: 23
Views: 1651

Re: Problem with path and accent Topic is solved

@gregster : I have to check this, but the accent is not in the script : the path is obtained with

Code: Select all

getvalue
(see in the code snippet I posted).
by AntoineBK
16 Feb 2022, 17:50
Forum: Ask for Help (v1)
Topic: Problem with path and accent Topic is solved
Replies: 23
Views: 1651

Re: Problem with path and accent Topic is solved

@BoBo Here is the error code I get :
image.png
image.png (28.97 KiB) Viewed 1248 times
by AntoineBK
16 Feb 2022, 17:23
Forum: Ask for Help (v1)
Topic: Problem with path and accent Topic is solved
Replies: 23
Views: 1651

Re: Problem with path and accent Topic is solved

Hi BoBo , thanks for your reply ! Here is the path that leads to a problem : C:\Users\Name\Desktop\démarrage off And please find here more context : Restore(windows,minimized,skipwait:=0){ while,ww:=windows.item[windows.length-(A_Index)],ea:=xml.ea(ww){ if(minimized){ if (WinExist(ea.title)=0){ if !...

Go to advanced search