ABAP Find Command
When we upgraded our SAPGUI to 640 (from I believe 620), we noticed one new feature. In the ABAP editor in display mode, if you press the find button (or CTL F), you get a popup that asks for the string and has two radio buttons for the direction (up and down). Up is the default. Most of the people I know would rather have the default as down, but I havent been able to find any place to change this setting.
Do you know of any way to change the default of the find command to down?
Rob
Message was edited by:
Rob Burbank
Hi!
An another way to find something: in SE38, give the program name, and choose menu Tools - Search in source code.
If you want to serch in more program click on the multiple selection beside the global in program line and enter Z* in the first line which appears.
Emm, to change the direction seems not any easy, but for me it is working correctly.
Regards
Tamás
Message was edited by:
Tamás Nyisztor
Similar Messages
-
A Unix question: find command
Hi all,
Sorry for posting a Unix question here.
In the following directory I have:
/opt/SonicSoftware/SonicMQ/samples/TopicPubSub/DurableChat>ls
DurableChat.class DurableChat.java Readme.txt
However, if I try:
/opt/SonicSoftware>find -iname DurableChat.class
The path can not be found, it just gives me the prompt back; I don't know what the reason is. Any idea?I'm just wondering can the symbolic link be the
reason that class file can not be found (I guess, not
though, b/c other classes can be found):What do you mean "not found"?
Do you mean why the find command isn't finding it? Yes, that's why. But now that you know, you can use -follow.
Or do you mean the VM is unable to find the class at runtime? I'm almost certain the classloader can follow symbolic links in the classpath, so I don't think that's the problem.
>
/opt/SonicSoftware/SonicMQ/samples/TopicPubSub/Chat>..
/../SonicMQ.sh DurableChat -u AlwaysUp
Exception in thread "main"
java.lang.NoClassDefFoundError: DurableChat
Should I change the path that it won't be symbolic
anymore?Try it and see if it fixes it. I'd be surprised, but you never know. If making it not a link fixes it, then maybe that's what you have to do. If it doesn't fix it, then you know you have to look somewhere else. -
Find Command in iCal doesn't work
I have tried to use the Find Command in iCal. It doesn't work either from the Edit pull down command nor the keyboard command. Please try this in your setup and tell me whether it works?
I have an Intel Mac Mini running 10.4.9.
Bob GallantHi Bob,
It works for me.
Find will only search in selected calendars. Do you have the relevant calendars checked in the calendar list? (you can select all calendars by Command-Clicking one checkbox)
Best wishes
John M -
Help please! [using Runtime.exec() to run find command in UNIX]
Hi guys! im trying to use exec() to run the UNIX find command
that my application uses. As you can see from my sample code, the find command finds all files ending with html in my home directory. Unfortunately when I run the program it doesn't give me an output, but when I run it on the shell in the same directory as this code is saved, it works perfectly fine.
Could someone please help me on this one. Many thanks! =)
import java.io.*;
import java.lang.String;
public class RunCommand {
public static void main(String[] args) {
try {
String[] command = {"find", "~/", "-name",
"*.html", "-print"};
String find_str;
Process find_proc = Runtime.getRuntime().exec(
command);
DataInputStream find_in = new DataInputStream(
find_proc.getInputStream());
try {
while ((find_str = find_in.readLine())
!= null) {
System.out.println(find_str);
} catch (IOException e) {
System.exit(0);
} catch (IOException e1) {
System.err.println(e1);
System.exit(1);
System.exit(0);
}I don't see anythi obvious. In both catch blocks, call printSckTrace on the exception yhou caught.
I think the real culprit is the ~ though.
~ is interpreted by some (most?) shells to men home dir. However, when you just exec a command, you don't have a shell to do that interpretation for you, so it's looking for a directory that's literally named ~.
Either exec a shell (read the man pages for the shell of your choice, but for zsh I think it's "/bin/zsh -c find ~ blah blah blah) or else just put the actual path to your home directory into the string you pass to exec. You can get that from System.getProperty("user.home"). -
Incomplete Finder find command results
In Tiger I would use the search box in any Finder window to look for files. It would do a decent job of sorting and it displayed results sorted by "type" of file. With Leopard I cannot find folders or files in the user's Library folder (and other places). Is there a way to get Finder's find command to do a more thorough search? BTW I usually look for folders and files by name.
system files are excluded from searches by default. to include them do the following.
type command+f to bring up a search window. Click on "kind", scroll down and select "Other". in the resulting popup choose "system files" and set to include. -
Finder Find command is suddenly not speedy and works weirdly
I have a number of small, and one large, problems when I use command-F to find things in the Finder.
After upgrading to Leopard from Tiger, like all users I experienced a WONDERFUL increase in the usefulness of this command. So I use it a lot, and for a long time it worked perfectly. My current problem is that when I type command-F, it opens a new finder window, and...
(1) ... when I click on the box to type the words I want to find, the insertion point doesn't appear, but the letters do appear there after I type something [minor], and...
(2) ... a FEW results of the search do appear instantly, but the window seems to enter a semi-frozen state [major; see below], and ...
(3) ... the Finder window which is finding shows signs of being inactive (scroll bar bubble is gray, not colored; columns do not sort when column header is clicked); window is in some ways unresponsive [middling], and ...
(4) ... after awhile (often as long as 30 or 40 seconds) the window suddenly finishes whatever was holding it up and the full set of results appear, the scroll bar bubble becomes colored, column-header-clicking sorts the column instantly.
In short, there is now a long, weird, semi-inactive period between the initial appearance of a few Find results and the final appearance of the entire list, when I have gotten used to the seemingly 100% instantaneous appearance of a Find request's results. I'm spoiled, and I want my wonderful Find command back!
The only thing I can think of that I might have done to contribute to this is that I HATE the behavior of the Finder searching using the title bar's oval Find window, so I removed that part from the default window setup. That is, I've changed my preferences so that when a new Finder window appears, there is no oval Find window in its upper right-hand corner. Thus, when I type command-F the Finder notices that there is no Find window to put the insertion point into, so it opens a few window with a search field at the top (the "Search for" box). (And then it refuses to put an insertion point into the window where I'm supposed to type the Search string.)
Am I being clear?Did you read my hint at http://www.macosxhints.com/article.php?story=20080229204517495 ?
-
How to ignore subdirectories in find command of unix
how to exclude subdirectories of a path from find command
/app
/app/fmbs
/app/fmbs/temp
find /app/fmbs -name *.fmb
i want to ignore any fmb file existing into subdirectories created under temp subdirectory.
regardsNot sure if this helps but instead of using "find" as you are giving a specific path why not use "ls"
Example:
# ls /app/fmbs | grep ".fmd" (This will list all file names in specified directory)
or
# ls /app/fmbs/*.fmd (This will list all file names & path in specified directory)
I hope this helps
I am working on increasing our list of useful 1 liner commands and what we've got can be found at unbreakablehelp.com main page left hand side there are two links.
Enjoy it. -
The find command F or just Find doesn't work any ideas on fixes? I tried trashing kybrd and finder prefs. This is on a G3 running 9.2
ThanksHi, Bookalaka -
If Sherlock, or an alias to it, is not in the Apple Menu Items folder (in System Folder), then the Find function (Command-F) will not work. If that is the case, replace that item - move either Sherlock itself, or place an alias to it, into the Apple Menu Items folder.
Note - if you use Internet Explorer, and want to be able to use the supplemental toolbar icon for Sherlock, then Sherlock itself must be placed in the Apple Menu Items folder (IE does not recognize an alias to it).
If for some reason you are missing Sherlock completely, you can replace it fairly easily. Look in the System Folder on any OS 9.1 or later Install CD; you'll find it in the Apple Menu Items folder. Just copy it to your hard drive. -
Can i get access to the find command in Word via activeX?
Does anyone know if it is possible to search through a word document using activeX commands from labview? Basically i need to use the "find" command from Word.
Thanks for your helpExcellent thanks a lot.
I've now got the search function working but im having a little trouble getting the results i want. What do you mean by "new selection"? is this the output refnum from the execute node?
Im looking to search through a word document for a certain paragraph number then highlight this paragraph in some way.
At present i have used your method to find the section number and then used a frame property on the output refnum followed by select method cascaded from this. This has the effect of selecting the number causing the word window to jump to the desired point but only the first line of the paragraph is shown because it places the found text at the bottom of the screen.
Do you have any suggestions as to how i could select the en
tire paragraph? I also cannot get any output from the select method in this way, am i using it incorrectly?
Thanks again for your time
Alan -
LR V1.2 Having problems using the find Command
Have just recently started using lightroom and so far managing most applications imported a series of photos and after import added keywords to them using the find function I cannot get images to appear. What seems to happen is that in the keyword tag and the folders any of the headings that contain the keyword become active the remainder show a zero no in number of images held in that folder but no images on screen
can anyone assist me
Peterthanks for the reply
have switched of global filters, made sure that using the Find command have set keywords in "text box" and in the "rule box "contains". When I then enter a key word as soon as a type the first two or three letters
a message appears on the screen no "No photos in the selected keyword Tag" Also when you look at the folders which have a series of numbers indicating the photos in the directory the first number in each set turns to 0 with the exception of the folder and sub folder were the images are
So have not managed to make any progress
Peter -
ICal Find Command is not active
I have tried to use the Find Command in iCal. It doesn't work either from the Edit pull down command nor the keyboard command. Can you try this in your setup and tell me whether it works?
I have an Intel Mac Mini running 10.4.9.
Bob GallantYou may want to post your question in the iCal forums:
http://discussions.apple.com/category.jspa?categoryID=166 -
Bridge CS3- My find command has quit working, any help?
In my Bridge CS3 the find command cannot find any of the keywords that I spent hours adding. It has been working fine, but one day stopped. I have deleted the plist, the cache, and the recent workspace to no effect. I have not added any new software recently. It doesn't work if I am searching a file that I have open in Bridge so it is not a matter of not waiting long enough for the thumbnails to generate. Those were the only suggestions I found anywhere. Does anyone have any other suggestions? I am running this on a Mac if that makes a difference.
I may have to upgrade as you suggest. I did find one thing that is interesting, though it doesn't explain where the problem comes from. If I open a folder in Bridge that holds files that I have added keyword to, when I close it Bridge can find those files with the find command. I am not sure why opening the folders would make a difference, but it seems to. This only works one when searching one sub-folder deep. If there is another folder in that, even though I've opened it, it will not find it.
I guess until I am ready to spend the money to upgrade I will spend an evening opening all my keyworded folders. I better find a good video to watch while doing it! -
Please Help. compare two excel files. Can't get the find command to work
Hello, I'm new to applescript. I'm trying to write a script to compare column B of one excel file to column B of the another excel file.
I will have to had a repeat loop to proceed down the column but I'm stuck on the find command.
Below is some of the code I have so far. The applescript error message is "Microsoft Excel got an error: The object you are trying to access does not exist. It highlights the find column."
set patientFile to choose file with prompt "Please select the patient Excel file:"
set patientName to name of (info for patientFile)
tell application "Microsoft Excel"
open patientFile
set thepatientFile to workbook patientName
end tell
display dialog "Is your patient SNP data in column B of the " & " " & patientName & " " & "excel file?" buttons {"No", "Yes"} default button 2
if the button returned of the result is "No" then
display dialog "Please put your data in column B" buttons {"Cancel"} default button 1
if the button returned of the result is "Cancel" then
end if
else
display dialog "Is column E empty? The results of this program will be stored in column E of the" & " " & patientName & " " & "excel file." buttons {"No", "Yes"} default button 2
if the button returned of the result is "No" then
display dialog "Please put your data in empty column E" buttons {"Cancel"} default button 1
if the button returned of the result is "Cancel" then
end if
else
set relativeFile to choose file with prompt "Please select the relative Excel file:"
set relativeName to name of (info for relativeFile)
tell application "Microsoft Excel"
open relativeFile
set therelativeFile to workbook relativeName
end tell
end if
end if
display dialog "Is your relative SNP data in column B of the" & " " & relativeName & " " & "excel file?" buttons {"No", "Yes"} default button 2
if the button returned of the result is "No" then
display dialog "Please put your data in column B" buttons {"Cancel"} default button 1
if the button returned of the result is "Cancel" then
end if
else
display dialog "Does column C contain the result data you would like copied from" & " " & relativeName & " " & "excel file?" buttons {"No", "Yes"} default button 2
if the button returned of the result is "No" then
display dialog "Please put the data you would like copied in column C." buttons {"Cancel"} default button 1
if the button returned of the result is "Cancel" then
end if
else
tell application "Microsoft Excel"
activate object workbook patientName
copy value of cell "A1" to cellPatientFile
find (range "B:B" of workbook relativeName) what cellPatientFile
if cellPatientFile is true then
set bold of font object of cellPatientFile to true
end if
end tell
end if
end if
Does any one have any hints towards solving this problem? Thank you for any help.Hi,
taffners wrote:
Thank you everyone for your help. I attached my code. It works now but kinda slow. Does anyone have any hints on making it faster.
Important : when you use the find command, it's preferable to use the properties ( look in and look at).
Example : find searchRange what searchTerm look in values look at whole
Otherwise, it will search according to the criteria of your last find.
Example, if you uncheck 'Find entire cells only', and after that you run the script,
find column 2 what 10.0 --> match 110.0 or 1110.0 or 310.0, .... , because it look at part.
set screen updating to false : Yes it improves the speed.
Here are my tests (no duplicate values in the Excel column ) on old computer (Powermac G5) .
set screen updating to false without any activate object command
2000 rows --> 3.7 minutes, your script : 11.5 minutes
4000 rows --> 7.5 minutes, your script : 23 minutes
8000 rows --> 15 minutes, your script : 46 minutes
But, it's faster to search through a list without using the Excel find command, no need to set the screen updating, You can continue working on the workbook or another workbook, this will not disturb the script.
Tests on my script :
2000 rows --> 4 seconds
4000 rows --> 21 seconds
8000 rows --> 1.3 minutes
17000 rows --> 6 minutes
Here is the script :
main()
display dialog "Done"
on main()
script o
property patientSNP_list : {}
property relativeSNP_list : {}
property resultsList : {}
property copyAnswerList : {}
on findLookAtWhole(value) -- case sensitive
set {low, high} to {1, count my relativeSNP_list}
considering case
repeat while low ≠ high
set mid_ to (low + high) div 2
if value is in items low thru mid_ of my relativeSNP_list then
set high to mid_
else
set low to mid_ + 1
end if
end repeat
end considering
if (item low of my relativeSNP_list is value) then
set end of my resultsList to item low of my copyAnswerList
else
set end of my resultsList to {"no"}
end if
end findLookAtWhole
end script
--opens File1. Names it patientName
set patientFile to choose file with prompt "Please select the patient Excel file:"
set patientName to name of (info for patientFile)
tell application "Microsoft Excel"
open patientFile
set thepatientFile to workbook patientName
set patientSheet to sheet (name of active sheet) of thepatientFile
end tell
--This Dialog assigns where the data is stored for file1
display dialog "What Column is your patient SNP data of the " & " " & patientName & " " & "excel file?" default answer "" buttons {"submit"} default button 1
set PatientSNPCol to (text returned of the result)
--This Dialog assigns what row your data starts at for file1
display dialog "What row does your patient SNP data start in the " & " " & patientName & " " & "excel file?" default answer "" buttons {"submit"} default button 1
set patientSNPRow to (text returned of the result)
set patientStartCell to PatientSNPCol & patientSNPRow
--This Dialog assigns the last row of data for file1
display dialog "What row is the last row of you patient SNP data start of the " & " " & patientName & " " & "excel file?" default answer "" buttons {"submit"} default button 1
set patientLastRow to (text returned of the result)
set patientLastCell to PatientSNPCol & patientLastRow
--This Dialog assigns the location of the data copied from file2
display dialog "What column would you like the results of this program stored in of the" & " " & patientName & " " & "excel file." default answer "" buttons {"submit"} default button 1
set resultsLocation to (text returned of the result)
--opens File2. Names it relativeName
set relativeFile to choose file with prompt "Please select the relative Excel file:"
set relativeName to name of (info for relativeFile)
tell application "Microsoft Excel"
open relativeFile
set therelativeFile to workbook relativeName
set relativeSheet to sheet (name of active sheet) of therelativeFile
end tell
--This dialog assigns the column of data in file2
display dialog "What Column is your relative SNP data of the " & " " & relativeName & " " & "excel file?" default answer "" buttons {"submit"} default button 1
set relativeSNPCol to (text returned of the result)
--This dialog assigns the column of data begining copied to excel file1.
display dialog "What Column contains the data you would like copied to the " & " " & patientName & " " & "excel file in column" & " " & resultsLocation & " " & "?" default answer "" buttons {"submit"} default button 1
set copyAnswer to (text returned of the result)
tell application "Microsoft Excel" -- get values
set o's patientSNP_list to value of range (PatientSNPCol & patientSNPRow & ":" & PatientSNPCol & patientLastRow) of patientSheet
set lastrow to first row index of (last cell of used range of relativeSheet)
set o's relativeSNP_list to value of range (relativeSNPCol & "1:" & relativeSNPCol & lastrow) of relativeSheet
set o's copyAnswerList to value of range (copyAnswer & "1:" & copyAnswer & lastrow) of relativeSheet
end tell
set tc to (count o's relativeSNP_list)
repeat with i from 1 to tc --convert list of lists to one list
set item i of o's relativeSNP_list to item 1 of item i of o's relativeSNP_list
end repeat
set tc to (count o's patientSNP_list)
repeat with i from 1 to tc -- AppleScript find method, not the Excel Find
o's findLookAtWhole(item 1 of (item i of o's patientSNP_list))
end repeat
tell application "Microsoft Excel" -- set values
set value of range (resultsLocation & patientSNPRow & ":" & resultsLocation & patientLastRow) of patientSheet to o's resultsList
end tell
end main
If you have lots of rows and you want it to go faster.
I have another script that uses the power of (/usr/bin/awk and his associative arrays) in a do shell script
17000 rows --> awk : 2 seconds, applescript : 6 seconds, total : 8 seconds
34000 rows --> awk : 3 seconds, applescript : 11 seconds, total : 14 seconds -
Help
If anybody can try this and tell me how it works I would be forever grateful.
I can not seem to get the FIND command to find timecodes
of clips in a sequence. I have copied all my clips from my bin and pasted them into a new sequence I'll name search, then I use the find command to locate a specific TC. this yields no results everytime!
It works for Names/Markers not for time code!
I am using FCP 4.5.
I really need this to work.
Power Mac Dual 2.0 G5 Mac OS X (10.3.9) FCP 4.5Thanks for the welcome & the reponses.
The reason I am searching this way is because when
you search in the bin it doesn't enter the colons
for timecode like it does when you search a sequence.
It does however at least WORK in the search bin mode!
I wish it I could enter TC the same way as a sequence it is soo much faster
If anybody has a inside track to Apples FCP code developers maybe they could put in the next upgrade.
Power Mac Dual 2.0 G5 Mac OS X (10.3.9) -
Set find command defaults in finder
Hello.
When calling the find command in finder (cmd-f), search criteria are by default set to Kind is Any. I'd like to add some, e.g. Sytem files are included (instead of having to do this manually in almost every search). Can't find anything on this in the net. Would there be a way to do this?
ThanksSet your criteria, then click the little save button in the row just under the toolbar in the Find window. Name the search set. This will save the criteria for use again.
If you also set the option to show the saved search in the Sidebar, you can easily access it the next time you need it.
Maybe you are looking for
-
Loading data one page at a time
I have 200 records to load in a java server page. I felt loading all these records will affect performance. So I wanted to load 15 records on each pass. However, on the second pass I obtained a nullpointerException(ResultSet -JDBC). Any suggestion on
-
Titles at the beginning of chapters?
I'm working on a DVD of a concert performance. The performance is continuous and I'm marking chapters at the beginning of each song. The client has asked if a title can fade up and down when a chapter is selected, to appear before the song. The clien
-
app highlights for lumia 610, i loss this sofware please give me downlod link .. thaks advance
-
How to send Equipment for repair
Hi, i want to send a machine or euipment for repairing.how to do it..iam having inventory and purchase,finance modules..pl provide solution regards, venkat
-
Please help, CS3 won't run with 10.5.2! Please!
Installed 10.5.2 on my g5 dual 2.5 w 4.5 gigs ram (NOT) intel. Now my AE projects won't run. One started to and then quit. This is major for me. Involves dozens of projects. Please help.