Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

AutoIt - Select Font?

Featured Replies

I'm new to using AutoIt for doing this stuff, and I need to be able to automate the task of selecting a font in the Font dialog box...

Not sure if I'm not doing it correctly or what:

The dialog in question:

font.png

What AutoIt Spy shows when I put the mouse over the combo box list of fonts:

autoit.png

The code I've tried:

ControlCommand("#32770", "", "ComboLBox1", "SelectString", "Terminal")
ControlCommand("Font", "", "ComboLBox1", "SetCurrentSelection", "Terminal")


Well I can't find any of my script with examples of handling font dialogs, but as I recall the boxes above the combobox's are edit fields, so you just have to set the text per box.

So:

WinWaitActive ( "Font" )

ControlSetText ( "Font" , "" , "Edit1" , "Terminal" )

ControlSetText ( "Font" , "" , "Edit2" , "Bold" )

ControlSetText ( "Font" , "" , "Edit3" , "12" )

ControlClick ( "Font" , "" , "Button2" )

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.