Search found 18 matches

by wbm1113
20 Aug 2020, 11:26
Forum: Scripts and Functions (v1)
Topic: Laminar 1.0 - flow chart creator
Replies: 4
Views: 1109

Re: Laminar 1.0 - flow chart creator

I posted these in the OP. I'm not very good with computers, so I couldn't figure out how to get them to turn into actual links.

Chart creation UI:
Image

Sample chart:
Image
by wbm1113
20 Aug 2020, 11:09
Forum: Scripts and Functions (v1)
Topic: Laminar 1.0 - flow chart creator
Replies: 4
Views: 1109

Laminar 1.0 - flow chart creator

I made a flow chart program for work to help train new employees in work-from-home environments. Code, exe: https://github.com/wbm1113/Laminar Chart creation UI: https://i.imgur.com/azJc9kcm.png Broken Link for safety Sample chart: https://i.imgur.com/8My7NiJm.jpg Broken Link for safety Simple, clic...
by wbm1113
12 Feb 2020, 18:48
Forum: Scripts and Functions (v1)
Topic: [Library] Class_Gui (object-oriented GUI)
Replies: 3
Views: 1757

Re: [Library] Class_Gui (object-oriented GUI)

@burque505
I fixed the bracket--thank you.

A simple fix would look something like this:

Code: Select all

v := new GuiObj("MainWindow")

v.Show("w300 h300")
return

MainWindowGuiClose() { 
	ExitApp
}
An event handler for various GUI events would be nice, will probably add that in when the mood strikes me.
by wbm1113
10 Feb 2020, 19:00
Forum: Scripts and Functions (v1)
Topic: [Library] Class_Gui (object-oriented GUI)
Replies: 3
Views: 1757

[Library] Class_Gui (object-oriented GUI)

This library allows for an object-oriented approach to GUI design in v1. It has a similar feel to building GUIs in v2. https://github.com/wbm1113/Class_Gui.ahk Note: I recommend picking up Class_CtlColors (https://www.autohotkey.com/boards/viewtopic.php?t=2197&p=54087) to take advantage of the full ...
by wbm1113
09 Feb 2020, 18:30
Forum: Scripts and Functions (v1)
Topic: [Library] Lite sqlite3 wrapper library
Replies: 2
Views: 1242

[Library] Lite sqlite3 wrapper library

https://github.com/wbm1113/Class_sqlite3.ahk/blob/master/Class_sqlite3.ahk I needed to incorporate a database in a project I was working on. The only other AHK libraries I could find were very large and very involved. If you have a large-scale application in mind, you'll probably want to go with th...
by wbm1113
08 Feb 2020, 11:52
Forum: Ask for Help (v1)
Topic: how to prevent hotkeys from interfering with general key press?
Replies: 1
Views: 422

Re: how to prevent hotkeys from interfering with general key press?

so I am wondering if there's workaround I can make capslock releases itself back when the hotkey is completed, for the above case at the moment I finish pressing F key, so that the next key press, whichever it is, will not be affected by capslock any way. Maybe I'm misunderstanding something, but w...
by wbm1113
08 Feb 2020, 11:43
Forum: Ask for Help (v1)
Topic: How to extract each tab's name of Foxit Reader with ACC?
Replies: 2
Views: 10517

Re: How to extract each tab's name of Foxit Reader with ACC?

You only use "ahk_id" when the following two criteria are met: 1. You are using a built-in AHK function with a 'WinTitle' parameter 2. You are specifying to that WinTitle parameter that you are passing a handle, not a string The following line doesn't meet either of those criteria. It is not a built...
by wbm1113
07 Feb 2020, 21:32
Forum: Ask for Help (v1)
Topic: How to change global font color (by pressing a button)?
Replies: 1
Views: 393

Re: How to change global font color (by pressing a button)?

I'd do it like this. You'll need to #Include the Class_CtlColors library into your script: https://github.com/AHK-just-me/Class_CtlColors/blob/master/Sources/Class_CtlColors.ahk global CtrlHwnds := [] Gui, Font, s13 c73B9B8 Gui, Color, 17212B GuiAdd("Text", "MyCtrl1", "x+12 ym+42 w145 Right", "Backg...
by wbm1113
07 Feb 2020, 21:07
Forum: Ask for Help (v1)
Topic: [solved] How to make my simple GUI window scrollable? Topic is solved
Replies: 29
Views: 8106

Re: How to make my simple GUI window scrollable? Topic is solved

There's no simple way to do it, unfortunately: https://autohotkey.com/board/topic/26033-scrollable-gui-proof-of-concept/page-4

I usually just stick to using Tab controls when I need to cram pack a GUI.
by wbm1113
07 Feb 2020, 20:48
Forum: Ask for Help (v1)
Topic: Prevent right click when doing a left click. Topic is solved
Replies: 3
Views: 708

Re: Prevent right click when doing a left click. Topic is solved

#NoEnv #SingleInstance, Force #KeyHistory 0 SendMode Input SetWorkingDir %A_ScriptDir% SetTitleMatchMode, 2 SetBatchLines, -1 ListLines Off Process, Priority, , A SetKeyDelay, -1 SetMouseDelay, -1 SetDefaultMouseSpeed, 0 SetWinDelay, -1 SetControlDelay, -1 global RightClickSuppress := 0 global Time...
by wbm1113
07 Feb 2020, 20:30
Forum: Ask for Help (v1)
Topic: WinActivating Programs Topic is solved
Replies: 3
Views: 408

Re: WinActivating Programs Topic is solved

I don't know how to do the click-counting within a certain timeframe (1000 ms). It seems like that would interfere with normal clicking behavior. That said, this might help you with the other things you're trying to achieve: global vaRtt := 1 Gui, Show, w300 h300, 1 if ActivateByNumber(vaRtt) ; succ...
by wbm1113
07 Feb 2020, 20:11
Forum: Ask for Help (v1)
Topic: Office Word like approach to type accented characters
Replies: 2
Views: 616

Re: Office Word like approach to type accented characters

global Trigger := 0 return ^`:: Trigger := 1 return #If % Trigger=1 :*?:a:: ; the vowel that you want to type goes where the 'a' is SendInput á ; the character you want to replace it with goes where the 'á' is Trigger := 0 return :*?:e:: SendInput é ; and so on, Trigger := 0 return :*?:PUT_A_LETTER...
by wbm1113
07 Feb 2020, 19:37
Forum: Ask for Help (v1)
Topic: ctrl+ tab to go to next tab in browser is acting randomly, sometimes skips tabs
Replies: 2
Views: 412

Re: ctrl+ tab to go to next tab in browser is acting randomly, sometimes skips tabs

If you only want it to send one Ctrl+TAB command, then you need to set up a condition for it to do that. The script you have just sends all those commands every time you press Numpad1.
by wbm1113
07 Feb 2020, 19:28
Forum: Ask for Help (v1)
Topic: ctrl+ tab to go to next tab in browser is acting randomly, sometimes skips tabs
Replies: 2
Views: 412

Re: ctrl+ tab to go to next tab in browser is acting randomly, sometimes skips tabs

its randomly changing tabs twice or three times instead of once Because that's what you told it to do. You press Numpad1, it activates Oddschecker and sends those keystrokes. It doesn't stop there because you didn't tell it to. So it keeps going to Exchange, Matchbook, Timeform. There's no if state...
by wbm1113
04 Oct 2018, 11:09
Forum: Ask for Help (v1)
Topic: Excel Spreadsheet automation...please help! Topic is solved
Replies: 7
Views: 1575

Re: Excel Spreadsheet automation...please help! Topic is solved

CounterSetVal := 3 TransferVal := "" ^j:: DateSplitter := SubStr(A_Now, 1, 8) FilePath := "\\svdc03\Temp\NEF_MenuLink_New_Hires\ML NORTHEAST_FOODS_" DateSplitter ".xls" x1 := ComObjGet(FilePath) TransferVal := x1.Sheets(1).Range("A" CounterSetVal) SendInput, %TransferVal% SendInput, {TAB 2} Transfe...
by wbm1113
03 Oct 2018, 21:19
Forum: Scripts and Functions (v1)
Topic: Dragon custom voice command to change date format (and some extras)
Replies: 3
Views: 1267

Dragon custom voice command to change date format (and some extras)

Setup & add the custom command (slightly modified version of Elgin's script): OnExit, CleanUp DVC:= ComObjCreate("Dragon.DgnVCmd") DVC.Register("", 1) DMnu:= DVC.MenuCreate("SomeRuleName", "", 0, "", 1) DMnu.hWndMenu:=0 DMnu.Active:=True LStr:=COMObjCreate("Dragon.DgnStrings") Lstr.Add("date format ...
by wbm1113
28 Aug 2018, 20:43
Forum: Ask for Help (v1)
Topic: A_LoopFileTimeModified in Associative Arrays
Replies: 2
Views: 629

Re: A_LoopFileTimeModified in Associative Arrays

Thank you!! It would have been a long, long time before I figured that out on my own.
by wbm1113
28 Aug 2018, 11:57
Forum: Ask for Help (v1)
Topic: A_LoopFileTimeModified in Associative Arrays
Replies: 2
Views: 629

A_LoopFileTimeModified in Associative Arrays

Disclaimer: I am a coding noob. I have the following script that looks in a folder and grabs a copy of a file where the file name contains a specified string. If it finds more than one, it will grab the most recently modified one. SummaryObject := Object() SummaryTimeCompare := Object() SummaryTimeC...

Go to advanced search