Search found 1308 matches

by Capn Odin
31 Oct 2019, 14:51
Forum: Ask For Help
Topic: Force chrome.exe to start in Primary Monitor
Replies: 4
Views: 847

Re: Force chrome.exe to start in Primary Monitor

You can move it after it starts using WinMove
by Capn Odin
29 Oct 2019, 08:42
Forum: Ask For Help
Topic: Extract ZIP to RAM?
Replies: 71
Views: 7942

Re: Extract ZIP to RAM?

I guess you could extract it to a named pipe.
by Capn Odin
05 Oct 2019, 14:11
Forum: Ask For Help
Topic: Show a GDI+ image in a SplashImage Window ?
Replies: 3
Views: 603

Re: Show a GDI+ image in a SplashImage Window ?

Can't a bitmap handle just be used directly ?
by Capn Odin
27 Sep 2019, 13:18
Forum: Ask For Help
Topic: Duplicate hotkey error
Replies: 1
Views: 308

Re:

by Capn Odin
23 Sep 2019, 00:40
Forum: Ask For Help
Topic: Fetch FIlename and Path of Dragged File
Replies: 4
Views: 782

Re: Fetch FIlename and Path of Dragged File

If you are sharing the harddrive with other people you should encrypt the data you don't want them to know.

If you are not sharing it then can't you just restrict access to the computer ?
by Capn Odin
22 Sep 2019, 23:16
Forum: Ask For Help
Topic: Can Windows or the active program tell the difference between AHK and real keypresses?
Replies: 4
Views: 961

Re: Can Windows or the active program tell the difference between AHK and real keypresses?

The thing is that it still only takes them knowing the driver that you used to test for it.
by Capn Odin
20 Sep 2019, 17:00
Forum: Ask For Help
Topic: Two ifwinactive - neither works Topic is solved
Replies: 2
Views: 328

Re: Two ifwinactive - neither works Topic is solved

The #IfWinActive needs to come before the hotkeys it is supposed to modify
by Capn Odin
19 Sep 2019, 13:05
Forum: Offtopic
Topic: Flat Earth vs. Globe Earth
Replies: 98
Views: 34982

Re: Flat Earth vs. Globe Earth

I woke to the truth just recently the Earth is flat and I can prove it. Planes: If a plane flew along the earth and it had a curve as great as they say it does then the pilot would need to correct for it by dipping the nose down every few kilometers. They do not do this , so the Earth can't be roun...
by Capn Odin
18 Sep 2019, 14:34
Forum: Ask For Help
Topic: A problem with nested for-loop
Replies: 3
Views: 626

Re: A problem with nested for-loop

Move the inner loop to a function or use different names. Alternatively you could save the variables to a temporary one and restore it after the inner loop. ModificationTimeOld := {} ModificationTimeNew := {} Files1 := ["foo.txt", "bar.txt", "baz.txt"] Files2 := ["foo.png", "bar.png", "baz.png"] for...
by Capn Odin
11 Sep 2019, 17:30
Forum: Ask For Help
Topic: PLEASE HELP! Spawn new process/gui from same button
Replies: 13
Views: 1783

Re: PLEASE HELP! Spawn new process/gui from same button

It could be "compiled" as well.
by Capn Odin
11 Sep 2019, 15:25
Forum: Ask For Help
Topic: PLEASE HELP! Spawn new process/gui from same button
Replies: 13
Views: 1783

Re: PLEASE HELP! Spawn new process/gui from same button

Sure you can use the Run command to run a script
by Capn Odin
11 Sep 2019, 09:41
Forum: Ask For Help
Topic: PLEASE HELP! Spawn new process/gui from same button
Replies: 13
Views: 1783

Re: PLEASE HELP! Spawn new process/gui from same button

No it is a limitation of ahk, you could use timers but it would seem to me that you probably want to use ahk_h as it has threads.
by Capn Odin
11 Sep 2019, 02:05
Forum: Ask For Help
Topic: PLEASE HELP! Spawn new process/gui from same button
Replies: 13
Views: 1783

Re: PLEASE HELP! Spawn new process/gui from same button

Well it is not perfect, I don't really know how you want it but this is what I had time to do today. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. #SingleInstance ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended ...
by Capn Odin
11 Sep 2019, 01:25
Forum: Ask For Help
Topic: PLEASE HELP! Spawn new process/gui from same button
Replies: 13
Views: 1783

Re: PLEASE HELP! Spawn new process/gui from same button

Ok then the only complicated thing you need is a guiclose function
https://www.autohotkey.com/docs/commands/Gui.htm#GuiClose
by Capn Odin
11 Sep 2019, 01:02
Forum: Ask For Help
Topic: PLEASE HELP! Spawn new process/gui from same button
Replies: 13
Views: 1783

Re: PLEASE HELP! Spawn new process/gui from same button

Are you just using gui 3 as a MsgBox ?

It looks like the only functionality of GUI 3 is that it has an on close label.

I can take a short look at getting it to work in an hour or so, I need to get out of bed first.
by Capn Odin
11 Sep 2019, 00:51
Forum: Ask For Help
Topic: PLEASE HELP! Spawn new process/gui from same button
Replies: 13
Views: 1783

Re: PLEASE HELP! Spawn new process/gui from same button

You can use

Code: Select all

Gui, New
and reference the gui using the hwnd.
by Capn Odin
15 Feb 2019, 17:06
Forum: Ask For Help
Topic: ESC don work as normal
Replies: 2
Views: 596

Re: ESC don work as normal

You can either make the hotkey context sensitive using

Code: Select all

#IfWinActive the title of your window
    Esc::GUI, hide
#IfWinActive
or you can use the gui event label

Code: Select all

GuiEscape:
    GUI, hide
return
by Capn Odin
05 Sep 2018, 02:00
Forum: Gaming
Topic: Trying to look for a autoclicker
Replies: 1
Views: 640

Re: Trying to look for a autoclicker

You should try searching as there are a decent amount of them around, or you could try making it yourself and ask for help when you get stuck, anyway this is a subforum where you publish your scripts not the place to ask for a handout.
by Capn Odin
04 Sep 2018, 17:32
Forum: Scripts and Functions
Topic: RemoteInvocation - call functions and set variables between scripts
Replies: 0
Views: 674

RemoteInvocation - call functions and set variables between scripts

Introduction [hr][/hr] I believe this already exists as I thought I would try making it after hearing of a similar library. The script can call functions and set global variable in other scripts that also includes RemoteInvocation . Limitations : only strings are supported as arguments. Additionall...

Go to advanced search