DDocName in the resultset gets higher preference than local variable: unable to set dDocName in the binder using Idoc Script

Hi,
I have the following code built using idocScript
<$dDocName=variableName$>
<$executeService("DOC_INFO_BY_NAME")$>
Note: variableName has value of contentID for which "DOC_INFO_BY_NAME" has be executed.
When i execute this, i see that DOC_INFO_BY_NAME is getting executed for previous content ID that "dDocName" was  holding. In other words, following assignment
<$dDocName=variableName$>
Is not taking effect.
I think the value is not getting updated in the binder. How do i correct this.
This is little urgent, Any help would be greatly appreciated.
Thanks and Regards,
Seshan K.

This issue is seen when we are accesing the page that list down all the blogs postings along with author images.
Step 1: Execute the search to fetch blog postings:
         Associated IdocScript: <@dynamichtml dv_blog_landing_page_postings@>
Step2: Loop through result set and build blog listing
          Assocaited html fragment: <$include dv_blog_post_searchresults_landing_html$>
     Sub step2: Fetch image of blog Author when displaying the blogs listings
               Associated fragment: <@dynamichtml dv_get_blog_author_image@>
               Note: Issue is seen in this block
Following is the actual logic. All the calls to the display fragments are in bold. All the comments are in italics.
<@dynamichtml dv_blog_landing_page_postings@>
<$ssNextRow = getValue("#active", "ssNextRow")$>
<$if not #local.ssNextRow$>
<$ssNextRow = 1$>
<$else$>
<$ssNextRow = #local.ssNextRow$>
<$endif$>
<$ResultCount = getValue("#active", ssFragmentInstanceId & "_ssNumPostsPerPage")$>
<$ResultCount = 5$>
<$endRow = ssNextRow+ResultCount$>
<$if #active.debug$>ssNextRow:<$ssNextRow$><br>endRow:<$endRow$><br><$endif$>
<$ssDontShowInLists="true"$>
<$if not ssQueryText$>
<$ssQueryText = "dDocType <matches> `BLOG_ENTRY` <and> xParentId <matches> `" &BlogId &"`"$>
<$endif$>
<$QueryText = ssQueryText$>
<$QueryText = QueryText & " <AND> xPublishDate <= `" & parseDate(dateCurrent()) & "`"$>
<$QueryText = QueryText & " <AND> xCountryName <substring> `" & countryCode & "`"$>
<$SortField="xPublishDate", SortOrder="Desc"$>
<$blogCount = 1$>
<$StartRow=ssNextRow$>
<$ssFirstHit=ssNextRow$>
<$if #active.debug$>
<textarea cols=10 rows=10><$QueryText$></textarea> <br>
ResultCount<$ResultCount$><br>
StartRow: <$StartRow$><br>
QueryText: <$QueryText$><br/>
<$endif$>
<$executeService("SS_GET_SEARCH_RESULTS")$>
<$newRS = rsRename("SearchResults", "rsBlogPostings")$>
<$ssAllRows = TotalRows$>
<$ssThisPage = (ssNextRow + ResultCount - 1)/ResultCount$>
<$ssLastPage = (ssAllRows + ResultCount - 1)/ResultCount$>
<$ssFirstHit=ssNextRow$>
<$ssLastHit=ssNextRow + ResultCount - 1$>
<$if ssThisPage == ssLastPage$>
<$ssLastHit = ssLastHit - 1$>
<$endif$>
<!-- Update the author name if blog author is not specified -->
<$if rsBlogPostings$>
<$loop rsBlogPostings$>
<$if strLength(rsBlogPostings.xProductName)==0$>
<$postAuthorImageEntry = ssIncludeXml(rsBlogPostings.dDocName, "Blog_Entry/AuthorImage/node()")$>
<$posOfColon=strIndexOf(postAuthorImageEntry,"::") $>
<$authorContentID=strSubstring(postAuthorImageEntry,0,posOfColon)$>
<$dDocName=authorContentID$>
<$executeService("DOC_INFO_BY_NAME")$>
<$BlogEntryAuthorName=DOC_INFO.xProductName$>
<$if BlogEntryAuthorName$>
<$updateAuthor_In_BlogEntry(rsBlogPostings.dID,rsBlogPostings.dDocName,rsBlogPostings.dSecurityGroup,rsBlogPostings.dRevLabel,rsBlogPostings.dDocAccount,BlogEntryAuthorName)$>
<$c="Custom IDOC Function updateAuthor_In_BlogEntry(dID,dDocName,dSecurityGroup,dRevLabel,dDocAccount,xProductName)"$>
<$endif$>
<$endif$>
<$endloop$>
<$endif$>
<$BlogName = BlogId$>
<$if rsBlogPostings$>
<$blogLandingPage=1$>
<$loop rsBlogPostings$>
<$likeDocName = rsBlogPostings.dDocName$>
<$allowRegisterLike=0$>
<$blogUrl = rsBlogPostings.ssUrl$>
<!-- Call to the fragment to display blog listings -->
<$include dv_blog_post_searchresults_landing_html$>
<$blogCount = blogCount + 1$>
<$endloop$>
<$endif$>
<$dDocName = BlogId$>
<$if #active.debug$><b>Paging Debug:</b><br>ssAllRows:<$ssAllRows$><br>ssThisPage:<$ssThisPage$><br>ssLastPage:<$ssLastPage$><br>ssNextRow:<$ssNextRow$><br>ResultCount:<$ResultCount$><br><$endif$>
<@end@>
<!-- Fetching Details of each blog -->
<@dynamichtml dv_blog_post_searchresults_landing_html@>
<!--blog posting [start]-->
<!-- Fetching the details of each individual blogs -->
<$postTitle = ssIncludeXml(rsBlogPostings.dDocName, "Blog_Entry/Title/node()")$>
<$post = ssIncludeXml(rsBlogPostings.dDocName, "Blog_Entry/Post/node()")$>
<$postAuthorImage = ssIncludeXml(rsBlogPostings.dDocName, "Blog_Entry/AuthorImage/node()")$>
<$listingSummary = ssIncludeXml(rsBlogPostings.dDocName, "Blog_Entry/short_description_blogarticles/node()")$>
<$include dv_blog_post_listing_sumamry$>
<$if blogLandingPage$> <$postEntry = ssIncludeXml(dDocName, "Blog_Entry/Post/node()")$><$endif$>
<div class="blog_container_template_2">
<div class="blog_separator"> </div>
<div class="blog_container">
<div class="blog_image_2">
<$include dv_get_blog_author_image$>
</div>
<div class="blog_title_and_author_wide">
<h3><a href="<$ssUrl$>"><$postTitle$></a></h3>
<p><strong><$lc("COLT_DV_wwBy_" & languageCode)$>  <a href="<$authorBlogsListLink$>"><$authorName$></a> - <$formatDateWithPattern(rsBlogPostings.xPublishDate, "dd MMM yyyy")$></strong>
</p>
<$allowRegisterLike=1$> <$c="If set to 1 it breaks since more than 1 on page"$>
<$wcmFragment("wcm", "DV_FRG_LIKESCOMMENTS", "DV_FRG_LIKESCOMMENTS", "1")$>
</div>
</div>
<div class="blog_separator_dots"> </div>
<div style="clear:both"></div>
<div class="blog_container_Blog_Post">
<p><$listingSummary$> [...] <a href="<$ssUrl$>"><$lc("ReadMore_" & languageCodeUpper)$></a></p>
</div>
</div>
<!--blog posting [End]-->
<@end@>
<!-- Fetching Author image for each blog, we basically execute DOC_INFO_BY_NAME and construct the resource url for the image. -->
<!-- This is the block where actual problem is -->
<@dynamichtml dv_get_blog_author_image@>
<$authorName="anonymous"$>
<$if postAuthorImage AND strIndexOf(postAuthorImage,"::") > 0$>
<$posOfDot1=strIndexOf(postAuthorImage,"::") $>
<$variableName=strSubstring(postAuthorImage,0,posOfDot1)$>
<$dDocName=variableName$> <!-- this assignment does not work -->
<!-- This service gets executed for the for blog entry, rather than image file -->
<$executeService("DOC_INFO_BY_NAME")$>
<$authorName=DOC_INFO.xProductName$>
<$authorBio=DOC_INFO.xComments$>
<$authorBioLink=DOC_INFO.xKeywords$>
<$authorBlogsListLink="/" & strLower(countryCode) & "/" & languageCode & "/blogs/author/" & DOC_INFO.xFriendlyURL$>
<$c="The following variable has been added for Security Model changes "$>
<$blogAccount = "@" & strReplace(DOC_INFO.dDocAccount,"/","/@")$>
<$authorImgSrc = HttpRelativeWebRoot & "groups/" & DOC_INFO.dSecurityGroup & "/"&blogAccount&"/documents/" & DOC_INFO.dDocType & "/" & variableName & "." & DOC_INFO.dExtension$>
<img height="70px" width="66px" src="<$strLower(authorImgSrc)$>" />
<$else$>
<img class="blogAuthorImage" width=70 src="<$HttpWebRoot$>resources/DV_Resources/images/public/silhouette.png"/>
<$endif$>
<@end@>
Thanks,
Seshan K.

Similar Messages

  • How to Flip the Sign using Calculation script for historical data

    I am currently using Essbase 9.3.1. Its required to flip sign for a specific set of accounts for that i am currently using UDA's to flip the sign.
    But now i need to flip the sign for the historical data too. Is there any possible way to flip the sign using calculation scripts for historical data. Kindly let me know your suggestions.
    Many thanks in Advance...
    Edited by: [email protected] on Jul 30, 2009 9:37 PM
    Edited by: [email protected] on Jul 30, 2009 10:58 PM
    Edited by: [email protected] on Jul 30, 2009 11:01 PM

    Of course there is. This is the kind of calc script that only gets run once, so make usre you test it well before doing it on production and make a backup of production before doing it.
    It would be something like
    Fix(time frame, accounts to be flipped, level zero other dimensions)
    actual = actual * -1;
    EndFix
    Cal dim dimensions
    Note, I chose actual, but you could do it for any dimension that has a single or only a couple of members. What ever dimension you choose to do the calculation on, it can't be included in the fix statement

  • How to manipulate the date in idoc scripting?

    how can we manipulate date in idoc scripting? How to retrieve the year, month, date from the date? How can we update the year of the particular date in idoc scripting.

    There are a bunch of date / time functions that you can find in chapter 5 of the Idoc Script Reference (the bible for this sort of thing)
    For the sort of things you need to do I would recommend you look at formatDateWithPattern()
    for example to retrieve the year of 'now'
    <$year = formatDateWithPattern(dateCurrent(),"yyyy")$>
    month
    <$month = formatDateWithPattern(dateCurrent(),"MMM")$>
    the patterns for the same rules as Java date formats (unsurprisingly)
    If you want to update the year then I think you need to build the date as a string and the use the parseDate or parseDateWithPattern functions to actually create something that Idoc will recognise as a date object.
    Tim

  • [SOLVED]How to get higher Framebuffer than 1024x768 with nvidia module

    Hello,
    when I first installed Arch it loaded nouveau module for my nvidia graphicscard during boot via udev.
    Everything looked fine and it seemed like it was using my nativ resolution of 1280x800 for conole.
    Now with "nvidia" it doesn't look as pretty anymore since it uses the vga=773 (1024x768) framebuffer
    from the Kernel Line which loooks a little bit distorted on a widescreen monitor. When I run the
    HDT (Hardware Detection Tool) from Syslinux it lists all possible vesa framebuffers but 1024x768 seems
    to be the max. So why is it possible with nouveau and not with the prop. nvidia driver? Is there a work
    around?
    Is this impossible because prop. graphics driver don't use the open driver stack?
    Kind Regards,
    blackout23
    Last edited by blackout23 (2012-02-14 14:14:59)

    Ok that makes things clear. I just tried UVesafb but it also only lists the following modes.
    640x400-8, 0x0100
    640x480-8, 0x0101
    800x600-8, 0x0103
    1024x768-8, 0x0105
    320x200-16, 0x010e
    320x200-32, 0x010f
    640x480-16, 0x0111
    640x480-32, 0x0112
    800x600-16, 0x0114
    800x600-32, 0x0115
    1024x768-16, 0x0117
    1024x768-32, 0x0118
    320x200-8, 0x0130
    320x400-8, 0x0131
    320x400-16, 0x0132
    320x400-32, 0x0133
    320x240-8, 0x0134
    320x240-16, 0x0135
    320x240-32, 0x0136
    640x400-16, 0x013d
    640x400-32, 0x013e
    Regards,
    blackout23
    To bad that nouveau is very slow at least on my laptop. Gnome Shell starts stuttering, when I open the Dash with the Super-Key.
    Last edited by blackout23 (2012-02-14 16:58:38)

  • How to upgrade the schema on both the sites using sql scripts?

    Hi Experts,
    I need some help.
    I have two sites SITE A and SITEB, on both the sites GG is installed and running (DML Bi- directional replication). I have schema SCHEMA1 on both the sites which are configured for replication and replication is working from last one year.
    Now I wanted to upgrade the SCHEMA1 on both the sites. There are three .sql script which has many SQL commands like create table, create sequence, create procedure, insert record etc. I wanted to run that SQL file one both the sites.
    So should I stop all the process on both the sites SITEA and SITE B (including manager process) ,execute the SQL scripts on both the sites and then start the process again ? Will it work?
    Is there any other best way to do this?
    Could you please suggest the steps so that I can successfully execute theses scripts on both the site to upgrade the schema1.

    There is no blanket answer here; it depends. Main questions are:
    1. Do the SQL scripts update existing tables?
    2. Are you replicating DDL in one direction? (DDL should only be replicated one way even when doing bi-directional, do DDL should only be issued on the node capturing DDL
    3. Are you using a wildcard (*) from table names or using an explicit list?
    Easiest thing is if you're replicating DDL from A to B and apply DDL to A only. This assumes that the application writing to these tables can handle DDL changes under the covers. If these are new tables supporting new application features then you would simply enable said features after apply sql files.
    From there it gets more complicated and would need answers to the above questions before going down each line of logic. But try to remember what's really going on here. Data in one form (DDL) is being captured and send along. If the "shape" (DDL) of that data changes then the extract and replicat need to update their meta data to handle it correctly. If change data encounters a different shape than what's cached then you will become out of sync.
    I'm not sure if that makes sense but again, the answers to the questions above will be indicate where more detailed explanations should be focused. In short, we need more detail about what those scripts do and your current setup.
    Good luck,
    -joe

  • How to expand all frames in the document using a script?

    Hi,
    I have used the ImageCatalog script to place a 1000+ images of different dimensions in the document. On the ImageCatalog dialog box, I have unchecked the Proportional and Frame to Content option to place the images in 100%. I am looking for a way to expand all the graphic frames to reveal all the images it placed on the document. When you double-click the bottom-right handle, it would expand the frame to see the full content. (it would time consuming when you do this one by one)
    Let me know. Thank you very much.

    If I understand you correctly, you placed the images without using Fit Frame To Contents and now you are trying to rectify this? Do you get that making just the frames larger, at this point, may make them overlapping others? If that's going to be a problem, just run the script again but this time with the correct settings ...
    Anyhow. Typing on my iPad so I can't check; but something in the lines of
    g = app.activeDocument.allGraphics;
    for (i=0; i<g.length; i++)
      g[i].fit (FitOptions.FRAME_TO_CONTENT);
    See http://jongware.mit.edu/idcsjs5.5/pc_Graphic.html#fit

  • Changing the filenames using unix script

    Hi,
    I have a scenario where I have to change the file names on the Receiver CC using a unix script and add date and timestamp to the file name
    this is what I'll be writing to filename_01.xml I need to change that to newfilename_01_MMDDYYYY_HHMISS.xml
    the 01 in the file name is the counter, so I might having more than one file where 01,02, etc will represent the counter on the filename.
    Any help is really appreciated.
    Thanks,
    Joe.P

    you can try this
    create the field called filename in target
    use a costant and concat it with the out out of UDF( or some functon avaleiable counter) which will genereate numbers like 1,2,3,4,5,6 and send this filename_01 to the output field and use this in the variable substution to genreate the filename by the CC
    if you dnt want to send this fieldin output file then specify that fieldname in CC length as 0

  • Unable to set NTFS permissions on share using PowerShell. The user shows up with no rights checked off.

    I am having a little problem here with setting NTFS permissions via PowerShell. 
    Basically I am able to make a new directory on the share, and assign a user NTFS permissions however it just assigns the select user without any permissions set.
    $username = "test.user"
    $directory = "\\testlab-sv01\Share\newfolder"
    New-Item -Path $directory -ItemType Directory
    $colRights = [System.Security.AccessControl.FileSystemRights]"FullControl"
    $InheritanceFlag = [System.Security.AccessControl.InheritanceFlags]::ContainerInherit
    $PropagationFlag = [System.Security.AccessControl.PropagationFlags]::InheritOnly
    $objType =[System.Security.AccessControl.AccessControlType]::Allow
    $objUser = New-Object System.Security.Principal.NTAccount("$username")
    $objACE = New-Object System.Security.AccessControl.FileSystemAccessRule($objUser, $colRights, $InheritanceFlag, $PropagationFlag, $objType)
    $objACL = Get-ACL $directory
    $objACL.AddAccessRule($objACE)
    Set-ACL $directory $objACL
    A side question, why isn't this native in Powershell? Is it for security reasons? I expected there to be a cmdlet for it. 
    Thanks. 
    Kyle

    When you say there are no permissions, do mean that the ACL Editor is showing 'Special permissions' and none of the other boxes are checked?
    Try changing the inheritance and propagation flags to this:
    $InheritanceFlag = [System.Security.AccessControl.InheritanceFlags] "ContainerInherit, ObjectInherit"
    $PropagationFlag = [System.Security.AccessControl.PropagationFlags]::None
    That sets the ACE to apply to the folder (InheritOnly propagation flag isn't set) , subfolders (ContainerInherit inheritance flag is set), and files (ObjectInherit inheritance flag is set), which is necessary for the ACE to not be considered 'special' in
    the ACL Editor.
    Awesome. Thanks. That did work. 
    And yes I did mean that it was showing special permissions with nothing checked. 
    Kyle

  • I have been unable to set up my iPad to use automatic download with the new iTunes release. I tried turning them on in the settings area but when I click on it immediately returns back to off

    I have been unable to turn on automatic download on my iPad 2

    I have been unable to turn on automatic download on my iPad 2
    It could be your geographical location.
    "Automatic Downloads is currently available in the US, Australia, Canada, Cypress, France, Ireland, Luxembourg, Malta, Mexico, New Zealand, Spain, and UK."
    From here >  iTunes Store: How to enable Automatic Downloads

  • Want to extract the data using powershell script.

    [Jul 21 15:01:47] INFO  (Fixmethod.java:1998) - UNABLE TO CONNECT TO FIX SERVER ATTEMPT NO:3 - logConsoleMsg
    I want to retrieve [Jul 21 15:01:47] from line above  into a variable. using powershell.
    How can it be done.
    Thanks in Advance.

    I tried "a.substring(1,15)", and it is working fine. :)
    Just be aware that it may not always work the way you expect it to. What happens when you only need 14 characters instead of 15?
    [Jul 1 15:01:47] instead of [Jul 21 15:01:47].
    This, of course, assumes that the dates aren't presented like so: [Jul 01 15:01:47]. If that's the case, you can just ignore this post.
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • Selecting a range from the end using a script

    Thank You to ryclark, at the audiomasters forum, for the following script but it doesn't work in AA3.
    Collection: test
    Title: SilenceMinusHalfSecond
    Description:
    Mode: 2
    Undo: 1
    Selected: none at 0 scaled 0 SR 48000
    Freq: Off
    cmd: Channel Both
    Selected: -24000 to 0 scaled 0 SR 48000
    Freq: Off
    cmd: Silence
    End:
    I assume, based on other posts, that this worked in AA1.5 but not in AA2 or AA3. The issue is selecting backwards from the cursor point. I have a manual work around but it would be nice if this worked.

    That issue can be caused by the AVG Safe Search extension
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode

  • How RequestDespatcher.include() method gets higher priority  ?

    Hi,
    I have three jsp pages named as A.jsp ,B.jsp and C.jsp respectively. In A.jsp , i include B.jsp using include directive and i include C.jsp using RequestDispatcher.include().
    But in output of A.jsp , The output of C.jsp comes as first and then output of B.jsp comes as second , eventhough i included B.jsp before C.jsp.
    I don't know why RequestDispatcher.include() gets higher priority than include directive of JSP.
    Just clear me.
    thanks in advance,
    nvseenu

    It has to do with when each cache is flushed.
    Each of these JSP pages will build up its output text into a buffer. When that buffer is full, or you flush it manually, the text gets written to the underlying output stream.
    The jsp:include uses the same buffer as its parent page. The output writer of the current page gets passed to it so that it can just append to the end.
    When you short-circuit things by using the RequestDispatcher manually, you only pass along the request/response. The page invoked then obtains the output stream, and wraps its own buffer around it.
    When a page is complete, it flushes its buffer to the output stream.
    So the order is:
    Page B completes and flushes its buffer. That result gets sent to A's buffer.
    Page C completes and flushes its buffer. That result gets sent straight to the underlying response output stream.
    Then page A finishes, flushes its buffer. All of its buffer (including what it got from B) now gets written to the outputstream.
    Solutions:
    You can manually flush the writer before you invoke the RequestDispatcher: ie out.flush(). If you try to forward/redirect after this though, it will raise an error.
    If you really want to get complicated, create a ResponseWrapper, and when you invoke the RequestDispatcher, pass it a response object with an outputstream/writer that gets added to the current buffer (ie what it does with a jsp:include)
    Or you can just use jsp:include.
    here is some code to play with.
    Try changing the flush attribute on the jsp:include to "true" and see what happens.
    Uncomment the out.flush() command to get it to print in the "correct" order.
    // includeOrder.jsp
    <html>
    <body>
    Ok, this is the main page of this little test.
    At this point we are going to <jsp:include> the second page:<br>
    <jsp:include page="includeOrder2.jsp" flush="false"/>
    <hr>
    And now we use requestDispatcher.include() to include the third page<br>
    <%-- out.flush();  --%>
    <% request.getRequestDispatcher("includeOrder3.jsp").include(request, response); %>
    <hr>
    And now we are done.
    </body>
    </html>
    // includeOrder2.jsp
    Here we are on page 2!
    // includeOrder3.jsp
    Beware of page 3!Cheers,
    evnafets

  • Increasing the speed for a certian frames in Flash Cs5 using Action Script 3

    I have 60 frames I want to increase the fps value for frames from 20 to 30, and the remaining frames fps value should remain the same
    Using Action Script 3 or Action Script 2
    Thank you and regards

    I have found a script online
    Q: How can I speed the frame rate or slow it down when the movie is playing? For example, I would like to slow the frame rate from the default of 20 fps to 15 fps from frame #80 to frame #150. Then frame rate should speed back up to 20 fps after frame #151, (fps = frames per second).
    A: One way is to use “interval”. An example of changing the speed of the movie from frame #80 to frame #150 is shown below.
    Create a key frame at frame #80 and place this script:
    var fps:Number = 80;
    var intervalID:Number = setInterval(this, “advanceFrame”, 1000/fps);
    stop();
    function advanceFrame() {
    clearInterval(intervalID);
    gotoAndStop(_currentframe+1);
    if (_currentframe<151) {
    intervalID = setInterval(this, “advanceFrame”, 1000/fps);
    } else {
    play();
    I have changed the values from 80 to 20 and currentframe value to 30
    I get syntax error
    at :
    intervalID = setInterval(this, “advanceFrame”, 1000/fps);
    and
    var intervalID:Number = setInterval(this, “advanceFrame”, 1000/fps);
    In flash cs5

  • Add a line to end of the file using VBscript

    HI
    I am working with a software that only accept Vb script commands.
    I have a file that has 8 columns. I need to add a line at the end of the file using VB script
    I need this line to add numbers of amount column and put 22 in 7th column and leave the rest empty.
    example:
    2.01E+13
    77008900
    9.88
    6/3/2013
    1/14/2014
    1/17/2014
    2.01E+13
    77008900
    66.07
    6/5/2013
    1/14/2014
    1/17/2014
    added line
    66.07+9.88=75.95                                               
    22
    the files have different number of rows. please help

    why in the word you think you are smart as the fact is that you don't know shit.
    I explained to you that the software has the ability to edit the file using VBscript. Now if you cant do it dont say that it makes no sense. because others already help me to solve this.
    do everyone a favor and don't answer my questions please, Well you never answered any, don't post any nonsense comments
    I am sorry but I don't think any of us can understand what you are trying to ask.  What software?  VBScript is a scripting language that you use to write a script.  It cannot modify a file that is open by another process.
    We posted the suggestion to look into using the FileSystemObject to append a line to a file.  The examples show you how to do this.
    I suspect that the real problem is that, since you don't speak English natively, we are not understanding what you are trying to ask.  I know that, for me, what you are asking doesn't make sense. Another guess is that you have a program that is able
    to use VB to do things.  Is that what you mean by "softwares".  Are you saying that another program is written in VBScript and you want to modify it?
    You have to clarify these things.
    ¯\_(ツ)_/¯

  • Can you sort the "local variable" pick list?

    My program has a lot of local variables. If I right click on a variable and click on "select item", a loooong list of all my local variables appears. They appear to be in the order in which they were created in my program.
    Is there any way to modify the display to where the local variables appear in alphabetical order?
    Amateur programmer for over 10 years!

    The best solution is to not use a lot of local variables . Here is a neat trick to use local variables without having to use local variables . If you are using a state machine (case structure inside a while loop), create a cluster constant on the block diagram inside a state or case called "Local Defs". Inside the cluster, put constants for every local variable you will use. Label the constants like you would a local variable. Put a shift register on the loop border. Wire the cluster to the shift register on the right side. Do not initialize the shift register on the left side. In any case frame, you can wire from the left shift register into an unbundle or bundle to read or write to the Local. You never have to call the Local Defs state, the cluster will be defined because of the wiring. If using controls at many places, make a local constant for each control and have a state where the control is written to the local. Then you can read the local to use the value at any time. See attached vi for an example.
    - tbob
    Inventor of the WORM Global
    Attachments:
    StateMachineWithLocals.vi ‏45 KB

Maybe you are looking for

  • Do I need to connect my all-in-one printer to a PC in order to make a copy?

    Hello- I found this printer and am trying to see if it still works. It boots up fine but  says" load paper" when there is paper.  I have already gone through all the trouble shooting options listed for this problem except connecting the printer to my

  • Email SUBSCRIPTION at websheet

    In the early adapter release I could use ACTION=Subscription for my Interactive report in WEBSHEETS. Now there is only possible download=email (thats not the same). For a database application I can use it after allow subscription at interactive repor

  • Transporting Integration model variants to other client

    Hi, We have a large no of integration model variants which we want to transfer to another client. Can you suggest how it can be done ? Regards, Sireesh

  • Internationalize generated Menu on Express V2.0.F.2

    I'm trying to change the message catalog related to Express Menu. To do that I perform these steps : * change Menu messages in winen_us.msg file in the $Forte_Root\userapp\express\cl8\message directory * compile winen_us.msg and en_us.msg together to

  • Nforce 3 petition for Vista Drivers

    This is for all Nforce stuff.  Sign it!    http://www.PetitionOnline.com/nf3vista/