Search found 74 matches

by DanielToward13
17 Dec 2017, 13:57
Forum: Tips and Tricks (v1)
Topic: [GUI] Use HTML and CSS for your GUIs!
Replies: 148
Views: 163208

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

As an html file it works. When I convert the script to UTF-16 Little Endian, it works but I don't know why UTF-16 !?
by DanielToward13
16 Dec 2017, 20:39
Forum: Tips and Tricks (v1)
Topic: [GUI] Use HTML and CSS for your GUIs!
Replies: 148
Views: 163208

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

It's saved as UTF-8 file and I have tried different options in order to display it correctly but none works for me. 1. I create a file in Notepad++ and save it in UTF-8 encoding. 2. In SciTE4AutoHotkey Ver 3.0.06.01, I go to the File>Encoding>UTF-8 3. Tools>SciTE4AutoHotkey settings>File>UTF-8 4. Ad...
by DanielToward13
16 Dec 2017, 02:47
Forum: Tips and Tricks (v1)
Topic: [GUI] Use HTML and CSS for your GUIs!
Replies: 148
Views: 163208

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

How to change the innerHtml of the div tags in the DOM for UTF-8 languages in your code? I have modified your example code to change the default text to a Hebrew word מִבְחָן but the result isn't showing in UTF-8 despite adding the <meta http-equiv='X-UA-Compatible' content='IE=edge' charset='UTF-8'...
by DanielToward13
14 Dec 2017, 06:24
Forum: Ask for Help (v1)
Topic: show svg/wdp/jxr/animated gif image files in a GUI Topic is solved
Replies: 12
Views: 7593

Re: show svg/wdp/jxr/animated gif image files in a GUI Topic is solved

Thanks for sharing. Can't we use this explorer extension to display SVG vectors on Autohotkey GUI?
by DanielToward13
12 Dec 2017, 18:39
Forum: Ask for Help (v1)
Topic: How to display RTL Languages in GUI? Topic is solved
Replies: 4
Views: 1265

Re: How to display RTL Languages in GUI? Topic is solved

@jeeswg What does that mean? I have another problem which is how to close the GUI if the user clicks outside of the notification window? I have tried to add the below code but it doesn't work because hWinUM is always different from PN_hwnd . is it because the notification GUI is transparent or NoAct...
by DanielToward13
12 Dec 2017, 16:20
Forum: Ask for Help (v1)
Topic: How to display RTL Languages in GUI? Topic is solved
Replies: 4
Views: 1265

How to display RTL Languages in GUI? Topic is solved

I am using PleasantNotify code to display some notifications in RTL and LTR languages. I have searched for RTL text in GUI but I couldn't find any solution for that. The result should looks something like this: https://preview.ibb.co/cwtYAG/16541151.png I have tried to add 0x00400000L to Gui, Notify...
by DanielToward13
10 Dec 2017, 08:46
Forum: Ask for Help (v1)
Topic: Create IE window without title bar and border line
Replies: 5
Views: 1677

Re: Create IE window without title bar and border line

I am looking for something like the below code: Path := "http://www.autohotkey.com" wb := ComObjCreate("InternetExplorer.Application") wb.visible := true wb.ToolBar := false wb.MenuBar := false wb.Height := 1400 wb.Width := 1400 wb.Navigate(Path) WinSet, Style, -0xC00000, A WinSet, Style, -0x40000, ...
by DanielToward13
09 Dec 2017, 22:51
Forum: Ask for Help (v1)
Topic: Create IE window without title bar and border line
Replies: 5
Views: 1677

Create IE window without title bar and border line

is there a way to hide title bar and border line of the Internet Explorer window like what we do for wb.ToolBar := false and wb.MenuBar := false?
by DanielToward13
07 Dec 2017, 19:13
Forum: Ask for Help (v1)
Topic: IE COM get active tab
Replies: 11
Views: 3475

Re: IE COM get active tab

try the below code from https://autohotkey.com/boards/viewtopic.php?p=168894#p168894 by jeeswg q:: ;get active tab from a specific window WinGet, hWnd, ID, A ;WinGet, hWnd, ID, ahk_class IEFrame oWB := WBGet("ahk_id " hWnd) MsgBox, % oWB.document.title "`r`n" oWB.document.url oWB := "" return ;=====...
by DanielToward13
07 Dec 2017, 17:31
Forum: Ask for Help (v1)
Topic: How to detect click event and URL changes in IE COM
Replies: 0
Views: 469

How to detect click event and URL changes in IE COM

Any idea on how to detect all click events inside IE window that is created by ComObjCreate("InternetExplorer.Application") ? Step 1. I need to show a MsgBox whenever the click event fires on the page. Step 2. I need to detect URL change if the user clicks on page "A" in order to go to page "B" then...
by DanielToward13
07 Dec 2017, 11:09
Forum: Ask for Help (v1)
Topic: How to remove Ad elements from a webpage (IE DOM)
Replies: 1
Views: 546

Re: How to remove Ad elements from a webpage (IE DOM)

I did it by simply manipulating the DOM document.getElementsByClassName("smaller")[0].innerHTML="" . I don't know why such a simple solution didn't come to mind before. Now I have another question: is there a way to display specific classes only? This way I don't have to find undesirable classes and...
by DanielToward13
07 Dec 2017, 10:33
Forum: Ask for Help (v1)
Topic: How to remove Ad elements from a webpage (IE DOM)
Replies: 1
Views: 546

How to remove Ad elements from a webpage (IE DOM)

It's possible to open a page and remove some html tags/elements manually from the inspect element. I am looking for a way to do it automatically in DOM (Something like what AdBlock extension is doing). How to remove ads which has class name tags? I don't wan't to retrieve the html content and displa...
by DanielToward13
06 Dec 2017, 20:02
Forum: Ask for Help (v1)
Topic: WinRT JS Toast notifications
Replies: 1
Views: 1116

Re: WinRT JS Toast notifications

Thank you for taking the time to share it. I could not get response by clicking on the Call and Reserve buttons for the first few seconds right after launching the toast. Do you have the same problem? How time input event (e.g. Breakfast, Lunch, Dinner) can be detected from notifications and then ru...
by DanielToward13
05 Dec 2017, 21:57
Forum: Scripts and Functions (v1)
Topic: [LIB] LV_EX - update on 2016-04-28
Replies: 74
Views: 49572

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

Can you give an example of LV_EX_FindString function? I could not figure out how to use it to filter the rows. Also how to update the data after adding new rows?
by DanielToward13
03 Dec 2017, 07:09
Forum: Ask for Help (v1)
Topic: Unique random choice based on weighted array Topic is solved
Replies: 2
Views: 748

Unique random choice based on weighted array Topic is solved

I need a unique random choice algorithm based on a weighted array. For example My_choices := [Blue,Green,Red,Yellow] is the array of my choices and Weighted_array := [2,5,36,67] is the weighted array of my choices. How to modify the VxE's code in order to get what I want? Random,, % A_Now ^ A_TickCo...
by DanielToward13
01 Dec 2017, 18:13
Forum: Ask for Help (v1)
Topic: Why A_Index cause unknown name error Topic is solved
Replies: 6
Views: 1087

Re: Why A_Index cause unknown name error Topic is solved

Thanks. It solves the problem. Some tr tag's value are null or sometimes some elements does not exist so the code returns unknown name error again. How can I check if the return value is null then skip it?
by DanielToward13
01 Dec 2017, 13:07
Forum: Ask for Help (v1)
Topic: Why A_Index cause unknown name error Topic is solved
Replies: 6
Views: 1087

Why A_Index cause unknown name error Topic is solved

I need to retrieve some tr tags from a webpage so I use MyTablee := MyTable.getElementsByTagName("tr")[A_Index] but A_Index cause unknown name error. The code works when I replace A_Index with numbers like MyTablee := MyTable.getElementsByTagName("tr")[2] . I faced this problem before but I don't wh...
by DanielToward13
21 Sep 2017, 11:26
Forum: Ask for Help (v1)
Topic: display a number in notification/taskbar/clock area
Replies: 7
Views: 3136

Re: display a number in notification/taskbar/clock area

Thanks BoBo for your time.
Laszlo's script runs but nothing show up. Maybe because Windows 10 taskbar has changed and the DllCall could not modify it.

Go to advanced search