[Req.] script for updating links in Indesign using spotlight

hi,
i've got a challange, can somebody please help me?
I'm a graphic designer from holland and I work with lots of Indesign documents
whose links are missing because they are moved, so they are somewhere on our server.
I have several scripts to relink missing links but they are slow,
because they search every directory and every subdirectory. This takes a while.
The search engine from apple, spotlight, is much much faster.
So I think i have this brilliant idea, i thought of the following:
I select one missing link in the linkpanel in Indesign.
Then I start the script.
The path of the missing link is copied and trimmed to just the name of the file
The filename is then copied to the clipboard.
The script then opens the dialog window to relink the missing link.
There the name of the picture is pasted in the spotlight search engine.
There the script stops.
Click on the correct file (if there are more choises) and the relink is made.
I think this way of relinking can be much faster.
And you can also work with pre-defined clever windows (to limit the results), for example:
- one witch only shows jpg
- one witch only shows tiff
- one witch only shows pdf
I know a tiny little bit of scripting, but this one I cant figure out yet.
Can somebody give me a help please?
Kind regards, Eric
ps. I still work in CS4

try this,
could just test it with ID CS3 and Mac OS 10.4.11
--startpoint here is a selected graphicframe (which of course should inlude the missing link)
set myFolder to choose folder with prompt "Where to search for the missing link?" --select a mounted volume, folder ...
set tid to AppleScript's text item delimiters
set AppleScript's text item delimiters to ":"
tell application "Adobe InDesign CS3"
                   set myGraphicFilePath to (file path of (item link of (item 1 of all graphics of (item 1 of selection))) as text)
end tell
set myGraphicName to text item -1 of myGraphicFilePath
set myGraphicFilePath to quoted form of POSIX path of myGraphicFilePath
set AppleScript's text item delimiters to return
set PathToAllFiles to every text item of (do shell script "mdfind -onlyin '" & quoted form of POSIX path of myFolder & "'" & space & " -name '" & myGraphicName & "'")
set PathToAllFiles to my cleanList(myGraphicName, PathToAllFiles)
repeat with i from 1 to count of PathToAllFiles
                   set theItem to (item i of PathToAllFiles)
                   if button returned of (display dialog theItem with title "Relink this file?" buttons {"OK", "Cancel", "Go on"}) is "OK" then
                                            tell application "Adobe InDesign CS3"
                                                                     relink (item link of (item 1 of all graphics of (item 1 of selection))) to POSIX file theItem
                                            end tell
                   end if
end repeat
set AppleScript's text item delimiters to tid
on cleanList(fileName, listOfFilePaths)
                   set myCleanList to {}
                   set AppleScript's text item delimiters to "/"
                   repeat with p from 1 to count of listOfFilePaths
                                            set aName to (text item -1 of (item p of listOfFilePaths))
                                            if aName is equal to fileName then set end of myCleanList to (item p of listOfFilePaths)
                   end repeat
                   return myCleanList
end cleanList
Hans-Gerd Classen

Similar Messages

  • Ola script for update stats only

    I want ola scripts for update stats only but on internet they are rebuilding index as well.
    http://ola.hallengren.com/sql-server-index-and-statistics-maintenance.html
    Thanks

    By default index rebuild will gather index stats.
    If you just need a script update index and column statistics you can refer the below link
    http://www.sqlusa.com/bestpractices2005/administration/updatestatistics/
    You can refer same ola script to update the stats
    http://ola.hallengren.com/sql-server-index-and-statistics-maintenance.html
    C. Update statistics on all user databases
    EXECUTE dbo.IndexOptimize
    @Databases = 'USER_DATABASES',
    @FragmentationLow = NULL,
    @FragmentationMedium = NULL,
    @FragmentationHigh = NULL,
    @UpdateStatistics = 'ALL'
    D. Update modified statistics on all user databases
    EXECUTE dbo.IndexOptimize
    @Databases = 'USER_DATABASES',
    @FragmentationLow = NULL,
    @FragmentationMedium = NULL,
    @FragmentationHigh = NULL,
    @UpdateStatistics = 'ALL',
    @OnlyModifiedStatistics = 'Y'
    --Prashanth

  • SAP VB script for updating texts in purchase orders

    Hello,
    I am trying to create a SAP script for updating texts in purchase orders. It is in the last third - Item Detail,  Texts tab.
    The script is ok apart from the fact that it always deletes whatever text is in there and than add a new one.
    I would like to keep history in the texts tab and always just add one line to existing texts. Is there any way (command) how
    to keep existing texts and only add a new line to the top?
    Thanks a lot!
    Jan

    Yes, you are exactly right. I have already figured it out as well. I did not expect it would be that easy. But thanks a lot anyway for replying on this!
    Now I am struggeling with changing SAPLMEGUI in vb scripts for ME22n. Sometimes, there is SAPLMEGUI:0010 and sometimes SAPLMEGUI:0015. Even when the users have the same screens in the beginning the SAPLMEGUI number differs. They also do one item by hand and than it changes. It keeps changing between SAPLMEGUI:0010 and SAPLMEGUI:0015
    Is there a way how to have the same number of SAPLMEGUI or how to eliminate this issue?
    Thanks a lot
    Jan

  • Getting errors while updating links in Indesign document using javascript

    Hi,
    We are updating the links in InDesign document using javascript. After running the script, we are getting the below errors in Adobe InDesign CC debug.
    When closing the document for first time we are getting the below mentioned errors,
    ASSERT 'fRefCount == 0' in c:\development\citius\source\components\database3\revisioneddatabase\SaLRICache.tpp at line 230 failed.
    Erased item list not empty at block delete time
    blockUID = 10486786 not freed
    Internal error: 904 items were leaked!
    After that we are opening the same document for second time, then we are getting the below mentioned errors,
    ASSERT 'ts_DBPubFile->PlacementUIDIsAvailable(uid)' in c:\development\citius\source\components\database3\revisioneddatabase\SaLRIUtils.tpp at line 195 failed.
    DB failed to create UID!
    ASSERT 'this->FindInIDRangeList(fLastCreatedBlockUID) >= 0' in c:\development\citius\source\components\database3\revisioneddatabase\SaLRICache.tpp at line 476 failed.
    ASSERT 'fLastCreatedBlockUID != kInvalidUID && fLastCreatedItemID != 0' in c:\development\citius\source\components\database3\revisioneddatabase\SaLRICache.tpp at line 467 failed.
    ASSERT '(SaLRIUtils<SnapshotID , SnapshotInfo>::ts_DB)->IsValidUID(itemUID)' in ..\..\..\source\components\database3\revisioneddatabase\SnapshotCache.cpp at line 55 failed.
    Please help us to solve this error in InDesign debug.
    Thanks,
    Vimala L

    You're probably better off raising this in the SDK forum.

  • ExtendScript for Updating Links on InDesing 2014

    Hello everybody
    I am using this a script to update the image links inside my INDD files, but I am unable to use it on my inDesign 2014. Does anybody know what changed on the latest version that the method update(); is no longer updating the links?
    Here follows the code I have done to update the links
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT; 
    var numberOfEntriesFound = 0;
    start();
    function start() {
        var targetFolder = Folder.selectDialog("Select a magazine folder to search for INDD files:");
        var targetFolderPath;
        if (targetFolder != null) {
            targetFolderPath = targetFolder.fsName;
        } else {
             exit();
        var topFolder = (new Folder(targetFolderPath));
        forEachDescendantFile(topFolder, doStuffIfdocument);
        if (numberOfEntriesFound == 0) {
             alert('Process finsihed: No INDD were found under the given folder.');
        } else {
             alert('Process finsihed: ' + numberOfEntriesFound + ' INDD files were updated.');
    function forEachDescendantFile(folder, callback) {
        var aChildren = folder.getFiles();
        for (var i = 0; i < aChildren.length; i++) {
            var child = aChildren[i];
            if (child instanceof File) {
                callback(child);
            } else if (child instanceof Folder) {
                this.forEachDescendantFile(child, callback);
            } else {
                throw new Error("The object at \"" + child.fullName + "\" is a child of a folder and yet is not a file or folder.");
    function doStuffIfdocument(oFile) {
        if (matchExtension(oFile, "indd")) {
            numberOfEntriesFound++;
            var document = app.open(oFile);
            try {
                doStuff(document);
            } finally {
                document.close(SaveOptions.YES);
    function doStuff(document) {
        document.links.everyItem().update();
    /*********** HELPERS FUNCTIONS ********************/
    * Returns true if the name of the given file ends in the given extension. Case insensitive.
    * @param {File} iFile
    * @param {String} sExtension The extension to match, not including the dot. Case insensitive.
    * @return {boolean}
    function matchExtension(iFile, sExtension) {
        sExtension = "." + sExtension.toLowerCase();
        var displayName = iFile.displayName.toLowerCase();
        if (displayName.length < sExtension.length) {
            return false;
        return displayName.slice(-sExtension.length) === sExtension;

    Hi,
    I have checked your code in InDesign 2014, it is working fine.
    Could you please post the error screenshot.
    Vandy

  • Bash script for checking link status

    So I'm doing some SEO work I've been tasked with checking a couple hundred thousand back links for quality.  I found myself spending a lot of time navigating to sites that no longer existed.  I figured I would make a bash script that checks if the links are active first.  The problem is my script is slower than evolution.  I'm no bash guru or anything so I figured maybe I would see if there are some optimizations you folks can think of.  Here is what I am working with:
    #!/bin/bash
    while read line
    do
    #pull page source and grep for domain
    curl -s "$line" | grep "example.com"
    if [[ $? -eq 0 ]]
    then
    echo \"$line\",\"link active\" >> csv.csv else
    echo \"$line\",\"REMOVED\" >> csv.csv
    fi
    done < <(cat links.txt)
    Can you guys think of another way of doing this that might be quicker?  I realize the bottleneck is curl (as well as the speed of the remote server/dns servers) and that there isn't really a way around that.  Is there another tool or technique I could use within my script to speed up this process?
    I will still have to go through the active links one by one and analyze by hand but I don't think there is a good way of doing this programmatically that wouldn't consume more time than doing it by hand (if it's even possible).
    Thanks

    I know it's been awhile but I've found myself in need of this yet again.  I've modified Xyne's script a little to work a little more consistently with my data.  The problem I'm running into now is that urllib doesn't accept IRIs.  No surprise there I suppose as it's urllib and not irilib.  Does anyone know of any libraries that will convert an IRI to a URI?  Here is the code I am working with:
    #!/usr/bin/env python3
    from threading import Thread
    from queue import Queue
    from urllib.request import Request, urlopen
    from urllib.error import URLError
    import csv
    import sys
    import argparse
    parser = argparse.ArgumentParser(description='Check list of URLs for existence of link in html')
    parser.add_argument('-d','--domain', help='The domain you would like to search for a link to', required=True)
    parser.add_argument('-i','--input', help='Text file with list of URLs to check', required=True)
    parser.add_argument('-o','--output', help='Named of csv to output results to', required=True)
    parser.add_argument('-v','--verbose', help='Display URLs and statuses in the terminal', required=False, action='store_true')
    ARGS = vars(parser.parse_args())
    INFILE = ARGS['input']
    OUTFILE = ARGS['output']
    DOMAIN = ARGS['domain']
    REMOVED = 'REMOVED'
    EXISTS = 'EXISTS'
    NUMBER_OF_WORKERS = 50
    #Workers
    def worker(input_queue, output_queue):
    while True:
    url = input_queue.get()
    if url is None:
    input_queue.task_done()
    input_queue.put(None)
    break
    request = Request(url)
    try:
    response = urlopen(request)
    html = str(response.read())
    if DOMAIN in html:
    status = EXISTS
    else:
    status = REMOVED
    except URLError:
    status = REMOVED
    output_queue.put((url, status))
    input_queue.task_done()
    #Queues
    input_queue = Queue()
    output_queue = Queue()
    #Create threads
    for i in range(NUMBER_OF_WORKERS):
    t = Thread(target=worker, args=(input_queue, output_queue))
    t.daemon = True
    t.start()
    #Populate input queue
    number_of_urls = 0
    with open(INFILE, 'r') as f:
    for line in f:
    input_queue.put(line.strip())
    number_of_urls += 1
    input_queue.put(None)
    #Write URL and Status to csv file
    with open(OUTFILE, 'a') as f:
    c = csv.writer(f, delimiter=',', quotechar='"')
    for i in range(number_of_urls):
    url, status = output_queue.get()
    if ARGS['verbose']:
    print('{}\n {}'.format(url, status))
    c.writerow((url, status))
    output_queue.task_done()
    input_queue.get()
    input_queue.task_done()
    input_queue.join()
    output_queue.join()
    The problem seems to be when I use urlopen
    response = urlopen(request)
    with a URL like http://www.rafo.co.il/בר-פאלי-p1
    urlopen fails with an error like this:
    Exception in thread Thread-19:
    Traceback (most recent call last):
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/threading.py", line 639, in _bootstrap_inner
    self.run()
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/threading.py", line 596, in run
    self._target(*self._args, **self._kwargs)
    File "./linkcheck.py", line 35, in worker
    response = urlopen(request)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/urllib/request.py", line 160, in urlopen
    return opener.open(url, data, timeout)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/urllib/request.py", line 473, in open
    response = self._open(req, data)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/urllib/request.py", line 491, in _open
    '_open', req)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/urllib/request.py", line 451, in _call_chain
    result = func(*args)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/urllib/request.py", line 1272, in http_open
    return self.do_open(http.client.HTTPConnection, req)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/urllib/request.py", line 1252, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/http/client.py", line 1049, in request
    self._send_request(method, url, body, headers)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/http/client.py", line 1077, in _send_request
    self.putrequest(method, url, **skips)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/http/client.py", line 941, in putrequest
    self._output(request.encode('ascii'))
    UnicodeEncodeError: 'ascii' codec can't encode characters in position 5-8: ordinal not in range(128)
    I'm not too familiar with how character encoding works so I'm not sure where to start.  What would be a quick and dirty way (if one exists) to get URLs like this to play nicely with python's urlopen?

  • Script for 'Check Links Before Opening Document' preference

    I'm trying to find the VB script for changing the "Check Links Before Opening Document" checkbox on the File Handling panel in the Preferences dialog? I haven't found any documentation referring to the Links items on that panel.
    Bob

    Thanks for the info.
    Was there a document you pulled this from?
    I have an old document from CS2 days that is invaluable for providing a detailed list of available script methods and properties. Obviously things that have been added in subsequent InDesign releases aren't in this document. Later InDesign CS releases offer script SDKs that contain helpful sample scripts but I don't find a detailed summary similar to one from CS2. Have I just not found them? Or how does one find the script method/property for things not contained in the sample scripts?

  • User Exit or BADI for Updating Tax code (MWSKZ) using ME21N

    Hi all,
    I am trying to fin out an exit or badi for Updating Tax code (MWSKZ) and Unit of Measure in transaction ME21n.
    The scenario is like this...
    For Purchase Orders Tax code will be defaulted from Purchasing info record or contract or parameter id for that item-vendor-plant.
    If the Tax Code is not defaulted and account assignment is blank then tax code on the PO is updated according to the below mentioned table
    Table
    Supplying Plant/              Receiving Plant                      Tax code
    Vendor/Country
    Any plant/vendor/
    country                           5050(NA)                               20
    2300                              6700                                     E0
    If the tax code on PO cannot be updated by the above table, then buyer needs to put tax code on the purchase order manually.
    Thanks,
    Shiva, Bangalore

    Hi Siva.,.,.,
    These r the exits.,..,which will be called while calling ME21N/ME22N/ME23N
    EXIT_SAPMM06E_006
    EXIT_SAPMM06E_007
    EXIT_SAPMM06E_008
    EXIT_SAPMM06E_009
    EXIT_SAPMM06E_012
    EXIT_SAPMM06E_013
    EXIT_SAPMM06E_014
    EXIT_SAPMM06E_016
    EXIT_SAPMM06E_017
    EXIT_SAPMM06E_018
    U want to default some values while the Initial screen will come right,
    while u Enter ME21N in command Prompt.,.,two exits will get triggerd,
    EXIT_SAPMM06E_014
    EXIT_SAPMM06E_016
    If u want to Default some values u can use these two exits.,.
    Try using EXIT_SAPMM06E_016.,.this will solve ur purpose.
    and if the user changes some values on screen.,,and you want them to get reflected .,.,.that means if user changes and saves data .,.
    While saving.,.,EXIT_SAPMM06E_012 and EXIT_SAPMM06E_013 will get triggerd
    Try using EXIT_SAPMM06E_013.,,.it was somehow the same requirement as mine.,.,IN my case it worked fine.,.,
    Regards
    Debasish
    Message was edited by:
            Debasish Das

  • Test Scripts for Oracle Account Recievable app using QTP tool

    Hi
    Please send me some QTP sample Script for testing Oracle AR application
    Thanks

    You will need to create separate scripts for Load testing. The functional scripts cannot be used in OLT. The exceptions to this would be the "General" items (Java Code Script & Web Services) which can also be used in OLT.
    e.g. Instead of selecting "Functional Testing - Oracle EBS/Forms"
    select "Load Testing (Protocol Automation) - Oracle EBS/Forms"
    Once you get into load testing you'll realise that you want to create very specific scripts and won't want to try re-using functional scripts. I know a lot of such tools are 'sold' on the fact that functional scripts can be re-used for load, but when it comes down to it you'll want to design your load scripts seperately anyway!

  • Not able to push batch script for installing IIS all features using SCCM 2012 task sequence

    Hey Guys, I am working for this from a long time but not able to make it work, I am using following batch script for installing IIS  using SCCM 2012 task sequence:
    Dism.exe /online /Enable-Feature /FeatureName:IIS-WebServerRole /FeatureName:IIS-WebServerRole /FeatureName:IIS-WebServer /FeatureName:IIS-ApplicationDevelopment /FeatureName:IIS-Security /FeatureName:IIS RequestFiltering /FeatureName:IIS-NetFxExtensibility
    /FeatureName:WAS-WindowsActivationService /FeatureName:WAS-ProcessModel /FeatureName:WAS-NetFxEnvironment /FeatureName:WAS-ConfigurationAPI /FeatureName:NetFx3 /FeatureName:WCF-HTTP-Activation /FeatureName:WCF-NonHTTP-Activation /FeatureName:IIS-WebServerManagementTools
    /FeatureName:IIS-ManagementConsole /FeatureName:IIS-ManagementScriptingTools  /FeatureName:IISIIS6ManagementCompatibility /FeatureName:IIS-ManagementService /FeatureName:IIS-Metabase /FeatureName:IIS-WMICompatibility
    When I run this script as admin by right click on it and select "run as a administrator" the script works fine but when I pushed the script as a software package or a step in OSD task sequence, nothing happens. I also tried
    run command line option but no luck. Please help me with this.
    Thanks,
    VST

    1. When I used "run command line" option I found following errors in smsts.log:
    Remediation failed. Code 8027000C TSManager 1/2/2014 2:32:12 PM 2720 (0x0AA0)
    Remediation failed with error code 8027000C TSManager 1/2/2014 2:32:12 PM 2720 (0x0AA0)
    Remediation failed. Code 8027000C TSManager 1/2/2014 2:34:16 PM 2092 (0x082C)
    Remediation failed with error code 8027000C TSManager 1/2/2014 2:34:16 PM 2092 (0x082C)
    Failed to run the action: Run Command Line.
    Unknown error (Error: 800F080C; Source: Unknown) TSManager 1/2/2014 2:34:32 PM 2092 (0x082C)
    Failed to delete directory 'C:\_SMSTaskSequence' TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    SetNamedSecurityInfo() failed. TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    SetObjectOwner() failed. 0x80070005. TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    RemoveFile() failed for C:\_SMSTaskSequence\TSEnv.dat. 0x80070005. TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    RemoveDirectoryW failed (0x80070091) for C:\_SMSTaskSequence TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    Failed to delete registry value HKLM\Software\Microsoft\SMS\Task Sequence\Package. Error code 0x80070002 TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    RegQueryValueExW failed for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram TSManager 1/2/2014 2:34:34 PM 2092 (0x082C)
    GetTsRegValue() failed. 0x80070002. TSManager 1/2/2014 2:34:34 PM 2092 (0x082C)
    ReleaseRequest failed with error code 0x80004005 TSManager 1/2/2014 2:34:34 PM 2092 (0x082C)
    RegQueryValueExW failed for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram OSDSetupHook 1/2/2014 2:34:35 PM 360 (0x0168)
    GetTsRegValue() failed. 0x80070002. OSDSetupHook 1/2/2014 2:34:35 PM 360 (0x0168)
    2. We are not using MDT in our environment so I ant use add features and roles option.
    3. The script is running fine when we run it manually.

  • Relink and Update links in CS5 using VBA

    Hi everyone,
    Does anyone have a link to an online reference for VBA Scripting in CS5? Most of what I find online is for CS2. That said, I have a VBA script that is written for CS2 that goes through an InDesign document and relinks every link to a certain file path variable, then updates the link (code below). When I run this in CS5, the links do not update. I am not sure how to tell if it is the .Relink() function that is not working, or the .Update funtion that is not working because I do not receive any errors. It just doesn't update. Any help would be really great. Thank you so much!
    (this code works perfectly in CS2)
    Dim idLink
    For Each idLink In idDoc.Links
    idLink.Relink (pathvariable & idLink,Name)
    idLink.Update
    Next idLink

    Robohelp has always had a problem. Their help instructions leave the user saying, "I asked a question and your answer is way too ambiguous to be meaningful." They talk about "breadcrumbs" as though you know what breadcrumbs are and can follow what they are saying. To me, "breadcrumbs" are crumbs left by brittle bread. They tell you how to make them without telling you how they look or what they are supposed to do.
    It is all over Robohelp. I had to look on Google to find out what a T.O.C. is because they don't say anywhere that it refers to the table of contents.
    Robohelp needs to follow this rule: Define a word before you use it. Otherwise no matter how you describe it, the description has no value.
    This is why they do things shoddily when talking about VBA. In VBA you have to have "Subs" and "Functions" before you have a place to put the script. In Robohelp they simply show you the lines of code without telling you how to make a sub routine or function. They don't tell you how to dim the variable in Robohelp. It doesn't work the same in Robohelp as it does in MS Access, MS Word or any other application that uses VBA.
    Robohelp is trying hard but the people who write things are not communicators. They are obfuscators.
    Now for those who need to learn VBA.  I teach it after work free.  contact me at [email protected] and I can share with you my 18 years of experience using it in MS Access, Word, Excel, Outlook and other applications.  However I can't tell you how to use it in Robohelp yet because they don't clue me in on it.  They break the rules.

  • CS3 Server Behavior for Update Links

    Hi,
    Here's something I noticed. The following JS code works on the desktop but won't work correctly on the server:
    for(myLinkCounter = 0; myLinkCounter < myDoc.links.length; myLinkCounter ++) {
    var myLink = myDoc.links.item(myLinkCounter);
    myLink.update();
    Conversely:
    for(myLinkCounter = 0; myLinkCounter < myDoc.links.length; myLinkCounter ++) {
    var myLink = myDoc.links.firstItem();
    myLink.update();
    works on the server but not the desktop. And, come to think of it, I think that was CS2 behavior. hmmm...
    -Nissan

    The script is doing exactly what you are telling it to do.  By having the user leave the password blank, it is updating the database with the "blank" passsword.
    In the form field containting the password field, put the password in as the default value from the database.  You can do that by clicking on the form field and then selecting on dynamic.  From there select the field that contains your password.  From there make sure to mark the form field as a password so the password is hidden.  You may also want to make a verify password form field as well with the same default value.  That way when the user changes the password they have to change it on both.
    If you have dreamweaver cs3 or cs4 or cs5 you can use the spry form validation and have it compare two form fields to make sure they match.  If they dont match it wont let the user complete the form.
    If you have an older version of dreamweaver you can download and use the yaromat form validation extension.  It is a free extension.

  • Is there a limit for external links in TOC using RoboHelp 9.2?

    Hi,
    This is my first time posting to the Adobe forums. Here is my problem.
    I have been maintaining help projects using RoboHelp 9.2 for quite some time now to generate WebHelp. I now have four large projects that are linked through a URL in each project's TOC.  Example: I have projects A B C D. In A's TOC, I include a link to B C D default topics. In B's TOC, I include a link to A C D default topics. And so on ... The fourth project (D) is new.
    The problem I've encountered is with the image appearing in the TOC next to the external link entry for project D in the generated WebHelp.  The image showing up for project D is different from the other two, even though the properties for that page are exactly the same as the other two.  This happens in all three remaining projects (A B C). Even when I change the image (from the image index), the same image (i.e. the standard image for a topic page) appears regardless.
    What should appear in all cases is image 13.gif.
    (I'll have to figure out later why 19.gif is selected in the properties dialog, whereas 13.gif is actually showing up in WebHelp. Doh.)
    Any ideas?
    thanks,
    denise

    karl219 wrote:
    1-Time machine seems to be coming up often in the discussions.If my backup is on my external hard drive, why would space be taken up on my macbook hard drive?
    Read the first extract for the definition of backup snapshots and how they are handled by the OS.
    2-Shoud I delete older backups? If for example, all I need from Time Machine is the latest backup done today, can I get rid of the 2+ yeras of backups, or do they not take up that much space?
    No.  Time Machine should be on a separate HDD and will take care of deleting backups when necessary on that drive.
    3-Back to the issue, considering I don't have access to a an apple store for the next few months, what is my best plan of action?
    I would consider installing a larger internal HDD.  Capacities to 1 TB are now available.
    4-I am considering buying a new macbook 15inch, and get more space, however, I'm scared that the same problem will happen again. Is this common on all macs? Will using Time Machine to "Restore" my backups bring along the issues as well?
    All Macs using Time Machine will experience the same conditions.  The problem is that many users do not under stand what 'Other' is and that leads to confusion.  There are many essential OS files in that category that should not be touched as well as some user files.  The issue is not to reduce 'Other' as such, but reduce the total amount of data on the HDD if space is becoming a premium.
    Please read these two extracts:
    http://pondini.org/OSX/LionStorage.html
    http://pondini.org/OSX/DiskSpace.html
    Ciao.

  • Script for updating Office 2003 to 2010 shortcuts

    Hi,
    Scenario:
    the upcoming week we plan to update all our pc's from Office 2003 std to Office 2010 std. We do not manage the shortcuts the users have on their desktops, quick launch bar, startup folder etc. But the most shortcuts have Excel, Word or Powerpoint in their name.
    Question:
    To make it for the user as easy as possible we're looking for a solution that checks if the user has a shortcut in i.e. the startup folder. If it exists than it has to be replaced with the Office 2010 shortcut of the application. If not exists then do nothing.
    I can't find a decent script that handles wildcards well. Any out there already tackled this problem?

    Check : http://social.technet.microsoft.com/Forums/windows/en-US/e54c0070-5559-45c2-bc2b-2e5e117f0a91/script-to-create-office-2010-shortcuts-on-users-desktops?forum=ITCG
    Arnav Sharma | Facebook |
    Twitter Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members
    reading the thread.

  • PowerShell Script for updating accounts in CSV

    Hi Experts...!!!!
    I need to have a power shell script that can update the status(Enable/disable) accounts given in a .csv file with DNs of the user accounts in it....
    Any suggestions...
    Thank You... 
    TechSpec90

    I recommend that you start by searching for answers:
    This comes up as the first item in a search:
    https://technet.microsoft.com/en-us/library/ee617200.aspx
    \_(ツ)_/

Maybe you are looking for

  • IPad has not backed up to iCloud in 8 weeks - How do I move away from this notice?

    The iPad has a message titled "iCloud Backup" that states: "This iPad hasn't been backed up in 8 weeks. Backups happen when this iPad is plugged in, locked, and connected to Wi-Fi".  However, I cannot click the OK to navigate away.  I cannot turn the

  • How to inherit property class

    hello experts, i am using forms 10g. i created a property class in form a. save and compile. now i wanted to inherit that property class in form b. for this i subclass it from form a to form b. when i close the form a, it showing the message frm:1810

  • Batch process in ABAP

    Hi, The requirement is that the pictures of a material are stored in  client side server. They upload the pictures of a material in a server. We should be able to pick from that server whether the picture file is present in a server or not. We should

  • Project Types - WBS Elements

    Experts, We are in the process of removing some Project types for WBS Elements - So just wanted to check if I go ahead and delete an existing type, what happens to the historical WBS Elements using a deleted Project Type - Would they show up as blank

  • BPEL DataBase Question

    I have the following problem. If a change the name of a table in a database but maintaining the same fields I have to configure the BD partner link for the new table name. When I do that the variable inside the invoking DB partner link doesn't corres