Find to end of document or story

Is there a way to limit the find text so that it only goes to the end of the document or story?
When the cursor is planted in text the find dialog has a "To End of Story" option but I don't see any thing equivalent in the scripting. Of course, finding this stuff hasn't been by InDesign scripting forte.
Thanks,
Ken

Olav Kvern wrote:
main() 
on main() 
tell application "Adobe InDesign CS4" 
if (count documents) is not equal to 0 then 
set mySelection to selection 
if (count mySelection) is 1 then 
if class of item 1 of selection is insertion point then 
my myFindChangeToEndOfStory() 
end if 
end if 
end if 
end tell 
end main 
You know, e e cummings had nothing on you.
This is poetry, really.
It's maybe being a little overly picky about when it's going to do its thing, but in such a charming way. Reminds me of 
http://www.dailymotion.com/video/x1p48e_emily-loizeauhommage-a-j-prevert_creation (translation at 
http://olisipus.blogspot.com/2006/11/pour-faire-le-portrait-dun-oiseau.html).
on myFindChangeToEndOfStory() 
tell application "Adobe InDesign CS4" 
--Clear find/change preferences 
set find text preferences to nothing 
set change text preferences to nothing 
set find what of find text preferences to ".  " 
set change to of change text preferences to ". " 
Or:
set findText to text returned of (display dialog "Find what:" ¬
buttons {"Cancel", "OK"} default button 2 default answer "")
set changeText to text returned of (display dialog "Change to:" ¬
buttons {"Cancel", "OK"} default button 2 default answer "")
set find what of find text preferences to findText
set change to of change text preferences to changeText
You don't know of a way to have the cursor come up in the first dialog if this is run from Script Editor, do you? It doesn't matter since if I used this it would probably only be via the scripts palette, but I'm curious anyway.
set myStory to parent story of item 1 of selection 
set myIndex to index of item 1 of selection 
--Here's how you'd select it: 
--select text 1 of text from insertion point myIndex to insertion point -1 of myStory
If you really wanted to but you don't. Okay.
--do a find/change 
tell text 1 of text from insertion point myIndex to insertion point -1 of myStory
I see what you're doing, but I don't understand text 1 of text. Is there a text 0, -1, -2 of text?
change text 
end tell 
--Clear find/change preferences 
set find text preferences to nothing 
set change text preferences to nothing 
end tell 
end myFindChangeToEndOfStory
And they all lived happily forever after.
One thing with AppleScript--because AppleScript assigns a *string* to the variable myText when you do something like this: 
set myText to text 1 of text from insertion point myIndex to insertion point -1 of myStory
I was going to ask what text was if not a string, but I guess I can put that up in the Script Editor result pane and see for myself.... Hmm, text 1 of text and text yield identical results, and it works with simply text as well. So why "text 1" of text, aside from what is it?
...you often need to use an object reference: 
set myText to object reference of text 1 of text from insertion point myIndex to insertion point -1 of myStory 
The above example gets around this by not assigning the text to a variable. 
Yeah. The next time something doesn't work, I'm going to add "object reference of". If that doesn't work, I'll add "of parent story".
re: PageMaker scripting 
Let's be honest: It was awful. I loved it, because it was better than nothing, but it was fragile and incredibly limited.
I think maybe I just used it different than other people, to get simple things I could trigger easily (using QuicKeys) rather than doing more complex things of the type you found it inadequate for. I believe you, really.
CS2 doesn't have GREP, so charles darwin can't use that.
I think he'll have to evolve, then.
CS4 has GREP nested styles. You'll dig them.
You said it, daddy-o. I'll check out the scene.
While I'm the first to admit that the InDesign scripting documentation is not perfect, I have to point out--as gently as I can--that many of the problems you're having have to do with your knowledge of AppleScript, not InDesign scripting per se. 
Or my bad memory, or my denseness. I read the Danny Goodman AppleScript book, Tom Trinko's (gigantic)
Applied Mac Scripting,
The Tao of AppleScript,
Leer Jezelf Makkelijk AppleScript (in Dutch), Apple and Adobe PDFs, and I don't know what. But I never used most of what I read, and so forgot it.
The FindText.applescript tutorial script goes over the basics of finding text in InDesign, and FindChangeText.applescript shows how to change text. While they can't cover every possible combination of find/change attributes, I think they do their job. Let me know if that's not the case! 
I only looked at what was in the Scripting Guide, which did seem inadequate for some of the things I wanted to do in the scripts I recently did. If there was more in the samples, then I should have paid attention to them. If I have a look and find something missing there too, I will let you know.
re: tool selection 
InDesign scripting doesn't really deal with user interface interactions--it's not really designed that way. In PageMaker scripting, you *had* to select tools, because the script was running the user interface. In InDesign, scripts don't do anything with the user interface--they work on the object model directly. 
Okay, but I haven't wanted or needed to script a tool change myself. Like I said, I did it in PageMaker basically only because that was the only way to do it with keycodes.
This means that a script won't fail if/when the window view changes, when the selection state isn't what you expect, etc. (all of the things that made PageMaker scripting so fragile). 
Aha, now we understand your e e cummings paranoia. :-)
If you'd like, we could take a shot at converting some of your PageMaker scripts to InDesign as test cases--I still remember enough of PageMaker scripti[ng] that I should be able to translate. 
That's very kind of you, thanks, but I think my problem will be finding the time to go through so many of them rather than figuring out the conversions. I'll post a problem if/when I hit one, but... are you perhaps in applescript-users? This forum is great, but I think I can have enough scripting without running into so much JavaScript all the time.
Thanks,
Roy

Similar Messages

  • [Solved] Openbox's rc.xml error "Extra content at the end of document"

    I have a rather silly problem with Openbox.
    I'm not a programming genius so, for me, dealing with XML is a pain but I usually manage to get OB's menus and other docs to work. Ive been banging my head into a wall of xml trying to add my own entry to OpenBox's rc.xml file.  All I want to add is an Xfce terminal centred on my Twinview desktop.  I've done it in the past but right now I can't get the rc.xml file to work.  Whenever I re-configure OpenBox I get the following message spit out at me:
    Extra content at the end of document on line ###
    So far, this is what I've attempted to get this to work:
    - I have tried recopying a new rc.xml from /etc/xdg/openbox to my home directory's ~/.config/openbox.  I was assuming I'd botched it entirely and started over from the beginning.
    - I have cut/copy/pasted the commented paragraph, above my entry, with the same co-ordinates and with the "force position" set to "yes."
    -I've googled this error but I only found one or two semi-relevant hits (from this forum no less!)  Unfortunately I did not find a fix to the issue or a reason as to why this error crops up
    I know that it's probably something that is easily missed but I honestly can't see it.  I'm hoping someone on the forum will have run across this issue before and had it fixed.  Below is a copy of my current rc.xml.
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Do not edit this file, it will be overwritten on install.
    Copy the file to $HOME/.config/openbox/ instead. -->
    <openbox_config xmlns="http://openbox.org/3.4/rc">
    <resistance>
    <strength>10</strength>
    <screen_edge_strength>20</screen_edge_strength>
    </resistance>
    <focus>
    <focusNew>yes</focusNew>
    <!-- always try to focus new windows when they appear. other rules do
    apply -->
    <followMouse>no</followMouse>
    <!-- move focus to a window when you move the mouse into it -->
    <focusLast>yes</focusLast>
    <!-- focus the last used window when changing desktops, instead of the one
    under the mouse pointer. when followMouse is enabled -->
    <underMouse>no</underMouse>
    <!-- move focus under the mouse, even when the mouse is not moving -->
    <focusDelay>200</focusDelay>
    <!-- when followMouse is enabled, the mouse must be inside the window for
    this many milliseconds (1000 = 1 sec) before moving focus to it -->
    <raiseOnFocus>no</raiseOnFocus>
    <!-- when followMouse is enabled, and a window is given focus by moving the
    mouse into it, also raise the window -->
    </focus>
    <placement>
    <policy>Smart</policy>
    <!-- 'Smart' or 'UnderMouse' -->
    <center>yes</center>
    <!-- whether to place windows in the center of the free area found or
    the top left corner -->
    <monitor>Active</monitor>
    <!-- with Smart placement on a multi-monitor system, try to place new windows
    on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
    the active window is -->
    <primaryMonitor>1</primaryMonitor>
    <!-- The monitor where Openbox should place popup dialogs such as the
    focus cycling popup, or the desktop switch popup. It can be an index
    from 1, specifying a particular monitor. Or it can be one of the
    following: 'Mouse' - where the mouse is, or
    'Active' - where the active window is -->
    </placement>
    <theme>
    <name>Clearlooks</name>
    <titleLayout>NLIMC</titleLayout>
    <!--
    available characters are NDSLIMC, each can occur at most once.
    N: window icon
    L: window label (AKA title).
    I: iconify
    M: maximize
    C: close
    S: shade (roll up/down)
    D: omnipresent (on all desktops).
    -->
    <keepBorder>yes</keepBorder>
    <animateIconify>yes</animateIconify>
    <font place="ActiveWindow">
    <name>sans</name>
    <size>8</size>
    <!-- font size in points -->
    <weight>bold</weight>
    <!-- 'bold' or 'normal' -->
    <slant>normal</slant>
    <!-- 'italic' or 'normal' -->
    </font>
    <font place="InactiveWindow">
    <name>sans</name>
    <size>8</size>
    <!-- font size in points -->
    <weight>bold</weight>
    <!-- 'bold' or 'normal' -->
    <slant>normal</slant>
    <!-- 'italic' or 'normal' -->
    </font>
    <font place="MenuHeader">
    <name>sans</name>
    <size>9</size>
    <!-- font size in points -->
    <weight>normal</weight>
    <!-- 'bold' or 'normal' -->
    <slant>normal</slant>
    <!-- 'italic' or 'normal' -->
    </font>
    <font place="MenuItem">
    <name>sans</name>
    <size>9</size>
    <!-- font size in points -->
    <weight>normal</weight>
    <!-- 'bold' or 'normal' -->
    <slant>normal</slant>
    <!-- 'italic' or 'normal' -->
    </font>
    <font place="OnScreenDisplay">
    <name>sans</name>
    <size>9</size>
    <!-- font size in points -->
    <weight>bold</weight>
    <!-- 'bold' or 'normal' -->
    <slant>normal</slant>
    <!-- 'italic' or 'normal' -->
    </font>
    </theme>
    <desktops>
    <!-- this stuff is only used at startup, pagers allow you to change them
    during a session
    these are default values to use when other ones are not already set
    by other applications, or saved in your session
    use obconf if you want to change these without having to log out
    and back in -->
    <number>4</number>
    <firstdesk>1</firstdesk>
    <names>
    <!-- set names up here if you want to, like this:
    <name>desktop 1</name>
    <name>desktop 2</name>
    -->
    </names>
    <popupTime>875</popupTime>
    <!-- The number of milliseconds to show the popup for when switching
    desktops. Set this to 0 to disable the popup. -->
    </desktops>
    <resize>
    <drawContents>yes</drawContents>
    <popupShow>Nonpixel</popupShow>
    <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
    <popupPosition>Center</popupPosition>
    <!-- 'Center', 'Top', or 'Fixed' -->
    <popupFixedPosition>
    <!-- these are used if popupPosition is set to 'Fixed' -->
    <x>10</x>
    <!-- positive number for distance from left edge, negative number for
    distance from right edge, or 'Center' -->
    <y>10</y>
    <!-- positive number for distance from top edge, negative number for
    distance from bottom edge, or 'Center' -->
    </popupFixedPosition>
    </resize>
    <!-- You can reserve a portion of your screen where windows will not cover when
    they are maximized, or when they are initially placed.
    Many programs reserve space automatically, but you can use this in other
    cases. -->
    <margins>
    <top>0</top>
    <bottom>0</bottom>
    <left>0</left>
    <right>0</right>
    </margins>
    <dock>
    <position>TopLeft</position>
    <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
    <floatingX>0</floatingX>
    <floatingY>0</floatingY>
    <noStrut>no</noStrut>
    <stacking>Above</stacking>
    <!-- 'Above', 'Normal', or 'Below' -->
    <direction>Vertical</direction>
    <!-- 'Vertical' or 'Horizontal' -->
    <autoHide>no</autoHide>
    <hideDelay>300</hideDelay>
    <!-- in milliseconds (1000 = 1 second) -->
    <showDelay>300</showDelay>
    <!-- in milliseconds (1000 = 1 second) -->
    <moveButton>Middle</moveButton>
    <!-- 'Left', 'Middle', 'Right' -->
    </dock>
    <keyboard>
    <chainQuitKey>C-g</chainQuitKey>
    <!-- Keybindings for desktop switching -->
    <keybind key="C-A-Left">
    <action name="DesktopLeft">
    <dialog>no</dialog>
    <wrap>no</wrap>
    </action>
    </keybind>
    <keybind key="C-A-Right">
    <action name="DesktopRight">
    <dialog>no</dialog>
    <wrap>no</wrap>
    </action>
    </keybind>
    <keybind key="C-A-Up">
    <action name="DesktopUp">
    <dialog>no</dialog>
    <wrap>no</wrap>
    </action>
    </keybind>
    <keybind key="C-A-Down">
    <action name="DesktopDown">
    <dialog>no</dialog>
    <wrap>no</wrap>
    </action>
    </keybind>
    <keybind key="S-A-Left">
    <action name="SendToDesktopLeft">
    <dialog>no</dialog>
    <wrap>no</wrap>
    </action>
    </keybind>
    <keybind key="S-A-Right">
    <action name="SendToDesktopRight">
    <dialog>no</dialog>
    <wrap>no</wrap>
    </action>
    </keybind>
    <keybind key="S-A-Up">
    <action name="SendToDesktopUp">
    <dialog>no</dialog>
    <wrap>no</wrap>
    </action>
    </keybind>
    <keybind key="S-A-Down">
    <action name="SendToDesktopDown">
    <dialog>no</dialog>
    <wrap>no</wrap>
    </action>
    </keybind>
    <keybind key="W-F1">
    <action name="Desktop">
    <desktop>1</desktop>
    </action>
    </keybind>
    <keybind key="W-F2">
    <action name="Desktop">
    <desktop>2</desktop>
    </action>
    </keybind>
    <keybind key="W-F3">
    <action name="Desktop">
    <desktop>3</desktop>
    </action>
    </keybind>
    <keybind key="W-F4">
    <action name="Desktop">
    <desktop>4</desktop>
    </action>
    </keybind>
    <keybind key="W-d">
    <action name="ToggleShowDesktop"/>
    </keybind>
    <!-- Keybindings for windows -->
    <keybind key="A-F4">
    <action name="Close"/>
    </keybind>
    <keybind key="A-Escape">
    <action name="Lower"/>
    <action name="FocusToBottom"/>
    <action name="Unfocus"/>
    </keybind>
    <keybind key="A-space">
    <action name="ShowMenu">
    <menu>client-menu</menu>
    </action>
    </keybind>
    <!-- Keybindings for window switching -->
    <keybind key="A-Tab">
    <action name="NextWindow"/>
    </keybind>
    <keybind key="A-S-Tab">
    <action name="PreviousWindow"/>
    </keybind>
    <keybind key="C-A-Tab">
    <action name="NextWindow">
    <panels>yes</panels>
    <desktop>yes</desktop>
    </action>
    </keybind>
    <!-- Keybindings for running applications -->
    <keybind key="W-e">
    <action name="Execute">
    <startupnotify>
    <enabled>true</enabled>
    <name>Konqueror</name>
    </startupnotify>
    <command>kfmclient openProfile filemanagement</command>
    </action>
    </keybind>
    </keyboard>
    <mouse>
    <dragThreshold>8</dragThreshold>
    <!-- number of pixels the mouse must move before a drag begins -->
    <doubleClickTime>200</doubleClickTime>
    <!-- in milliseconds (1000 = 1 second) -->
    <screenEdgeWarpTime>400</screenEdgeWarpTime>
    <!-- Time before changing desktops when the pointer touches the edge of the
    screen while moving a window, in milliseconds (1000 = 1 second).
    Set this to 0 to disable warping -->
    <context name="Frame">
    <mousebind button="A-Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="A-Left" action="Click">
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="A-Left" action="Drag">
    <action name="Move"/>
    </mousebind>
    <mousebind button="A-Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="A-Right" action="Drag">
    <action name="Resize"/>
    </mousebind>
    <mousebind button="A-Middle" action="Press">
    <action name="Lower"/>
    <action name="FocusToBottom"/>
    <action name="Unfocus"/>
    </mousebind>
    <mousebind button="A-Up" action="Click">
    <action name="DesktopPrevious"/>
    </mousebind>
    <mousebind button="A-Down" action="Click">
    <action name="DesktopNext"/>
    </mousebind>
    <mousebind button="C-A-Up" action="Click">
    <action name="DesktopPrevious"/>
    </mousebind>
    <mousebind button="C-A-Down" action="Click">
    <action name="DesktopNext"/>
    </mousebind>
    <mousebind button="A-S-Up" action="Click">
    <action name="SendToDesktopPrevious"/>
    </mousebind>
    <mousebind button="A-S-Down" action="Click">
    <action name="SendToDesktopNext"/>
    </mousebind>
    </context>
    <context name="Titlebar">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Move"/>
    </mousebind>
    <mousebind button="Left" action="DoubleClick">
    <action name="ToggleMaximizeFull"/>
    </mousebind>
    <mousebind button="Middle" action="Press">
    <action name="Lower"/>
    <action name="FocusToBottom"/>
    <action name="Unfocus"/>
    </mousebind>
    <mousebind button="Up" action="Click">
    <action name="Shade"/>
    <action name="FocusToBottom"/>
    <action name="Unfocus"/>
    <action name="Lower"/>
    </mousebind>
    <mousebind button="Down" action="Click">
    <action name="Unshade"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="ShowMenu">
    <menu>client-menu</menu>
    </action>
    </mousebind>
    </context>
    <context name="Top">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize">
    <edge>top</edge>
    </action>
    </mousebind>
    </context>
    <context name="Left">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize">
    <edge>left</edge>
    </action>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="ShowMenu">
    <menu>client-menu</menu>
    </action>
    </mousebind>
    </context>
    <context name="Right">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize">
    <edge>right</edge>
    </action>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="ShowMenu">
    <menu>client-menu</menu>
    </action>
    </mousebind>
    </context>
    <context name="Bottom">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize">
    <edge>bottom</edge>
    </action>
    </mousebind>
    <mousebind button="Middle" action="Press">
    <action name="Lower"/>
    <action name="FocusToBottom"/>
    <action name="Unfocus"/>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="ShowMenu">
    <menu>client-menu</menu>
    </action>
    </mousebind>
    </context>
    <context name="BLCorner">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize"/>
    </mousebind>
    </context>
    <context name="BRCorner">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize"/>
    </mousebind>
    </context>
    <context name="TLCorner">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize"/>
    </mousebind>
    </context>
    <context name="TRCorner">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize"/>
    </mousebind>
    </context>
    <context name="Client">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Middle" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    </context>
    <context name="Icon">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    <action name="ShowMenu">
    <menu>client-menu</menu>
    </action>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="ShowMenu">
    <menu>client-menu</menu>
    </action>
    </mousebind>
    </context>
    <context name="AllDesktops">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Left" action="Click">
    <action name="ToggleOmnipresent"/>
    </mousebind>
    </context>
    <context name="Shade">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Click">
    <action name="ToggleShade"/>
    </mousebind>
    </context>
    <context name="Iconify">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Click">
    <action name="Iconify"/>
    </mousebind>
    </context>
    <context name="Maximize">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Middle" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Left" action="Click">
    <action name="ToggleMaximizeFull"/>
    </mousebind>
    <mousebind button="Middle" action="Click">
    <action name="ToggleMaximizeVert"/>
    </mousebind>
    <mousebind button="Right" action="Click">
    <action name="ToggleMaximizeHorz"/>
    </mousebind>
    </context>
    <context name="Close">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Left" action="Click">
    <action name="Close"/>
    </mousebind>
    </context>
    <context name="Desktop">
    <mousebind button="Up" action="Click">
    <action name="DesktopPrevious"/>
    </mousebind>
    <mousebind button="Down" action="Click">
    <action name="DesktopNext"/>
    </mousebind>
    <mousebind button="A-Up" action="Click">
    <action name="DesktopPrevious"/>
    </mousebind>
    <mousebind button="A-Down" action="Click">
    <action name="DesktopNext"/>
    </mousebind>
    <mousebind button="C-A-Up" action="Click">
    <action name="DesktopPrevious"/>
    </mousebind>
    <mousebind button="C-A-Down" action="Click">
    <action name="DesktopNext"/>
    </mousebind>
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    </context>
    <context name="Root">
    <!-- Menus -->
    <mousebind button="Middle" action="Press">
    <action name="ShowMenu">
    <menu>client-list-combined-menu</menu>
    </action>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="ShowMenu">
    <menu>root-menu</menu>
    </action>
    </mousebind>
    </context>
    <context name="MoveResize">
    <mousebind button="Up" action="Click">
    <action name="DesktopPrevious"/>
    </mousebind>
    <mousebind button="Down" action="Click">
    <action name="DesktopNext"/>
    </mousebind>
    <mousebind button="A-Up" action="Click">
    <action name="DesktopPrevious"/>
    </mousebind>
    <mousebind button="A-Down" action="Click">
    <action name="DesktopNext"/>
    </mousebind>
    </context>
    </mouse>
    <menu><!-- You can specify more than one menu file in here and they are all loaded,
    just don't make menu ids clash or, well, it'll be kind of pointless --><!-- default menu file (or custom one in $HOME/.config/openbox/) --><file>menu.xml</file><hideDelay>200</hideDelay><!-- if a press-release lasts longer than this setting (in milliseconds), the
    menu is hidden again --><middle>no</middle><!-- center submenus vertically about the parent entry --><submenuShowDelay>100</submenuShowDelay><!-- time to delay before showing a submenu after hovering over the parent
    entry.
    if this is a negative value, then the delay is infinite and the
    submenu will not be shown until it is clicked on --><submenuHideDelay>400</submenuHideDelay><!-- time to delay before hiding a submenu when selecting another
    entry in parent menu -->
    if this is a negative value, then the delay is infinite and the
    submenu will not be hidden until a different submenu is opened --&gt;
    <applicationIcons>yes</applicationIcons>
    <!-- controls if icons appear in the client-list-(combined-)menu -->
    <manageDesktops>yes</manageDesktops>
    <!-- show the manage desktops section in the client-list-(combined-)menu -->
    </menu>
    <applications><!--
    # this is an example with comments through out. use these to make your
    # own rules, but without the comments of course.
    <application name="the window's _OB_APP_NAME property (see obxprop)"
    class="the window's _OB_APP_CLASS property (see obxprop)"
    role="the window's _OB_APP_ROLE property (see obxprop)"
    type="the window's _OB_APP_TYPE property (see obxprob)..
    (if unspecified, then it is 'dialog' for child windows)">
    # you may set only one of name/class/role/type, or you may use more than one
    # together to restrict your matches.
    # the name, class, and role use simple wildcard matching such as those
    # used by a shell. you can use * to match any characters and ? to match
    # any single character.
    # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
    # or desktop
    # when multiple rules match a window, they will all be applied, in the
    # order that they appear in this list
    # each rule element can be left out or set to 'default' to specify to not
    # change that attribute of the window
    <decor>yes</decor>
    # enable or disable window decorations
    <shade>no</shade>
    # make the window shaded when it appears, or not
    <position force="no">
    # the position is only used if both an x and y coordinate are provided
    # (and not set to 'default')
    # when force is "yes", then the window will be placed here even if it
    # says you want it placed elsewhere. this is to override buggy
    # applications who refuse to behave
    <x>center</x>
    # a number like 50, or 'center' to center on screen. use a negative number
    # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
    # right edge (or bottom).
    <y>200</y>
    <monitor>1</monitor>
    # specifies the monitor in a xinerama setup.
    # 1 is the first head, or 'mouse' for wherever the mouse is
    </position>
    <focus>yes</focus>
    # if the window should try be given focus when it appears. if this is set
    # to yes it doesn't guarantee the window will be given focus. some
    # restrictions may apply, but Openbox will try to
    <desktop>1</desktop>
    # 1 is the first desktop, 'all' for all desktops
    <layer>normal</layer>
    # 'above', 'normal', or 'below'
    <iconic>no</iconic>
    # make the window iconified when it appears, or not
    <skip_pager>no</skip_pager>
    # asks to not be shown in pagers
    <skip_taskbar>no</skip_taskbar>
    # asks to not be shown in taskbars. window cycling actions will also
    # skip past such windows
    <fullscreen>yes</fullscreen>
    # make the window in fullscreen mode when it appears
    <maximized>true</maximized>
    # 'Horizontal', 'Vertical' or boolean (yes/no)
    </application>
    # end of the example
    -->
    <!-- begin custom entries -->
    <Terminal="Terminal">
    <position force="yes">
    <x>center</x>
    <y>200</y>
    </position>
    <decor>no</decor>
    <focus>no</focus>
    <desktop>all</desktop>
    <layer>below</layer>
    <skip_pager>yes</skip_pager>
    <skip_taskbar>yes</skip_taskbar>
    </Terminal>
    </applications>
    </openbox_config>
    Thanks in advance to anyone who responds.
    Last edited by MoonSwan (2011-07-26 06:22:37)

    MoonSwan wrote:I've never heard of a validating editor but I was recently wondering what exists that could help me.  Aside from emacs, what should I search for to find one of these validating editors?
    You can use whatever tool you prefer - for someone already using emacs, emacs is a natural choice. Simple, easy to use online tools exist e.g. http://schneegans.de/sv/
    Just upload the file in question ('Validate by file upload' option) and click 'Validate':
    The '=' character cannot be included in a name. (723:10)
    <Terminal="Terminal">
    ^
    Googling 'xml validation' should give you some more tools / services if this one is not good enough.

  • MM end to end Configuration document

    Hi Friends,
    i am Quality department and very recently shifted to MM .so if any one of you having the MM end to end Configuration document, please forward the same to sreenivas_blanka at the rate yahoo dot co dot in
    Thanks in advance,
    Srinivas.

    hi
    the document http://help.sap.com/bp_bblibrary/600/html/J05_EN_IN.htm is the document for configuratin other than that u can find on internet in various site
    to learn basic config just check following sites
    www.sap123.com
    www.sapstudymaterials.com
    http://www.google.co.in/search?hl=en&q=sapMMconfiguration&meta=
    for CIN refer the http://www.scribd.com/doc/2527809/CINcustomizing-1
    also refer first blog of this forum
    New to Materials Management / Warehouse Management?
    regards
    kunal

  • End user document Icon

    Hi
      I want to attach an end user document icon just beside one parameter.Is there any funtion module to do it.

    Hi Praveen
    Copy the below code to a temporary program and test:
    Code:
    selection-screen: begin of line.
      selection-screen comment (10) text-001 for field p_date.
      parameters: p_date type datum.
      selection-screen position: 30.
      parameters: p_info type c no-display.
      selection-screen comment (10) text-002 for field p_info.
    selection-screen: end of line.
    Now define Text-Elements as below:
    TEXT-001 -> Date
    TEXT-002 -> @0S@
    Generate the code and execute to find the selection-screen with the INFO icon.
    Hope this helps...
    Kind Regards
    Eswar

  • How to find a lost word document

    I was working on a document on Friday 23rd May, saved it and closed it as usual. Today is Sunday 25th and I have tried to access the document. I have gone to recrntly opened documents on Word for Mac. The usual icon has disappeared and in it place was an empty white box. I have clicked on the document and a message displayed saying that word could not locate the document would I like to locate it myself.
    I have taken a print screen of the location of the document. I have searched but cannot find it.
    The document was saved in the usual way so I can think of no reason why this has happened.
    Very grateful for any assistance.

    Have you tried Spotlight ?
    Click the magnifying glass icon top right corner of your screen.
    Type in the name of the document.http://support.apple.com/kb/ht2531
    Mac Basics: Spotlight
    Also, try Recent Items from your Apple  drop down menu.

  • End of document in Safari Browser in New Ipad.

    Hi all,
    I have a site with a very long list.
    How can i go to the END OF DOCUMENT. in safari browser?

    Safari bookmarks are not meant to be synced with email accounts.

  • Finding the end of a file.

    How do I find the end of a stream (in this case, a file) using BufferedReader.readLine()?

    <code>
    public class SectorParser1 {
        // Declare variables that will be used
        Scanner sectorScannerIn;        // This is used in the setFileLocation method
        String sectorLocation;          // This is the abs location of the sector
        String currentIn;
        BufferedReader myParser;        // This is the top-level parser that reads
                                        // through the sct file.
        Scanner mySectorScanner;        // This is the second-level parser that
                                        // reads through the sct file.
        BufferedReader myReader;
        // Define constructors for SectorParser1
        public SectorParser1() {
        }   // CLOSE THE SectorParser1() CONSTRUCTOR
        SectorParser1(String sectorLocation) {
            this.sectorLocation = sectorLocation;
        }   // CLOSE THE SectorParser1(String sectorLocation) CONSTRUCTOR
        // Define methods for SectorParser1
        public void setFileLocation() {
            System.out.print("Please enter the exact path to your sector file: ");
            sectorScannerIn = new Scanner(System.in);
            sectorLocation = sectorScannerIn.next();
        }   // CLOSE THE setFileLocation() METHOD
        public String getFileLocation() {
            return sectorLocation;
        }   // CLOSE THE getFileLocation() METHOD
        public int beginParsing() throws IOException {
            myReader = new BufferedReader(new FileReader(sectorLocation));
            boolean cond = true;
            int counter = 0;
            try{ while(cond) {
                currentIn = myReader.readLine();
                if(currentIn.equals("null")){
                    break;
                }else if(currentIn.startsWith(";")) { // Lines in the file that's
                    continue;                         // being read that start with
                } {                                   // a ';' are comments, and
                    counter++;                        // need to be ignored.
                System.out.println(currentIn);
            } } catch (NullPointerException e) {
                System.err.println("Caught NullPointerException.");
            myReader.close();
            return counter;
    }       // CLOSE THE SectorParsing1 CLASS </code>

  • How do I find and open saved documents?

    How do I find and open saved documents?

    After you convert documents from PDF to Word or Excel with the ExportPDF service, you can find the converted files in whatever folder you saved them to.  The default save location for files varies by browser.  I would suggest searching your hard drive for the file name either via the Windows SmartSearch or Mac Spotlight.
    Please let us know if you have any questions.
    -David

  • Track ends early and follows story end

    I have 2 very similar tracks (slightly different versions of same video) with identical chapter markers. One plays all the way through just fine. The other plays through several chapters but when it gets to the end of one chapter it follows the end jump of that chapter's story, preventing the viewer from watching the entire video when that was what they selected.
    What could be causing this?
    I created chapter markers in FCP. Is it a problem with the next chapter marker? Is there some setting I'm ignorant of (this is my first DVDSP project with chapters)?

    What's the difference between a story end jump and a story marker end jump?
    The story end jump is where the story when completed in full goes to. The story marker end jump is where the story will jump to when the next marker after that marker with the end jump is reached. (Note that I have not played with controls this way in awhile, I use the way below. There may be some tricks to control navigation with the settings that I do not recall right now.)
    Practically, at least for me, the easiest way is just make seperate stories and do not set Story Marker Jumps (though set the Menu commands) and if there is another combination of markers wanted, just make another story.
    Assume I should set the story end jump to go back to my chapter menu but the story marker end jump in that one chapter being set was what cause the track to end at the end of that chapter?
    Sounds like that is the issue, if you had the story marker end jump and it jumped when it hit the next marker

  • I cant find the end button when i receive a incomming call please help me. Is there any solution for it or is it a bug in the ios7.0.3 iam updated with ios7.0.3

    I cant find the end button when i receive a incomming call please help me. Is there any solution for it or is it a bug in the ios7.0.3 iam updated with ios7.0.3

    Do you mean decline button before picking up the call?

  • Portege 2010 - Cannot find the END button in order to save BIOS changes

    I couldnt save my Bios setup because i can't find the end keys to save the changes.
    I tried to hit all the keys in keyboard but none of it save the settings.
    Can you show me the keyboard diagram showing the end keys?
    I have toshiba portege 2001 series.

    >Can you show me the keyboard diagram showing the end keys?
    I checked the user manual which you can download from the Toshiba user manual page and the END button seems to be located in the upper right corner its above the Backspace button.
    Cheers

  • Need of SAP Equipment and Tooling Managemt Config and End user documents

    Hi
    I am in implementation project of SAP PM - ETM (Equipment and Tooling Managemt )
    Can any body please send Config and end user documents if any?
    I am in urgent need of those documents
    Thanks in Advance.
    SR

    Hello Jackie,
    The new features are outlined in the Installation Guide (page 10.)
    The most noticable to the end-users would be the security settings and the different views such as Hierarchial and Tree views
    which can be customised.
    Best Regards,
    Jude Bradley

  • Vendor evaluation end user document with screen shots

    Hai Experts,
    I want vendor evaluation end user document with screen shots.Please provide me.

    Hi,
    SAp help document might help your requirement , check.
    Regards,
    Andra

  • What keystrokes to move to end of document on an Mac Book Pro keyboard using Microsoft word?

    What keystrokes do I use to move to the end of document on an Mac Book Pro keyboard using Microsoft word?
    I've tried fn+option+ right arrow etc but doesn't do it.
    Cheers,
    Much appreciated.
    Schbang

    http://office.microsoft.com/en-us/mac-word-help/learning-roadmap-for-word-for-ma c-2011-HA103528093.aspx
    http://www.microsoft.com/mac/get-started

  • BW BPS - End user Document - Config Guide

    Hi All,
    I would like to have configuration guide and end user document, like creation of Planning Area all the way to STS .... if you all have... please send it to me.via a link or e-mail to [email protected]
    Thanks in Advance
    Nathan

    Hi ,
    Have you checked here: https://www.sdn.sap.com/irj/sdn/bi-elearning,
    they are 5 docs, abt step by step creation of planning layouts, fucntions etc.
    Regards
    CSM Reddy

Maybe you are looking for

  • How do I get my new laptop to recognize my home share?  It will not recognize my old laptop

    I am having trouble getting my new HP laptop to recognize my itunes "homeshare".   My old laptop sees the new laptop, but my new one doesn't connect with the old laptop.  Any suggestions?

  • Adobe CS6 Design Download Problem

    I have purchased Adobe CS6 Design and Web Premium for Windows.  I was able to download some but not all of the programs.  I receive an Adobe window message to indicate thatPhotoshop, InDesign and Flash Professional could not successful be downloaded.

  • Transparency and flattening

    I'm using AI CS3 on PC. I've been given an EPS file that was apparently created in AI 11 on Mac. It has no preview (at least not that will show up on PC). I opened the file in AI to save it with a preview. When I do a Save As, AI says: "When spot col

  • How can i get a particular model from the iphone 5s

    I am from austria an for the lte i need the iphone 5s model A1457 or A1530. If i would buy one, would i get one of the model? Thanks for answering. ;) ...and sorry for my english

  • Automatic clearing upon CM creation

    Hi guys, Just want to ask if there's a possibility for automatic clearing of CM created against customers open items in FBL5n while using t-code FB75 (Creation of CM)?  The scenario will be like this...  Before saving the CM created in FB75, there wi