Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

search/replace shortcuts

Engaged ,
Jan 09, 2020 Jan 09, 2020

Hi!

 

Does anybody know, if one can use shortcuts for the options of searching/replaceing (find next, change, change all, change/find)?

I´m going to change a pretty lot of objects in a large document (delete the shadow-effect) and the only way to decide wich one have to be changed is a visual controll, one by one. It would be helpful to use both hands :).

 

Thanks in advance

 

TOPICS
How to , Performance
3.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 09, 2020 Jan 09, 2020

Well there's no shortcut for those options per se, however when in the Find/Change dialog box, hit your tab key a few times and eventually it will highlight the Find Next button. At that point you can just hit the enter key to choose that option and it will remain highlighted so you can just keep hitting enter to use that option. If you hit the tab key again, it will then highlight Change, Change All, Change/Find, and Fewer Options respectively and hitting enter will invoke the highlighted optio

...
Translate
Community Expert ,
Jan 09, 2020 Jan 09, 2020

You can save a Query (at top of Find/Change panel) of the search and replace criteria. And use the dropdown to access any of the saved queries.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 09, 2020 Jan 09, 2020
 
Hello Jeffrey.
A saved query is not a solution for me. There are e.g. three forms of one type with different contents. I would like to have two of them with and one without effect. There is no automatic search and replace function for this.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 09, 2020 Jan 09, 2020

Sorry, I misread what you were looking for. As Chad suggests, you can tab through these items. The one function that can have a keyboard shortcut assigned is "Find Next".

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 09, 2020 Jan 09, 2020

Well there's no shortcut for those options per se, however when in the Find/Change dialog box, hit your tab key a few times and eventually it will highlight the Find Next button. At that point you can just hit the enter key to choose that option and it will remain highlighted so you can just keep hitting enter to use that option. If you hit the tab key again, it will then highlight Change, Change All, Change/Find, and Fewer Options respectively and hitting enter will invoke the highlighted option. Shift + Tab will highlight those options in reverse which should make it pretty easy to achieve what you describe above.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 09, 2020 Jan 09, 2020

Yes, I fear it will remain with the traditional solution

😞

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 09, 2020 Jan 09, 2020

Hi Csmoke:

 

Are you on a Mac or Windows workstation? Windows offers keyboard shortcuts for just about everything, including the buttons you mentioned in Find/Change.

 

Tap Alt to expose the keys needed to activate buttons (note the underlines in the screen shot below). Alt+n is Find Next, Alt+h is Change, Alt+a is Change All, etc. Unfortunately, I don't know of a Mac equivalent. 

 

~Barb

 

Screen Shot 2020-01-09 at 8.37.00 AM.png+A

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 13, 2020 Jan 13, 2020

Hi Barb.

 

Unfortunately I have an iMac.

But thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 14, 2020 Jul 14, 2020

I was looking for a solution for exactly the same problem when I found the key combination cmd+shift+f for "find next". You could press that and just click on "change" if you want, BUT once you do that, the "change" button fades to grey. Anyone have an idea why?

I can't find a "replace/search" shortcut for Mac anywhere. Does anyone know it?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 10, 2021 Oct 10, 2021

On a Mac you can use the space bar as you get into this screen, having used the "change/find" button once with the mouse:

 Screen Shot 2021-10-10 at 10.17.54.png

Then keep hitting the space bar to do the job. If you want to skip a replacement, just press the Cmd+Opt+F to "Find Next" and get back to the space bar. It worked fine for me.

 

(Naturally, actual shortcuts are missing. TextWrangler/BBEdit has shortcuts for all of these actions. Cmd+= replaces once and Cmd+opt+= replaces all, for instance) 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 17, 2021 Dec 17, 2021
LATEST

Thanks - I had the same question and also figured that on a Mac only the Spacebar option does the job. However, if I hit Cmd + Opt + F, or actually click the pointer in the text (as a result loosing focus on the Find/Change panel) the "change" option doesn't light up anymore and I need to start the process all over. But I found that while in the panel, hitting Enter will always Find Next. And Space will click whatever you selected previously with the TAB button. So - keep focus on the Find/Change panel, then just use Enter and Space to change what you need. Hit Enter again as many times as you want to skip without changing, hit Space each time you need to Change. The only drawback is when moving focus out of the panel...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines