Search found 63 matches

by takayo97
20 Dec 2018, 18:40
Forum: Ask for Help (v1)
Topic: how to safe to close a firefox web browser?
Replies: 1
Views: 542

how to safe to close a firefox web browser?

I used process close to close a firefox process

I found that it seems equivalent to kill a firefox process manually.
In result that, when starting firefox next time, it reported that close improperly and ask for a session restore
by takayo97
26 Sep 2018, 05:25
Forum: Ask for Help (v1)
Topic: how to update another dropdownlist value depending on another dropdown list value
Replies: 3
Views: 843

Re: how to update another dropdownlist value depending on another dropdown list value

gui Add, DropDownList, vList1 gList1 x+0 y1 w110, xxxxx||yyyyy|zzzzzz ; dropdownlist A gui Add, DropDownList, vList2 gList2 x+5 y1 w110 AltSubmit, option 1||option 2|option 3 ; dropdownlist B gui show return list1: return list2: gui submit , nohide GuiControlGet, var,, list2 GuiControl, Choose, lis...
by takayo97
25 Sep 2018, 22:33
Forum: Ask for Help (v1)
Topic: how to update another dropdownlist value depending on another dropdown list value
Replies: 3
Views: 843

how to update another dropdownlist value depending on another dropdown list value

say I ve two dropdownlist A and B gui Add, DropDownList, vList1 gList1 x+0 y1 w110, xxxxx||yyyyy|zzzzzz ; dropdownlist A gui Add, DropDownList, vList2 gList2 x+0 y1 w110, option 1||option 2|option 1 ; dropdownlist B gui show When item of option 2 selected in dropdownlist B, it will update value of d...
by takayo97
09 Sep 2018, 17:16
Forum: Scripts and Functions (v1)
Topic: World Clock (incorporates some DST)
Replies: 5
Views: 2468

Re: World Clock (incorporates some DST)

How to add a PST time in the gui ?
by takayo97
07 Sep 2018, 17:23
Forum: Ask for Help (v1)
Topic: how to detect no input on an edit field and then do something
Replies: 1
Views: 599

how to detect no input on an edit field and then do something

Here are some snippet of my code gui 2:Add, Edit, vPing gPing Number x+5 y1 w50, %Ping% Ping: gui, submit, nohide CondemnTiming = 0 CondemnTiming = % CondemnInternalCooldown + round(Ping, -1) + 50 return When I enter number at the edit field, it will keep updating a variable which is used for other ...
by takayo97
29 Aug 2018, 18:51
Forum: Ask for Help (v1)
Topic: how to display a png image with transparent background
Replies: 2
Views: 904

how to display a png image with transparent background

This is my code to display an image on the taskbar The png image is with trasnparent background gui, -caption -MinimizeBox -MaximizeBox Gui, Margin , 0, 0 Gui Add, Picture, w40 h-1 , image.png Gui, Show, x1600 y0 Process, Exist WinGet, hw_gui, ID, ahk_class AutoHotkeyGUI ahk_pid %ErrorLevel% hw_tray...
by takayo97
21 Aug 2018, 20:47
Forum: Ask for Help (v1)
Topic: how to get a color of a pixel of current mouse pointer location?
Replies: 0
Views: 439

how to get a color of a pixel of current mouse pointer location?

We can use the following commands to get pixel color of current mouse pointer location
mousegetpos
PixelGetColor

However on some cases, when u hover an area, it wil turn into another color
How to get the pixel color on it's un-hover state ?
by takayo97
21 Aug 2018, 00:03
Forum: Ask for Help (v1)
Topic: lock a window - disable drag and move on title bar
Replies: 1
Views: 946

lock a window - disable drag and move on title bar

I read a post from the archive forum about locking a window https://autohotkey.com/board/topic/21340-locking-a-window/ I tried the code from Lexikos's reply CoordMode, Mouse, Screen ~LButton:: MouseGetPos, x, y, win SendMessage, 0x84,, (x & 0xFFFF) | (y & 0xFFFF) << 16,, ahk_id %win% ; If the mouse ...
by takayo97
12 Aug 2018, 16:49
Forum: Ask for Help (v1)
Topic: could i display a color in tooltip ?
Replies: 1
Views: 765

could i display a color in tooltip ?

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starti...
by takayo97
10 Aug 2018, 22:51
Forum: Ask for Help (v1)
Topic: cannot display a value in a edit control
Replies: 2
Views: 654

cannot display a value in a edit control

here are some snippet of my code #SingleInstance Force Ping = 200 ShowControlBox() { gui 2:+AlwaysOnTop +ToolWindow -MinimizeBox -MaximizeBox gui 2:Add, Text, x+10 y5, In-game Ping: gui 2:Add, Edit, vPing gPing x+5 y1 w50, %Ping% gui 2:Show, x858 y0 w300 h23, Control Box } ShowControlBox() Ping: ;wi...
by takayo97
10 Jul 2018, 01:36
Forum: Ask for Help (v1)
Topic: how to run click command one by one ?
Replies: 1
Views: 601

how to run click command one by one ?

sample code #NoEnv SetWorkingDir %A_ScriptDir% CoordMode, Mouse, Window SendMode Input #SingleInstance Force SetTitleMatchMode 2 #WinActivateForce SetControlDelay 1 SetWinDelay 0 SetKeyDelay -1 SetMouseDelay -1 SetBatchLines -1 F3:: click, left, 500,500, 500 click, left, 100, 0, relative first left ...
by takayo97
09 Jul 2018, 04:59
Forum: Old Topics
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 423
Views: 429731

Re: AutoGUI - Script Editor and GUI Designer

How to edit saved .ahk in designed mode ?

I used autogui to build my gui for 1st release.
How could I reedit the gui in design mode ?
I loaded the ahk file, but nowhere to edit in design mode
by takayo97
09 Jul 2018, 02:45
Forum: Ask for Help (v1)
Topic: dynamic hotkey cannot be a string ?
Replies: 3
Views: 645

Re: dynamic hotkey cannot be a string ?

swagfag wrote:This has nothing to do with the key name being a string. Your hotkey command is unreachable code. There's nothing calling it.
where should i put the hotkey command ?
by takayo97
09 Jul 2018, 02:26
Forum: Ask for Help (v1)
Topic: dynamic hotkey cannot be a string ?
Replies: 3
Views: 645

dynamic hotkey cannot be a string ?

; Generated by AutoGUI 2.2.6a #NoEnv #SingleInstance Force SetWorkingDir %A_ScriptDir% key := "F2" test := "F2" Gui Add, Text, x16 y32 w120 h23, Show Paragon: Gui Add, Text, x16 y56 w120 h23, Paragons in Vitality: Gui Add, Text, x16 y80 w120 h23, Paragons in Main Stat: Gui Add, Edit, vparagonkey x1...
by takayo97
08 Jul 2018, 23:08
Forum: Ask for Help (v1)
Topic: read value from a control
Replies: 3
Views: 787

Re: read value from a control

Xtra wrote:

Code: Select all

pressmebtn:
Gui, Submit, NoHide
msgbox, %paragonkey%
return
It works now.

What is this statement used for "Gui, Submit, NoHide"
by takayo97
08 Jul 2018, 22:11
Forum: Ask for Help (v1)
Topic: read value from a control
Replies: 3
Views: 787

read value from a control

Here is the code generated by AutoGUI ; Generated by AutoGUI 2.2.6a #NoEnv #SingleInstance Force SetWorkingDir %A_ScriptDir% Gui Add, Text, x16 y32 w120 h23, Show Paragon: Gui Add, Text, x16 y56 w120 h23, Paragons in Vitality: Gui Add, Text, x16 y80 w120 h23, Paragons in Main Stat: Gui Add, Edit, vp...

Go to advanced search