# Search does not find text in "Run Target" action parameter

**URL:** https://www.finalbuilder.com/forums/t/search-does-not-find-text-in-run-target-action-parameter/3617
**Category:** Bugs
**Created:** [December 30, 2015, 6:05am UTC](https://www.finalbuilder.com/forums/t/search-does-not-find-text-in-run-target-action-parameter/3617 "2015-12-30T06:05:52Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![ebakkest](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/e/278dde/32.png) [@ebakkest](https://www.finalbuilder.com/forums/u/ebakkest)
#### Post date: [December 30, 2015, 6:05am UTC](https://www.finalbuilder.com/forums/t/search-does-not-find-text-in-run-target-action-parameter/3617/1 "2015-12-30T06:05:52Z")

</div>

I have Run Target actions where I pass in a full path and filename (it’s the only parameter). I found (sic) that the Search in FB didn’t find the path when I wanted to do a search and replace. The full parameter was as follows (I searched for D:\Delphi\3p\Nexus Quality Suite):  
  
D:\Delphi\3p\Nexus Quality Suite\XE7\Bin64\LineTimer64.exe

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [January 4, 2016, 6:46am UTC](https://www.finalbuilder.com/forums/t/search-does-not-find-text-in-run-target-action-parameter/3617/2 "2016-01-04T06:46:33Z")

</div>

Hi Eivind,   
  
 The build that fixes this is located at   
  
 [http://downloads.finalbuilder.com/downloads/finalbuilder/800/FB800\_1448.exe](http://downloads.finalbuilder.com/downloads/finalbuilder/800/FB800_1448.exe)

---

<div class="post-metadata">

### Author: ![ebakkest](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/e/278dde/32.png) [@ebakkest](https://www.finalbuilder.com/forums/u/ebakkest)
#### Post date: [January 14, 2016, 10:46am UTC](https://www.finalbuilder.com/forums/t/search-does-not-find-text-in-run-target-action-parameter/3617/3 "2016-01-14T10:46:53Z")

</div>

It still does not work for me in the last official 1450 build. I have sent the project file to your support email address in case it helps reproduce.

---

<div class="post-metadata">

### Author: ![ebakkest](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/e/278dde/32.png) [@ebakkest](https://www.finalbuilder.com/forums/u/ebakkest)
#### Post date: [January 17, 2016, 8:17am UTC](https://www.finalbuilder.com/forums/t/search-does-not-find-text-in-run-target-action-parameter/3617/4 "2016-01-17T08:17:24Z")

</div>

The 1486 build you emailed me a link to does fix the search part. However, when I try to Replace, it does not replace the string in the “Run Target” parameter.value, so when I search a 2nd time after the replace, the old value still exists.

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [January 17, 2016, 11:46am UTC](https://www.finalbuilder.com/forums/t/search-does-not-find-text-in-run-target-action-parameter/3617/5 "2016-01-17T11:46:38Z")

</div>

Hi Eivind,   
  
 I am looking into this today.

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [January 18, 2016, 1:39am UTC](https://www.finalbuilder.com/forums/t/search-does-not-find-text-in-run-target-action-parameter/3617/6 "2016-01-18T01:39:26Z")

</div>

Hi Eivind,   
  
 It appears I made a mistake in the replace code. I have updated it and the build with the fix is located here:   
  
 [http://downloads.finalbuilder.com/downloads/finalbuilder/800/FB800\_1487.exe](http://downloads.finalbuilder.com/downloads/finalbuilder/800/FB800_1487.exe)

---

<div class="post-metadata">

### Author: ![ebakkest](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/e/278dde/32.png) [@ebakkest](https://www.finalbuilder.com/forums/u/ebakkest)
#### Post date: [January 19, 2016, 2:13am UTC](https://www.finalbuilder.com/forums/t/search-does-not-find-text-in-run-target-action-parameter/3617/7 "2016-01-19T02:13:57Z")

</div>

thanks, it works now

---

<div class="post-metadata">

### Author: ![timfrost](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/3bc359/32.png) [@timfrost](https://www.finalbuilder.com/forums/u/timfrost)
#### Post date: [January 19, 2016, 1:27am UTC](https://www.finalbuilder.com/forums/t/search-does-not-find-text-in-run-target-action-parameter/3617/8 "2016-01-19T01:27:54Z")

</div>

Sorry to hijack the thread: but seach also does not find a variable name in an execute condition. I tried build 1487 in the hope that this would fix it, but no.

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [January 19, 2016, 10:59am UTC](https://www.finalbuilder.com/forums/t/search-does-not-find-text-in-run-target-action-parameter/3617/9 "2016-01-19T10:59:45Z")

</div>

Hi Tim,   
  
Yes that has been noticed. Variable renaming is different and as a result has to be handled carefully. I will let you know when I have a fix.  
  
Edit: Actually this comes down to scripts not being searched. I will talk with the team here and work out if there are any blocks to performing this.&nbsp;  
  
Well it seems we learn something new today. There is a checkbox in the find dialog to search scripts. Checking this will locate items in the condition script and any other scripts.&nbsp;

---

<div class="post-metadata">

### Author: ![timfrost](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/3bc359/32.png) [@timfrost](https://www.finalbuilder.com/forums/u/timfrost)
#### Post date: [January 20, 2016, 12:27pm UTC](https://www.finalbuilder.com/forums/t/search-does-not-find-text-in-run-target-action-parameter/3617/10 "2016-01-20T12:27:24Z")

</div>

So there is! Thanks.
