This code displays a blank MsgBox on lines 16, 23. Did I miss something?
https://autohotkey.com/board/topic/1948 ... ntry141057
Search found 63 matches
- 20 Jul 2018, 17:22
- Forum: Ask For Help
- Topic: Does Machine code function works on X64?
- Replies: 2
- Views: 160
- 18 Jul 2018, 07:39
- Forum: Ask For Help
- Topic: How to store long numbers in an array? Topic is solved
- Replies: 1
- Views: 116
How to store long numbers in an array? Topic is solved
I want to store very large numbers (~100 digits long) in an array. How to do that and what is the Max limit? VarSetCapacity(MyArray, 10240000) VarSetCapacity(MyVar, 10240000) MyArray := [] MyVar := 10 MyArray[0] := MyVar + 33300000000000000000 MsgBox % MyArray[0] ;;; returns -9223372036854775799
- 02 Mar 2018, 12:06
- Forum: Ask For Help
- Topic: Does AHK works on Windows 10 IoT?
- Replies: 0
- Views: 150
Does AHK works on Windows 10 IoT?
Does anybody have tried AHK on Windows 10 IoT (e.g. on Raspberry Pi)?
- 25 Jan 2018, 16:06
- Forum: Scripts and Functions
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
- Replies: 131
- Views: 28483
Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Thanks GeekDude. That’s great!
is there a way to get the scroll bar position in order to know where in the page the current view is?
is there a way to get the scroll bar position in order to know where in the page the current view is?
- 25 Jan 2018, 15:12
- Forum: Ask For Help
- Topic: Getting position and size of the scroll bar
- Replies: 6
- Views: 863
Re: Getting position and size of the scroll bar
@jeeswg Your code works in Notepad but is there a way to know the scroll bar position in almost every program (specially Chrome, Firefox, Adobe Acrobat)? If no then what are the alternative ways?
- 24 Jan 2018, 03:31
- Forum: Wish List
- Topic: google search results for AHK forum
- Replies: 2
- Views: 430
google search results for AHK forum
I have tried to search the exact title of the topics on Google but there are less related results from the new forum (/boards). It seems that the old forum is indexed completely by Google but there are some indexing problem with the new forum. It would be very helpful if you could improve the SEO ra...
- 28 Dec 2017, 00:25
- Forum: Scripts and Functions
- Topic: [Class] SQLiteDB - Update on 2016-03-28
- Replies: 129
- Views: 27416
Re: [Class] SQLiteDB - Update on 2016-03-28
I am trying to fetch some data and then insert them into another table but I am getting the Msg: near "n": syntax error Code: 1 error. The process can insert 22 rows but get stuck in the 23th row which starts with ǝ bad´'n . I suspect that the ' character is causing the problem. My database has more...
- 18 Dec 2017, 16:03
- Forum: Ask For Help
- Topic: Remove/hide scroll bars on Activex Gui control
- Replies: 9
- Views: 2446
Re: Remove/hide scroll bars on Activex Gui control
I know this is an old topic but it might still be useful. Injecting the following CSS code -ms-overflow-style: none; will force IE (Internet Explorer and Microsoft Edge) to hide the scrollbar, although the element can still be scrolled if the element's content overflows. You can also use -ms-overflo...
- 17 Dec 2017, 18:56
- Forum: Tips and Tricks
- Topic: [GUI] Use HTML and CSS for your GUIs!
- Replies: 118
- Views: 56547
Re: [GUI] Use HTML and CSS for your GUIs!
I have realized that the script with UTF-8 with BOM encoding works only when I type the Hebrew words using SciTE4AutoHotkey editor with BOM. Which means if I type them using UTF-8 somewhere else and then copy and paste them it won't show up correctly.
- 17 Dec 2017, 13:57
- Forum: Tips and Tricks
- Topic: [GUI] Use HTML and CSS for your GUIs!
- Replies: 118
- Views: 56547
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 !?
- 16 Dec 2017, 20:39
- Forum: Tips and Tricks
- Topic: [GUI] Use HTML and CSS for your GUIs!
- Replies: 118
- Views: 56547
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...
- 16 Dec 2017, 02:47
- Forum: Tips and Tricks
- Topic: [GUI] Use HTML and CSS for your GUIs!
- Replies: 118
- Views: 56547
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'...
- 14 Dec 2017, 06:24
- Forum: Ask For Help
- Topic: show svg/wdp/jxr/animated gif image files in a GUI Topic is solved
- Replies: 12
- Views: 2000
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?
- 14 Dec 2017, 03:30
- Forum: Ask For Help
- Topic: show svg/wdp/jxr/animated gif image files in a GUI Topic is solved
- Replies: 12
- Views: 2000
Re: show svg/wdp/jxr/animated gif image files in a GUI Topic is solved
Any update on displaying SVG?
- 12 Dec 2017, 18:39
- Forum: Ask For Help
- Topic: How to display RTL Languages in GUI? Topic is solved
- Replies: 4
- Views: 292
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...
- 12 Dec 2017, 16:20
- Forum: Ask For Help
- Topic: How to display RTL Languages in GUI? Topic is solved
- Replies: 4
- Views: 292
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...
- 10 Dec 2017, 08:46
- Forum: Ask For Help
- Topic: Create IE window without title bar and border line
- Replies: 5
- Views: 348
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, ...
- 09 Dec 2017, 22:51
- Forum: Ask For Help
- Topic: Create IE window without title bar and border line
- Replies: 5
- Views: 348
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?
- 07 Dec 2017, 19:13
- Forum: Ask For Help
- Topic: IE COM get active tab
- Replies: 11
- Views: 1097
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 ;=====...
- 07 Dec 2017, 17:31
- Forum: Ask For Help
- Topic: How to detect click event and URL changes in IE COM
- Replies: 0
- Views: 145
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...