Search/replace function for Lightroom?
I am trying to find out if there is a way of finding and replacing certain text in the metadata in a quick and easy way. I need to change something on all my photos in LR. Can anyone help me? Thanks a lot in advance.
Rob,
Thanks for response.
I understand that Lightroom has a SDK for plugins and this is a really good thing as it does allows others to tweak and enhance functionality without relying on Adobe. I have been a user of Lightroom since the very first user trials and think it is a great product. I have watched it develop over the last 5 or 6 years.
I do think it is more than just an image editor. Lightroom has always been promoted since day one as a new and better image database and workflow management tool. It is for this reason that question why Adobe has not closed some (I think) gaps in functionality consistent with Lightroom fullfilling its purpose as an Image library/Database management tool. It has certainly had the search capabilities included since day one of all metadata, consistent with a management tool.
For the work I have been doing lately, Search and replace would be useful as I have been cleaning up metadata in various libraries. Hence while I agree it is not used every day, it would be a very useful maintenance tool.
I thought I had posted this originally as a response to a similra request in the Lightroom Feature request forum, apparently not. I did try (today) to start a new feature request but I was blocked from starting new threads in that sub-forum. Hopefully someone else with access to that forum will pick up on this and transfer the request to the Feature Request forum.
Similar Messages
-
Search & Replace function in Files?
Does there exist a "Search & Replace String" function for Files IO? ...preferable RandomAccessFile.
Or do I have to make my own parser from scratch.
Anyone know of free code that exists somewhere? This seems like a function that someone must have made at least or has a use for.
Thanks for any! :)
rasmasyeanThe JDeveloper Editor provides Search & Replace functionality for files.
What I typically do is
Select menu: Search | Search Source Path...
Enter Search String and Change Source path
and other fields and press Start
Then the Navigator displays a Search tab which lists all files with the matching string.
Double click on first file in navigator and
select menu Search | Replace
In this dialog enter your search, replace, and other options-
In the Options, If you do not want to be prompted, do not check the Prompt on replace option.
Select the Scope of Global
Selectg the Origin of Entire
When you are ready press the Multiple button to make multiple replacements.
When you are done with this file,
Press Ctrl-S to Save the file
Press Ctrl-F4 to close the window
Double click on the Next File
Press Ctrl-R to invoke the Search | Replace dialog.
You should not need to change any options.
Press Alt-M to select the Multiple Button!
While this may seem more complex then a simple Sed / Perl / Python script, it is more controllable, flexible and user friendly.
Besides, you may learn a few JDeveloper tricks.
Good Luck,
-John -
Does Logic Pro X include replacement functionality for Compressor, Soundtrack Pro and Waveburner from Logic Studio 9?
No.. You can buy the Compressor (along with Mainstage) via the App Store as a separate download but STP and Waveburner are discontinued products. Some of STP's functionality can now be found in Final Cut Pro X...
Note: Mainstage, Compressor, Waveburner and STP were part of the full version of Logic Studio 2.0 (which also included Logic Pro 9 ) and sold for $999 compared to Logic Pro X which retails at $200...
The Apple loops/Jam packs that came as part of Logic Studio 2.0 now come free with Logic Pro X (and did so with the Appe store version of Logic Pro 9) .. as part of the additional downlaod -
TestStand Design Search/Replace Functionality
We are in the process of changing from using Measurement Studio/Visual Basic to using TestStand as the test executor. (We are just learning to use TestStand and LabView.)
Currently, all testing is done using VB as the low level calls, and VB scripting for the test automation.
Our plan is to start by putting the VB low level code into an Active-X DLL and as time permits, move the low level code to LabView.
The question is, as we create replacement functions using LabView, how do we Replace the Active-X DLL calls with the LabView functions?
My first thought was to use "Search and Replace" (as there is in most other language enviornments) but I can't find such a function in TestStand. IS THERE A WAY TO DO THIS?
M
y other thought is to somehow create a subsequence for EACH library call that points to a single block for that function, where that single block can be changed from the Active-X DLL call to a LabView call.
Examples would be that we have a Read/Write Parameter function as:
ReturnStatus=DLL_Parameter(Name,Instance,Value,Mode)
We would eventually create a new function in Labview and would want to replace ALL instances of the DLL call with a similar LabView function.
How do we design this in?
MikefUnfortunately a search/replace feature has only been introduced in the new TestStand V3.0. It allows for searching and some replacing of values, properties, etc. however this may not help what you are describing.
It is possible to write you own custom search/replace code that uses the TestStand API and can scan through a sequence file for particular step names or types and then insert a new LabView Step and remove the old DLL call step.
If you need to keep the DLL parameters you can access them using the Step.TS.SData cluster. (You may need to set the �Show Hidden Properties� in the Station Options to see this in the Sequence Editor).
Check out the TestStand API Reference and some of the Examples included in TestStand on how to use it.
Hope this helps
Simon Holman
Simon Holman
Software Engineer
Certified LabVIEW Developer
Certified TestStand Developer
measX GmbH & Co. KG.
http://www.measx.com -
Replace function for HTML tags
Hie Guys,
I would like to get rid of the HTML tags from a column/object in my report using the "Replace" function. Basically, I want to replace whatever the content is between "<" & ">" i.e. the opening and closing tags. I know I can use the "Pos" function to identify the position of "<" & ">", but I am not sure exactly how to achieve this in Webi. FYI - "Read content as HTML" & "Read content as Hyperlink" did not resolve the issue. Can anyone please help? Thanks.Hi Jeewan,
It will be very tedious to do this at Webi level.
I have tried below example. It might help you to work around your issue; however, not completely:
1. Created an Excel and inserted single value in first column as:
<html><b>this is yuvraj</b></html>
2. Used it as source and created a Webi report in Rich client.
3. Applied SubStr recursively using Pos function and created below variables:
test : =Substr([column_1]; Pos([column_1];">")+1;Length([column_1]))
test1: =Substr([test]; Pos([test];">")+1;Length([test]))
test2 : =Substr([test1]; 0;Pos([test1];"<")-1)
The output has been attached. -
Scan_to_disk replacement function for nidaqmx.h
Hello,
We are upgrading an old card to a PCI NI 6224 or 6225. The old project was developed in C++ and used the nidaq.h header. The new development will also be done using C++.
1) Is there any documentation on how to use the nidaqmx.h file in C++? If you could point me to it that would be great.
2) Using C++ as our base, would it be possible to use two 6224 cards instead of the 6225? Is it still possible to synchronize the cards?
3)
I need to replace the old function Scan_to_disk with something that
will do the same thing in the nidaqmx driver. Is this function still
realisable? Is there a procedure out there somewhere?
ThanksSparckis,
To help answer your questions.....
1) Is there any documentation on how to use the nidaqmx.h file in C++? If you could point me to it that would be great.
Using NI-DAQmx in Text Based Programming Environments
For further information about using the functions in the DAQmx API, please refer to the NI-DAQmx C Reference Help located in the Windows start menu:
Start » Programs » National Instruments » NI-DAQ
2) Using C++ as our base, would it be possible to use two 6224 cards instead of the 6225? Is it still possible to synchronize the cards?
Yes, you can use two cards in C++, you will just have separate tasks for each as you would in any language. They can be synchronized by use of a RTSI cable.
3) I need to replace the old function Scan_to_disk with something that will do the same thing in the nidaqmx driver. Is this function still realisable? Is there a procedure out there somewhere?
Old Forum on Issue
What are the Terminology Changes in NI-DAQmx?
Alex A.
Applications Engineer -
I have CLOB column and want to do a select with a replace kind of function- replacing certain characters. E.g. if body is a CLOB field, I need
select Clobreplace(body,'abcdef','123456') from t1;
Does anyone have a function or equivalent to do this?
ThanksThere isn't one readymade. However, it would be relatively simple to write one yourself. You would need to iterate around the input clob doing the following:[list]
[*]use DBMS_LOB.INSTR to locate occurances of the token;
[*]use DBMS_LOB.SUBSTR to segment your input CLOB using the offset from the INSTR call;
[*]write each segment appended with the replacement string to a temporary LOB;
[*]return the temporary LOB
[list]
I suggest you have a play around with the logic of this using SQL SUBSTR and INSTR on a varchar2 string. Once you understand what you're doing you can introduce the complication of operating on a CLOB.
Good luck, APC -
Search Help functionality for Custom Field in CRM 6.0
Hi,
We have added custom field PRODUCT_ID into component BT120H_CPL. For this field, I need to provide search help in WebUI. Can you please give some suggestion on the same.
Regards,
Ramki.Hi Ram,
Here is the sample code.
Outbound plug:
Global attribute : GR_CITYCODE_F4 Instance Attribute Private Type Ref To IF_BSP_WD_POPUP
data declaration
DATA: LT_COL_DEF TYPE TABLEVIEWCONTROLTAB,
LS_COL_DEF TYPE LINE OF TABLEVIEWCONTROLTAB,
LV_REGION TYPE REGIO,
LV_COUNTRY TYPE LAND1,
LR_ENTITY_HEADER TYPE REF TO CL_CRM_BOL_ENTITY,
LR_ENTITY_ADDR TYPE REF TO CL_CRM_BOL_ENTITY.
TRY.
LR_ENTITY_HEADER ?= TYPED_CONTEXT->header->COLLECTION_WRAPPER->GET_CURRENT( ).
CATCH CX_SY_MOVE_CAST_ERROR.
ENDTRY.
CHECK LR_ENTITY_HEADER IS BOUND.
LR_ENTITY_ADDR ?= LR_ENTITY_HEADER->GET_RELATED_ENTITY( IV_RELATION_NAME = 'BuilStandardAddressRel' ).
CHECK LR_ENTITY_ADDR IS BOUND.
getting region and country
CALL METHOD LR_ENTITY_ADDR->GET_PROPERTY_AS_VALUE
EXPORTING
IV_ATTR_NAME = 'REGION'
IMPORTING
EV_RESULT = LV_REGION.
CALL METHOD LR_ENTITY_ADDR->GET_PROPERTY_AS_VALUE
EXPORTING
IV_ATTR_NAME = 'COUNTRY'
IMPORTING
EV_RESULT = LV_COUNTRY.
appending citycode and description to internal table
LS_COL_DEF-COLUMNNAME = 'ZZCITYCODE'.
LS_COL_DEF-TITLE = 'City Code'.
APPEND LS_COL_DEF TO LT_COL_DEF.
LS_COL_DEF-COLUMNNAME = 'TEXT'.
LS_COL_DEF-TITLE = 'Description'.
APPEND LS_COL_DEF TO LT_COL_DEF.
CLEAR: GT_CITYCODE[].
fill the internal table GT_CITYCODE whcih must appear in popup.
FREE GR_CITYCODE_F4.
GR_CITYCODE_F4 = COMP_CONTROLLER->WINDOW_MANAGER->CREATE_DECISION_POPUP( IV_TITLE = 'City Code'
IV_DESCRIPTION = 'City Code'
IV_VISIBLE_ROW_COUNT = 10
IV_DISPLAY_TABLE = GT_CITYCODE
IV_VISIBLE_COLUMNS = LT_COL_DEF ).
GR_CITYCODE_F4->SET_ON_CLOSE_EVENT( IV_EVENT_NAME = 'CITYCODE_F4_SELECTED'
IV_VIEW = ME ).
GR_CITYCODE_F4->OPEN( ).
on close event ****************************************************************
where you can set the value of the field *********************************
METHOD EH_ONCITYCODE_F4_SELECTED.
Added by wizard: Handler for event 'CITYCODE_F4_SELECTED'
data declaration
DATA: LR_OUTPUTNODE TYPE REF TO CL_BSPWDCMP_BSPWDCOMPONEN_CN01,
LR_ENTITY TYPE REF TO IF_BOL_BO_PROPERTY_ACCESS,
LR_HEADER TYPE REF TO ZL_BP_HEAD_ACCOUNTDETAILS_CN00,
LV_ROW_INDEX TYPE STRING,
LV_EVENT_NAME TYPE STRING,
LV_VALUE TYPE STRING,
LS_CITYCODE TYPE ZTB0000A31PL2T .
LR_OUTPUTNODE ?= GR_CITYCODE_F4->GET_CONTEXT_NODE( 'OUTPUTNODE' ).
LV_ROW_INDEX = LR_OUTPUTNODE->GET_SELECTEDROWINDEX( ).
LV_EVENT_NAME = LR_OUTPUTNODE->GET_EVENT_NAME( ).
GR_CITYCODE_F4->CLOSE( ).
IF LV_EVENT_NAME = 'OK'.
LR_ENTITY ?= ME->TYPED_CONTEXT->HEADER->COLLECTION_WRAPPER->GET_CURRENT( ).
READ TABLE GT_CITYCODE INTO LS_CITYCODE INDEX LV_ROW_INDEX.
LR_HEADER ?= ME->TYPED_CONTEXT->HEADER.
LR_HEADER->GS_CITYCODE_F4 = LS_CITYCODE.
LV_VALUE = LS_CITYCODE-ZZCITYCODE.
setting city code
LR_ENTITY->SET_PROPERTY_AS_STRING( IV_ATTR_NAME = 'ZZCITYCODE'
IV_VALUE = LV_VALUE ).
ENDIF.
ENDMETHOD.
Hope this helps.
Regards,
Ruby. -
Replace function for changing file endings
Hello,
I would like to replace the following file endings into *.TRC:
my_first.ERR
my_second.err
my_third.ERR
my_fourth.ERR
my_fifth.err
But, I am getting the following:
my_first.TRC
my_second.err
my_third.TRC
my_fourth.TRC
my_fifth.err
My sql statement
update errorlog a
set (err_file) =
(select replace(err_file,'.ERR','.TRC')
from errorlog b
where a.err_id = b.err_id);
The compiler does not like the follwing sql statement.
I am getting an ORA-00907: ... Error.
update errorlog a
set (UPPER(err_file)) =
(select replace(err_file,'.ERR','.TRC')
from errorlog b
where a.err_id = b.err_id);
Does anybody have an idea?
Best regards,
Tom Raketeor something like.
SQL> select * from errorlog;
ERR_FILE
my_first.ERR
my_second.err
my_third.ERR
my_fourth.ERR
my_fifth.err
my_first.log
6 rows selected.
SQL> update errorlog
2 set err_file = decode(substr(err_file,instr(err_file,'.',-1)),
3 '.err',substr(err_file,1,instr(err_file,'.',-1))||'TRC',
4 '.ERR',substr(err_file,1,instr(err_file,'.',-1))||'TRC',
5 err_file);
6 rows updated.
SQL> select * from errorlog;
ERR_FILE
my_first.TRC
my_second.TRC
my_third.TRC
my_fourth.TRC
my_fifth.TRC
my_first.log
6 rows selected.
SQL> -
Replace function in JDeveloper 3.2
Hi JDev Team:
Are there any global replace functions in JDev 3.2, for instance I have one word, say 'aaaa', in all of my projct files, .jsp, .java, .... I like to replace with 'bbbb'.
ThanksThe JDeveloper Editor provides Search & Replace functionality for files.
What I typically do is
Select menu: Search | Search Source Path...
Enter Search String and Change Source path
and other fields and press Start
Then the Navigator displays a Search tab which lists all files with the matching string.
Double click on first file in navigator and
select menu Search | Replace
In this dialog enter your search, replace, and other options-
In the Options, If you do not want to be prompted, do not check the Prompt on replace option.
Select the Scope of Global
Selectg the Origin of Entire
When you are ready press the Multiple button to make multiple replacements.
When you are done with this file,
Press Ctrl-S to Save the file
Press Ctrl-F4 to close the window
Double click on the Next File
Press Ctrl-R to invoke the Search | Replace dialog.
You should not need to change any options.
Press Alt-M to select the Multiple Button!
While this may seem more complex then a simple Sed / Perl / Python script, it is more controllable, flexible and user friendly.
Besides, you may learn a few JDeveloper tricks.
Good Luck,
-John -
[DW CC] Batch Search & Replace
The GUI of the function search & replace does not offer any batch processes.
Only one single search&replace could be saved and performed.
Is there any way to perform a batch job via regular expressions in a file which can be applied?
And to same different scopes (as in the GUI)?
current document
open documents
folder
marked files
complete site
text
source code
Is there may be an extensions which pimps the search&replace function?
That's one of my mostly missed features since a long time.
If you have a hint for me, I would appreciate that a lot.
Thanks!mistershortcut wrote:
That is not a rhetorical question. I'm really interested in your way of working with complex sites, with many documents to edit, ...
I usually use PHP includes to avoid having complex sites with many documents to edit.
Generally speaking, I can completely modify the layout of my entire site by editing a handful of includes, then uploading them. If I have repetitive content in many locations, it's either coming from the same place in a database or added by an include. Either way, a simple change to the include or data takes care of it.
It's pretty rare for a site I create to have more than about 10-15 actual pages. When they get larger than that, I typically convert them to being dynamically driven (php and mysql). -
CF Search/Replace bug?
First off, I run CFB2 as a plugin to FB 4.5 on Win7 64bit. All was working properly until I installed the FB 4.6 release. Now, my "ColdFusion Search" no longer performs a replace. When I hit CTL+F I get the ColdFusion Search dialog like normal, type in my search criteria and hit Find it finds a match. If I hit Find All it finds all matches. So far so good. Now if I hit Replace All it does the search, but then I never get the "ColdFusion Replace Dialog". It just opens up my search view and shows my matches. Even if I use a single Replace it does not replace.
I've uninstalled FB 4.6 and CFB2 completely and re-installed and have the same problem. When I uninstall FB 4.6 and CFB2 then re-install with FB 4.5 and CFB2 the problem goes away.
Note: I have tried with and without the CFB2 hotfix 1 with same results.
So, am I the only one or should I log a bug report? I really want to use the new FB 4.6 features for our Air3 development, but can't sacrifice something as critical as a search/replace function on my CF stuff, and two standalone installs would defeat the purpose of having the IDE built on Eclipse.I, too, am more than a little annoyed at the problematic "Find' function in files opened via RDS. The only way to get it to actually find anything is to do a replace on the same term! When I try to "Find All" I get a "No open file." message. The hotfix has done nothing to fix this problem.
HELP! -
Bulk Replacements using Replace function in oracle 8i
Hi All,
Iam using oracle 8i version and i need to use Replace function for bulf replacements i mean i need to replace around 250 rows. So please anyone suggest me how to proceed
on this request as iam using oracle 8i version.
Thanks!
SriniWrite one update statement.
The where condition is the filter what rows need to be touched.
The SET condition will do the data change. For example it could use the REPLACE function if that is what it is needed.
One single update statement over 20 rows would mean the task is done in BULK. 20 single updates that each handle one row would mean it is row by row = slow by slow processing. -
Hi all, i am new to this forum and i hope everyone is doing great.
I have a question on CLOB objects.
I am working on Oracle 8i and i have CLOB object coming from DB2 data base.
Can i apply Replace or Translate function on CLOB data? Because i have special characters like %$^@#. I want to replace all these.
Can anyone help me .
Thanks in Advance.Hi
This article uses DBMS_LOB to mimic the standard replace function for a CLOB. It's for 9i but it may be worth a try to see if it will work on 8i too.
http://www.astral-consultancy.co.uk/cgi-bin/hunbug/doco.cgi?11080
Hope this helps -
PCUI 4.0, Search Help Required for New field
Hi everyone
I am working in CRM 4.0 Sales Order application
We created a new field in CRM sales Order in Header level in SAP GUI through EEWB.
The search help for the new field is working fine in SAP GUI. We want to add the same field with F4 help functionaliity in PCUI as well.
The field has been added in structure CRMT_BSP_SLS_OD1_General. It also shows domain value for the field however Origin of input field ie empty
The field has been added in PCUI and is successfully showing data inputted in SAPGUI
However we need search help functionality for the field
i tried these two steps
1) i checked on domain value checkbox and changed the field from input to dropdown. However the dropdown is empty in PCUI. Whenever i check box domain values for some field then all the possible values in SPA GUI are displayed in PCUI, however this is not working here.
2) I put Value_table in F4 of the field
This is also throwing up empty values
Am i missing something in this case
Please let me know how to go about it
TIA
AsadHi Frederic
Thanks for your response
I am not sure what is meant by regenerating the field group in this case
I added the entries for my view in the field group and generated the layout of the field group (If this is what you mean)
The field is working fine. I am able to save values to the field and able to see values saved in GUI.
I haven't linked search help of the field in PCUI
I am not sure how to go about it.
I used the data element in the structure for the field.
The data element has Domain entry in <b>Entry Help/Check</b> of the structure
If i check the Domain Value checkbox in my field group then the domain values should be available in dropdown if the field is dropdown
However i am not able to see the possible values of the field (It is present in SAP GUI)
Does something else needs to be done in this case
TIA
Asad
Maybe you are looking for
-
How to include lexical parameters in IN string in SQL QUERY BUILDER ?
Hi, I have to write an SQL Query in SQL QUERY BUILDER in Reports 6i to retrieve all details pertaining to donor codes i insert randomnly at runtime. The Statement is like this SELECT TITLE_TAB.TITLE_CODE,DONOR_TAB.DONOR_CODE, DONOR_TAB.FIRST_NAME,DON
-
How do I fix error 13019 with my ipod nano?
Yes, I've been looking online. I've read the support article, and it doesn't apply to my question. No, I don't sync my music automatically. None of those tabs are checked. I don't have any voice memos, either. This error happens when I plug in my ipo
-
How to adjust start up for iTunes Helper.exe
XP Home, SP2, iTunes 7.1.0.59, in msconfig there are two start up iTunes releated items: iTuneshelper.exe, qttask.exe I wish to tweak my system and remove these from Starting up, thus, msconfig startup, and access them only when I start iTunes or som
-
when i go through the process to get into my icloud control panel it will not let me log in. all I'm tring to do is add photostream to my windows computer. any suggestions?
-
Please help, cannot use my network NAS drive
You will have to accept my appoligies, i have this posted in a couple of different places now as i dont seem to be getting any response on it from anyone... Got my new iMac with OSX Mountain lion and have upgraded to Mavericks. now i have this same p