Search found 1303 matches
- 13 Mar 2016, 17:33
- Forum: Ask for Help (v1)
- Topic: Installed Font Names
- Replies: 11
- Views: 6307
Re: Installed Font Names
Wow! Thank you both. You've given me some ideas. Further investigation has shown me that the "Too many fonts" error is still there. It takes a while to show up but it does. What I don't understand with my own experimentation is that even though a Gui is destroyed the font object is retained so I gue...
- 12 Mar 2016, 18:18
- Forum: Ask for Help (v1)
- Topic: Too many fonts
- Replies: 3
- Views: 988
Too many fonts
Thanks to Alguimist I was able to create an AHK Gui with a list view showing all the installed fonts. My idea is to be able to show some sample text and have it change to the font when a font name is clicked. The problem I am having now is in resizing the sample. I have been using the function below...
- 12 Mar 2016, 04:10
- Forum: Ask for Help (v1)
- Topic: Installed Font Names
- Replies: 11
- Views: 6307
Re: Installed Font Names
Thanks for the replies, and especially Alguimist. That works perfectly. How long did it take you get to grips with DllCall? How to learn about it. Brilliant. Thanks again.
- 11 Mar 2016, 08:42
- Forum: Ask for Help (v1)
- Topic: Installed Font Names
- Replies: 11
- Views: 6307
Re: Installed Font Names
Thanks, I was hoping there might be an ahk solution, also doesn't seem to deal with ttf type fonts?
- 11 Mar 2016, 02:14
- Forum: Ask for Help (v1)
- Topic: Installed Font Names
- Replies: 11
- Views: 6307
Installed Font Names
I know how to loop through teh installed fonts folder but is there a way to get the actual font name from the file name? Thanks.
- 11 Mar 2016, 00:50
- Forum: Ask for Help (v1)
- Topic: Windows 10 Gui Slider Ticks
- Replies: 0
- Views: 530
Windows 10 Gui Slider Ticks
Does anyone know how to make the ticks show using an AHK Gui with Windows 10? Windows 10 turns my slider blue which I can live with but the tick marks disappear and I need them. Thanks Here's the code I used: Gui, Add, Slider, x0 y+0 w1000 h100 Center Thick80 Range1-5 TickInterval vDR gtPOS altsubmi...
- 11 Mar 2016, 00:48
- Forum: Ask for Help (v1)
- Topic: Windows 10 Gui Slider Ticks
- Replies: 1
- Views: 680
Windows 10 Gui Slider Ticks
Does anyone know how to make the ticks show using an AHK Gui with Windows 10? Windows 10 turns my slider blue which I can live with but the tick marks disappear and I need them. Thanks Here's the code I used: Gui, Add, Slider, x0 y+0 w1000 h100 Center Thick80 Range1-5 TickInterval vDR gtPOS altsubmi...
- 04 Mar 2016, 05:17
- Forum: Ask for Help (v1)
- Topic: Reversing a number
- Replies: 11
- Views: 2294
Re: Reversing a number
Thanks for all the replies, the function is definitely useful. I tried a parsing loop but couldn't get it to work. Thanks again.
- 04 Mar 2016, 01:15
- Forum: Ask for Help (v1)
- Topic: Reversing a number
- Replies: 11
- Views: 2294
Reversing a number
If I have a number, eg 122456, what's the easiest way to reverse that number eg end up with 654221. Thanks
- 25 Feb 2016, 19:44
- Forum: Ask for Help (v1)
- Topic: Function OK in Windows 7 fails with Windows 10
- Replies: 6
- Views: 1246
Re: Function OK in Windows 7 fails with Windows 10
Thanks, lexikos, I can only presume I accidentally deleted part of the line and then didn't notice. My Windows 10 screen size is a slightly different shape which accounts for why it worked on Windows 7 but not on Windows 10. Tried to reply yesterday but the forum asked me to us a CAPTCHA. Then this ...
- 23 Feb 2016, 21:08
- Forum: Ask for Help (v1)
- Topic: Function OK in Windows 7 fails with Windows 10
- Replies: 6
- Views: 1246
Re: Function OK in Windows 7 fails with Windows 10
Thanks for the reply but I don't follow. vy is assigned inside the function. The same goes for SIZ but no warning is given about that. Anyway I tried your suggestion and still got the same warning. This working in Windows 7 and was working in Windows 10. Very frustrating.
- 23 Feb 2016, 19:46
- Forum: Ask for Help (v1)
- Topic: Function OK in Windows 7 fails with Windows 10
- Replies: 6
- Views: 1246
Function OK in Windows 7 fails with Windows 10
With the following script I get a warning with Windows 10 that vy hasn't been assigned a value and the script fails. It works as expected with Windows 7. The strange thing is it was fine a couple of days ago. I haven't updated Windows 10. I did alter my entire script a little. But without those chan...
- 17 Feb 2016, 23:25
- Forum: Ask for Help (v1)
- Topic: Fin file in Explorer
- Replies: 2
- Views: 700
Re: Fin file in Explorer
Thanks, it was the select option that I'd missed.
- 17 Feb 2016, 20:19
- Forum: Ask for Help (v1)
- Topic: Fin file in Explorer
- Replies: 2
- Views: 700
Fin file in Explorer
Suppose I have a text file and know the location, eg D:\My text file.txt. How can I open explorer and highlight that file? I think I'm missing something obvious but can't find what it is. Thanks.
- 15 Feb 2016, 17:52
- Forum: Ask for Help (v1)
- Topic: Gui Controls - rotate?
- Replies: 0
- Views: 481
Gui Controls - rotate?
Is it possible to rotate a Gui Control? I'd like to be able to make a GUi that has some text rotated 180 degrees. Thanks.
- 15 Feb 2016, 17:49
- Forum: Ask for Help (v1)
- Topic: Windows 10 vs Windows 7 Gui Differences - fonts
- Replies: 3
- Views: 1090
Re: Windows 10 vs Windows 7 Gui Differences - fonts
Sorry, didn't make myself clear. I'm not talking about the default font size but about font sizes set with Gui, font. They are not exactly teh same size on Windows 10 and on Windows 7.
- 14 Feb 2016, 22:14
- Forum: Ask for Help (v1)
- Topic: Windows 10 vs Windows 7 Gui Differences - fonts
- Replies: 3
- Views: 1090
Windows 10 vs Windows 7 Gui Differences - fonts
I've created a GUI but it looks very different on my Windows 7 desktop from my Windows 10 tablet. Specifically the fonts are different. I used Gui -DPIScale to stop Windows from changing the pixel sizes but font size also seems to be behaving differently. Any tips for how to get fonts to display the...
- 14 Feb 2016, 00:23
- Forum: Ask for Help (v1)
- Topic: Activate Window via Function's parameter
- Replies: 6
- Views: 1120
Re: Activate Window via Function's parameter
Thanks for the replies, I worked out I need to pass the parameter to a variable:
Code: Select all
Global WinOk := Win
- 13 Feb 2016, 22:03
- Forum: Ask for Help (v1)
- Topic: Activate Window via Function's parameter
- Replies: 6
- Views: 1120
Activate Window via Function's parameter
Why am I seeing an error with the following code (variable not assigned a value) and how to fix it? Thanks:
Code: Select all
Test("C:\")
return
esc:: exitapp
Test(Win)
{
Global
Gui, add, button, w100 h30 gShow, Show
Gui, show
return
show:
WinActivate, %Win%
return
}
- 10 Feb 2016, 22:36
- Forum: Ask for Help (v1)
- Topic: AHK GUI Listview - last visible row?
- Replies: 4
- Views: 1303
Re: AHK GUI Listview - last visible row?
Thanks very much, Blackholyman, Just noticed your reply.