Notepad++ selector not found


#1

Hi
UiPath version: community (latest)
Open Application
File name “C:\Program Files\Notepad++\notepad++.exe”
Selector:
<wnd app='notepad++.exe' cls='Notepad++' title='C:\Users\User\Documents\UiPath\output.csv - Notepad++' />
Or
<wnd app='notepad++.exe' cls='Notepad++' title='*' />

Error:

notepad has thrown an exception

Source: Open 'notepad++.exe C:\Users\...'

Message: Selector not found

Exception Type: COMException

System.Runtime.InteropServices.COMException (0x80040212): Selector not found
   at UiPath.Core.Activities.ScopeActivity.EndExecute(NativeActivityContext context, IAsyncResult result)
   at UiPath.Core.Activities.AsyncNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
   at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)
   at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Please, help
Thanks


#2

Try giving the title attribute of the selector as ‘* Notepad++’


#3

Thanks for reply. Does not help


#4

var2-sel


#5

title=’* Notepad++’

You modified the cls attribute!


#6

Sorry. Does not help


#7

Please try using Start Process activity instead of open application. That might just work.


#8

Many thanks. Working.