Search found 197 matches

by malcev
14 Sep 2019, 06:33
Forum: Tips and Tricks
Topic: [GUI] Use HTML and CSS for your GUIs!
Replies: 128
Views: 68534

Re: [GUI] Use HTML and CSS for your GUIs!

They were not removed.
You can still use it using proper document mode (<10) and modifying security settings.
by malcev
11 Sep 2019, 12:43
Forum: Ask For Help
Topic: Retrieving Elements Within a Frame
Replies: 19
Views: 813

Re: Retrieving Elements Within a Frame

You can search for commands that are used in that function and read manual what they do.
by malcev
11 Sep 2019, 09:56
Forum: Ask For Help
Topic: Retrieving Elements Within a Frame
Replies: 19
Views: 813

Re: Retrieving Elements Within a Frame

Pwb:= ComObjCreate( "InternetExplorer.Application" ) Pwb.Navigate("https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_frame_cols") Pwb.Visible:= True While ( Pwb.Busy || Pwb.ReadyState != 4 ) Sleep 10 msgbox page loaded oIE := IEGet() msgbox % oIE.document.documentElement.OuterHtml iFrame :=...
by malcev
11 Sep 2019, 08:14
Forum: Ask For Help
Topic: A_CaretX Useless on Chrome
Replies: 3
Views: 196

Re: A_CaretX Useless on Chrome

You can get caret position in Chrome with iaccessible interface.
by malcev
10 Sep 2019, 19:21
Forum: Scripts and Functions
Topic: GDI+ standard library 1.45 by tic
Replies: 335
Views: 85961

Re: GDI+ standard library 1.45 by tic

I think here is error:: Gdip_CreateBitmapFromClipboard() { Ptr := A_PtrSize ? "UPtr" : "UInt" if !DllCall("IsClipboardFormatAvailable", "uint", 8) return -2 if !DllCall("OpenClipboard", Ptr, 0) return -1 if !hBitmap := DllCall("GetClipboardData", "uint", 2, Ptr) return -3 if !pBitmap := Gdip_CreateB...
by malcev
10 Sep 2019, 17:32
Forum: Ask For Help
Topic: I need help working with AHK with chrome
Replies: 16
Views: 860

Re: I need help working with AHK with chrome

Run AccExplorer, press "select with mouse" button (3-rd from left), wait for new window with this button and drag this button to needed element. After that press "Do it" in "Def Action". https://i.stack.imgur.com/h8pZl.jpg You can alo check object for methods and properties - press "check mark" butt...
by malcev
10 Sep 2019, 15:55
Forum: Ask For Help
Topic: I need help working with AHK with chrome
Replies: 16
Views: 860

Re: I need help working with AHK with chrome

Strange.
You can test it with AccExplorer:
https://github.com/blackrosezy/gui-inspect-tool/blob/master/AccExplorer32.exe
Select code box element and press Def Action.
After that State should become focusable, focused.
by malcev
10 Sep 2019, 12:41
Forum: Ask For Help
Topic: I need help working with AHK with chrome
Replies: 16
Views: 860

Re: I need help working with AHK with chrome

May be before setting accValue You have to set focus to code box element?
For me it works on Windows 7 too.
by malcev
10 Sep 2019, 12:30
Forum: Ask For Help
Topic: I need help working with AHK with chrome
Replies: 16
Views: 860

Re: I need help working with AHK with chrome

For me it works.
Win10. Chrome - Version 76.0.3809.132 (Official Build) (64-bit).
by malcev
10 Sep 2019, 11:54
Forum: Ask For Help
Topic: I need help working with AHK with chrome
Replies: 16
Views: 860

Re: I need help working with AHK with chrome

Loop { ; search "Post Reply" button Sleep, 1000 elem := SearchElement(accChrome, {Name: "", Role: 42, DefaultAction: "activate"}) } until elem || A_Index = 5 if !IsObject(elem) { MsgBox, Failed to find "Post Reply" button Return } elem.accValue(0) := "test"
by malcev
10 Sep 2019, 08:06
Forum: Ask For Help
Topic: Mouse over function
Replies: 13
Views: 851

Re: Mouse over function

Read about createEventObject and fireEvent.
by malcev
10 Sep 2019, 04:55
Forum: Tips and Tricks
Topic: Run your script under specific UI languages
Replies: 10
Views: 516

Re: Run your script under specific UI languages

That means that You have only 1 installed language with installed "display language pack".
by malcev
10 Sep 2019, 04:52
Forum: Ask For Help
Topic: I need help working with AHK with chrome
Replies: 16
Views: 860

Re: I need help working with AHK with chrome

Instead of sending

Code: Select all

Send {Tab}{Tab}                                                        ; navigate to the code box
SendInput, {Text}It's my new post!                                     ; send the text
You can search for element in the post of reply and set value to it.
by malcev
10 Sep 2019, 04:11
Forum: Ask For Help
Topic: Mouse over function
Replies: 13
Views: 851

Re: Mouse over function

"0x80020006 - Unknown Name" - this error means that current document mode does not support this method or property.
You have to use different methods that current document mode supports or use Enterprise Mode for that site with necessary document mode.
by malcev
03 Sep 2019, 20:25
Forum: Scripts and Functions
Topic: Acc library (MSAA) and AccViewer download links
Replies: 29
Views: 16517

Re: Acc library (MSAA) and AccViewer download links

There is an error in library from the first post link [AccViewer.ahk] Autohotkey-scripts-.ahk/AccViewer.ahk at master · Drugoy/Autohotkey-scripts-.ahk · GitHub https://github.com/Drugoy/Autohotkey-scripts-.ahk/blob/master/DevTools/AccViewer.ahk If DllCall("oleacc\AccessibleObjectFromWindow", "Ptr", ...
by malcev
02 Sep 2019, 17:45
Forum: Scripts and Functions
Topic: Acc library (MSAA) and AccViewer download links
Replies: 29
Views: 16517

Re: Acc library (MSAA) and AccViewer download links

I do not think that it will be correct. I do not understand why in this function: GetAccPath(Acc, byref hwnd="") { hwnd := Acc_WindowFromObject(Acc) WinObj := Acc_ObjectFromWindow(hwnd) WinObjPos := Acc_Location(WinObj).pos while Acc_WindowFromObject(Parent:=Acc_Parent(Acc)) = hwnd { t2 := GetEnumIn...
by malcev
02 Sep 2019, 05:51
Forum: Scripts and Functions
Topic: Acc library (MSAA) and AccViewer download links
Replies: 29
Views: 16517

Re: Acc library (MSAA) and AccViewer download links

I made some changes to the AccViewer: Display all 'State' and its constant name/value Display constant name/value of 'Role' Changed the hotkey from "Ctrl+/" to "Ctrl+F12" Added 'HotTracking' checkbox Increased GUI Size https://gist.github.com/tmplinshi/0fcb8655c1402a3662ac048d0d974915 https://camo....

Go to advanced search