Search found 44 matches
- 12 Feb 2023, 19:10
- Forum: Ask for Help (v1)
- Topic: Make a color of window or window fully transparent while still keeping it's glabels useable
- Replies: 3
- Views: 405
Re: Make a color of window or window fully transparent while still keeping it's glabels useable
instead of setting it to fully transparent, set the windows transparency to 1. this should make it invisible, but still catch the mouse clicks.
- 05 Jun 2020, 20:52
- Forum: Scripts and Functions (v1)
- Topic: OSDTIP()
- Replies: 86
- Views: 42705
Re: OSDTIP()
nice!
Hey Skan - been using ahk for about a decade, your contributions are always top notch. I still use your w32 constants script often, works great.
thanks!
Hey Skan - been using ahk for about a decade, your contributions are always top notch. I still use your w32 constants script often, works great.
thanks!
- 05 Jun 2020, 20:48
- Forum: Scripts and Functions (v1)
- Topic: [Library] Neutron.ahk - AutoHotkey Web GUIs on Steroids (now for v2!)
- Replies: 140
- Views: 60812
Re: [Library] Neutron.ahk - AutoHotkey Web GUIs on Steroids
Looks great GeekDude. thanks for sharing. Looking fwd to trying this out.
- 06 Jul 2018, 06:29
- Forum: Ask for Help (v1)
- Topic: script
- Replies: 2
- Views: 902
Re: script
also, a little more descriptive title would be good.
- 03 Jul 2018, 19:03
- Forum: Ask for Help (v1)
- Topic: Logic suggestions for script
- Replies: 2
- Views: 862
Re: Logic suggestions for script
does something like this achieve the desired result? the 'logging lines' can be removed, and are just there to show you the clicked intervals. startTime := A_TickCount ;for logging purposes only - can be removed SetTimer, clickIt, 1000 ;call the clickIt label every 1 second clickIt: ;label called by...
- 28 Jun 2018, 19:38
- Forum: Ask for Help (v1)
- Topic: none of the com object functions are working for me
- Replies: 1
- Views: 770
Re: none of the com object functions are working for me
no libraries needed. try adding this line to the end of your script. i am far from an expert in COM though, so maybe its not the issue.
Code: Select all
oExcel.Visible := True
- 25 Jun 2018, 08:44
- Forum: Ask for Help (v1)
- Topic: Full screen transform from gui 1 to gui 2 smooth
- Replies: 3
- Views: 1001
Re: Full screen transform from gui 1 to gui 2 smooth
dont destroy your guis until you are completely done with them. hide them if you need to, but you should only create each gui one time.
- 24 Jun 2018, 21:42
- Forum: Ask for Help (v1)
- Topic: Full screen transform from gui 1 to gui 2 smooth
- Replies: 3
- Views: 1001
Re: Full screen transform from gui 1 to gui 2 smooth
build your 2nd gui ahead of time, and just dont show it until its needed... gosub, build_gui2 Gui,1: Default Gui,1: +AlwaysOnTop Gui,1: Add,Picture, w%A_ScreenWidth% h%A_ScreenHeight% vPicture, bg0.png Gui,1: -Caption Gui, 1: Show,w%A_ScreenWidth% h%A_ScreenHeight% return F2:: Gui,2: Show, w%A_Scree...
- 22 Jun 2018, 12:51
- Forum: Ask for Help (v1)
- Topic: Prevent/disable text selection in Edit control?
- Replies: 9
- Views: 3180
Re: Prevent/disable text selection in Edit control?
alot of hackish ways to do it i guess.
i would agree with jeeswg though and use a static control.
i would agree with jeeswg though and use a static control.
- 22 Jun 2018, 11:37
- Forum: Ask for Help (v1)
- Topic: How to fill and read an array
- Replies: 5
- Views: 5195
Re: How to fill and read an array
;read the text file to variable fName := "AHK HELP.TXT" FileRead, tFile, % fName ;create your array txtArray := [] ;fill the array with lines of text loop, parse, tFile, `n txtArray.push(A_LoopField) ;show contents of array item 3 MsgBox % txtArray[3] ;show each line of txtArray for each, line in t...
- 22 Jun 2018, 11:20
- Forum: Ask for Help (v1)
- Topic: Prevent/disable text selection in Edit control?
- Replies: 9
- Views: 3180
Re: Prevent/disable text selection in Edit control?
maybe just use disabled ? if its read only, and you dont want them selecting text, it seems to fit the bill.
Code: Select all
gui, add, edit, Disabled, Some random text
- 22 Jun 2018, 09:32
- Forum: Ask for Help (v1)
- Topic: Randomized pixel mouse movements.
- Replies: 2
- Views: 1068
Re: Randomized pixel mouse movements.
something like this x_min := 400, x_max := 600 ;define min & max for x axis y_min := 200, y_max := 400 ;define min & max for y axis random, xPos, % x_min, % x_max ;get a random number between the x_min & x_max random, yPos, % y_min, % y_max ;get a random number between the y_min & y_max MouseMove, x...
- 21 Jun 2018, 20:08
- Forum: Ask for Help (v1)
- Topic: GDI+ - Create Path to clip rectangle
- Replies: 4
- Views: 1409
Re: GDI+ - Create Path to clip rectangle
i remember doing something similar to this awhile back. this doesnt require gdip. control s to move the 'view window'. change size/transparency, etc to suite your needs. SetBatchLines -1 #NoEnv #SingleInstance force CoordMode, mouse, client windowWidth := A_ScreenWidth /2, windowHeight := A_ScreenHe...
- 21 Jun 2018, 11:59
- Forum: Ask for Help (v1)
- Topic: Return Yesterdays date Topic is solved
- Replies: 2
- Views: 1156
Re: Return Yesterdays date Topic is solved
Code: Select all
MsgBox % "Yesterdays date was : " getYesterDate()
getYesterDate(){
dt := A_Now
EnvAdd, dt, -1, Days
FormatTime, dt, % dt, MM/dd/yy
return dt
}
- 18 Jun 2018, 22:02
- Forum: Ask for Help (v1)
- Topic: Subroutine basics?
- Replies: 2
- Views: 1172
- 17 Jun 2018, 17:04
- Forum: Ask for Help (v1)
- Topic: Subroutine basics?
- Replies: 1
- Views: 1050
Re: Subroutine basics?
i would go with a timer, as opposed to a loop. something more like this. f8:: ;press F8 to myTimer := !myTimer ;toggle the timer if (myTimer) SetTimer, clickIT, 150 else SetTimer, clickIT, off return clickIT: ;when timer is turned on, this label Click ;gets called once every 150ms. return
- 17 Jun 2018, 09:31
- Forum: Ask for Help (v1)
- Topic: how to determine if variable is gui var or hwnd?
- Replies: 3
- Views: 1381
Re: how to determine if variable is gui var or hwnd?
returns true if its a hwnd, false if not.
Code: Select all
isHwnd(hwnd){
return DllCall("IsWindow", "Ptr", hwnd)
}
- 03 Jun 2018, 15:02
- Forum: Ask for Help (v1)
- Topic: permanent script Topic is solved
- Replies: 2
- Views: 1100
Re: permanent script Topic is solved
not sure i like the sound of this...
- 03 Jun 2018, 14:50
- Forum: Ask for Help (v1)
- Topic: Need help with reading INI file into array variables.
- Replies: 16
- Views: 7868
Re: Need help with reading INI file into array variables.
I am unfamiliar with JSON or YAML as it applies to AHK. I can put these in any format. I just need to extract them as values later on. +1 for json. Its a much better solution than INI. I use a couple of JSON functions found in the forum. maybe this will help: SetWorkingDir, % A_ScriptDir ;events ar...
- 28 May 2018, 05:55
- Forum: Ask for Help (v1)
- Topic: how to identify conditions
- Replies: 9
- Views: 2072
Re: how to identify conditions
i would say, if you need to know which argument caused the ''true' condition, you need to restructure your code and use individual "if" statements.