Script To Strip Filename Down To 4 Characters And Automatically Save

I touch up a bunch of files and after finishing the touch ups, I save it with a different filename. I found it easier to save the file by stripping the name down to 4 characters and save it using a script instead of manually renaming and saving the file.  When the file has 4 characters, it means I touched up the file already. My problem is that not all files have 8 characters, and my script below will rename the file by simply dropping the first 4 characters from the left. So it will end up only 3 characters left if it is a 7 character file. I want a script that will make consistent 4-character filename from the right of the file extension. The script is added below.
// FILENAME STRIPPER FOR TOUCH UPS
// For now, this will strip a file with 8-characters filename leaving 4 characters after it saves the file.
// Defines the Active Document
var AD = app.activeDocument;
// Determine end of file name without type suffix
    var myFileEnd = AD.name.lastIndexOf(".");
    var myFile = AD.name.substring(0,myFileEnd);
// I WANT TO ADD A CHARACTER-LENGTH CHECKER HERE such that if the filename is
// 4 characters, then simply save the document. If there is less than 4 characters, add a prefix 
// 0 or 00 depending on the number of  missing characters on a standandard 4-character filename, 
// If the Character-length is more than 4, then strip any excess leaving only 4 characters
// Filename of the Active Document
var imgName= AD.name;
imgName = imgName.substr(0, imgName.length -4);
var myKeyString = imgName.substring(4,myFileEnd);
// Get name of Folder Path
var docFolder = AD.fullName.parent;
var folderPath = docFolder.fsName;
// Flatten layers all the time
AD.flatten();
// Saves the Active Document  in the same folder with 4 characters from right
jpgFile = new File( folderPath + "/" + myKeyString + ".jpg");
jpgSaveOptions = new JPEGSaveOptions();
jpgSaveOptions.embedColorProfile = true
jpgSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
jpgSaveOptions.matte = MatteType.NONE;
jpgSaveOptions.quality = 12;
// Saves the file according the filename specifications above
AD.saveAs(jpgFile, jpgSaveOptions, true, Extension.LOWERCASE);
AD.close(SaveOptions.DONOTSAVECHANGES);
Message was edited by: apmaui808

I like the idea of adding a suffix but most of the time, we add the filename to proofs and we like the idea that the filename is shorter. Thanks for the suggestion. I tried doing changes in script and I found this revised version to satisfy what I needed to do. I am not a programmer so you can see some redundancy in the program. If there is a way to simplify it, I would go for that. Here is the revised code:
// Defines the Active Document
var AD = app.activeDocument;
// Determine end of file name without type suffix
    var myFileEnd = AD.name.lastIndexOf(".");
    var myFile = AD.name.substring(0,myFileEnd);
// Filename of the Active Document
var imgName= AD.name;
imgName = imgName.substr(0, imgName.length -4);
if (imgName.length == 8) {
    var myKeyString = imgName.substring(4, myFileEnd);
// Get name of Folder Path
    var docFolder = AD.fullName.parent;
    var folderPath = docFolder.fsName;
AD.flatten();
jpgFile = new File( folderPath + "/" + myKeyString + ".jpg");
jpgSaveOptions = new JPEGSaveOptions();
jpgSaveOptions.embedColorProfile = true
jpgSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
jpgSaveOptions.matte = MatteType.NONE;
jpgSaveOptions.quality = 12;
AD.saveAs(jpgFile, jpgSaveOptions, true, Extension.LOWERCASE);
AD.close(SaveOptions.DONOTSAVECHANGES);
else
if (imgName.length == 7) {
    var myKeyString = imgName.substring(3, myFileEnd); // drops off 3 characters from left
    var docFolder = AD.fullName.parent;
    var folderPath = docFolder.fsName;
AD.flatten();
jpgFile = new File( folderPath + "/" + myKeyString + ".jpg");
jpgSaveOptions = new JPEGSaveOptions();
jpgSaveOptions.embedColorProfile = true
jpgSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
jpgSaveOptions.matte = MatteType.NONE;
jpgSaveOptions.quality = 12;
AD.saveAs(jpgFile, jpgSaveOptions, true, Extension.LOWERCASE);
AD.close(SaveOptions.DONOTSAVECHANGES);
else
if (imgName.length == 6) {
    var myKeyString = imgName.substring(2, myFileEnd); // drops off 2 characters from left
    var docFolder = AD.fullName.parent;
    var folderPath = docFolder.fsName;
AD.flatten();
jpgFile = new File( folderPath + "/" + myKeyString + ".jpg");
jpgSaveOptions = new JPEGSaveOptions();
jpgSaveOptions.embedColorProfile = true
jpgSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
jpgSaveOptions.matte = MatteType.NONE;
jpgSaveOptions.quality = 12;
AD.saveAs(jpgFile, jpgSaveOptions, true, Extension.LOWERCASE);
AD.close(SaveOptions.DONOTSAVECHANGES);
else
if (imgName.length == 5) {
    var myKeyString = imgName.substring(1, myFileEnd); // drops off 1 character from left
    var docFolder = AD.fullName.parent;
    var folderPath = docFolder.fsName;
AD.flatten();
jpgFile = new File( folderPath + "/" + myKeyString + ".jpg");
jpgSaveOptions = new JPEGSaveOptions();
jpgSaveOptions.embedColorProfile = true
jpgSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
jpgSaveOptions.matte = MatteType.NONE;
jpgSaveOptions.quality = 12;
AD.saveAs(jpgFile, jpgSaveOptions, true, Extension.LOWERCASE);
AD.close(SaveOptions.DONOTSAVECHANGES);
else
if (imgName.length == 4) {
    var myKeyString = imgName.substring(0, myFileEnd); // leave filename as is
    var docFolder = AD.fullName.parent;
    var folderPath = docFolder.fsName;
AD.flatten();
jpgFile = new File( folderPath + "/" + myKeyString + "_" + ".jpg"); // adds a suffix "_" to avoid overwriting the main file
jpgSaveOptions = new JPEGSaveOptions();
jpgSaveOptions.embedColorProfile = true
jpgSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
jpgSaveOptions.matte = MatteType.NONE;
jpgSaveOptions.quality = 12;
AD.saveAs(jpgFile, jpgSaveOptions, true, Extension.LOWERCASE);
AD.close(SaveOptions.DONOTSAVECHANGES);
else
if (imgName.length == 3) {
    var myKeyString = imgName.substring(0, myFileEnd);
    var docFolder = AD.fullName.parent;
    var folderPath = docFolder.fsName;
AD.flatten();
jpgFile = new File( folderPath + "/" + "0" + myKeyString + ".jpg"); //adds a prefix "0" to pad the 3-character filename
jpgSaveOptions = new JPEGSaveOptions();
jpgSaveOptions.embedColorProfile = true
jpgSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
jpgSaveOptions.matte = MatteType.NONE;
jpgSaveOptions.quality = 12;
AD.saveAs(jpgFile, jpgSaveOptions, true, Extension.LOWERCASE);
AD.close(SaveOptions.DONOTSAVECHANGES);
else
if (imgName.length == 2) {
    var myKeyString = imgName.substring(0, myFileEnd);
// Get name of Folder Path
    var docFolder = AD.fullName.parent;
    var folderPath = docFolder.fsName;
AD.flatten();
jpgFile = new File( folderPath + "/" + "00" + myKeyString + ".jpg"); //adds two zeroes "00" to complete 4-character filename
jpgSaveOptions = new JPEGSaveOptions();
jpgSaveOptions.embedColorProfile = true
jpgSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
jpgSaveOptions.matte = MatteType.NONE;
jpgSaveOptions.quality = 12;
// Saves the file according the filename specifications above
AD.saveAs(jpgFile, jpgSaveOptions, true, Extension.LOWERCASE);
AD.close(SaveOptions.DONOTSAVECHANGES);

Similar Messages

  • Xperia Z1 keeps shutting down does not restarts,and automatically stops and starts charging randomly

    My Sony Xperia Z1 keeps shutting down due to high temperature even though its not overheated, or i am not running any app. It does not restarts even after i give it some time to cool down as it soon again displays the same messege (SHUTTING DOWN DUE TO HIGH TEMPERATURE), then when i connect a charger it automatically starts charging and discharging (even though if the charger is connected and ON) the cell phone
    I request you to kindly look into the matter, expedite the situation and suggest me any possible solution asap
    also i would request you to not to release any OS updates unless they are fully stable and functional, i have bought this device 6 months back and it has already malfunctioned 3 times which is a serious concern. I cannot keep on updating and repairing my cell phone after every month or so which i feel is very irritating.
    Please stop treating these devices as developers guinea pigs

    I suggest that you try to repair the phone software using PC Companion..
    Before repairing your device you may want to backup your information first. Check out this topic for more information on how to.
    How to backup?
    If the issue should still remain I think that this needs to be examined and fixed at a repair center. For more information about how to submit your phone for repair and where, contact your local support team.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • Save renames filename to 8+3 characters on NetApp server

    We are using Illustrator version 12.0.0 (WINXP SP2), and it has been working fine until we switched our server to a NetApp Filer server.
    When opening an existing AI file (or create a new one), and press "Save" the saved files is shortend to 8+2 characters. I. e. 081021~1.ai
    This only happens on our new NetApp server. If we try the same on another Windows server or locally on the client the file is saved with the long filename. I. e. 081021 this is a long filename.ai
    If we use "Save As", the long filename is kept even if we save the file on the NetApp server.
    We don't have any other problem with our NetApp server.
    What could be the reason why "Save" shortens the filename and "Save As" does not?

    Although not officially listed as an addressed issue, the problem might be resolved by updating to 12.0.1.

  • Bright stripe down middle of screen and cant see anything else

    I cannot use my iphone due to a bright stripe down the middle

    Hi Try and upgrade over wifi to ios8.1 But this sounds like a Hardware Fault Take to Apple Store Cheers Brian

  • Pale strip running down macbook screen

    I noticed earlier today a pale strip running from top to bottom on my macbook screen - as if a sheet of tracing paper had been placed over the screen. Assuming it to be a software issue (recently moved to 10.5.8), I rebooted, only the find the strip appear immediately at start-up, and much stronger than before. Here's an photo:
    http://markhobbs.files.wordpress.com/2009/08/screen_strip.jpg
    I'm a little concerned this might be a hardware problem, caused possibly by the screen hinge (the left-hand side of the strip coincides exactly with the beginning of the left-hand edge of the hinge). Any help appreciated.
    Thanks
    Mark Hobbs

    I agree that it's a hardware issue. You could try running the Apple Hardware test (inserting install disc 1 and holding down the D key), but if it shows up at startup as well, I'm fairly certain you're looking at damaged hardware that needs to be repaired.
    ~Lyssa

  • Made a drop down menu. How can I get the drop down to fade in and out? !

    Hi guys!
    I've created a drop down menu (with the help of you legends on here! )...Now I just need it to animate so when the user hovers over the main menu item, the drop down fades in.
    Here's the HTML I have...
        <ul id="nav">
            <li><a href="#">Nav 1</a></li>
            <li><a href="#">Nav 2</a></li>
            <li><a href="#">Nav 3</a>
                <ul>
                    <li><a href="#">&raquo; Sub Menu 1</a></li>
                    <li><a href="#">&raquo; Sub Menu 2</a></li>
                    <li><a href="#">&raquo; Sub Menu 3</a></li>
                    <li><a href="#">&raquo; Sub Menu 4</a></li>
                </ul>
            </li>
            <li><a href="#">Nav 5</a></li>
            <li><a href="#">Nav 6</a></li>
        </ul>
    ...and here's my CSS...
    ul#nav {width:920px; height:35px; list-style:none; padding:0; margin:0; background:url(navBg.jpg) repeat-x; z-index:999;}
    ul#nav li a:hover, #nav li a:active {background:url(navOn.jpg) repeat-x; text-decoration:none;}
    ul#nav li a {color:#E0E2E7; display:inline-block; float:left; margin:0; padding:10px 19px; width:auto; text-decoration:none;}
    * html #nav li {display:inline; float:left; }  /* for IE 6 */
    * + html #nav li {display:inline; float:left; }  /* for IE 7 */
    #nav ul {width:208px; left:-9999em; list-style:none; margin:35px 0; padding:0; position:absolute; z-index:999;}
    #nav li:hover ul {left:auto;}
    #nav li {float:left;}
    #nav li li a {width:190px; background-color:#efefef; color:#2e2e2e; padding:8px; margin:0; }
    #nav li li a:hover {background-color:#000; background-image:none; color:#FFF;}
    #nav li:hover {background:url(assets/images/frame/navOn.jpg);}
    From what I can make out, I assume I need either Javascript or JQuery...
    Does anyone know how I can get the drop down to fade in and out?
    Thank you very much and I hope to hear from you.
    SM

    Yes, you'll need a client-side script to do fade-in/fade-out fx.  Look at jQuery Superfish.
    http://users.tpg.com.au/j_birch/plugins/superfish/#examples
    Nancy O.

  • SharePoint 2010, Visual Studio 2010, Packaging a solution - The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

    Hi,
    I have a solution that used to contain one SharePoint 2010 project. The project is named along the following lines:
    <Company>.<Product>.SharePoint - let's call it Project1 for future reference. It contains a number of features which have been named according
    to their purpose, some are reasonably long and the paths fairly deep. As far as I am concerned we are using sensible namespaces and these reflect our company policy of "doing things properly".
    I first encountered the following error message when packaging the aforementioned SharePoint project into a wsp:
    "The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters."
    I went through a great deal of pain in trying to rename the project, shorten feature names and namespaces etc... until I got it working. I then went about gradually
    renaming everything until eventually I had what I started with, and it all worked. So I was none the wiser...not ideal, but I needed to get on and had tight delivery timelines.
    Recently we wanted to add another SharePoint project so that we could move some of our core functinality out into a separate SharePoint solution - e.g. custom workflow
    error logging. So we created another project in Visual Studio called:
    <Company>.<Product>.SharePoint.<Subsystem> - let's call it Project2 for future reference
    And this is when the error has come back and bitten me! The scenario is now as follows:
    1. project1 packages and deploys successfully with long feature names and deep paths.
    2. project2 does not package and has no features in it at all. The project2 name is 13 characters longer than project1
    I am convinced this is a bug with Visual Studio and/or the Package MSBuild target. Why? Let me explain my findings so far:
    1. By doing the following I can get project2 to package
    In Visual Studio 2010 show all files of project2, delete the obj, bin, pkg, pkgobj folders.
    Clean the solution
    Shut down Visual Studio 2010
    Open Visual Studio 2010
    Rebuild the solution
    Package the project2
    et voila the package is generated!
    This demonstrates that the package error message is in fact inaccurate and that it can create the package, it just needs a little help, since Visual Studio seems to
    no longer be hanging onto something.
    Clearly this is fine for a small time project, but try doing this in an environment where we use Continuous Integration, Unit Testing and automatic deployment of SharePoint
    solutions on a Build Server using automated builds.
    2. I have created another project3 which has a ludicrously long name, this packages fine and also has no features contained within it.
    3. I have looked at the length of the path under the pkg folder for project1 and it is large in comparison to the one that is generated for project2, that is when it
    does successfully package using the method outlined in 1. above. This is strange since project1 packages and project2 does not.
    4. If I attempt to add project2 to my command line build using MSBuild then it fails to package and when I then open up Visual Studio and attempt to package project2
    from the Visual Studio UI then it fails with the path too long error message, until I go through the steps outlined in 1. above to get it to package.
    5. DebugView shows nothing useful during the build and packaging of the project.
    6. The error seems to occur in
    CreateSharePointProjectService target called at line 365 of
    Microsoft.VisualStudio.SharePoint.targetsCurrently I am at a loss to work out why this is happening? My next task is to delete
    project2 completely and recreate it and introduce it into my Visual Studio solution.
    Microsoft, can you confirm whether this is a known issue and whether others have encountered this issue? Is it resolved in a hotfix?
    Anybody else, can you confirm whether you have come up with a solution to this issue? When I mean a solution I mean one that does not mean that I have to rename my namespaces,
    project etc... and is actually workable in a meaningful Visual Studio solution.

    Hi
    Yes, I thought I had fixed this my moving my solution from the usual documents  to
    c:\v2010\projectsOverflow\DetailedProjectTimeline
    This builds ok, but when I come to package I get the lovely error:
    Error 2 The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. C:\VS2010\ProjectsOverflow\DetailedProjectTimeline\VisualDetailedProjectTimelineWebPart\Features\Feature1\Feature1.feature VisualDetailedProjectTimeline
    Now, the error seems to be related to 
    Can anyone suggest what might be causing this. Probably some path in an XML file somewhere. Here is my prime suspect!
    <metaData>
    <type name="VisualDetailedProjectTimelineWebPart.VisualProjectTimelineWebPart.VisualProjectTimeline, $SharePoint.Project.AssemblyFullName$" />
    <importErrorMessage>$Resources:core,ImportErrorMessage;</importErrorMessage>
    </metaData>
    <data>
    <properties>
    <property name="Title" type="string">VisualProjectTimelineWebPart</property>
    <property name="Description" type="string">My Visual WebPart</property>
    </properties>
    </data>
    </webPart>
    </webParts>
    .... Unless I can solve this I will have to remove the project and recreate but with simple paths. Tho I will be none the wiser if I come across this again.
    Daniel

  • I have a manual that contains headings and index entries that contain less than and greater than characters, and . The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in either the C

    I have a manual that contains headings and index entries that contain less than and greater than characters, < and >. The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in either the Contents or the Index of the generated HTML. In the Contents the words are completely missing and in the index entries the '\' characters that are required in the markers remain in the entry but the leading less than symbol and the first character of the word is deleted; hence what should appear as <dataseries> appears as \ataseries\>. I believe this is a FMv12 bug. Has anyone else experienced this? Is the FM team aware and working on a fix. Any suggestions for a workaround?

    The Index issue is more complicated since in order to get the < and > into the index requires the entry itself to be escaped. So, in order to index '<x2settings>' you have to key '\<x2settings\>'. Looking at the generated index entry in the .js file we see '<key name=\"\\2settings\\&gt;\">. This is a bit of a mess and produces an index entry of '\2settings\>'. This ought to be '<key name=\"&amp;lt;x2settings&amp;gt;\" >'. I have tested this fix and it works - but the worst of it is that the first character of the index entry has been stripped out. Consequently I cannot fix this with a few global changes - and I have a lot of index entries of this type. I'm looking forward to a response to this since I cannot publish this document in its current state.  

  • Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

    Hi, Im trying to get the whole path in my server, so i tried that with this following code
    Get-ChildItem $sourceFolder  -Recurse | ?{$_.PsIsContainer} |Get-Acl
    But then, it showed me somtehing like this :
    Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
     I tried to find the solver everywhere and mostly they propose to change the path name, which is impossible, since I am working with my company server, and those folder have already there before i start to work here, then the other ask me to use robocopy,
    but all of the trick just dont work
    is there any way to solve this problem? thanks

    There is no simple solution to this. And it is not a limitation of powershell itself, but of the underlying NTFS file system.
    If the problem is that a folder with a name longer than 248 exists anywhere within your directory structure, you are hooped.
    If the problem is that some fully qualified path names exceed 260 characters, then, in those cases, the solution already given is to create a psdrive partway up the path from the drive letter or server/share root of the path. Unfortunately, the output produced
    will be relative to that psdrive and not to what is specified as the $sourcefolder.
    unless you already know where those problematic paths are, you might consider trying to trap those errors and have your script figure out where it needs to create psdrives. You might then be able to calculate the equivalent path for each file or folder and
    output that. the programming effort would be simpler to just created a psdrive for each folder encountered, however I expect that would be very inefficient.
    Al Dunbar -- remember to 'mark or propose as answer' or 'vote as helpful' as appropriate.

  • Can Framemaker 12 save files down in Framemaker 11 and 10 ? Is it backward compatible?

    Can Framemaker 12 save files down in Framemaker 11 and 10 ? Is it backward compatible?
    Thanks,

    > Times New Roman ... you’re probably using the Unicode version of it ...
    Port a legacy font from the FM7 machine to the FM12 machine, such as Type1 Times, and convert the document to that on the FM12 machine.
    This may not completely solve the problem, as FM8 and later, when opening a pre-FM8 document, appears to convert some things to Unicode code points (even to the point of synthesizing a Unicode encoding of a legacy font, see Re: Adding the Trademark symbol to a document). Saving back to MIF7 probably does not convert the code points back, and FM7 may well complain, or crash, or something.
    If the problem is limited to certain special characters, like ™, there may be work-arounds, like invoking them only as Variables.
    This Unicode border between FM7.2 and FM8 may prove to be one-way for many documents, rather like the spikes at the exit of rental car lots. Do not back up. Extreme document damage may result.

  • It rained in my window last night, on my power strip.  My macbook adaptor (charger) and iphone adaptor were both plugged into the strip.  The power strip is dead.  Iphone is fine.  Macbook will not boot up and charger light doesn't go on.

    It rained in my window last night, on my power strip.  My macbook adaptor (charger) and iphone adaptor were both plugged into the strip.  The power strip is dead.  Iphone is fine.  Macbook will not boot up and charger light doesn't go on. I borrowed another charger and still no luck.  What should I do?  (Charger wasn't plugged into Macbook until I dried it off.)

    Spill Cleaning
    And, don't think that just because it was two teaspoons and not a glassful that there is a difference.
    Some liquid has just spilled into your Mac. What should you do?
    Do
    Immediately shut down the computer and unplug the power cord.
    Remove the computer's battery (if you can)
    Disconnect any peripherals (printers, iPods, scanners, cameras, etc.)
    Lay the computer upside down on paper towels to get as much liquid as possible to drip out.
    Note what was spilled on your Mac.
    Bring the computer into an Apple store or AASP as soon as possible.
    Don't
    Don't try to turn it back on. Liquids can help electrical current move about the components of your Mac in destructive ways.
    Don't shake the computer (this will only spread the liquid around).
    Don't use a hair dryer on it (even at a low setting a hair dryer will damage sensitive components).
    Do not put in a bag of rice in as much as rice will get into the ports and optical drive and do further damage.

  • Print unreadable characters and extra pages on Xerox 3050

    We only have a Xerox 3050 Printer. Jetform server has setup it as Default printer. We have compiled our forms with 'Window default print driver' option. When merging DAT file into this printer, it printed most correct information but with some unreadable characters and also printed some extra pages with totally unreadable characters.
    For the same forms, we have also compiled with PDF driver. When merging the same DAT files into the PDF files, they showed and printed correctly.
    Is Xerox 3050 printer driver not supported by Jetform server, or other reasons?
    Thanks in advance.

    Hi AngeloC, and a warm welcome to the forums!
    I've seen this before, now let's see if I remember the cure!
    Safe Boot from the HD, (holding Shift key down at bootup), this will clear the font caches for one thing, then run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Reboot.

  • Query Stripping: how to filter a value and display the detail

    Hi,
    We have just upgraded to XI 3.1 SP3.1, and I have done some tests on the query Stripping functionnality. I can see the benefits from a performance point of view if I dragged new characteristics to the report, but I was not able to reproduce one of our key requirements:
    The report displays Sales by Manager, the customer is in the webi query panel but not in the report. So far, thanks to the query stripping option, webi only retrieves the Manager information and not the customer.
    Now, the user wants to see the sales by customer for a particular manager. If I drag and drop the customer, I have the customers for all the managers, and I now have a performance issue.
    I just would like to do as in BEX: Filter and Drill Down.
    I know that I can use the Drill Functionnality of webi, but it is a fixed scenario that you have to define in advance in the universe. It has also the inconvenient to drill only to the key or the description of an object (cannot drill down to the key and description of the customer).
    Any tip to do a "filter and Drill Down" using the query stripping functionnality?
    THank you,
    Gabriel

    Hi,
    Drag from output port of dataservice and select "filter data" option. Then if you select "configure element" for filter operator, you can see the fileds.
    The filter conditions for a numeric field is as follows
    Equals 100 - <b>100</b>
    Not equals 100  - <b>not 100</b>
    greater than 100 - <b>100..</b>
    <= 100 - <b>not 100..</b>
    <100 - <b>..100</b>
    I think you got the logic here. the two dots at the end shows greater while dots at the begining shows less than. If the dots are in the middle of two numbers, the filter operator  will return values between the two numbers
    Regards,
    Sooraj

  • I need a Vietnamese keyboard. Recommendations? A keyboard that officially works with iPad and displays all the characters and their accent marks for typing.

    Where do I find an excellent and reliable Vietnamese keyboard for new iPad? A keyboard that displays all the characters and the accent marks so typing can be easily accomplished. The iPad keyboard selection for Vietnamese really only seems to change the Return key to the Vietnamese language. iPad is sold all over the world....my interest is Viet Nam.....the full keyboard.

    Thanks.....my Vietnamese expert spouse says this tip will work just fine.  I was not aware of the hold down function. Slow typing but accomplishes the objective native on the iPad.
    You are correct.....most Apps that I find seem to be based only on a copy/paste method of input.
    You solved the problem.

  • Characters and the HP Touchsmart

    I am helping a friend with an HP touchsmart and she is trying to use Spanish characters in Windows.  Usually one would hold down the Alt key and type a numberic code to get a character (for ex. Alt 164 gets a ñ), but it's not working for her.  Either the screen scrolls or some other odd behavior happens.  Any idea why or how to resolve the issue?
    Thank you for the advice!
    Travis

    I think you are using US standard keyboard setting. You need to go into Keyboard language settings...
    Click Start, Control Panel.
    Click Clock, Language, Region, Change Keyboards or other input methods.
    Click Change Keyboards.
    Click Add and select United States-International keyboard
    Click OK
    From drop down menu (Default Input Language) select United States International
    Click OK.
    You should get a little keyboard guy on your taskbar - right-click it and select International keyboard.
    Open Notepad and press SHIFT, Tilde (~), and then N (or you can keep doing the ALT thing).
    Enjoy.
    ¡ = hold ALT  + !
    ¡ = ALT + 0161
    ¿ = Hold ALT + ?
    ¿ ALT + 0191
    á = ' + a
    á = ALT + 0225
    é = ' + e
    é = ALT + 0233
    í = ' + i
    í = ALT + 0237
    ñ = ~ + n
    ñ = ALT + 0241
    ó = ' + o
    ó = ALT + 0243
    ú = ' + u
    ü = " + u
    ú = ALT + 0250
    ü = ALT + 0252
    ... an HP employee expressing his own opinion.
    Please post rather than send me a Message. It's good for the community and I might not be able to get back quickly. - Thank you.

Maybe you are looking for

  • Emoji no longer works since upgrading to iOS7.

    I'm having a weird problem ever since I upgraded to iOS7. For some reason, my emoji no longer works. It works parially. When I hit the globe on the keyboard, I can see them all and choose which one I want to send, but I can no longer type ":)" to get

  • I NEED HELP!!! Nokia 6131

    I have a nokia 6131 n I can not remember how to access the back up call log!  I accidently deleted my "all calls" and REALLY need to find a number.  My job can depend on it!  PLEASE somone help me. 

  • PO Release by Mail / Work Flow

    Hi Here the req is PO release intimation want to go by mail to respective project heads. Release intimation means on day today basis the project heads will see in their inbox that wat are all the PO's are pending for release from their side then they

  • How do you put doc into files?

    I am new to Abode Reader and I can not organize my doc. W/o putting them into files.  Can anyone help me?

  • J2SE Runtime Updates

    In my add/remove programs, there is: > J2SE Runtime Environment 5.0 Update 5; 6; 7; 9; 10; and 11 as well as Java SE Runtime Environment 6 Update 1 Can I remove some of these or ?