Search found 175 matches

by brutus_skywalker
23 Apr 2018, 03:20
Forum: Ask for Help (v1)
Topic: Is there a Minify/Uglify equivalent for ahk?
Replies: 7
Views: 1592

Is there a Minify/Uglify equivalent for ahk?

I'm playing around with java script, and i simply love minifying code,it of course serves a practical purpose,i.e speed- in js, but i was wondering out of simple curiosity if one exists for ahk, FYI i scoured the forums before asking, plenty of obfuscation methods, but none regarding minifying, the ...
by brutus_skywalker
07 Apr 2018, 08:27
Forum: Scripts and Functions (v1)
Topic: Automatically Restore Last Window Position For Each Process
Replies: 51
Views: 37191

Re: Automatically Restore Last Window Position For Each Process

@mankvl It does a basic absolute string matching of active title in title_filter list, so title does need to be complete title,you can use Active Window Info utility. And i Highly recommend ESPECIALLY if you don't use Windows Universal Platform Apps in windows 10, that you switch to my -v2 rewrite ...
by brutus_skywalker
31 Mar 2018, 13:39
Forum: Scripts and Functions (v1)
Topic: Automatically Restore Last Window Position For Each Process
Replies: 51
Views: 37191

Re: Automatically Restore Last Window Position For Each Process

Emacs tends to open quite slowly, and usually sets its initial window size after it is fully loaded. That means that v2 immediately moves/resizes Emacs window to its last known position (perfectly sensible) immediately upon Emacs launch, but then Emacs finishes loading and resizes its window to wha...
by brutus_skywalker
30 Mar 2018, 15:52
Forum: Scripts and Functions (v1)
Topic: Automatically Restore Last Window Position For Each Process
Replies: 51
Views: 37191

Re: Automatically Restore Last Window Position For Each Process

Playing a bit more with v2, noticed that if I resize-reposition mintty.exe window in the main monitor, the position is remembered/restored. If I move mintty.exe to the secondary, then close and re-open, it opens up in the last position for the main monitor. Is this expected? EDIT: i updated -v2- po...
by brutus_skywalker
30 Mar 2018, 10:58
Forum: Scripts and Functions (v1)
Topic: Automatically Restore Last Window Position For Each Process
Replies: 51
Views: 37191

Re: Automatically Restore Last Window Position For Each Process

So the -v2- rewrite does work, i disable tray icon as it's a preference of mine,given i run 50+ scripts on my system, i use https://autohotkey.com/board/topic/26153-ahkcontrol/ to manage my scripts,i've commented it out though,if it's important apparently. Unlike the OP script, -v2- only manages pro...
by brutus_skywalker
29 Mar 2018, 23:59
Forum: Scripts and Functions (v1)
Topic: Automatically Restore Last Window Position For Each Process
Replies: 51
Views: 37191

Re: Automatically Restore Last Window Position For Each Process

Hello, Thx for your code, but "AutomaticWindowManager-v2-" works not as good than previous scripts... Explorer.exe,taskmgr.exe,ApplicationFrameHost.exe (OneNote, Skype, Mail etc.) don't work. notepad.exe behaviour is strange... file.ahk doesen't work :error paramter #2 invalid Fixed file.ahk, it wa...
by brutus_skywalker
29 Mar 2018, 12:31
Forum: Scripts and Functions (v1)
Topic: Automatically Restore Last Window Position For Each Process
Replies: 51
Views: 37191

Re: Automatically Restore Last Window Position For Each Process

Rewrote my version of the OP, it took more code than the 50 lines i was hoping for the rewrite, and even ended up being more than the original code, to make it easier to maintain, more efficient & easier to modify for anyone who wants to modify to their whims. It now uses ProcessName,ClassName,Windo...
by brutus_skywalker
27 Mar 2018, 07:40
Forum: Scripts and Functions (v1)
Topic: Automatically Restore Last Window Position For Each Process
Replies: 51
Views: 37191

Re: Automatically Restore Last Window Position For Each Process

Hi, Same issue with taskmgr.exe et explorer.exe. OneNote, Windows mail doesn't work anymore. Yeah, my code got really tangled, with the original authors code,so i've decided to rewrite the concept with the simplicity that it implicitly should have,so i'll post it here when i have time, i reckon i c...
by brutus_skywalker
27 Mar 2018, 03:13
Forum: Gaming Scripts (v1)
Topic: [Library] MouseDelta - See mouse input the way games see it. (Use for mouse axis->key or joystick)
Replies: 105
Views: 112430

Re: [Library] MouseDelta - See mouse input the way games see it. (Use for mouse axis->key or joystick)

Someone asked for a mouse recorder in the ask for help section, so I tried to make a simple one. My idea was, to save the delta info, eg, dx,dy , and then playback is simply MouseMove,dx,dy,0,R . I realised quite quickly, that if you have any mouse acceleration or sensitivity settings on the mouse,...
by brutus_skywalker
26 Mar 2018, 06:27
Forum: Scripts and Functions (v1)
Topic: Automatically Restore Last Window Position For Each Process
Replies: 51
Views: 37191

Re: Automatically Restore Last Window Position For Each Process

ovnis wrote:Hello Brutus,

Thx for your script, but there are problems.

There are issues with Taskmgr.exe and explorer.exe. Windows don't appear at the right place.
Edit: Fixed version on next post.
by brutus_skywalker
23 Mar 2018, 07:33
Forum: Scripts and Functions (v1)
Topic: Network monitor with history graph, total usage
Replies: 11
Views: 7116

Re: Network monitor with history graph, total usage

@brutus_skywalker Even with VPN the external IP check should work. But the multiple networks may be the problem. When you have LAN and WiFi on Windows it's hard to know which one the OS will choose. I would try to restart XNET on change of network (refresh manually). Maybe it will work. Net= Net :=...
by brutus_skywalker
21 Mar 2018, 22:28
Forum: Scripts and Functions (v1)
Topic: Network monitor with history graph, total usage
Replies: 11
Views: 7116

Re: Network monitor with history graph, total usage

I've noticed two bugs, one is on the stats where the script doesn't recognize changes in days especially if you close it & run it again another day it's 'current download' stats will be the same as from the day it was closed and it will resume in that manner, . "Today" means here: since last shutdo...
by brutus_skywalker
21 Mar 2018, 01:06
Forum: Scripts and Functions (v1)
Topic: Network monitor with history graph, total usage
Replies: 11
Views: 7116

Re: Network monitor with history graph, total usage

I've noticed two bugs, one is on the stats where the script doesn't recognize changes in days especially if you close it & run it again another day it's 'current download' stats will be the same as from the day it was closed and it will resume in that manner,i patched mine by resetting 'current down...
by brutus_skywalker
17 Mar 2018, 00:01
Forum: Scripts and Functions (v1)
Topic: Network monitor with history graph, total usage
Replies: 11
Views: 7116

Re: Network monitor with history graph, total usage

Just Freaking Awesome dude, along with CPU monitor,no more rainmeter widgets for me... :bravo:
by brutus_skywalker
16 Mar 2018, 23:15
Forum: Scripts and Functions (v1)
Topic: PotPlayer x64 Function Library
Replies: 29
Views: 13041

Re: PotPlayer x64 Function Library

Unfortunately VLC doesn't respond to SendMessage commands. I made a HTTP interface library for VLC a few years ago, as user Specter333, but I can't get it to work with the latest version. If yours is working can you post it? Mines' a tad obsolete as well,the old http interface was more or less plai...
by brutus_skywalker
16 Mar 2018, 22:47
Forum: Scripts and Functions (v1)
Topic: Automatically Restore Last Window Position For Each Process
Replies: 51
Views: 37191

Re: Automatically Restore Last Window Position For Each Process

I was trying to "uninstall" this ahk script, and have followed @gallaxhar's instructions (run main script with RegistryDelete.ahk colocated) multiple times and every time I reboot it (something) was still trying to run the AutomaticWindowManager.ahk script. I simply moved the script, and then found...
by brutus_skywalker
12 Mar 2018, 13:36
Forum: Scripts and Functions (v1)
Topic: PotPlayer x64 Function Library
Replies: 29
Views: 13041

Re: PotPlayer x64 Function Library

But i think every thing here can be sent by using media keys, if there was rewind,fast forward,etc... that would be useful but as it is i prefer to use mediakeys,they work with any media player(for the most part)...\ The media keys won't work if the player doesn't have focus, which is why I prefer ...
by brutus_skywalker
10 Mar 2018, 14:51
Forum: Scripts and Functions (v1)
Topic: PingPong game
Replies: 16
Views: 5474

Re: PingPong game

F*$1N AWESOME!! :bravo:

AND WITH SUCH LITTLE CODE!!!DUDE!!!

Go to advanced search