# Notepad selector

**URL:** <https://forum.uipath.com/t/notepad-selector/121952>\
**Category:** Help\
**Tags:** uiautomation, activities\
**Created:** [June 3, 2019, 4:53am UTC](https://forum.uipath.com/t/notepad-selector/121952 "2019-06-03T04:53:29Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shruti\_Dhond](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/shruti_dhond/32/69504_2.png) [@Shruti\_Dhond](https://forum.uipath.com/u/Shruti_Dhond)\
**Post date:** [June 3, 2019, 4:53am UTC](https://forum.uipath.com/t/notepad-selector/121952/1 "2019-06-03T04:53:30Z")

</div>

Hi , I am getting this error.

 ![image](https://global.discourse-cdn.com/uipath/original/3X/4/2/420c8a68e222f637f905b90612caf2c557eb5249.png)

How to add notepad in selectors. Thanks

---

<div class="post-metadata">

**Author:** ![Sreelatha278](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@Sreelatha278](https://forum.uipath.com/u/Sreelatha278)\
**Post date:** [June 3, 2019, 4:56am UTC](https://forum.uipath.com/t/notepad-selector/121952/2 "2019-06-03T04:56:53Z")

</div>

@Shruti_Dhond

try to use dynamic selectors for the title.

---

<div class="post-metadata">

**Author:** ![Shruti\_Dhond](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/shruti_dhond/32/69504_2.png) [@Shruti\_Dhond](https://forum.uipath.com/u/Shruti_Dhond)\
**Post date:** [June 3, 2019, 5:15am UTC](https://forum.uipath.com/t/notepad-selector/121952/3 "2019-06-03T05:15:02Z")

</div>

@Sreelatha278  
It is not working

---

<div class="post-metadata">

**Author:** ![Tharusha\_Jayadeera](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/tharusha_jayadeera/32/255617_2.png) [@Tharusha\_Jayadeera](https://forum.uipath.com/u/Tharusha_Jayadeera)\
**Post date:** [June 3, 2019, 5:18am UTC](https://forum.uipath.com/t/notepad-selector/121952/4 "2019-06-03T05:18:20Z")

</div>

Hi @Shruti_Dhond,

Use a wildcard for the selector’s title as below. 🙂

```
<wnd app='notepad.exe' cls='Notepad' title='*- Notepad' />

```

Regards,  
Tharusha

---

<div class="post-metadata">

**Author:** ![lakshman](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lakshman/32/523490_2.png) [@lakshman](https://forum.uipath.com/u/lakshman)\
**Post date:** [June 3, 2019, 5:20am UTC](https://forum.uipath.com/t/notepad-selector/121952/5 "2019-06-03T05:20:53Z")

</div>

@Shruti_Dhond

Make selector dynamic by using wild card entries. Here Title attribute should be like this.

```
                                      title='*-Notepad' 

```

Make the that change and then try.

---

<div class="post-metadata">

**Author:** ![Shruti\_Dhond](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/shruti_dhond/32/69504_2.png) [@Shruti\_Dhond](https://forum.uipath.com/u/Shruti_Dhond)\
**Post date:** [June 5, 2019, 5:33am UTC](https://forum.uipath.com/t/notepad-selector/121952/6 "2019-06-05T05:33:40Z")

</div>

How to add selector?

---

<div class="post-metadata">

**Author:** ![Shruti\_Dhond](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/shruti_dhond/32/69504_2.png) [@Shruti\_Dhond](https://forum.uipath.com/u/Shruti_Dhond)\
**Post date:** [June 5, 2019, 5:38am UTC](https://forum.uipath.com/t/notepad-selector/121952/7 "2019-06-05T05:38:08Z")

</div>

What are the basic settings we can do for selectors? Do we need to add them each time? I am getting same kind of selector errors while executing web recording programs. Please guide.

---

<div class="post-metadata">

**Author:** ![Palaniyappan](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/palaniyappan/32/524095_2.png) [@Palaniyappan](https://forum.uipath.com/u/Palaniyappan)\
**Post date:** [June 5, 2019, 6:35am UTC](https://forum.uipath.com/t/notepad-selector/121952/8 "2019-06-05T06:35:41Z")

</div>

Hi @Shruti_Dhond

This would help you for sure

> **[Studio - About Selectors](https://docs.uipath.com/studio/standalone/latest/user-guide/about-selectors)**
>
> The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...

> **[Studio - Selectors With Wildcards](https://docs.uipath.com/studio/standalone/latest/user-guide/selectors-with-wildcards)**
>
> The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...

> **[Studio - Full versus partial selectors](https://docs.uipath.com/studio/standalone/latest/user-guide/full-versus-partial-selectors)**
>
> The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...

> **[Studio - UI Explorer](https://docs.uipath.com/studio/standalone/latest/user-guide/uipath-explorer)**
>
> The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...

> [@How to use a variable in: \<webctrl aaname=VARIABLE /\>](https://forum.uipath.com/t/how-to-use-a-variable-in-webctrl-aaname-variable/1192/48):
>
> Hi all, To pass your variables or arguments to selector, DO NOT CLICK the “…” box to open the Selector Editor window. The Selector Editor window does not recognize your variables or arguments. You need to edit the selector directly to the selector field in the property pane (Which is a Expression Editor). Try to Type the the step as follows: " SpaceBar “+” your variable or argument ( the drop down box will appear showing that the program is now recognize your V and A) PS. After you edit sel…

and the reason why the error occurred for you is when you are trying to open the notepad before this attach window activity, the title attribute will be like this  
**title = ‘Untitled - Notepad’** in the previous activity of attach window  
and as you were trying to type into a element having title like  
**title = ‘New Text Documnet (2) - Notepad’**, it becomes a mismatch…right  
so to make sure that we should be able to identify the element of any titled notepad, we have use wildcard symbol \* in the title attribute so that it would consider any notepad window with any title attribute and for more info on how to add selectors kindly have a view on the above threads buddy  
Kindly have a look at this and let know if you face any issues

---

<div class="post-metadata">

**Author:** ![Shruti\_Dhond](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/shruti_dhond/32/69504_2.png) [@Shruti\_Dhond](https://forum.uipath.com/u/Shruti_Dhond)\
**Post date:** [June 8, 2019, 10:44am UTC](https://forum.uipath.com/t/notepad-selector/121952/9 "2019-06-08T10:44:50Z")

</div>

@Palaniyappan Thank you very much.

I have done settings as per you suggested like this.

 ![image](https://global.discourse-cdn.com/uipath/original/3X/8/b/8b6ad93887b0acd3d6d0311d2940fdaf1b7f56fe.png)

But still I am getting this message.

 ![image](https://global.discourse-cdn.com/uipath/original/3X/f/8/f8ceac9576db8bc740ce5f51e1a7560e355023a9.png)

Please guide.
