Search found 70 matches

by Mipha
12 Dec 2018, 08:39
Forum: Ask For Help
Topic: navigating to a page disables font
Replies: 2
Views: 168

Re: navigating to a page disables font

TLM wrote:
11 Dec 2018, 23:37
setting the client version of ie to the latest usually works but I forget how...
What exactly do you mean with this? Do you mean this as a setting in ahk or something I'd have to put in the html code or ahk code?
by Mipha
11 Dec 2018, 13:53
Forum: Ask For Help
Topic: navigating to a page disables font
Replies: 2
Views: 168

navigating to a page disables font

When travelling to a html page. The font-face rule seems to stop working in the ahk script. Here's the example of the script I'm using. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode I...
by Mipha
09 Dec 2018, 11:47
Forum: Ask For Help
Topic: ActiveX font importing stops working randomly
Replies: 3
Views: 235

Re: ActiveX font importing stops working randomly

Does seriously no one around here have any clue? Why do fonts in ahk have to be by far the most troublesome feature I ever had to work with :/
by Mipha
07 Dec 2018, 07:55
Forum: Ask For Help
Topic: ActiveX font importing stops working randomly
Replies: 3
Views: 235

Re: ActiveX font importing stops working randomly

It has been over a day. Is there at least someone that knows a place where they know more about activeX so I can ask there?
by Mipha
06 Dec 2018, 03:55
Forum: Ask For Help
Topic: Simple AHK Macro
Replies: 1
Views: 114

Re: Simple AHK Macro

You can use send {up down} to press the up arrow down. You can then use send {up up} to release it and you can use sleep 2000 to wait 2 seconds. Combining these you can probably make the script you want too.
by Mipha
06 Dec 2018, 03:41
Forum: Ask For Help
Topic: ActiveX font importing stops working randomly
Replies: 3
Views: 235

ActiveX font importing stops working randomly

I have tried to replicate this issue on a html file and I couldn't get it to replicate so this seems to only happen on activeX windows. Here is some code #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common ...
by Mipha
25 Nov 2018, 18:05
Forum: Ask For Help
Topic: disable right click menu on gui
Replies: 2
Views: 139

disable right click menu on gui

gui, add, edit, h0 w0 gui, font, s10 gui +Border +lastfound mainmenuhighH := A_screenheight / 3 mainmenuhighW := A_screenwidth / 3 Gui, Add, ActiveX, x0 y0 w%mainmenuhighW% h%mainmenuhighH% vfeaturedoc, HtmlFile gui, show return Here is a simple gui. Pressing right click on this brings up this menu...
by Mipha
19 Nov 2018, 03:07
Forum: Ask For Help
Topic: Use custom font in activeX htmlfile Topic is solved
Replies: 40
Views: 1229

Re: Use custom font in activeX htmlfile Topic is solved

Have you tried this with Shell.Browser or Shell.Explorer? featuredoc.silent := true, featuredoc.Navigate("about:blank") While featuredoc.readystate != 4 or featuredoc.busy Sleep 10 featuredoc.document.write(html) where html is a variable containing the HTML code featured in your second codebox abov...
by Mipha
17 Nov 2018, 07:18
Forum: Ask For Help
Topic: navigate to a html file with a value
Replies: 0
Views: 187

navigate to a html file with a value

I actually already have a way to do this but I have trouble accessing the value in the html file ;inside the ahk script gui, add, edit, h0 w0 gui, font, s10 gui +Border -Caption +lastfound gui, color, EBAE02 WinSet, TransColor, EBAE02 winsettitle, Test script guiwidth := A_screenwidth / 1.5 guiheigh...
by Mipha
17 Nov 2018, 07:09
Forum: Ask For Help
Topic: Use custom font in activeX htmlfile Topic is solved
Replies: 40
Views: 1229

Re: Use custom font in activeX htmlfile Topic is solved

Maybe you could build a more complex CSS style with different values for each class/id and use different class or id for elements of each distinct layout. Dunno if I made myself clear. Something like this: <style type=text/css> myid1 { width: 50px; } myid2 { width: 100px; } </style> <body> <p id='m...
by Mipha
16 Nov 2018, 15:04
Forum: Ask For Help
Topic: Use custom font in activeX htmlfile Topic is solved
Replies: 40
Views: 1229

Re: Use custom font in activeX htmlfile Topic is solved

Well, a font should be uninstalled, not simply deleted - my bad. The zombie may go away upon reboot, or it may not. There are tutorials on the web for removing protected system fonts, in case this one fell into that category. Since you have to load the entire HTML file (from a path) in order for th...
by Mipha
15 Nov 2018, 08:34
Forum: Ask For Help
Topic: Use custom font in activeX htmlfile Topic is solved
Replies: 40
Views: 1229

Re: Use custom font in activeX htmlfile Topic is solved

Now would be a good time to say the F word. :( Importing a font would be best because then changing font color would be much simpler than manipulating image pixels through gdiplus or whatever else. I wonder if it'd work for ANY installed font. Because if it does, you can simply install the font in ...
by Mipha
15 Nov 2018, 06:32
Forum: Ask For Help
Topic: Use custom font in activeX htmlfile Topic is solved
Replies: 40
Views: 1229

Re: Use custom font in activeX htmlfile Topic is solved

Have you tried this with Shell.Browser or Shell.Explorer? featuredoc.silent := true, featuredoc.Navigate("about:blank") While featuredoc.readystate != 4 or featuredoc.busy Sleep 10 featuredoc.document.write(html) where html is a variable containing the HTML code featured in your second codebox abov...
by Mipha
15 Nov 2018, 05:10
Forum: Ask For Help
Topic: Use custom font in activeX htmlfile Topic is solved
Replies: 40
Views: 1229

Re: Use custom font in activeX htmlfile Topic is solved

Alright. So with everything combined. Here is an example of importing a custom font in an ahk script ;put this in the AHK script gui Html font:default gui, add, edit, h0 w0 gui, font, s10 gui +Border -Caption +lastfound gui, color, EBAE02 WinSet, TransColor, EBAE02 winsettitle, Html font guiwidth :=...
by Mipha
14 Nov 2018, 16:29
Forum: Ask For Help
Topic: Use custom font in activeX htmlfile Topic is solved
Replies: 40
Views: 1229

Re: Use custom font in activeX htmlfile Topic is solved

You need the meta tag in the head to force the browser to run in the latest mode. The control defaults to IE7 without it. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content=...
by Mipha
14 Nov 2018, 14:19
Forum: Ask For Help
Topic: Use custom font in activeX htmlfile Topic is solved
Replies: 40
Views: 1229

Re: Use custom font in activeX htmlfile Topic is solved

For what its worth, I was only able to get it to work properly by using the Shell.Explorer object and navigating to a local HTML file. It could have something to do with ActiveX permissions for loading unsafe content or something. Not sure. gui, add, edit, h0 w0 ;removes annoying noise when pressin...
by Mipha
14 Nov 2018, 11:46
Forum: Ask For Help
Topic: Use custom font in activeX htmlfile Topic is solved
Replies: 40
Views: 1229

Re: Use custom font in activeX htmlfile Topic is solved

For what its worth, I was only able to get it to work properly by using the Shell.Explorer object and navigating to a local HTML file. It could have something to do with ActiveX permissions for loading unsafe content or something. Not sure. gui, add, edit, h0 w0 ;removes annoying noise when pressin...
by Mipha
14 Nov 2018, 07:50
Forum: Ask For Help
Topic: Use custom font in activeX htmlfile Topic is solved
Replies: 40
Views: 1229

Re: Use custom font in activeX htmlfile Topic is solved

kczx3 wrote:
14 Nov 2018, 07:15
You’re not really using AutoHotkey for this though. You’re using a web browser control. Very different things.
Do you perhaps know a place where they know more about web browser controls so I can ask there?
by Mipha
14 Nov 2018, 03:55
Forum: Ask For Help
Topic: Use custom font in activeX htmlfile Topic is solved
Replies: 40
Views: 1229

Re: Use custom font in activeX htmlfile Topic is solved

It might help if I post the fonts that I'm using online. Maybe I did something wrong in there. Who knows. Here they are currently only the letter A has a symbol for it and it looks like the mace shown in This post. Also I still can't get over how importing fonts or changing the color of a simple ima...

Go to advanced search