Help with Lesson 4 Practice 1

I can’t get the font to change. I’ve gone through lesson 4 practice one “notepad automation” about 5 times. I compare the answer to my work and don’t see any differences. The text enters just fine. The title enters fine. What could be missing?
Thanks in advance.

2 Likes

Can you attache your workflow? You can edit the recording according to your need if that is not working for you

evidently not. New users cannot upload.

Try this sample -

Main.xaml (17.5 KB)

I have converted both to .xlsx.
I notice two differences that may be significant at 1.34.
The “book answer” has:
1.28 Attach Window ‘Font Dialog’ (WindowScope)
Selector =
Private = False
Body
1.29 Do (Sequence)
Private = False
Activities
1.37 Select item ‘list Font style:’ (SelectItem)
Item = Bold
Target
Selector =
WaitForReady = INTERACTIVE
Private = False
1.34 Select item ‘list Size:’ (SelectItem)
Item = 16
Target
Selector =
WaitForReady = INTERACTIVE
Private = False
1.30 Click ‘Button’ (Click)
KeyModifiers = None
CursorPosition
OffsetX = 46
OffsetY = 22
Position = TopLeft
SimulateClick = False
SendWindowMessages = False
ClickType = CLICK_SINGLE
MouseButton = BTN_LEFT
Target
Selector =
WaitForReady = INTERACTIVE
Private = False
My answer was at 1.37:
1.28 Attach Window ‘Font Dialog’ (WindowScope)
Selector =
Private = False
Body
1.29 Do (Sequence)
Private = False
Activities
1.37 Select item ‘list Font style:’ (SelectItem)
Item = Bold
Target
Selector =
WaitForReady = INTERACTIVE
Private = False
1.34 Select item ‘list Size:’ (SelectItem)
Item = 16
Target
Selector =
WaitForReady = INTERACTIVE
Private = False
1.30 Click ‘Button’ (Click)
KeyModifiers = None
CursorPosition
OffsetX = 36
OffsetY = 10
Position = TopLeft
SimulateClick = False
SendWindowMessages = False
ClickType = CLICK_SINGLE
MouseButton = BTN_LEFT
Target
Selector =
WaitForReady = INTERACTIVE
Private = False

Since I can’t upload to here, i’ve uploaded it to my Google Drive. Here’s the link:

Thanks for your help!

@AdamHall There was error with selector now its updated please check it

LastTry-stillDoesntChangeFont.xaml (23.7 KB)

You just need to add one click activity after the select item. Try this flow it will work
Main.xaml (25.6 KB)

1 Like

Thanks! I’m not sure I really understand what I did wrong.

1 Like