Search found 1118 matches

by tmplinshi
18 Apr 2018, 00:08
Forum: Ask For Help
Topic: how to display 20 progress bars
Replies: 1
Views: 57

Re: how to display 20 progress bars

10 Progress is just for the "Progress" command. You can create unlimit progress controls using GUI command. Example: Gui, Font, s10, Segoe UI Gui, Color, White Loop, 20 { Gui, Add, Text, xm, Title %A_Index% Gui, Add, Progress, xm y+0 w200 BackgroundE2E2E2 cBFE578 Border, % A_Index*5 Gui, A...
by tmplinshi
13 Apr 2018, 11:40
Forum: Scripts and Functions
Topic: [Script] KeypressOSD - Display key press on screen
Replies: 597
Views: 46313

Re: [Script] KeypressOSD - Display key press on screen

Some recent changes: v2.50 (2018-04-13) - Added offset/fixed coordinates and window width settings - Added 'Suspend' item to tray menu v2.43 (2018-04-11) - Fixed holding keys causes blinking. v2.42 (2018-04-08) - Fixed throwing error sometimes when settings GUI opened v2.41 (2018-04-07) - Fixed a bu...
by tmplinshi
12 Apr 2018, 01:28
Forum: 请求帮助
Topic: win + right + down 使用修饰符情况下进行组合键
Replies: 1
Views: 67

Re: win + right + down 使用修饰符情况下进行组合键

Right & Down:: if GetKeyState("LWin", "P") || GetKeyState("RWin", "P") ; 如果已按住左边或右边的Win键 MouseMove, 10, 10, 0, R return 如果类似的快捷键比较多的话,则可以这样: #If GetKeyState("LWin", "P") || GetKeyState("RWin", "P") Right & Down:...
by tmplinshi
09 Apr 2018, 11:37
Forum: 脚本函数
Topic: 北京时间校对
Replies: 0
Views: 110

北京时间校对

; 以管理员身份运行 if !A_IsAdmin { Run *RunAs "%A_ScriptFullPath%" ; Requires v1.0.92.01+ ExitApp } if SynTime.DoIt() MsgBox, 64, 成功, 同步北京时间成功! else MsgBox, 48, 失败, 同步失败! ; 同步北京时间。用法: SynTime.DoIt() Class SynTime { DoIt() { ; 成功返回 1 return this.SetLocalTime( this.BeijingTime() ) } SetLocalTime(YY...
by tmplinshi
29 Mar 2018, 08:23
Forum: Ask For Help
Topic: Import data to ListBox in txt file. Add and delete from listbox with button.
Replies: 5
Views: 135

Re: Import data to ListBox in txt file. Add and delete from listbox with button.

@garry I don't have. ListView already have these built-in functions LV_Add / LV_Modify / LV_Delete...
by tmplinshi
28 Mar 2018, 22:27
Forum: Ask For Help
Topic: Why Can't I Make A "Pause" Button Work?
Replies: 5
Views: 112

Re: Why Can't I Make A "Pause" Button Work?

Code: [Select all] [Expand]GeSHi © Codebox Plus

by tmplinshi
27 Mar 2018, 10:48
Forum: Ask For Help
Topic: Gui - how to make background transparent but buttons opaque
Replies: 5
Views: 142

Re: Gui - how to make background transparent but buttons opaque

ummm.. XCGUI is not written in AHK language, but C/C++. The source code of XCGUI would be very expensive and can be only used in company internally. XCGUI provides a free dll library (xcgui.dll), which can be used by AHK. They mainly sell their GUI Designer. Enigma Virtual Box can pack multiple file...
by tmplinshi
27 Mar 2018, 09:21
Forum: Ask For Help
Topic: Import data to ListBox in txt file. Add and delete from listbox with button.
Replies: 5
Views: 135

Re: Import data to ListBox in txt file. Add and delete from listbox with button.

Example: Gui, Font, s12 Gui, Add, Button, gAdd, Add Gui, Add, Button, x+50 gDelete, Delete Gui, Add, Button, x+50 gDeleteAll, Delete All Gui, Add, Button, x+50 gSave, Save To File Gui, Add, ListBox, xm r20 w470 AltSubmit Multi HWNDhLB, ; Note the use of AltSubmit Gui, Show LB := New ListBox(hLB) if ...
by tmplinshi
27 Mar 2018, 01:31
Forum: Ask For Help
Topic: Gui - how to make background transparent but buttons opaque
Replies: 5
Views: 142

Re: Gui - how to make background transparent but buttons opaque

There is a XCGUI library, however it requires some time to learn, and its GUI Designer is not free.

Example:

Image

Download: https://drive.google.com/open?id=1KkiBO ... luH2mDHEqZ
by tmplinshi
26 Mar 2018, 23:10
Forum: Ask For Help
Topic: Gui - how to make background transparent but buttons opaque
Replies: 5
Views: 142

Re: Gui - how to make background transparent but buttons opaque

I asked a similar question years ago: How to use transparent png as GUI background? It can achieve something like this: https://i.loli.net/2018/03/27/5ab9bb0cc2b04.png https://i.loli.net/2018/03/27/5ab9bb0cd0a4b.png Download : https://drive.google.com/open?id=1aZ9SuqCGJhdS2JGIbP9O2SgAKRy44wyC
by tmplinshi
19 Mar 2018, 23:36
Forum: Ask For Help
Topic: HTTP Get unresponsive after a few key presses
Replies: 4
Views: 90

Re: HTTP Get unresponsive after a few key presses

try: Volume_Up::HttpSend("VolumeUp") Volume_Down::HttpSend("VolumeDown") Volume_Mute::HttpSend("VolumeMute") HttpSend(Action) { oHttp := ComObjCreate("Msxml2.XMLHTTP") oHttp.open("GET","http://username:password@192.168.1.144/sys/devices/customde...
by tmplinshi
19 Mar 2018, 09:59
Forum: Scripts and Functions
Topic: [Script] KeypressOSD - Display key press on screen
Replies: 597
Views: 46313

Re: [Script] KeypressOSD - Display key press on screen

Sure. Added to the first post.
by tmplinshi
19 Mar 2018, 08:45
Forum: Scripts and Functions
Topic: [Script] KeypressOSD - Display key press on screen
Replies: 597
Views: 46313

Re: [Script] KeypressOSD - Display key press on screen

Hi robodesign, I did try your version, but I didn't plays it a lot. I don't know what "dead key" is until just now after Googling. I don't have very complex needs, my original intention was to simply display hotkeys, I remember it was inspired by tutorial video like this . I like your scri...
by tmplinshi
19 Mar 2018, 01:50
Forum: Scripts and Functions
Topic: [Script] KeypressOSD - Display key press on screen
Replies: 597
Views: 46313

Re: [Script] KeypressOSD - Display key press on screen

Can you make, that users can set Color and Font options also in KeypressOSD.ini file? Done! :) v2.40 (2018-03-19) - Added font and background color settings --> https://github.com/tmplinshi/KeypressOSD https://github.com/tmplinshi/KeypressOSD/blob/master/Settings.png?raw=true
by tmplinshi
15 Mar 2018, 11:51
Forum: Scripts and Functions
Topic: [Script] KeypressOSD - Display key press on screen
Replies: 597
Views: 46313

Re: [Script] KeypressOSD - Display key press on screen

Done. It is now at https://github.com/tmplinshi/KeypressOSD. And updated to v2.30
; ChangeLog : v2.23 (2018-03-16) - Settings are now saved to ini file.
; - Added settings GUI and tray menu.
; - Moved this script from Gist to GitHub.
by tmplinshi
01 Mar 2018, 19:52
Forum: Scripts and Functions
Topic: [Script] KeypressOSD - Display key press on screen
Replies: 597
Views: 46313

Re: [Script] KeypressOSD - Display key press on screen

robodesign wrote:@tmplinshi: thank you! My apologies if you feel I hijacked the thread with my edition. I did not expect or planned initially that I get sooooo far with this project.

No worries, I don't mind. Although I have unsubscribed to this thread long ago, as there are too many notifications :D
by tmplinshi
28 Feb 2018, 10:52
Forum: Scripts and Functions
Topic: [Script] KeypressOSD - Display key press on screen
Replies: 597
Views: 46313

Re: [Script] KeypressOSD - Display key press on screen

v2.21 (2017-02-24) - Fixed LWin/RWin not poping up start menu :arrow: Source @tmplinshi, do you plain to maintain your Keypress OSD version in future (at least fix possible bugs)? For example, unfortunately, in @robodesign version impossible display keys in relative position , and I still use your ...
by tmplinshi
21 Feb 2018, 09:42
Forum: Ask For Help
Topic: DllCall 32vs64 bit Topic is solved
Replies: 12
Views: 362

Re: DllCall 32vs64 bit Topic is solved

As Guest wrote, the result is stored in the first parameter.
by tmplinshi
21 Feb 2018, 06:13
Forum: Ask For Help
Topic: DllCall 32vs64 bit Topic is solved
Replies: 12
Views: 362

Re: DllCall 32vs64 bit Topic is solved

The code works fine here without modification. So I guess you are using 32-bit AHK to call 64-bit dll?

Go to advanced search