Search found 32 matches

by imustbeamoron
Today, 20:08
Forum: Ask For Help
Topic: GDI+ - Create Path to clip rectangle
Replies: 3
Views: 67

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...
by imustbeamoron
Today, 11:59
Forum: Ask For Help
Topic: Return Yesterdays date
Replies: 2
Views: 44

Re: Return Yesterdays date

Code: [Select all]GeSHi © Codebox Plus

MsgBox % "Yesterdays date was : " getYesterDate()

getYesterDate(){
dt := A_Now
EnvAdd, dt, -1, Days
FormatTime, dt, % dt, MM/dd/yy
return dt
}
by imustbeamoron
17 Jun 2018, 17:04
Forum: Ask For Help
Topic: Subroutine basics?
Replies: 2
Views: 83

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
by imustbeamoron
17 Jun 2018, 09:31
Forum: Ask For Help
Topic: how to determine if variable is gui var or hwnd?
Replies: 3
Views: 70

Re: how to determine if variable is gui var or hwnd?

returns true if its a hwnd, false if not.

Code: [Select all]GeSHi © Codebox Plus

isHwnd(hwnd){
return DllCall("IsWindow", "Ptr", hwnd)
}
by imustbeamoron
03 Jun 2018, 15:02
Forum: Ask For Help
Topic: permanent script
Replies: 2
Views: 56

Re: permanent script

not sure i like the sound of this...
by imustbeamoron
03 Jun 2018, 14:50
Forum: Ask For Help
Topic: Need help with reading INI file into array variables.
Replies: 16
Views: 332

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...
by imustbeamoron
28 May 2018, 05:55
Forum: Ask For Help
Topic: how to identify conditions
Replies: 9
Views: 141

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.
by imustbeamoron
23 May 2018, 20:26
Forum: Ask For Help
Topic: Will AutoHotKey Work for Me?
Replies: 4
Views: 115

Re: Will AutoHotKey Work for Me?

is there a shortcut key for the 'return' button that you are wanting to press?
by imustbeamoron
23 May 2018, 20:19
Forum: Ask For Help
Topic: A variable DDL
Replies: 6
Views: 155

Re: A variable DDL

change this line

Code: [Select all]GeSHi © Codebox Plus

GuiControl,1:,Selected_List,% List_%List_Selector%


to this.

Code: [Select all]GeSHi © Codebox Plus

GuiControl,1:,Selected_List,% "|" List_%List_Selector%


the bar "|" at the beginning will 'clear the ddl and then add the items, as it is, it is just appending items to the ddl.
by imustbeamoron
22 May 2018, 22:11
Forum: Ask For Help
Topic: DDL launching aps Topic is solved
Replies: 1
Views: 49

Re: DDL launching aps Topic is solved

gui, add, DropDownList, gGotoLink vWebsite, Google.com|Autohotkey.com|Reddit.com|Yahoo.com gui, show return gotoLink: gui submit, noHide url := "http://www." website gui, hide run, % url return ;contorl S to show gui again ^s:: gui, show return esc:: exitapp
by imustbeamoron
22 May 2018, 21:56
Forum: Ask For Help
Topic: Recall last letter pressed among a certain set of letters Topic is solved
Replies: 2
Views: 64

Re: Recall last letter pressed among a certain set of letters Topic is solved

probably a better way, but maybe something like this? LoggedKeys := ["A","B","Z"] for k, v in LoggedKeys Hotkey, % "~"LoggedKeys[k], LogKey LogKey: LastLoggedKey := StrReplace(A_ThisHotkey, "~") ToolTip % LastLoggedKey return
by imustbeamoron
15 May 2018, 22:20
Forum: Ask For Help
Topic: Reduce CPU with "Loop"
Replies: 3
Views: 106

Re: Reduce CPU with "Loop"

that is quite an inefficient method of doing it..

try this. control T to set the active window as always on top. Press it again to make it not Always On Top.

Code: [Select all]GeSHi © Codebox Plus

^T:: WinSet, AlwaysOnTop,,A
by imustbeamoron
27 Apr 2018, 21:51
Forum: Ask For Help
Topic: Dynamic drop downs
Replies: 2
Views: 98

Re: Dynamic drop downs

this is how i would go about it. ;array of arrays levels := [] levels["Associate"] := ["Analysis", "Conference Call", "Data Copy"] levels["Senior_Associate"] := ["Conference Call", "Interviews"] levels["Manager"] := [&qu...
by imustbeamoron
01 Apr 2018, 11:15
Forum: Gaming
Topic: How to run several loops at once? Topic is solved
Replies: 2
Views: 95

Re: How to run several loops at once? Topic is solved

i would go with something like this:

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

by imustbeamoron
29 Jan 2018, 19:35
Forum: About This Community
Topic: Meltdown spector
Replies: 10
Views: 607

Re: Meltdown spector

very slow here as well. painful to browse the fourms
by imustbeamoron
22 Dec 2017, 14:40
Forum: Ask For Help
Topic: Script adds a space
Replies: 3
Views: 112

Re: Script adds a space

pvb wrote:How do I keep autohotkey from adding the end space?


Code: [Select all]GeSHi © Codebox Plus

:o:jd::John Doe
by imustbeamoron
15 Dec 2017, 21:11
Forum: Ask For Help
Topic: Monitor Bitcoin Price
Replies: 8
Views: 483

Re: Monitor Bitcoin Price

another way.. download the json, convert to ahk object. bc := ParseJson(getPrice()) updated := bc.time.updated USD := bc.bpi.USD.rate MsgBox % "Updated On : " updated "`nPrice(USD) : $" USD ;webrequest for json getPrice(){ bCoinURL := "https://api.coindesk.com/v1/bpi/current...
by imustbeamoron
18 Nov 2017, 20:19
Forum: About This Community
Topic: Rule Poll
Replies: 59
Views: 9040

Re: Rule Poll

Also agree with Blackholyman.. The last thing anyone wants is more rules.. Keep in mind, if users cant get the info they seek here, there are other AHK forums, where they will get those answers.

Go to advanced search