Search found 20 matches

by artintime
30 May 2017, 12:53
Forum: Ask for Help (v1)
Topic: Exit script when the program exits
Replies: 4
Views: 1797

Re: Exit script when the program exits

Thanks Donovv, sounds like this is a right direction but i am stuck at some point. I have modified your code as you mentioned to change my program windows title, and I took the title of my program from windows spy. the program is called Maya and Windows spy reports that it is: ahk_class QWidget. And...
by artintime
26 May 2017, 15:04
Forum: Ask for Help (v1)
Topic: Exit script when the program exits
Replies: 4
Views: 1797

Exit script when the program exits

i've got a program that opens at the same time as the sript i've written for it. I want to do the same thing but when the program closes I want the script to exit as well. How can I go about doing that?
Thanks
by artintime
21 May 2017, 19:28
Forum: Ask for Help (v1)
Topic: Gui button color
Replies: 3
Views: 3492

Re: Gui button color

That's great thanks but it doesn't seem to be clicking, anyway to be clickable?
Thanks
by artintime
21 May 2017, 17:28
Forum: Ask for Help (v1)
Topic: Double click having a new hotkey?
Replies: 3
Views: 904

Re: Double click having a new hotkey?

Hi,
If I double click it still calls both first click and second click. How can I prevent first click happning if I click twice? Any delay of some sort?

Thanks a lot,
by artintime
21 May 2017, 16:57
Forum: Ask for Help (v1)
Topic: Gui button color
Replies: 3
Views: 3492

Gui button color

Hi,
Do you kow how to change the color for this button?

Gui,+AlwaysOnTop
Gui, Color, 444444

Gui, Add, Button, x62 y36 w90 h90 gMayaPlay, MayaPlay
Gui, Show, x436 y230 h162 w200, MAYA test
Return

MayaPlay:
#Include C:\Users\ITV\Documents\maya.ahk
Return

GuiClose:
ExitApp


Thanks a lot,
by artintime
21 May 2017, 16:55
Forum: Ask for Help (v1)
Topic: Gui button to call a hotkey from another script
Replies: 5
Views: 1607

Re: Gui button to call a hotkey from another script

Gui,+AlwaysOnTop Gui, Color, 444444 Gui, Add, Button, x62 y36 w90 h90 gMayaPlay, MayaPlay Gui, Show, x436 y230 h162 w200, MAYA test Return MayaPlay: #Include C:\Users\ITV\Documents\maya.ahk Return GuiClose: ExitApp This is a Gui I made with one button and I used one of your statements wich works by ...
by artintime
21 May 2017, 16:22
Forum: Ask for Help (v1)
Topic: Gui button to call a hotkey from another script
Replies: 5
Views: 1607

Re: Gui button to call a hotkey from another script

Thanks A_AhkUser,
Thou I can't quite figure it out. When I run #Include %A_ScriptDir%\maya.ahk an error come up saying can't find the directory, but when I replace it with:
#Include C:\Users\ITV\Documents\maya.ahk it also says that it can't find the script. what am i doing wrong?
by artintime
21 May 2017, 15:41
Forum: Ask for Help (v1)
Topic: Gui button to call a hotkey from another script
Replies: 5
Views: 1607

Gui button to call a hotkey from another script

Hi,
I am building a Gui with buttons and i am trying to pipe a hotkey from another .ahk script to one of these buttons. How can I go about doing it? Button click to call a hotkey (Numpad0::!v ) that's inside another script (maya.ahk)

Thank you for your help,
by artintime
21 May 2017, 09:43
Forum: Ask for Help (v1)
Topic: Double click having a new hotkey?
Replies: 3
Views: 904

Re: Double click having a new hotkey?

Thanks so much Spawnova,
i am sort of confused which button clicks what so if I click letter "a" it generates letter "b", if double click on letter "a" it generates letter "c", how can i go about writing the code?
Thanks again,
by artintime
21 May 2017, 08:53
Forum: Ask for Help (v1)
Topic: Double click having a new hotkey?
Replies: 3
Views: 904

Double click having a new hotkey?

Hi,
Is it possible having a single click generate a hotkey and double click another hotkey on the same key?
Thanks,
by artintime
21 May 2017, 08:51
Forum: Ask for Help (v1)
Topic: expertkeys with Autohotkey Topic is solved
Replies: 8
Views: 1811

Re: expertkeys with Autohotkey Topic is solved

Thanks a lot Rohwedder this is great!
by artintime
20 May 2017, 09:52
Forum: Ask for Help (v1)
Topic: expertkeys with Autohotkey Topic is solved
Replies: 8
Views: 1811

Re: expertkeys with Autohotkey Topic is solved

I guess I can assign those scancodes to the external Expertkeys keyboard to attach the .ahkl scripts, is that right?
Thanks,
by artintime
20 May 2017, 09:49
Forum: Ask for Help (v1)
Topic: expertkeys with Autohotkey Topic is solved
Replies: 8
Views: 1811

Re: expertkeys with Autohotkey Topic is solved

Hi Rohwedder,
I ran the script from SKAN and it displayed the message of {SC000}, so that means it does send the scancodes?
What's next?

Thanks a lot,
by artintime
19 May 2017, 15:23
Forum: Ask for Help (v1)
Topic: expertkeys with Autohotkey Topic is solved
Replies: 8
Views: 1811

Re: expertkeys with Autohotkey Topic is solved

Hi Rohwedder,
Can you tell me what happens if the keyboard sends the scancodes? sorry this question must be quite noob but i am just starting to get acquainted with it.
Thanks
by artintime
17 May 2017, 13:46
Forum: Ask for Help (v1)
Topic: expertkeys with Autohotkey Topic is solved
Replies: 8
Views: 1811

expertkeys with Autohotkey Topic is solved

Hi,
I am wondering if autohotkeys can work with expertkeys programmable keyboard? for example if I can assign ahk scripts to the keys without having to use the regular keyboard hotkey to send to click infomation to expertkeys. or if you use it how do you go about doing it?
Thank you.
by artintime
13 May 2017, 10:56
Forum: Ask for Help (v1)
Topic: launch Foobar and enter a hotkey to play Topic is solved
Replies: 4
Views: 1265

Re: launch Foobar and enter a hotkey to play Topic is solved

:) Epic! thak you so much. Activing explicitly worked very well!
Cheers
by artintime
13 May 2017, 06:58
Forum: Ask for Help (v1)
Topic: launch Foobar and enter a hotkey to play Topic is solved
Replies: 4
Views: 1265

Re: launch Foobar and enter a hotkey to play Topic is solved

wow thanks a lot! it works but unless I click anywhere on the foorbar itself it does nothing apart from launching, once I click on the program it starts playing. Any ideas how to go about executing a click command on the program?
Thanks again.
by artintime
12 May 2017, 20:48
Forum: Ask for Help (v1)
Topic: launch Foobar and enter a hotkey to play Topic is solved
Replies: 4
Views: 1265

launch Foobar and enter a hotkey to play Topic is solved

Hi,
I am wondering how to go about launching Foobar and enter a hotkey so it will start playing?
I tried this, it launches but fails to execute a hotkey which is Numpad7 in my case.

#g::
Run "C:\Program Files (x86)\foobar2000\foobar2000.exe"
sleep 300
SendInput {Numpad7}
return

Thank you so much.
by artintime
29 Apr 2017, 07:30
Forum: Ask for Help (v1)
Topic: Ctrl+Shift+z+LMB
Replies: 5
Views: 1710

Re: Ctrl+Shift+z+LMB

Hi Helgef,
Thanks a lot, it worked! But now it seems that the keys stay pressed and no matter how many times I click it still doesn't want to let go. Any ideas?

Thanks again.
by artintime
28 Apr 2017, 17:05
Forum: Ask for Help (v1)
Topic: Ctrl+Shift+z+LMB
Replies: 5
Views: 1710

Re: Ctrl+Shift+z+LMB

Right, I've decided to not go with LMB but only map Ctrl+Shift+z to hold pressed to Numpad2. Any ideas?
This is what I have and obviously it doesn't work: Numpad2::^+z

Thank you so much!

Go to advanced search