Search found 47 matches

by canisdibellum
28 Nov 2018, 19:59
Forum: Ask for Help (v1)
Topic: Window ignores AHK Topic is solved
Replies: 2
Views: 851

Re: Window ignores AHK Topic is solved

THANK YOU!!!

I added:

Code: Select all

if not A_IsAdmin
	Run *RunAs "%A_AhkPath%" "%A_ScriptFullPath%"
And it works now!!!
by canisdibellum
28 Nov 2018, 19:29
Forum: Ask for Help (v1)
Topic: Window ignores AHK Topic is solved
Replies: 2
Views: 851

Window ignores AHK Topic is solved

I'm attempting to automate a program called Ots Studio. WindowSpy recognizes there is a window, gives me the title and size of it (but no controls within) and AHK will even give me the ahk_id of it. But no commands effect it! I can't send a simple ^w, I can't minimize it, close it, nothing I try wor...
by canisdibellum
02 Aug 2016, 08:10
Forum: Scripts and Functions (v1)
Topic: [LIB] LV_EX - update on 2016-04-28
Replies: 74
Views: 48626

Re: [LIB] LV_EX - update on 2016-04-28

ah yes....missed that one...thanks!
by canisdibellum
01 Aug 2016, 22:06
Forum: Scripts and Functions (v1)
Topic: [LIB] LV_EX - update on 2016-04-28
Replies: 74
Views: 48626

Re: [LIB] LV_EX - update on 2016-04-28

@just me: sorry for my ignorance....it looks like LV_EX_FindString only searches 1st Column....is there anyway to search other columns?
by canisdibellum
12 Jul 2016, 07:59
Forum: Bug Reports
Topic: Tab3 extends randomly
Replies: 1
Views: 1254

Tab3 extends randomly

My main gui has 4 Tab3 tabs on the bottom and sometimes (seems to be completely random) when switching between them, the tabs strech down off of my gui leaving just a little bit to click on to switch again which will fix it temporarily. My gui is resizeable and i have a sniggling feeling thats at le...
by canisdibellum
12 Jul 2016, 07:37
Forum: Scripts and Functions (v1)
Topic: [Class] LV_InCellEdit - update on 2015-12-15
Replies: 75
Views: 26209

Re: [Class] LV_InCellEdit - update on 2015-12-15

Hi canisdibellum. I'm not sure what you are talking about. 1) it had a tendency to add a leading space I never noticed such an issue and nobody else reported it as yet. 2) you can no longer use controlget to get mass data from LVs What do you mean? The class is using ControlGet internally without a...
by canisdibellum
12 Jul 2016, 02:57
Forum: Scripts and Functions (v1)
Topic: WinWaitProgress / ControlGetProgress
Replies: 2
Views: 1591

Re: WinWaitProgress / ControlGetProgress

I like the idea! Any way to use something similar to monitor windows automatic driver installer (pnp) window to watch for no more spimmimg circle icons?
by canisdibellum
12 Jul 2016, 02:44
Forum: Scripts and Functions (v1)
Topic: Remember windows' position and size
Replies: 9
Views: 6936

Re: Remember windows' position and size

Good job. It's interesting to see your script. In case you're interested, I wrote something similar for an "Ask for Help" topic. Link . I don't plan on developing or maintaining it. Just thought it was worth mentioning, since the scripts are related. :) Kon....that was me you wrote that for andI ha...
by canisdibellum
12 Jul 2016, 02:26
Forum: Scripts and Functions (v1)
Topic: [Class] LV_InCellEdit - update on 2015-12-15
Replies: 75
Views: 26209

Re: [Class] LV_InCellEdit - update on 2015-12-15

Sorry didnt have time to read other comments....implemented your code and loved it but had to
Remove it for 2 reasons...1) it had a tendency to add a leading space and 2) you can no longer use controlget to get mass data from LVs
by canisdibellum
11 Jul 2016, 00:52
Forum: Ask for Help (v1)
Topic: Windows 7 post-deployment automation
Replies: 0
Views: 695

Windows 7 post-deployment automation

(Somewhat in-depth explanation and context hidden in spoiler to make post easier to digest) I have 3000 computers to image at work, many different models. boss has no problem w me adding scripts into the ghost file he made but he doesnt want any in-depth tinkering. After imaging, windows finishes sy...
by canisdibellum
24 Jun 2016, 00:19
Forum: Ask for Help (v1)
Topic: Closing InputBox via "x" doing something different than Cancel [Solved]
Replies: 2
Views: 1073

Re: Closing InputBox via "x" doing something different than Cancel

Awesome....exactly the kind of answer I was looking for thanks a lot!
by canisdibellum
24 Jun 2016, 00:17
Forum: Wish List
Topic: GUI feature wishlist
Replies: 3
Views: 1986

Re: GUI feature wishlist

Fair enough on all counts...I appreciate your time and honestly expected a "No" on all counts...I assumed most if any limitations were either because of C++ or the windows API or even more than likely my own lack of knowledge, even with 2 years experience (I really need to figure out DLL calls and m...
by canisdibellum
23 Jun 2016, 20:10
Forum: Ask for Help (v1)
Topic: Closing InputBox via "x" doing something different than Cancel [Solved]
Replies: 2
Views: 1073

Closing InputBox via "x" doing something different than Cancel [Solved]

I am asking my users to input some data in an input box or to press the "Cancel" button to do somthing like suppress further messages (I'll be changing the text of the cancel button) HOWEVER if this inputbox is triggered by mistake, I still want them to be able to close it normally with the "X" butt...
by canisdibellum
23 Jun 2016, 20:02
Forum: Ask for Help (v1)
Topic: Anchoring Two GUI Windows together
Replies: 3
Views: 1745

Re: Anchoring Two GUI Windows together

If you are looking at anchoring a AHK Gui button to another window, below is example code of attaching a child button to a parent window of Excel. Win_Hwnd := WinExist("ahk_exe excel.exe ahk_class XLMAIN") ; Gui Create Gui, Font, s12, Bold Verdana Gui, Margin, 0, 0 Gui, Add, Button, xp yp Default g...
by canisdibellum
23 Jun 2016, 14:43
Forum: Ask for Help (v1)
Topic: Anchoring Two GUI Windows together
Replies: 3
Views: 1745

Anchoring Two GUI Windows together

I've really been wanting to implement Colored buttons on the GUI for this project I've been working on for over a year. I found a solution that looks great here, posted by noonz78: https://autohotkey.com/board/topic/19694-color-buttons/ The problem is, it relies on 2 overlaying windows and being set...
by canisdibellum
23 Jun 2016, 11:04
Forum: Ask for Help (v1)
Topic: Using AHK to Stop a Window from closing
Replies: 2
Views: 1264

Re: Using AHK to Stop a Window from closing

try something like this oExcel := ComObjActive("Excel.Application") oWorkbook := oExcel.ActiveWorkbook ComObjConnect(oWorkbook, Workbook_Events) return class Workbook_Events { BeforeClose(Cancel) { msgbox % "closing" } } more oExcel := ComObjActive("Excel.Application") oWorkbook := oExcel.ActiveWor...
by canisdibellum
23 Jun 2016, 03:30
Forum: Wish List
Topic: GUI feature wishlist
Replies: 3
Views: 1986

GUI feature wishlist

Firstus, I want to start with thanking Lexikos...I know you didn't start AHK but you've made it very powerful and useful...it helped me discover my love of coding...I'f i'd attempted to start with anything else (even VB) I would've written the whole thing off as too complicated. ok on to the ideas (...
by canisdibellum
18 Jun 2016, 15:28
Forum: Ask for Help (v1)
Topic: Excel Trying to get COM syntax from VBA (Print dialog) [SOLVED]
Replies: 6
Views: 1736

Re: Excel Trying to get COM syntax from VBA (Print dialog)

Capn Odin wrote:Take a look at this.
Dialogs.xlsx
Awesome! That works too! Thank you!

I wound up finding similar list at: https://msdn.microsoft.com/en-us/librar ... 94519.aspx

Marked solved and included working script examples in Original post
by canisdibellum
18 Jun 2016, 14:54
Forum: Ask for Help (v1)
Topic: Excel Trying to get COM syntax from VBA (Print dialog) [SOLVED]
Replies: 6
Views: 1736

Re: Excel Trying to get COM syntax from VBA (Print dialog)

Capn Odin wrote:xlDialogPrint is likely an index (integer), I don't know what index would be the equivalent.

Code: Select all

Xl := ComObjCreate("Excel.Application")
Xl.Visible := True
XL.Application.Dialogs(1).Show
1 shows the Open dialog box so we're on the right track....but every number higher I tried (stopped at 5) was null
by canisdibellum
18 Jun 2016, 12:14
Forum: Ask for Help (v1)
Topic: Excel Trying to get COM syntax from VBA (Print dialog) [SOLVED]
Replies: 6
Views: 1736

Excel Trying to get COM syntax from VBA (Print dialog) [SOLVED]

Trying to show print dialog in Excel the VBA I have here works, but I'm getting a type mismatch when attempting to execute with COM in VBA: Application.Dialogs(xlDialogPrint).Show ActiveWindow.SelectedSheets.PrintOut I've tried everything below in AHK...I broke up the code a little bit for you to ma...

Go to advanced search