Search found 101 matches

by elmo
24 Aug 2020, 14:22
Forum: Ask For Help
Topic: Gui Add Text control not responding to height setting
Replies: 4
Views: 70

Re: Gui Add Text control not responding to height setting

@boiler. This is a most excellent suggestion and I would use it excepting that the border is mandatory to guide selection of the text by mouse. Hmmm. The real challenge is to minimize the top white margin within the box; ideally to a single pixel. I am familiar with 0x200 to set text to the middle v...
by elmo
24 Aug 2020, 13:40
Forum: Ask For Help
Topic: Gui Add Text control not responding to height setting
Replies: 4
Views: 70

Re: Gui Add Text control not responding to height setting

Yes, precisely that, to shrink the box independently of the contents. Thank you for clarifying. Or perhaps, is it possible to reduce the padding above and below; especially the white space above the text ? The objective is to maximize the amount of information on a particular screen so the 'tighter'...
by elmo
24 Aug 2020, 11:50
Forum: Ask For Help
Topic: Gui Add Text control not responding to height setting
Replies: 4
Views: 70

Gui Add Text control not responding to height setting

Greetings all, I was hoping to reduce the height of a gui text control; however, it seems not to go below some pre-determined default value. Gui , 1:Add , Text , xm ym h2 Border , Height Test Gui , 1:Show As shown in the example below, the "h2" (height=2 pixels) parameter is completely ignored. x-he...
by elmo
14 Jul 2020, 17:51
Forum: Ask For Help
Topic: Application Security Testing
Replies: 1
Views: 625

Application Security Testing

Has anyone conducted done security scans on a compiled AHK program? Any suggestions are welcome. Thanks.
by elmo
08 Jun 2020, 20:00
Forum: Ask For Help
Topic: Mystery window when program starts
Replies: 9
Views: 385

Re: Mystery window when program starts

O H M Y G A W D ! ! !

Thank you so much @lexikos :bravo:

It worked !!! The main window is NOT showing... I think not at all... At least not so far...

Once again, zero chance I would have solved by myself...

Totally appreciated...
by elmo
08 Jun 2020, 17:44
Forum: Ask For Help
Topic: Mystery window when program starts
Replies: 9
Views: 385

Re: Mystery window when program starts

Hello gregster , Yes, that is the complete code. I can not reproduce on my Windows system either. In this case it is running as a published application on a virtual server so that is causing this anomalous behaviour; as noted, intermittently. Thank you so much for revealing that it is the "script's ...
by elmo
08 Jun 2020, 16:47
Forum: Ask For Help
Topic: Mystery window when program starts
Replies: 9
Views: 385

Re: Mystery window when program starts

Hello gregster , Thanks for taking a crack at this. My code: #SingleInstance , Force #NoEnv #NoTrayIcon #Persistent DetectHiddenWindows , On Gui , 1:New , , Get Rid Of Extra Window Gui , 1:Margin , 8 , 8 Gui , 1:Add , Text , xm ym w0320 Center , How do I get rid of that other window at startup ? Gui...
by elmo
08 Jun 2020, 15:37
Forum: Ask For Help
Topic: Mystery window when program starts
Replies: 9
Views: 385

Re: Mystery window when program starts

Xtra lexikos Dear Xtra, So appreciate your response and quite fond of SetTimer... I 'assume' you mean use SetTimer to close the rogue window if it is present... I will try that if necessary... I was hoping to understand WHAT that window was so I could try to search for a pre-emptive resolution... A...
by elmo
07 Jun 2020, 19:41
Forum: Ask For Help
Topic: Mystery window when program starts
Replies: 9
Views: 385

Mystery window when program starts

Help ! Does anybody know how to keep this window from displaying when a program starts ?

I do not even know what it is so unable to research here on the forum.

get-rid-of-other-window.png
get-rid-of-other-window.png (34.67 KiB) Viewed 385 times
by elmo
15 Feb 2019, 13:08
Forum: Ask For Help
Topic: Other tools for automation?
Replies: 8
Views: 1545

Re: Other tools for automation?

@malcev
hmmm ... more properly THAT sentence would have to be "some smart person would have to translate the code from autoit" ;-)

@SOTE
I have been able to produce good results with IE but had no idea that "Edge down to a science" ... May we trouble you for insights on that method ???
by elmo
15 Feb 2019, 12:32
Forum: Ask For Help
Topic: Other tools for automation?
Replies: 8
Views: 1545

Re: Other tools for automation?

You can automate any browser that supports the W3C WebDriver without Selenium (Selenium for VBA does not work with latest Firefox). Here is example on autoit: https://www.autoitscript.com/forum/topic/191990-webdriver-udf-w3c-compliant-version-11212018/ Hey malcev ... When you say "you can automate"...
by elmo
25 Jan 2019, 18:52
Forum: Ask For Help
Topic: GDIP Second DC - foreground frame - Set Transparent
Replies: 8
Views: 1356

Re: GDIP Second DC - foreground frame - Set Transparent

@Hellbent ... Downloaded and ran your latest version ... I finally understood that you visually melded the frames using, in this, yellow ... However, the sub frame over the main frame remains "opaque" ... Thank you again for trying but short of the canvas itself going transparent seems like end of t...
by elmo
22 Jan 2019, 20:37
Forum: Ask For Help
Topic: GDIP Second DC - foreground frame - Set Transparent
Replies: 8
Views: 1356

Re: GDIP Second DC - foreground frame - Set Transparent

@Hellbent … Ah yes, ctrl+ and it springs to life then the shift … Thanks for the tip … Actually, I just want to put rectangles over the underlying gui, so, specific shapes as opposed to drawing … I guess you are using the native GDI calls that GDIP simply encapsulates which is cool … At this point I...
by elmo
22 Jan 2019, 19:15
Forum: Ask For Help
Topic: GDIP Second DC - foreground frame - Set Transparent
Replies: 8
Views: 1356

Re: GDIP Second DC - foreground frame - Set Transparent

@Hellbent … Apologies … This is not the first time that something I am looking for is right under my nose and I can not take advantage of it … It's been days of reading and expirementing to isolate what I posted … Sadly your post is too complicated for me … I did in fact download it and run it but j...
by elmo
22 Jan 2019, 18:42
Forum: Ask For Help
Topic: GDIP Second DC - foreground frame - Set Transparent
Replies: 8
Views: 1356

GDIP Second DC - foreground frame - Set Transparent

IsNull explained a method using GDIP to attached a second DC (foreground frame) to a base (background) GUI. It is perfect in every respect excepting that I do not know how to make the second DC (foreground frame) transparent. Basically I was hoping for a virtual glass canvas over the underlying GUI ...
by elmo
12 Jan 2019, 18:44
Forum: Scripts and Functions
Topic: Internet Explorer: JavaScript examples
Replies: 22
Views: 5764

Re: Internet Explorer: JavaScript examples

@jeeswg

Ah, ok, browser window coordinates.

Hmmm ... Are you aware of an efficient way to find the top left corner of the WBGet that is returned so that the screen and window coordinates can be synchronized?

Again, thank you so much for the most excellent help.
by elmo
12 Jan 2019, 15:37
Forum: Scripts and Functions
Topic: Internet Explorer: JavaScript examples
Replies: 22
Views: 5764

Re: Internet Explorer: JavaScript examples

@jeeswg

Copy that and appreciate the options.

Hmmm ... Question ... in

Code: Select all

oElt := oWB.document.elementFromPoint(vCurX, vCurY)
Are vCurX and vCurY windows screen coordinates or IE browser window coordinates?
by elmo
12 Jan 2019, 13:39
Forum: Scripts and Functions
Topic: Internet Explorer: JavaScript examples
Replies: 22
Views: 5764

Re: Internet Explorer: JavaScript examples

@jeeswg

Everything that you suggested works. Thank you so much.

I should have also stated that the objective is to click the returned object, however

Code: Select all

oElt.click()
does nothing.

Any thoughts on what I am doing wrong?
by elmo
11 Jan 2019, 23:37
Forum: Scripts and Functions
Topic: Internet Explorer: JavaScript examples
Replies: 22
Views: 5764

Re: Internet Explorer: JavaScript examples

@jeeswg

So appreciate the timely response. Yes, I am using 1.1. Excited to try this at the office tomorrow. Will report back.
by elmo
11 Jan 2019, 21:46
Forum: Scripts and Functions
Topic: Internet Explorer: JavaScript examples
Replies: 22
Views: 5764

Re: Internet Explorer: JavaScript examples

@jeeswg This collection seems really valuable. Thank you for posting. May I trouble you for guidance on elementFromPoint? oWB := WBGet() MsgBox, % oWB.document.url ; this works MsgBox, % oWB.document.elementFromPoint( 953 , 453 ) ; no result Am I using it correctly? Also, where does "oElts" come fro...

Go to advanced search