Modify Browser(IE) footer using script

anyone know to modify the browser footer using script ? i need to print html and footer display number of page ,but i cant make it .
so please teach me how to do it .thanks.
or it is possible to set a parameter on apex page footer text when i am printing the html and it will display the page number.
thanks for reply .

Hello,
Isn't that default in IE (that the pagenumber gets printed)?
I googled and found this: http://www.febooti.com/products/iezoom/print-web/printing-codes-footer-header.html
Hopefully it might help you.
Additionally you can use css to make your look and feel different when you print then what you see on the page.
Regards,
Dimitri
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/
http://www.apexblogs.info/

Similar Messages

  • How to Modify the Header/Footer that's created when printing to PDF?

    Hi all,
    How do I modify the header/footer that is added when I use the Adobe PDF printer in another application, like MS Word? Currently it adds the entire path of the file as the header, which is really annoying.
    I'm not talking about the Header/Footer command in Acrobat's "Document" menu. In fact, that command doesn't even recognise the header that's generated by the Adobe PDF printer.
    I'm using Acrobat Pro 8.1.3, btw.
    Thanks :)

    Generally you should set the whole look of the page in your application and then print to the Adobe PDF printer as you have been doing. If you are using a browser, there are header and footer commands for the printer that are typically set by the browser - those can be modified there. The PDF should look just like the preview in the application, that is the point of a PDF.

  • How can we get a alert message in  the current browser we are using the mom

    how can we get a alert message in the current browser we are using the moment we have entered some data in
    the table...
    I need a popup alert the moment a new record is added in a table... in apex database is 11g xe..
    The idea is I am using a apex application. .The moment new data is added in the table ..I am alerted by a message window..that a new record has been added...
    Thanks
    Edited by: pauljohny on Jun 11, 2012 10:23 AM

    pauljohny wrote:
    how can we get a alert message in the current browser we are using the moment we have entered some data in the table...
    "Current browser"? When viewing anything, or just when using an APEX app?
    Ans .. Just when using apex app....even if the apex app is minimised ..The current browser will be the one where I am using apex app...
    What i am looking for some scheduler .. to check ..in the table every 5 minute for change if there is a change..then a popup alert be shown...
    Split it into [at least] 2 components, database and browser. I'd expect someone calling themself a "DBA Architect" to have some ideas about the database side of things, even if not clued up on JavaScript and AJAX?
    I dont think its a database isssue... When i say to check every 5 minutes ..it could be easily done via dbms_scheduler ...I am having issue in getting the popup alert message...
    in apex... Dont know wether there is a plugin like modal window(available from skill builder) which shall help in this scenario,.Or might be have to use java scripting and ajax ..
    and if it is that (Java scripting and Ajax) .....then shall have to be familiar with java scripting and Ajax...and this shall be a bit time consuming..
    Had a feeling this could be accomplished via java scripting and ajax.. ...but still looking for some easy way..

  • What browser are you using with OS 9.x?

    Would you all please state which internet browser you are using with OS 9.x and the strengths/weaknesses you are experiencing with it?
    I switch back and forth between Mozilla and Internet Explorer but fewer and fewer websites work properly with them. If there is a better browser than those two I would add it to my old Wallstreet running 0S 9.1.
    Again, what browser are you using with OS 9.x and what are its good/bad points?
    Thanks!
    Message was edited by: Paul Stamser

    (Almost forgot
    I have an iCab filter set up for Yahoo on my OS 9.2.1 iMac.
    For the URL string I use (asterisk)yahoo(asterisk)
    For the Scripts filter I use the Netscape identity and have all versions checked except "JScript", and everything is checked in the "Allow" section.
    For the Network filter I use the Firefox identity and have the HTTP "referer" set to "Always".
    I don't use Yahoo Mail much on that machine, but those settings allow me to use the Address book to select addresses and send messages with attachments. (I'm not sure about viewing attachments, though, and I'm almost positive that address auto-complete doesn't work.)
    Cheers,
    K.S.
    (I use iCab 3.0.5)
    Message was edited by: K.S.

  • File close using script prompt message

    Hi Experts,
    I want to close my active docment forcefully wirthout save it.
    when I close it manually then it prompt a message :
    Save changes to the Adobe InDesign document "Abc.indd" before closing ?
    Don't Save                                                                    Cancel          Save
    I press Don't Save button and file close.
    I want to do this process using script.
    I use
    #target indesign
    var myDocument=app.activeDocument;
    myDocument.close(1852776480);
    where 1852776480 is "Save Option-No" value.
    But it do not close my active document.
    How close it ?
    Thanks.

    Thanks Beginner_X for reply
    I try :
    var myDocument=app.activeDocument;
    myDocument.close(1852776480);
    SaveOptions.no value is 1852776480.
    I think that there is no difference in
    app.activeDocument.close(SaveOptions.no)
    and
    var myDocument=app.activeDocument;
    myDocument.close(1852776480);
    In prompted message :
    Save changes to the Adobe InDesign document "Abc.indd" before closing ?
    Don't Save                                                                     Cancel          Save
    I want to say Don't Save using script.
    I want to close my modified active document without save using script.
    How close this ?
    Thanks

  • Is possible to separate path using script....?

    Hi Everyone,
    I have one overall path and two outer edge path.
    use overall path to separate each like pant and tops.
    Is possible to separate path using script. I have also tried script but is not working on second separation.
    can any rectify that script is possible...?
    -yajiv
    #target Photoshop
    app.bringToFront;
    var docRef = app.activeDocument;
    var myDocname=app.activeDocument.name
    var e=0
    try {
        var ecp=docRef.colorProfileName;
         var n=docRef.pathItems.length;
                        if(n>0){
                if(docRef.pathItems[0].name=="Path 1"){
                  var pathRef = docRef.pathItems[0].duplicate(); 
                  var path1=docRef.pathItems.getByName("1");   
                  //path1.duplicate();         
                  path1.select();
                  Path_copy();
                  var pathitem=docRef.pathItems.getByName("Path 1 copy");
                   pathitem.select();
                   Path_Paste();
                   pathitem.operation = ShapeOperation.SHAPEINTERSECT;
                   Path_Combine();
                   var path1=docRef.pathItems.getByName("1");  
                   var pathRef1 = path1.duplicate();
                   path1.select();
                   path1.remove();
                    var pathitem=docRef.pathItems.getByName("Path 1 copy");
                    pathitem.select();
                    pathitem.name="1";
                    var pathitem=docRef.pathItems.getByName("Box");
                    pathitem.select();
                    Path_copy();
                   var path1=docRef.pathItems.getByName("1 copy");  
                    path1.select();
                    path1.name="OL"
                    Path_Paste();
                    path1.operation = ShapeOperation.SHAPEXOR;
                    Path_Combine();
                   var pathRef = docRef.pathItems[0].duplicate(); 
                   var pathitem=docRef.pathItems.getByName("Path 1 copy");
                   pathitem.select();
                   Path_copy();
                   var path2=docRef.pathItems.getByName("OL");  
                   path2.select();
                   Path_Paste();
                   path2.operation = ShapeOperation.SHAPEINTERSECT;
                   alert(path2.operation);
                   Path_Combine();
    catch (e) {
       alert(e);
    //alert ("PSR_LWC_PLUS_V2_PT - Color Profile not Embedded...\n Check it out...!!!")
    function Path_copy(){
        var id200 = charIDToTypeID( "copy" );
        executeAction( id200, undefined, DialogModes.NO );
    function Path_Paste(){
        var id204 = charIDToTypeID( "past" );
        executeAction( id204, undefined, DialogModes.NO );
    function Path_Combine(){
                var idcombine = stringIDToTypeID( "combine" );
                    var desc26 = new ActionDescriptor();
                    var idnull = charIDToTypeID( "null" );
                        var ref25 = new ActionReference();
                        var idPath = charIDToTypeID( "Path" );
                        var idOrdn = charIDToTypeID( "Ordn" );
                        var idTrgt = charIDToTypeID( "Trgt" );
                        ref25.putEnumerated( idPath, idOrdn, idTrgt );
                    desc26.putReference( idnull, ref25 );
                executeAction( idcombine, desc26, DialogModes.NO );

    Hi c.pfaffenbichler,
    Finally with your guidance I rectify the script error.
    Thank you for your time and knowledge, I really do appreciate it.
    Once again Thanks for your continue support.
    "Wish you Happy successful New Year - 2012...!!!"
    Regards
    -yajiv....
    Here is the Code.....!
    // create path intersections;
    // 2011; use it at your own risk;
    #target photoshop
    if (app.documents.length > 0) {
    var myDocument = app.activeDocument;
    // set to pixels;
    var originalRulerUnits = app.preferences.rulerUnits;
    app.preferences.rulerUnits = Units.POINTS;
    var theArray = new Array;
    var theNumber = myDocument.pathItems.length;
    // »simplify« paths and collect components;
    for (var m = 0; m < theNumber; m++) {
              myDocument.pathItems[m].select();
              combinePath();
              theArray.push(collectPathComponents(myDocument, myDocument.pathItems[m]));
          var OV_Path=myDocument.pathItems[0]
        // create intersections;
        for (var n = 1; n < theNumber; n++) {
            //alert(OV_Path);
              var theFirst = collectPathComponents(myDocument,OV_Path );
              var theSecond = theArray[n];
              for (var a = 0; a < theSecond.length; a++) {
                        theFirst.push(theSecond[a]);
              var thePath = createPathFromPathComponentActionDesc(theFirst, "intersect",0);
              makePath(myDocument.pathItems[0].name+" intersected with "+myDocument.pathItems[n].name);
              combinePath();
    // create subtraction;
        var theFirst = collectPathComponents(myDocument, myDocument.pathItems[0]);
        for (var o = 1; o < theNumber; o++) {
                  var theSecond = theArray[o];
                  for (var a = 0; a < theSecond.length; a++) {
                            theFirst.push(theSecond[a])
        var thePath = createPathFromPathComponentActionDesc(theFirst, "subtract",1); // Modify the parameter, add flag for function
        //subtract
        makePath("all others subtracted from "+myDocument.pathItems[0].name);
        combinePath();
    // reset;
    app.preferences.rulerUnits = originalRulerUnits;
        function combinePath () {
        // =======================================================
        var idcombine = stringIDToTypeID( "combine" );
            var desc4 = new ActionDescriptor();
            var idnull = charIDToTypeID( "null" );
                var ref3 = new ActionReference();
                var idPath = charIDToTypeID( "Path" );
                var idOrdn = charIDToTypeID( "Ordn" );
                var idTrgt = charIDToTypeID( "Trgt" );
                ref3.putEnumerated( idPath, idOrdn, idTrgt );
            desc4.putReference( idnull, ref3 );
        executeAction( idcombine, desc4, DialogModes.NO );
        //components correspond to subPathItems,  subpathList contains the actual paths than can make up one subPathItem ;
        ////// collect path infor from actiondescriptor //////
        function collectPathComponents (myDocument, thePath) {
            //var myDocument = app.activeDocument;
            var originalRulerUnits = app.preferences.rulerUnits;
            app.preferences.rulerUnits = Units.POINTS;
            // based of functions from xbytor’s stdlib;
            var ref = new ActionReference();
            for (var l = 0; l < myDocument.pathItems.length; l++) {
                      var thisPath = myDocument.pathItems[l];
                      if (thisPath == thePath && thisPath.name == "Work Path") {
                                ref.putProperty(cTID("Path"), cTID("WrPt"));
                      if (thisPath == thePath && thisPath.name != "Work Path" && thisPath.kind != PathKind.VECTORMASK) {
                                ref.putIndex(cTID("Path"), l + 1);
                      if (thisPath == thePath && thisPath.kind == PathKind.VECTORMASK) {
                   // var idPath = charIDToTypeID( "Path" );
                    var idPath = charIDToTypeID( "Path" );
                    var idvectorMask = stringIDToTypeID( "vectorMask" );
                    ref.putEnumerated( idPath, idPath, idvectorMask );
             var desc = app.executeActionGet(ref);
            var pname = desc.getString(cTID('PthN'));
            // create new array;
            var theArray = new Array;
            var pathContents = desc.getObjectValue(cTID("PthC"));
            var pathComponents = pathContents.getList(sTID('pathComponents'));
            for (var m = 0; m < pathComponents.count; m++) {
            var comp = pathComponents.getObjectValue(m);
            var subPathList = comp.getList(sTID("subpathListKey"));
            var shapeOp = comp.getEnumerationType(sTID("shapeOperation"));
            //alert("shapeOp - "+shapeOp);    q
            theArray.push([comp, subPathList, shapeOp]);
            // by xbytor, thanks to him;
            function cTID (s) { return cTID[s] || cTID[s] = app.charIDToTypeID(s); };
            function sTID (s) { return sTID[s] || sTID[s] = app.stringIDToTypeID(s); };
            // reset;
            app.preferences.rulerUnits = originalRulerUnits;
            return theArray;
        ////// create a path from an array of pathcomponents //////
        function createPathFromPathComponentActionDesc (theArray, shapeOperation,flag) {
        cTID = function(s) { return app.charIDToTypeID(s); };
        sTID = function(s) { return app.stringIDToTypeID(s); };
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID('Path'), cTID('WrPt'));
        desc1.putReference(sTID('null'), ref1);
        var list1 = new ActionList();
        for (var m = 0; m < theArray.length; m++) {
                  var desc37 = new ActionDescriptor();
                  if (m == 0 && flag=0) {
                            desc37.putEnumerated(sTID('shapeOperation'), sTID('shapeOperation'), cTID('Intr'));
                  else  if (m == 0 && flag=1) {//Modify mode to exclude.....!
                             desc37.putEnumerated(sTID('shapeOperation'), sTID('shapeOperation'), theArray[m][2]);
                  else {
                            switch (shapeOperation) {
                                      case "intersect":
                                      desc37.putEnumerated(sTID('shapeOperation'), sTID('shapeOperation'), cTID('Intr'));
                                      break;
                                      case "subtract":
                                      desc37.putEnumerated(sTID('shapeOperation'), sTID('shapeOperation'), cTID('Sbtr'));
                                      break;
                                      case "exclude":
                                      desc37.putEnumerated(sTID('shapeOperation'), sTID('shapeOperation'), 696);
                                      default:
                                      desc37.putEnumerated(sTID('shapeOperation'), sTID('shapeOperation'), theArray[m][2]);
                                      break;
                  var list5 = new ActionList();
                  desc37.putList(cTID('SbpL'), theArray[m][1]);
                  list1.putObject(cTID('PaCm'), desc37);
        desc1.putList(cTID('T   '), list1);
        executeAction(cTID('setd'), desc1, DialogModes.NO);
        ////// make work path regular path //////
        function makePath (aName) {
        // =======================================================
        var idMk = charIDToTypeID( "Mk  " );
            var desc4 = new ActionDescriptor();
            var idnull = charIDToTypeID( "null" );
                var ref2 = new ActionReference();
                var idPath = charIDToTypeID( "Path" );
                ref2.putClass( idPath );
            desc4.putReference( idnull, ref2 );
            var idFrom = charIDToTypeID( "From" );
                var ref3 = new ActionReference();
                var idPath = charIDToTypeID( "Path" );
                var idWrPt = charIDToTypeID( "WrPt" );
                ref3.putProperty( idPath, idWrPt );
            desc4.putReference( idFrom, ref3 );
            var idNm = charIDToTypeID( "Nm  " );
            desc4.putString( idNm, aName );
        executeAction( idMk, desc4, DialogModes.NO );

  • Using scripting with networking equipment under Windows

    It can be a challenge to use scripting to automate working with Cisco devices. The Cisco IOS does not seem to directly provide a command line interface. You are forced to find a way to automate interaction with a telnet or ssh session.
    The PERL language provides a number of object-oriented methods to help manage an interactive session, most notably Net::SSH::Expect and Net::Appliance::Session. These options can work well in a Unix environment, but not under MS Windows.
    There are PERL for Windows options, the best probably being Strawberry PERL. There is also a Unix under Windows option known as CYGWIN that is freely available. Unfortunately none of these will work well with the way Windows manages low-level terminal I/O. The curious can google "windows pseudo terminal" to see all the technical details.
    One way that does work under Windows is Tcl.  It was initially named Tool Command Language. It is sometimes shown as Tcl/Tk.
    Interestingly enough, Tcl is included within Cisco IOS as tclsh. There is no interaction with the tclsh and this example. It is just a bit of a curious coincidence.
    A Tcl port to Windows can be downloaded from http://www.activestate.com/activetcl/downloads. Select Download ActiveTCL for Windows. A direct link to the download that worked at the time of writing is Download ActiveTcl 8.5.14 for Windows (x86)
    Once base Tcl has been downloaded and installed there is one other component that will need to be installed from the Tcl Extension Archive, the expect package.
    The teacup program that is installed with the base Tcl package makes this easy. The teacup program will work with a proxy.
    You can set these Windows environment variables to specify proxy details:
    set http_proxy=
    set http_proxy_user=
    set http_proxy_pass=
    Then run teacup install expect
    The plink tool from the PuTTY download is also needed. It can be obtained from http://www.putty.org/.
    The sample that follows assumes that the data files, script and plink.exe executable all reside in the same directory.
    A sample Tcl script follows that reads a file of devices and a file of commands. It will run the list of commands against each device in the device file. It has some basic error checking, but should best be considered a ‘beta’ version. You could do more complex interactions in the Tcl script by adding exp_send and expect command statements. In short, if you can type it you could script it!
    Change directory to where your script, plink.exe  and data is stored and run with  tclsh <script_name>
    devices.list
    # Comment lines are allowed if they start with a hash mark
    # <IP_Addr> <userid> <password> <ssh|telnet> <timeout_in_secs>
    nnn.nnn.nnn.nnn    <userid>    <password>  ssh         <timeout_in_secs>
    nnn.nnn.nnn.nnn    <userid>    <password>  telnet      30
    commands.list
    # term length 0 needed or else IOS will wait for an enter to be pressed at the  --More-- prompts
    term length 0
    show run
    exit
    Script:
    # Run batch commands against one or more devices
    package require Expect
    exp_log_user 0
    set exp_internal 0
    set exp::nt_debug 0
    set prompt "(#\s*$|>\s*$)"
    set env(TERM) dumb
    set file_channel  [open "devices.list" r]
    set DEVICES      [read $file_channel]
    close $file_channel
    set file_channel  [open "commands.list" r]
    set COMMANDS      [read $file_channel]
    close $file_channel
    set command_entries [split $COMMANDS "\n"]
    set device_entries  [split $DEVICES "\n"]
    proc timedout {{msg {none}}} {
          send_user "Timed out (reason: $msg)\n"
          if {[info exists ::expect_out]} { parray ::expect_out }
          exit 1
    foreach device_entry $device_entries {
          if {[string length $device_entry] == 0 || [regexp {[ \t]*#} $device_entry]} { continue }
          set device  [lindex $device_entry 0]
          set user    [lindex $device_entry 1]
          set pass    [lindex $device_entry 2]
          set mode    [lindex $device_entry 3]
          set wait    [lindex $device_entry 4]
          set serial  [lindex $device_entry 5]
          # puts "Device=$device"
          # puts "User=$user"
          # puts "Mode=$mode"
          # puts "Wait=$wait"
          set timeout $wait
          # Spawning the Session
          # If you are logging on to the remote machine using "ssh", "slogin" or "rlogin", the information
          # gets processed in a slightly different manner. With any of these methods, it is necessary to
          # include an additional -l option to specify a username.
          # Next, the $spawn_id variable is captured, storing information about this spawn session in
          # memory for future reference.
          # If you are logging in via Telnet, the final code block in this section is required to pass the
          # username to Telnet. If the login is completed before the script times out, the exp_send command
          # passes the username.
          switch -exact $mode {
                "telnet" { set pid [spawn plink -telnet -l $user $device] }
                "ssh"   { set pid [spawn plink -ssh -l $user -pw $pass $device] }
                "serial" { set pid [spawn plink -serial $serial -l $user -pw $pass $device] }
          set id $spawn_id
          if {$mode == "telnet"} {
                expect -i $id timeout {
                timedout "in user login"
                } eof {
                timedout "spawn failed with eof on login"
                } -re "(login|Username):.*" {
                exp_send -i $id -- "$user\r"
          # Handling Errors
          # The error-handling section of the script is a while loop that anticipates a number of problems
          # that could occur during login. This section is not exhaustive. For example, you could also add
          # provisions for invalid usernames and passwords.
          # If the login is not completed during the allotted time frame, which is set from the devices.list file
          # and specified with expect -i $id timeout, the program displays an appropriate error message.
          # The remainder of this loop makes use of the exp_send command to allow for other scenarios, such
          # as the user typing "yes" when prompted to proceed with the connection, entering a password, or
          # resetting the terminal mode.
          set logged_in 0
          while {!$logged_in} {
                expect -i $id timeout {
                timedout "in while loop"
                break
                } eof {
                timedout "spawn failed with eof"
                break
                } "Store key in cache? (y/n)" {
                exp_send -i $id -- "y\r"
                } -re "\[Pp\]assword:.*" {
                exp_send -i $id -- "$pass\r"
                } "TERM = (*) " {
                exp_send -i $id -- "$env(TERM)\r"
                } -re $prompt {
                set logged_in 1
          foreach command $command_entries {
                if {[string length $command] == 0 || [regexp {[ \t]*#} $command]} { continue }
                # Sending the Request
                # If the login is successful, the code in the if statement below is used to send the "cmd" request
                # to display files and directories. After the request is sent with exp_send, the resulting output
                # is captured in the dir variable, which is set on the fourth line of the code shown below.
                if {$logged_in} {
                      exp_send -i $id -- "$command\r"
                      expect -i $id timeout {timedout "on prompt"} -re $prompt
                      puts "$expect_out(buffer)"
                # Closing the Spawned Session
                # The exp_close command ends the session spawned earlier. Just to be sure that session
                # does indeed close, the exp_wait command causes the script to continue running until a result is
                # obtained from the system processes. If the system hangs, it is likely because exp_close was not
                # able to close the spawned process, and you may need to kill it manually.
          catch { exp_close -i $id }
          exp_wait -i $id
          set logged_in 0
    *** End of Document ***

    Your friend will have to save the templates as CS6, which he can do.

  • Hi I am using an iphone 4 and its was working fine.  Presently its giving browsing error.  Whenever I am trying to browse internet by using safari or any other browser it retruns with "server not responding" Can somebody give me a solution for this ?

    Hi I am using an iphone 4 and its was working fine.  Presently its giving browsing error.  Whenever I am trying to browse internet by using safari or any other browser it retruns with an error message "server not responding" Even the same thing is happening with youtube also. The worst part is am able to check my mails, able to chat and so on... only thing not able to browse through the browser.  I have tried restore option also.  This is happening with both Wlan and Data con. too
    Please help...

    I do not really know much about this kind of problem, but i may be your internet connection.
    If you are on your own #G network then:
    Go to Settings > then enable "Airplane Mode". Count to 10 and then disable it.
    Then wait patiently until you get a good connection and then try again.
    If you are on a nearby Wi-Fi connection then:
    Go to Settings > Wi-Fi > then disable then enable after counting to 10. Make sure that you are connected and then try again.
    If all else fails, then you need to contact your provider for assistance.
    Sprint:888-211-4727
    AT&T:?
    Verizon:?

  • No matter what wi-fi I'm connected to or browser I'm using, webpages take forever to load or they never load at all. Other computers do not have any problems. How can i fix this?

    No matter what wi-fi I'm connected to or browser I'm using, webpages take forever to load or they never load at all. Other computers do not have any problems. How can i fix this?
    I've tried safari, chrome, firefox...I've cleared the cache as well. This has been going on for several months and used to be tolerable as it was not every website. Now it has become every website and is impossible to deal with. My roommates computer and my cell phone connect fine. I'm fully connected to the router yet websites don't load. I'm using 10.7.5. Thank you!!

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Performance issue in browsing SSAS cube using Excel for first time after cube refresh

    Hello Group Members,
    This is a continuation of my earlier blog question -
    https://social.msdn.microsoft.com/Forums/en-US/a1e424a2-f102-4165-a597-f464cf03ebb5/cache-and-performance-issue-in-browsing-ssas-cube-using-excel-for-first-time?forum=sqlanalysisservices
    As that thread is marked as answer, but my issue is not resolved, I am creating a new thread.
    I am facing a cache and performance issue for the first time when I try to open a SSAS cube connection using Excel (using Data tab  -> From Other Sources --> From Analysis Services) after daily cube refresh. In end users system (8 GB RAM but around
    4GB available RAM), for the first time, it takes 10 minutes to open the cube. From next run onwards, its open up quickly within 10 secs.
    We have daily ETL process running in high end servers. The configuration of dedicated SSAS cube server is 8 core, 64GB RAM. In total we have 4 cube DB - out of which for 3 is full cube refresh and 1 is incremental refresh. We have seen after daily cube
    refresh, it takes 10 odd minutes to open the cube in end users system. From next time onwards, it opens up really fast with 10 secs. After cube refresh, in server systems (32 GB RAM, around 4GB available RAM), it takes 2 odd minutes to open the cube.
    Is there, any way we could reduce the time taken for first attempt ?
    As mentioned in my previous thread, we have already implemented a cube wraming cache. But, there is no improvement.
    Currently, the cumulative size of the all 4 cube DB are more than 9 GB in Production and each cube DB having 4 individual cubes in average with highest cube DB size is 3.5 GB. Now, the question is how excel works with SSAS cube after
    daily cube refresh?
    Is it Excel creates a cache of the schema and data after each time cube is refreshed and in doing so it need to download the cube schema in Excel's memory? Now to download the the schema and data of each cube database from server to client, it will take
    a significant time based on the bandwidth of the network and connection.
    Is it anyway dependent to client system RAM ? Today the bigest cube DB size is 3.5 GB, tomorrow it will be 5-6 GB. Now, though client system RAM is 8 GB, the available or free RAM would be around 4 GB. So, what will happen then ?
    Best Regards, Arka Mitra.

    Could you run the following two DMV queries filling in the name of the cube you're connecting to. Then please post back the row count returned from each of them (by copying them into Excel and counting the rows).
    I want to see if this is an issue I've run across before with thousands of dimension attributes and MDSCHEMA_CUBES performance.
    select [HIERARCHY_UNIQUE_NAME]
    from $system.mdschema_hierarchies
    where CUBE_NAME = 'YourCubeName'
    select [LEVEL_UNIQUE_NAME]
    from $system.mdschema_levels
    where CUBE_NAME = 'YourCubeName'
    Also, what version of Analysis Services is it? If you connect Object Explorer in Management Studio to SSAS, what's the exact version number it says on the top server node?
    http://artisconsulting.com/Blogs/GregGalloway

  • How to call text file using Script in Data Integrator

    Dear All,
    Can any one assit me in how to call a text file using script with the help of Data Integrator.
    and one question ?
    M having 32 csv files i want to club thos 32 csv files into one table with the help of Data Integrator, can
    any one assist me.

    mary,
    since you knew the file name ,when clicked in name send to server,read the file and write to servlet outputstream.
    I think this would help you.
    If anything wrong in mycode ..forums will help you further
    BufferedInputStream bis=null;
    BufferedOutputStream bos=null;
    int bytesRead=0;
    byte buff[]=new byte[1024];
    File f=new File(test.txt);
    try{
         bis= new BufferedInputStream(new FileInputStream(f));
         bytesRead=bis.read(buff,0,buff.length);
         if(bytesRead!=-1){
              // create a BufferedOutputStream from ServletOutputStream
              bos=new BufferedInputStream(response.getOutputStream());
              do{
                   bos.write(buff,0,bytesRead);
              }while((bytesRead=bis.read(buff,0,buff.length))!=-1)
    }catch(Exception e){
         ////error handling
         }

  • Create a counter for the rows in a table using script editor?

    Hi ,
    I want to add afield in a particular table  with first field is its serial number . How to use scripting editor to fill the serial number ?
    How to create a counter ?
    Edited by: Rajan.Dexter9 on Jan 30, 2012 9:40 PM

    Hello Rajan,
    Create a field in the table and name it as 'SERIAL'.  Create a variable called 'count' with default value as 0.  Now in script editor, for javascript language and calculate event, write the following script.
    var fields = xfa.layout.pageContent(xfa.layout.page(this)-1, "field", 0);
    for (var i=0; i <= fields.length-1; i++)
         if (fields.item(i).name == "SERIAL")
              count.value = count.value + 1;
                     this.rawValue = count.value;     

  • Change BG color of Panel using script (AS3)

    Dear, all
    I am a newbies in Flex. Now I have some trouble with thw
    sample thing.
    That is how can I change BackgroungColor of panel using
    script(AS3)
    I can do it by mxml BUT!! I really need to change it using
    AS3. Does you know what should I do NEXT.

    When you lookup a component in FB3 help sys, if you see it
    under styles, then you need to use setStyle() in AS, if you see it
    as a property, just use dot notation.

  • Using script to automatically arrange timeline and sceneline workspaces.

    This is a simple demonstration of using VB Script to adjust panels in PE3.
    In PE3, when you adjust the height of the timeline, the height of the sceneline is also adjusted the same amount, and vice versa. You could use script to automatically adjust the height of the sceneline or the timeline whenever you switch respective modes. The script below does that.
    This is for those who are familiar with script writing and the Windows Script Host. The vb script below includes properties and methods from the AutoItX library (free download).
    Option Explicit
    Dim oAutoit, strWinText, strLastTime, lngX, lngY
    Set oAutoIt = WScript.CreateObject("AutoItX3.Control")
    oAutoit.WinWaitActive "Adobe Premiere Elements -"
    strLastTime = "start"
    Do
    ' Quit the script if mousepointer put in upper left corner (0,0).
    lngX = oAutoIt.MouseGetPosX
    lngY = oAutoIt.MouseGetPosY
    if lngX = 0 and lngY = 0 then
    set oAutoIt = nothing
    Wscript.Echo "Your script has ended."
    Wscript.Quit
    end if
    ' Read the text of the window so we can determine the workspace setup.
    strWinText = oAutoIt.WinGetText("Adobe Premiere Elements -")
    ' If DVD Menu tab selected, then don't do anything, otherwise
    ' check if in Sceneline or Timeline mode.
    if instr(strWinText, "DVD Menu") = 0 then
    if instr(strWinText,"EditTimeControl") <> 0 then
    if strLastTime <> "timeline" then
    ' Reset the Edit Workspace and then adjust the timeline panel height
    oAutoit.Send "{alt}wke"
    oAutoit.Sleep 250
    oAutoit.MouseMove 1078, 646
    oAutoit.MouseDown "left"
    oAutoit.MouseMove 1078,400
    oAutoit.MouseUp "left"
    strLastTime = "timeline"
    end if
    else
    if strLastTime <> "sceneline" then
    ' Reset the Edit Workspace and then adjust the sceneline panel height.
    oAutoit.Send "{alt}wke"
    oAutoit.Sleep 250
    oAutoit.MouseMove 1078, 646
    oAutoit.MouseDown "left"
    oAutoit.MouseMove 1078,762
    oAutoit.MouseUp "left"
    strLastTime = "sceneline"
    end if
    end if
    end if
    WScript.Sleep 2000
    loop
    The script might work as-is if your screen is set for 1280 x 1024 and the Premiere Elements 3 window is maximized. Save the script in a text file with a .VBS extension, and then run it. Afterwards click on the Sceneline or Timeline buttons in PE3. It may take up to 2 seconds before the mouse starts moving on it's own. The screen coordinates were ascertained using the AutoIt Info tool.

    You shouldn't make assumptions about what the names of the volumes are - both the Finder and System Events have terminology to determine if a disk is the startup volume (or a local volume, for that matter), for example:
    tell application "System Events"
      repeat with someDisk in (get disks whose startup is false and local volume is true)
        set someDisk to POSIX path of someDisk
        do shell script "diskutil umount " & quoted form of someDisk & " &> /dev/null &"
      end repeat
    end tell
    Note that if you are unmounting a disk from a standard account you will be prompted for administrator authentication.

  • Any way to open new browser window without using image maps?

    Is there any way to open new browser window without using image maps? My code works fine in Firefox, but not in IE. There are 2 problems in IE: 1st is that the thumbnail images move up within their own borders & 2nd that when you click on an image it does open up a new browser window, but also redirects to the index page (in this case it's just a placeholder index page - the new one I've called index_new.html for the time being).
    Here is the link:
    http://www.susieharperdesigns.com/gallery_beads.html
    Any help is greatly appreciated.

    Your missing a value on the HREF.  In your code you have this:
    <area shape="rect" coords="-24,-9,106,144" href=" " onclick="MM_openBrWindow('gallery_bead1.html','','width=255,height=360')" />
    </map></div>
    and it should be this:
    <area shape="rect" coords="-24,-9,106,144" href="javascript:void()" onclick="MM_openBrWindow('gallery_bead1.html','','width=255,height=360')" />
    </map></div>
    If you fix the code on all your beads, it should work.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

Maybe you are looking for

  • Multiple video format, 1 iTunes entry

    I have searched for this, and , can't seem t find an answer. I have multiple apple devices, and, like to rip my Blu-ray Discs to watch on these devices. I have an Apple TV , iPad, iPad mini and iPod touch. This makes for a messy iTunes library though

  • How secure is the Picture Password option?

    Can any of the developers associated with the Picture Password provide some math? A simple four digit numeric pin for example provides 10,000 combinations. From simple playing around, it looks like the Picture Password requries a number alignment in

  • Date format for ARDGLP

    Hi, I am trying to find out why the date I pass to the ARDGLP concurrent program isn't getting swallowed. The ARDGLP is the Dunning Letter Generate Program, which has a parameter 'Dun as of date'. I am executing this program in a PL/SQL-procedure wit

  • Problem with lib32-gtk-engines

    I'm trying to install lib32-gtk-engines from the AUR; however I keep encountering this message: configure: error: GTK+-2.12 is required to compile gtk-engines I've tried using both aura and yaourt, and I've also tried doing a full system update. Noth

  • Finding Table relation in SAP

    hi!! I'm new to SAP. I only have SAP tables and i don't have access to the frontend.. I wanna know the tables relation i.e how to join two tables.. Suppose, if i want to know all the relations VNVK has, where should i start? i can only view the prima