Windows equivalent of "save as" auto-suggest?

Switched jobs after 4.5 years of heavy windows usage and am encountering small differences here and there with the new mac. One of the items I've encountered is that the "save as" function does not autosuggest the current filename like windows does. So if I'm working on an excel file called "excel file 1" and I want to save a new version, I go to "save as "which autosuggests a filename of "untitled" meaning I have to retype "excel file 1" and then add "_v1". In windows, instead of suggesting "untitled" it would suggest "excel file 1" so I could just click and add _v1 to the end.
Having to re-type the name of the document only to add "_v1" is a small inconvenience for most files but can be a little more frustrating for files with long names so I thought I'd check in to see if there's a way to fix this.

I presume you mean you're using Office 2011 for Mac?
I tested this with Excel 2011 and it did just what I expected it to. The current name of the file appeared at the top, and I could append anything I wanted to the name, or change it entirely.

Similar Messages

  • Creating new Auto-Suggest Component

    Hi,
    I am new to ADF and looking for Auto-Suggest options. Found Franks code and it was really heplful.
    We tried to create a new component based on this but not able to use multiple components of the type on the same page/form.The problem we are thinking of is because of the popup having the same id for all the components we embed in.If we attach 3 components of this type to a form then one of the random ones work as per logic and other 2 not doing any pop ups at all.
    Could you please help us to resolve this please?
    Thanks
    Subha
    CODE
    suggestComponentModel.java
    package com.dstintl.ic.ui.component.suggestbox;
    import java.util.List;
    public interface SuggestComponentModel{
    * Method called to filter data shown in the suggest list. Initial
    * request is made with inMemory = false. If in memory sorting is
    * enabled then all subsequent calls are made passing trues as the
    * value for the inMemory parameter. Implementations may decid to
    * ignore the inMemory argument and always query the data source.
    public List<String> filteredValues(String filterCriteria,
    boolean inMemory);
    SuggestBoxTag.java+
    package com.dstintl.ic.ui.component.suggestbox;
    import javax.el.ValueExpression;
    import oracle.adf.view.rich.component.rich.fragment.RichDeclarativeComponent;
    import oracle.adfinternal.view.faces.taglib.region.RichDeclarativeComponentTag;
    import org.apache.myfaces.trinidad.bean.FacesBean;
    * ICDateComponent tag class.
    public class SuggestBoxTag extends RichDeclarativeComponentTag {
         /*input text properties*/
    private ValueExpression styleClass;
    private ValueExpression label;
    private ValueExpression required;
    private ValueExpression displayWidth;
    private ValueExpression maximumLength;
    private ValueExpression tooltip;
    private ValueExpression disabled;
    /*popup properties*/
    private ValueExpression itemList;
    * {@inheritDoc}
    @Override
    protected String getViewId() {
    return "/component/SuggestBox.jspx";
    * {@inheritDoc}
    @Override
    protected RichDeclarativeComponent createComponent() {
    return new SuggestBox();
    * {@inheritDoc}
    @Override
    public void release() {
    super.release();
    label = null;
    * {@inheritDoc}
    @Override
    protected void setProperties(final FacesBean bean) {
    super.setProperties(bean);
    /*Input text box properties*/
    if (label != null) {
    bean.setValueExpression(SuggestBox.LABEL_KEY, label);
    if (styleClass != null) {
    bean.setValueExpression(SuggestBox.STYLE_CLASS_KEY, styleClass);
    if (required != null) {
    bean.setValueExpression(SuggestBox.REQUIRED_KEY, required);
    if (displayWidth != null) {
    bean.setValueExpression(SuggestBox.DISPLAY_WIDTH_KEY, displayWidth);
    if (maximumLength != null) {
    bean.setValueExpression(SuggestBox.MAXIMUM_LENGTH_KEY, maximumLength);
    if (tooltip != null) {
    bean.setValueExpression(SuggestBox.TOOLTIP_KEY, tooltip);
    if (disabled != null) {
    bean.setValueExpression(SuggestBox.DISABLED_KEY, disabled);
    if (itemList != null) {
    bean.setValueExpression(SuggestBox.POPUP_SELECTITEMLIST_KEY, itemList);
    * @return label
    public ValueExpression getLabel() {
    return label;
    * @param label
    * label
    public void setLabel(ValueExpression label) {
    this.label = label;
    * @return style class.
    public ValueExpression getStyleClass() {
    return styleClass;
    * @param styleClass
    * style class.
    public void setStyleClass(ValueExpression styleClass) {
    this.styleClass = styleClass;
    * @param required
    * required.
         public void setrequired(ValueExpression required) {
              this.required = required;
    * @return required .
         public ValueExpression getrequired() {
              return required;
    * @param displayWidth
    * displayWidth.
         public void setDisplayWidth(ValueExpression displayWidth) {
              this.displayWidth = displayWidth;
    * @return displayWidth .
         public ValueExpression getDisplayWidth() {
              return displayWidth;
    * @param maximumLength
    * maximumLength.
         public void setmaximumLength(ValueExpression maximumLength) {
              this.maximumLength = maximumLength;
    * @return maximumLength .
         public ValueExpression getmaximumLength() {
              return maximumLength;
    * @param tooltip
    * tooltip.
         public void setTooltip(ValueExpression tooltip) {
              this.tooltip = tooltip;
    * @return tooltip .
         public ValueExpression getTooltip() {
              return tooltip;
    * @param disabled
    * disabled.
         public void setDisabled(ValueExpression disabled) {
              this.disabled = disabled;
    * @return disabled .
         public ValueExpression getDisabled() {
              return disabled;
    * @param itemList
    * itemList.
         public void setItemList(ValueExpression itemList) {
              this.itemList = itemList;
    * @return itemList .
         public ValueExpression getItemList() {
              return itemList;
    SuggestBox.java+
    package com.dstintl.ic.ui.component.suggestbox;
    import java.util.ArrayList;
    import java.util.List;
    import javax.faces.component.UIComponent;
    import javax.faces.model.SelectItem;
    import oracle.adf.view.rich.component.rich.fragment.RichDeclarativeComponent;
    import oracle.adf.view.rich.component.rich.input.RichSelectOneListbox;
    import oracle.adf.view.rich.context.AdfFacesContext;
    import oracle.adf.view.rich.render.ClientEvent;
    import org.apache.myfaces.trinidad.bean.PropertyKey;
    * suggestBox.
    public class SuggestBox extends RichDeclarativeComponent {
    /** label. **/
    public static final PropertyKey LABEL_KEY = PropertyKey.createPropertyKey("label");
    /** styleClass **/
    public static final PropertyKey STYLE_CLASS_KEY = PropertyKey.createPropertyKey("styleClass");
    /** required **/
    public static final PropertyKey REQUIRED_KEY = PropertyKey.createPropertyKey("required");
    /** displayWidth **/
    public static final PropertyKey DISPLAY_WIDTH_KEY = PropertyKey.createPropertyKey("displayWidth");
    /** precision **/
    public static final PropertyKey MAXIMUM_LENGTH_KEY = PropertyKey.createPropertyKey("maximumLength");
    /** toolTip **/
    public static final PropertyKey TOOLTIP_KEY = PropertyKey.createPropertyKey("tooltip");
    /**disabled **/
    public static final PropertyKey DISABLED_KEY = PropertyKey.createPropertyKey("disabled");
    /** itemList **/
    public static final PropertyKey POPUP_SELECTITEMLIST_KEY = PropertyKey.createPropertyKey("itemList");
    * Constructor.
    public SuggestBox() {
    * Gets the value set to the <code>label</code> attribute.
    * @return String label.
    public String getLabel() {
    String t = (String) getAttributes().get("label");
    return t;
    * Gets the value set to the <code>styleClass</code> attribute.
    * @return String styleClass.
    public String getStyleClass() {
    String t = (String) getAttributes().get("styleClass");
    return t;
    * Gets the value set to the <code>required</code> attribute.
    * @return b.
    public boolean getrequired() {
    Boolean b = (Boolean) getAttributes().get("required");
    return b;
    * Gets the value set to the <code>displayWidth</code> attribute.
    * @return String displayWidth.
    public String getDisplayWidth() {
    String t = (String) getAttributes().get("displayWidth");
    return t;
    * Gets the value set to the <code>precision</code> attribute.
    * @return String precision.
    public String getMaximumLength() {
    String t = (String) getAttributes().get("maximumLength");
    return t;
    * Gets the value set to the <code>toolTip</code> attribute.
    * @return String styleClass.
    public String getToolTip() {
    String t = (String) getAttributes().get("tooltip");
    return t;
    * Gets the value set to the <code>disabled</code> attribute.
    * @return b.
    public boolean getDisabled() {
    Boolean b = (Boolean) getAttributes().get("disabled");
    return b;
    * Main popUp functionality.
         /**Get popUpId label */
    private String popUpLabel;
    public void setPopUpLabel(String popUpLabel) {
              this.popUpLabel = popUpLabel;
         public String getPopUpLabel() {
              this.popUpLabel =(String) getAttributes().get("label");
              return popUpLabel;
    /** fullitemList from the binding **/
    private List<SelectItem> fullitemList;
    /** suggestedList - to populate list of suggestions squeezed from the fullitemList **/
    private List<SelectItem> suggestedList = new ArrayList<SelectItem>();
    /** suggestListBox - attached to the Main popUp RichSelectOneListbox**/
    private RichSelectOneListbox suggestListBox;
    * sets suggestListBox
         public void setSuggestListBox(RichSelectOneListbox suggestListBox) {
              this.suggestListBox = suggestListBox;
    * gets suggestListBox
    * @return suggestListBox
         public RichSelectOneListbox getSuggestListBox() {
              return suggestListBox;
    * Sets suggested list on the selectOneListbox component
    * @param suggestedList
    * suggestedList.
         public void setSuggestedList(List<SelectItem> suggestedList) {
              this.suggestedList = suggestedList;
    * Retrieves the list from the bindings and
    * initialise suggestedList with the full list(only done during initialisation)
    * @return suggestedList.
         public List<SelectItem> getSuggestedList() {
              if(fullitemList == null){
                   fullitemList = new ArrayList<SelectItem>();
         List<SelectItem> result = (List<SelectItem>) getAttributes().get("itemList");
         this.fullitemList.addAll(result);
         this.suggestedList.addAll(result);
              return suggestedList;
    * doFilterList - On Every user keystroke in the suggest input field, the browser client calls
    * the doFilterList method through the af:serverListerner component
    * af:selectoneListbox (popup) is refreshed at the end of each call to the doFileterList so that
    * new list value is populated.
    * @param clientEvent
    public void doFilterList(ClientEvent clientEvent) {
         if(suggestListBox == null) {
              UIComponent uic = clientEvent.getComponent();
              suggestListBox = (RichSelectOneListbox) uic.getChildren().get(0);
    // set the content for the suggest list
    String srchString = (String)clientEvent.getParameters().get("filterString");
    this.suggestedList.clear();
    for(SelectItem item : fullitemList) {
         if( item.getLabel().contains(srchString)){
         this.suggestedList.add(item);
    AdfFacesContext.getCurrentInstance().addPartialTarget(suggestListBox);
    SuggestBox.jspx+
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:h="http://java.sun.com/jsf/html"
         xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
         <jsp:directive.page contentType="text/html;charset=windows-1252" />
         <af:componentDef var="attrs" componentVar="component">
    <af:document>
    <f:facet name="metaContainer">
    <af:group>
    <![CDATA[
    <script>
    function handleKeyUpOnSuggestField(evt){
    // start the popup aligned to the component that launched it
    suggestPopup = evt.getSource().findComponent("suggestPopup");
    inputField = evt.getSource();
    //don't open when user "tabs" into field
    if (suggestPopup.isShowing() == false &&
    evt.getKeyCode()!= AdfKeyStroke.TAB_KEY){
    hints = {align:AdfRichPopup.ALIGN_AFTER_START, alignId:evt.getSource().getClientId()+"::content"};
    suggestPopup.show(hints);
    //disable popup hide to avoid popup to flicker on
    //key press
    suggestPopup.hide = function(){}
    //suppress server access for the following keys
    //for better performance
    if (evt.getKeyCode() == AdfKeyStroke.ARROWLEFT_KEY ||
    evt.getKeyCode() == AdfKeyStroke.ARROWRIGHT_KEY ||
    evt.getKeyCode() == AdfKeyStroke.ARROWDOWN_KEY ||
    evt.getKeyCode() == AdfKeyStroke.SHIFT_MASK ||
    evt.getKeyCode() == AdfKeyStroke.END_KEY ||
    evt.getKeyCode() == AdfKeyStroke.ALT_KEY ||
    evt.getKeyCode() == AdfKeyStroke.HOME_KEY) {
    return false;
    if (evt.getKeyCode() == AdfKeyStroke.ESC_KEY){
    hidePopup(evt);
    return false;
    // get the user typed values
    valueStr = inputField.getSubmittedValue();
    // query suggest list on the server
    AdfCustomEvent.queue(suggestPopup,"suggestServerListener",
    // Send single parameter
    {filterString:valueStr},true);
    // put focus back to the input text field
    setTimeout("inputField.focus();",400);
    //TAB and ARROW DOWN keys navigate to the suggest popup
    //we need to handle this in the key down event as otherwise
    //the TAB doesn't work
    function handleKeyDownOnSuggestField(evt){               
    if (evt.getKeyCode() == AdfKeyStroke.ARROWDOWN_KEY) {                   
    selectList = evt.getSource().findComponent("suggestListBox");
    selectList.focus();
    return false;
    else{
    return false;
    //method called when pressing a key or a mouse button
    //on the list
    function handleListSelection(evt){
    if(evt.getKeyCode() == AdfKeyStroke.ENTER_KEY ||
    evt.getType() == AdfUIInputEvent.CLICK_EVENT_TYPE){                                          
    var list = evt.getSource();
    evt.cancel();
    var listValue = list.getProperty("value");
    hidePopup(evt);
    inputField = evt.getSource().findComponent("suggestField");
    inputField.setValue(listValue);
    //cancel dialog
    else if (evt.getKeyCode() == AdfKeyStroke.ESC_KEY){
    hidePopup(evt);
    //function that re-implements the node functionality for the
    //popup to then call it
    function hidePopup(evt){
    var suggestPopup = evt.getSource().findComponent("suggestPopup");
    //re-implement close functionality
    suggestPopup.hide = AdfRichPopup.prototype.hide;
    suggestPopup.hide();
    </script>
    ]]>
    </af:group>
    </f:facet>
    <af:messages/>
    </af:document>
         <!-- START Suggest Field -->
         <af:inputText id="suggestField"
         clientComponent="true"
         disabled="#{attrs.disabled}"
         label="#{attrs.label}"
         required="#{attrs.required}"
         columns="#{attrs.displayWidth}"
         maximumLength="#{attrs.maximumLength}"
         styleClass="#{attrs.styleClass}"
         shortDesc="#{attrs.tooltip}">
         <af:clientListener method="handleKeyUpOnSuggestField"
                             type="keyUp"/>
         <af:clientListener method="handleKeyDownOnSuggestField"
         type="keyDown"/>
         </af:inputText>
         <!-- END Suggest Field -->
         <!-- START Suggest popUp -->
    <af:popup id="suggestPopup" contentDelivery="immediate" animate="false" clientComponent="true" >
         <af:selectOneListbox id="suggestListBox" contentStyle="width: 250px;"
         size="5" valuePassThru="true">
         <f:selectItems value="#{component.suggestedList}"/>
         <af:clientListener method="handleListSelection" type="keyUp"/>
         <af:clientListener method="handleListSelection" type="click"/>
         </af:selectOneListbox>
         <af:serverListener type="suggestServerListener"
         method="#{component.doFilterList}"/>
    </af:popup>
         <!-- END Suggest popUp -->
    <af:xmlContent>
                   <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
    <display-name>suggestBox</display-name>
    <attribute>
    <attribute-name>id</attribute-name>
    </attribute>
                        <attribute>
    <attribute-name>label</attribute-name>
    </attribute>
    <component-extension>
    <component-tag-namespace>com.dstintl.ic.ui.component</component-tag-namespace>
    <component-taglib-uri>/com/dstintl/ic/ui/component</component-taglib-uri>
    </component-extension>
    </component>
    </af:xmlContent>
    </af:componentDef>
    </jsp:root>
    component.tld+
    <?xml version="1.0" encoding="windows-1252"?>
    <taglib xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" version="2.1" xmlns="http://java.sun.com/xml/ns/javaee">
         <display-name>component</display-name>
         <tlib-version>1.0</tlib-version>
         <short-name>component</short-name>
         <uri>/com/dstintl/ic/ui/component</uri>
         <!--
              Component Name: SuggestBox Description: AutoSuggest or AutoComplete - shows a list of vales
              in a drop down list that is filtered by the user input in the input text field.
         -->
         <tag>
              <name>SuggestBox</name>
              <tag-class>com.dstintl.ic.ui.component.suggestbox.SuggestBoxTag</tag-class>
              <body-content>JSP</body-content>
              <attribute>
                   <name>label</name>
                   <required>false</required>
                   <deferred-value/>
              </attribute>
              <attribute>
                   <name>styleClass</name>
                   <required>false</required>
                   <deferred-value/>
              </attribute>
              <attribute>
                   <name>disabled</name>
                   <required>false</required>
                   <deferred-value/>
              </attribute>
              <attribute>
                   <name>required</name>
                   <required>false</required>
                   <deferred-value>
                        <type>boolean</type>
                   </deferred-value>
              </attribute>
              <attribute>
                   <name>displayWidth</name>
                   <required>false</required>
                   <deferred-value/>
              </attribute>
              <attribute>
                   <name>maximumLength</name>
                   <required>false</required>
                   <deferred-value/>
              </attribute>
              <attribute>
                   <name>tooltip</name>
                   <required>false</required>
                   <deferred-value/>
              </attribute>
              <attribute>
                   <name>itemList</name>
                   <required>false</required>
                   <deferred-value/>
              </attribute>
         </tag>
    </taglib>

    Hi Subha,
    you can distinct the different components using clientAttribute tag with clientListener
    <af:inputText id="suggestField" .....>
    <af:clientListener method="handleKeyUpOnSuggestField" type="keyUp"/>
    <af:clientListener ......"/>
    <af:*clientAttribute* name="eventName" value="myCustomEvent"/>
    <af:*clientAttribute* name="popupId" value="......"/>
    </af:inputText>
    in javascript you get the eventName or PopuId from the attribute
    component = event.getSource();
    var eventName = component.*getProperty* ("eventName");
    // Call the server
    AdfCustomEvent.queue(popup, *eventName*, ......);
    var popupId = component.*getProperty* ("popuId");
    var popup = AdfPage.PAGE.findComponent(popupId);
    Hope this help,
    Maroun

  • Would a 347 MB file be slow? Auto save and auto type turn off?

    I am doing an art inventory and add jpegs of the art. I don't resize them they range from 750k to 3MB. I guess if it is slowing the program down i should? It currently is 267 rows by about 18 columns.
    Thanks in advance.
    Oh can I turn off auto save and auto type? That may help. How do I do that?

    Done.
    Enter Scrip Editor
    paste the posted script
    File > Save > as Script  on the Desktop
    Move the script to the folder :
    Macintosh HD:Library:Scripts:Folder Action Scripts:
    CAUTION, you will be asked to enter your pasword.
    Create a folder to do the job. I named mine Normalized. I created mine on the Desktop where it's easy to reach.
    Go to :
    Macintosh HD:Library:Scripts:Folder Actions:
    Double click the alias :  Configure Folder Actions
    Below the left column, click
    navigate to select your new folder
    Below the right column, click
    select the script image - normalize400.scpt
    After that, drag and drop a picture file onto your folder.
    The original will be move in the folder Originals (isn’t it original ?)
    and a reduced copy  400 x height will be stored in the folder Normalized images.
    And now, here is the script :
    --{code}
    Image - Normalize
    This Folder Action handler is triggered whenever items are added to the attached folder.
    The script rotates the image counter-clockwise (left).
    Copyright © 2002–2007 Apple Inc.
    You may incorporate this Apple sample code into your program(s) without
    restriction.  This Apple sample code has been provided "AS IS" and the
    responsibility for its operation is yours.  You are not permitted to
    redistribute this Apple sample code as "Apple sample code" after having
    made changes.  If you're going to redistribute the code, we require
    that you make it clear that the code was descended from Apple sample
    code, but that you've made changes.
    modified by Yvan KOENIG (VALLAURIS, France)
    2011/12/08
    This version normalize pictures so that
    (1) the greater dimension become the width one (rotate left if needed)
    (2) this greater dimension is ruled by the property maxWidth defined below.
    property maxWidth : 400
    -- set it to fit your needs
    property done_foldername : "Normalized Images"
    property originals_foldername : "Original Images"
    property newimage_extension : "jpg"
    -- the list of file types which will be processed
    -- eg: {"PICT", "JPEG", "TIFF", "GIFf"}
    property type_list : {"TIFF", "GIFf", "PNGf", "PICT", "JPEG"}
    -- since file types are optional in Mac OS X,
    -- check the name extension if there is no file type
    -- NOTE: do not use periods (.) with the items in the name extensions list
    -- eg: {"txt", "text", "jpg", "jpeg"}, NOT: {".txt", ".text", ".jpg", ".jpeg"}
    property extension_list : {"tif", "tiff", "gif", "png", "pict", "pct", "jpeg", "jpg"}
    on adding folder items to this_folder after receiving these_items
              tell application "Finder"
                        if not (exists folder done_foldername of this_folder) then
      make new folder at this_folder with properties {name:done_foldername}
                        end if
                        set the results_folder to (folder done_foldername of this_folder) as alias
                        if not (exists folder originals_foldername of this_folder) then
      make new folder at this_folder with properties {name:originals_foldername}
                                  set current view of container window of this_folder to list view
                        end if
                        set the originals_folder to folder originals_foldername of this_folder
              end tell
              try
                        repeat with i from 1 to number of items in these_items
                                  set this_item to item i of these_items
                                  set the item_info to the info for this_item
                                  if (alias of the item_info is false and the file type of the item_info is in the type_list) or (the name extension of the item_info is in the extension_list) then
                                            tell application "Finder"
      --set name of this_item to "YK#" & (text -4 thru -1 of ("0000" & i))
                                                      my resolve_conflicts(this_item, originals_folder, "")
                                                      set the new_name to my resolve_conflicts(this_item, results_folder, newimage_extension)
                                                      set the source_file to (move this_item to the originals_folder with replacing) as alias
                                            end tell
      process_item(source_file, new_name, results_folder)
                                  end if
                        end repeat
              on error error_message number error_number
                        if the error_number is not -128 then
                                  tell application "Finder"
      activate
      display dialog error_message buttons {"Cancel"} default button 1 giving up after 120
                                  end tell
                        end if
              end try
    end adding folder items to
    on resolve_conflicts(this_item, target_folder, new_extension)
              tell application "Finder"
                        set the file_name to the name of this_item
                        set file_extension to the name extension of this_item
                        if the file_extension is "" then
                                  set the trimmed_name to the file_name
                        else
                                  set the trimmed_name to text 1 thru -((length of file_extension) + 2) of the file_name
                        end if
                        if the new_extension is "" then
                                  set target_name to file_name
                                  set target_extension to file_extension
                        else
                                  set target_extension to new_extension
                                  set target_name to (the trimmed_name & "." & target_extension) as string
                        end if
                        if (exists document file target_name of target_folder) then
                                  set the name_increment to 1
                                  repeat
                                            set the new_name to (the trimmed_name & "." & (name_increment as string) & "." & target_extension) as string
                                            if not (exists document file new_name of the target_folder) then
      -- rename to conflicting file
                                                      set the name of document file target_name of the target_folder to the new_name
                                                      exit repeat
                                            else
                                                      set the name_increment to the name_increment + 1
                                            end if
                                  end repeat
                        end if
              end tell
              return the target_name
    end resolve_conflicts
    -- this sub-routine processes files
    on process_item(source_file, new_name, results_folder)
      -- NOTE that the variable this_item is a file reference in alias format
      -- FILE PROCESSING STATEMENTS GOES HERE
              try
      -- the target path is the destination folder and the new file name
                        set the target_path to ((results_folder as string) & new_name) as string
                        with timeout of 900 seconds
                                  tell application "Image Events"
      launch -- always use with Folder Actions
                                            set this_image to open file (source_file as string)
                                            set {oldW, oldH} to dimensions of this_image
                                            if oldH > oldW then
                                                      set {oldW, oldH} to {oldH, oldW}
      rotate this_image to angle 270.0
                                            end if
                                            set |échelle| to maxWidth / oldW
                                            if |échelle| < 1 then scale this_image by factor |échelle|
      save this_image as JPEG in file target_path with icon
      close this_image
                                  end tell
                        end timeout
              on error error_message
                        tell application "Finder"
      activate
      display dialog error_message buttons {"Cancel"} default button 1 giving up after 120
                        end tell
              end try
    end process_item
    --{code}
    Yvan KOENIG (VALLAURIS, France)  jeudi 8 décembre 2011 21:25:33
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • I'm still getting all these annoying popups windows, although I followed every solution suggested(safari extentions,block the pop ups) it's really disturbing please help :(

    I'm still getting all these annoying popups windows, although I followed every solution suggested(safari extensions,block the pop ups) it's really disturbing please help

    There is no need to download anything to solve this problem.
    You may have installed one or more of the common types of ad-injection malware. Follow the instructions on this Apple Support page to remove it. It's been reported that some variants of the "VSearch" malware block access to the page. If that happens, start in safe mode by holding down the shift key at the startup chime, then try again.
    Back up all data before making any changes.
    One of the steps in the article is to remove malicious Safari extensions. Do the equivalent in the Chrome and Firefox browsers, if you use either of those. If Safari crashes on launch, skip that step and come back to it after you've done everything else.
    If you don't find any of the files or extensions listed, or if removing them doesn't stop the ad injection, ask for further instructions.
    Make sure you don't repeat the mistake that led you to install the malware. It may have come from an Internet cesspit such as "Softonic" or "CNET Download." Never visit either of those sites again. You might also have downloaded it from an ad in a page on some other site. The ad would probably have included a large green button labeled "Download" or "Download Now" in white letters. The button is designed to confuse people who intend to download something else on the same page. If you ever download a file that isn't obviously what you expected, delete it immediately.
    Malware is also found on websites that traffic in pirated content such as video. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.

  • Users are not able to save pdfs after editing - Adobe XI. They do not use the Win7 explorer preview pane.  If they completely close the Win7 explorer window, they can save - Adobe XI thinks the preview pane is open when it is not.

    Users are not able to save pdfs after editing.  Product is Adobe XI, OS is Win7 64-bit.  When saving, an error pops up that the file cannot be saved, it is in use.  If they save as a different name, it works.  Found several forums/blogs/etc that suggest the problem can be solved by closing the Window7 explorer preview pane.  They don't use the preview pane.  I figured out that if they completely close the explorer window, they can save.  But this means they have to open and close explorer for each file.

    Hi, I would like to chime in and say that this problem has not yet been resolved. It is extremely annoying when all I do is highlight a document in the file explorer and I get 5 errors (evenly spaced out about 20 seconds apart telling me that "Microsoft
    Word Cannot Start (24)". These errors persist even after windows explorer and word are closed. And I don't want to start terminating processes just to make them stop every time.
    I'm a little frustrated with this problem and the other problems I've encountered with MS Office 2013 with file corruption, crashing, 2010 compatibility issues, and the whole host of errors when trying to actually do WORK with Word.
    I do work with long, complex reports in Word because that's the best way available for myself (and my coworkers) to use. However, I sincerely regret upgrading to Office 2013 because of it. I love it, all of its features, and its interface, but I simply cannot
    use it without problems.
    Submitting an official complaint whenever the phone reps start up again in the morning.

  • Whenever I try to download a PDF to save for future use, it keeps opening up the text in my email and won't give me the option to download and save.  Any suggestions?

    whenever I try to save a PDF document on mu iPad, it will only open up as text in my email and won't give me an option to download and save.  Any suggestions?

    You can hold down on the open PDF and get the option to Open In -  in the resulting pop up window.

  • Auto-Save and Auto-Recovery

    I hope the is a differnence between auto-save (as listed in you document properties) and Auto-Recovery (as set in Prefs). I would like some "protection" but I don't want flash saving over my file unless I tell it to save. I got burn last night while "experimenting" and and did a "revert" only to find that flash had saved over my file, what a pain.  I went to find the "recovery" file only to not find one anywhere. My search on the net are conflicted with wheather or not these 2 features are the same. In my case both items where checked and both set to 10min (the default). soooo....
    Please tell me that Auto-Recovery is different, is that it doesn't save over my file, ie it keeps a real back-up someplace, AND where i can find this "recovery" file. ?
    This feature seems strange, why not do a std auto back-up to a user selected number of versions in a user selected location ?
    Thanks
    Joel

    Thanks. After poking around for a while I kinda figured this out. I was just glad to find out I could get some kind of "back-up" function from Auto Recovery, because "Auto Save" is a nightmare. I can't understand where anyone would want to use this feature at all. Anything that saves over what your working on before your ask for the file to be saved is looking for trouble. I found it out the hard way. I had "auto Save" on and after messing around trying a few different things, none of which worked or I liked, I thought I would simply close and re-open the original file only to find "auto save" had saved over my original file. I can't see any place where this feature would be anything but a pitb. If they want a auto save feature it should be saving versions of the original (up to a user specified number of instances) in the seperate folder. Never under any curcumstances should the original file be saved over unless the users presses SAVE. Auto recovery would be more useful if it didn't erase everytime you restarted the app. Flash needs to look at the back-up and versioning systems that AE and PPro use.
    It's one of those things that bother you about the whole "suite" concept. Adobe owns all these apps and while some of them do play well together to an extent, for the most part it is still a collection of indiviuals. While there have been some changes to get the "look" of the apps to be close, the actual functioning of the UI in the differnt apps isn't where it needs to be. There needs to be a Suite "czar" that makes all the apps do std UI things the same using the same keys etc. for example AE, PPro, Flash, Photoshop, fireworks, all use different keys to zoom in/out or of your image/stage/comp/viewer/monitor window ie main workspace or to enable the mouse "wheel" for zooming.  PPro still refuses to use the spacebar to toggle the hand tool like every other "suite app". anyway. a std system for back-up and versioning is need across the suite.
    thanks
    Joel

  • Auto-suggest - I am stuck!

    Okay, so here is my delima.
    I have an auto-suggest drop down (a list of law firms).  Once a law firm is selected from the auto-suggest, you click on the "ADD" button and the law firm name and is passed along  to a text box.  Once it is added to a txt box, the law firm name (along with the ID) needs to be saved back to the database.
    I have got the auto-suggest part to work but I can't seem to add the chosen law firm name and ID, to the txt field, and then save it to the database.
    Here is what I have so far. If you need further clarification, please let me know.
    <cfquery name="GetOC" datasource="#datasourcename#">
        SELECT * FROM table
        WHERE CounselID NOT IN (SELECT CounselID FROM counseltable
        WHERE IPlitID = #url.IPlitID#)
        ORDER BY Counsel
    </cfquery>
    <script>
    function lookupAjax(){
        var oSuggest = $("#getOC")[0].autocompleter;
        oSuggest.findValue();
        return false;
    $("#getOC").autocomplete("data/getOC.cfm", { autofill:true, extraParams:{iplitid:<cfoutput>#url.iplitid#</cfoutput>}, selectFirst:true,onFindValue:findValue,formatItem:formatItem,cellSeparator:"^" });
    </script>
    <!--- Autocomplete BEGIN --->
                  <label for="getOC">Autosuggest Opposing Counsel<br /><input type="text" id="getOC" value="" /></label><br style="clear:both;" />
      <!--- Autocomplete END --->
    My question is how do I pass along the law firm name and ID to a Text box and then take what is in the txt box (law firm name and ID) and save it back to the Database.
    If you need more information, please ask.
    Thank you,
    Ashish Vohra

    Antonio,
    I found myself in the same situation - my solution was to roll my own autosuggest solution using JQuery to retrieve the autosuggest records as a data structure, instead of just simple values.  Craig Kaminsky pointed me in the direction of Learning JQuery 1.3 which (quite frankly) ROCKS.  He also was nice enough to post a proof of concept example in response to my question.  You can find the discussion here:
    http://forums.adobe.com/message/1927669#1927669
    Learning JQuery 1.3 has a chapter specifically dedicated to developing an autosuggest solution.  With a little modification it was not difficult to go from a simple data type to a 2d JSON data structure.
    Hope that helps!

  • When I download applications such as Internet Explorer, Yugma, and iTunes in Firefox, I just get a window that says "save" or "cancel", but never one that says "run" so I don't think it's actually installing anything. Then when I try to open whatever I d

    When I try to download applications such as Internet Explorer, Yugma, and iTunes in Firefox, I just get a window that says "save" or "cancel", but never one that says "run" so I don't think it's actually installing anything. It shows up in a "download" window, then the icon shows up on my desktop. When I click on it to launch it, it says "open with" and I get the same "save/cancel" window. It's a continuous circle. What am I doing wrong??
    == This happened ==
    Every time Firefox opened
    == I don't know. I never downloaded apps through Firefox until all of a sudden Internet Explorer didn't work. ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322)

    What application are you choosing to open the files with?
    Because of how integrated it is with windows IE should work. If it's not working, something more widespread could be wrong with your computer that would also prevent other browsers from working properly. Of course we'd love you to stick with Firefox, but you should get help with IE, too.

  • After installing Mavericks I can no longer save a new word document or pdf by typing the name of the destination folder in the Finder window.  The save button greys out.  Solutions anyone?

    After installing Mavericks I can no longer save a new word document or pdf by typing the name of the destination folder in the Finder window.  The save button greys out.  Solutions anyone?

    Please follow these directions to delete the Mail "sandbox" folders. In OS X 10.9 there are two sandboxes, while in 10.8 there is only one. If you're running a version older than 10.8, this comment isn't applicable.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Containers/com.apple.mail
    Right-click or control-click the highlighted line and select
              Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected folder—not just its contents—to the Desktop. Leave the Finder window open for now.
    Log out and log back in. Launch Mail and test. If the problem is resolved, you may have to recreate some of your Mail settings. You can then delete the folder you moved and close the Finder window.
    This action will delete any custom Mail stationery that you have created. If you want to preserve it, ask for instructions.
    If you still have the problem, quit Mail again and put the folder back where it was, overwriting the one that may have been created in its place. Repeat with this line:
    ~/Library/Containers/com.apple.MailServiceAgent
    Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • Auto suggest behaviour copononent is not working

    Hi All,
    We migrated our application from JDev 11.1.1.3 to 11.1.1.5.
    we have a input text with LOV feild in a popup, and the feild has auto suggest behavior,
    <af:inputListOfValues id="inputListOfValues3"
    popupTitle="Search and Select: #{bindings.Dica.hints.label}"
    value="#{bindings.Dica.inputValue}"
    label="#{bindings.Dica.hints.label}"
    model="#{bindings.Dica.listOfValuesModel}"
    required="#{bindings.Dica.hints.mandatory}"
    columns="30"
    shortDesc="#{bindings.Dica.hints.tooltip}"
    autoSubmit="true"
    valueChangeListener="#{backingBeanScope.Bean.dIcaChangeListener}"
    searchDesc=" ">
    <f:validator binding="#{bindings.Dica.validator}"/>
    <af:autoSuggestBehavior suggestedItems="#{bindings.Dica.suggestedItems}"/>
    </af:inputListOfValues>
    it worked well in 11.1.1.3, but after moving it to 11.1.1.5, the auto suggest behaviour stopped working, but found no error in the log. LOV is working good, Value change listener is also working well.
    Please advise.
    Thanks...

    Yes, I did that, but no result. we have similar components in the same page itself with auto suggest behaviour and input LOV, for those auto suggest behaviour is working good. But this particular feild is in a popup, that might be the reason.

  • Dynamically loaded data in Auto Suggest

    I'm loading data from the server with PHP for the AutoSuggest
    Widget. Everything works great (and fast!).
    Is there a way to add an additional URL parameter to the one
    that is created for the AutoSuggest Widget (by default "prd")?
    It obviously won't work when I add the URL parameter to the
    data set constructor because it conflicts with the URL parameter
    that is created by the Auto Suggest Widget's urlParam.
    In other words, this wouldn't work:
    new
    Spry.Data.XMLDataSet("products.php?id=23,"products/product");
    I tried to add it to the urlParam in the AutoSuggest
    constructor script below the markup:
    urlParam: "id=23&amp;prd"
    I was hoping that the above would create the following URL
    parameter sting:
    ?id=23&amp;prd=e (assuming that the first typed letter
    would be "e")
    since prd alone produces
    ?prd=e
    But that doesn't seem to work either. Do you have any
    suggestions?
    Thanks!

    Update:
    I just found the solution:
    It works when I'm not using the entity name but the actual
    ampersand "&" in the URL parameter like this:
    urlParam: "id=23&prd"
    Obviously, I also have to set loadFromServer to 'true' to
    correctly filter the record set (I forgot that at first).
    Thanks for the great widget!

  • Using Auto Suggest To Set The Value Of Multipe Form Fields

    I would like to use the Spry 1.5 Preview Auto Suggest widget
    to provide the value for multiple form fields based on the row the
    user selects in the auto suggestion data set. I've placed an
    example of what I want to do here:
    http://www.brucephillips.name/spry/Spry_P1_5_Preview/autosuggest/autosuggestMultipleFields .cfm
    It appears that when the user clicks on one of the rows in
    the auto suggestion data set, the current row for the data set is
    not updated but remains the default (first row in the data set).
    Therefore, if you have a spry:detailregion that uses that data set,
    the values for that detail region are from the first row in the
    data set and not the row the user selected.
    Is it possible to set the current row of the auto suggest
    data set to the row the user clicked on in the auto suggestion data
    set so that the spry:detailregion will have the values from the row
    the user clicked on?
    I had previously modified the Spry 1.4 Auto Suggest widget to
    do this. See:
    http://www.brucephillips.name/blog/index.cfm/2006/11/6/Modifing-Sprys-Auto-Suggest-Widget- to-Bind-Users-Selection-to-A-Form
    Thank you for any assistance.

    Cristian: thank you for the reply. I understand your concern
    about the user changing the auto suggest field after updating the
    complimentary fields. I think that could be handled through user
    instruction. Additionally, instead of using form fields to hold the
    complimentary data I could use non-editable paragraphs.
    I hope the change is not too difficult. I think this
    modification would make the auto suggest widget even more useful.
    For example think about a product auto suggest. User starts to type
    in the name of the product, selects the full product name from the
    auto suggestions, and now the page can immediately show in a
    spry:detailregion all the product details.
    Thanks again for considering my request. I really appreciate
    all the work the Spry team is doing. I'm looking forward to the
    official release of Spry.

  • Auto suggestion in outlook 2010

    Hi,
    As i type in outlook 2010, the word suggestions need to be shown to select then and there( as similar to mobile; when we compose a message by making dictionary ON).
    Please suggest me.
    Thanks,
    VidhyaShankar

    Hi,
    By word suggestions/auto suggestions, do you mean the feature that prompt with suggested words when we type the first few letters? If this is the case, I'm afraid there is no such feature in Outlook.
    If I've misunderstood it, would please provide a screenshot regarding this feature on the mobile so that we can understand it more clearly? You can share the screenshot to us by sending it to
    GBSD TN Office Information Collection [email protected]
    The email subject should be the thread link.
    Thanks,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Need to implement auto suggest with multiple select in a input text field

    Hi,
    Jdev Ver: 11.1.1.4
    My requirement is to create an input field where i can provide auto suggest and user can enter multiple email ids. It is similar to current "To" field while composing a mail in Gmail.
    Problem:
    I have implemented input box with auto suggest. For the first entry it works fine. when i enter 2nd value(i have used ',' (comma) as separator and handled it in 'suggestItems' bean method to take sub-string after comma for providing the suggestion) , after selection.... the first value get lost. So at a time only one value is selected in the input text.
    Input text:
    <af:inputText label="Names" id="it21" rows="2"
    columns="50" simple="true"
    valueChangeListener="#{VisitBackingBean.visitMembersInputBoxCL}"
    binding="#{VisitBackingBean.visitMembersInputBox}">
    <af:autoSuggestBehavior suggestItems="#{VisitBackingBean.onSuggest}"/>
    </af:inputText>
    Bean Method:
    public List onSuggest(FacesContext facesContext,
    AutoSuggestUIHints autoSuggestUIHints) {
    BindingContext bctx = BindingContext.getCurrent();
    BindingContainer bindings = bctx.getCurrentBindingsEntry();
    String inputNamevalue = autoSuggestUIHints.getSubmittedValue().trim();
    if(inputNamevalue.contains(",")) {
    inputNamevalue = inputNamevalue.substring(inputNamevalue.lastIndexOf(",")+1).trim();
    //create suggestion list
    List<SelectItem> items = new ArrayList<SelectItem>();
    // if (autoSuggestUIHints.getSubmittedValue().length() > 3) {
    OperationBinding setVariable =
    (OperationBinding)bindings.get("setnameSearch");
    setVariable.getParamsMap().put("value",
    inputNamevalue);
    setVariable.execute();
    //the data in the suggest list is queried by a tree binding.
    JUCtrlHierBinding hierBinding =
    (JUCtrlHierBinding)bindings.get("AutoSuggestName_TUserROView1");
    //re-query the list based on the new bind variable values
    hierBinding.executeQuery();
    //The rangeSet, the list of queries entries, is of type //JUCtrlValueBndingRef.
    List<JUCtrlValueBindingRef> displayDataList =
    hierBinding.getRangeSet();
    for (JUCtrlValueBindingRef displayData : displayDataList) {
    Row rw = displayData.getRow();
    //populate the SelectItem list
    items.add(new SelectItem(rw.getAttribute("UsrUserName").toString().trim() +
    "<" +
    rw.getAttribute("UsrMailId").toString().trim() +
    ">",
    rw.getAttribute("UsrUserName").toString().trim() +
    "<" +
    rw.getAttribute("UsrMailId").toString().trim() +
    ">"));
    return items;
    Please suggest how can i achieve the mentioned functionality.

    Hi,
    doesn't work this way as the suggest list returns a single value. You can actually use the existing values as a prefix to the new value in which case the suggest list would look a bit odd. Beside of this all you can do is to create a user lookup field with auto suggest and once a name is selected, update another field with the value returned from this action
    Frank

Maybe you are looking for