Scripting Illustrator actions, incorporating calls to Excel

Hello all, I need some help...
I am building a series of logos — based on word strings —  using Illustrator CS4 with a combination of Actions, but also retrieving the word string from an Excel file.
Normally for one or two iterations of the process, I would not hassle with a script, but this is a mind-numbing repetitive task, and I have to make 6,000 logos!! Seems the ideal use for a script.
We have tried to work with ExtendScript Toolkit (ESTK) but we can't get our heads around how to make it do certain things, and I can't find anyone who really knows how to use ESTK correctly.
I have a MAC, so the script has to be written in Java Script or Apple Script.
Here's what I need to do:
Execute Action: Open a Master Illustrator doc. This doc is already configured with art board, pre-defined type box (Area Type Optioned), Charater Styles, Drop Shadow parameters set. <pause Action>
Run Script: Retrieve the word string from a cell in Excel worksheet (or CSV??). Some are single words, first letter capped. Some are two to four words Camel Cased. Example: "DinnerPartiestm". There are two additional charaters "tm" at the end of the word string that will be acted upon (remember these two characters for item 7 below)
Run Script: Place this WordString into the predefined type box in the Illustrator Master doc. That is, in Illustrator, "select" the type box so the cursor is at first position and place the word string — copy from Excel & paste into Illustrator? <pause Script>
Execute Action: Apply character style 1— font with point size, letter spacing, stroke and colour (It just happens to be red). Example: DinnerPartiestm  <pause Action>
Run Script: Select all caps in word string. Example: DinnerPartiestm <pause Script>
Execute Action: Apply character style 2 — Caps Only (selected) — New point size, baseline offset. Example: DinnerPartiestm <pause Action>
Run Script: Select last two letters of word string. Example: DinnerPartiestm <pause Script>
Execute Action: Apply character style 3 — last two letters only (selected) — New point size, change colour, baseline offset. Example: DinnerPartiestm <pause Action>
Run Script: Select text box. <pause Script>
Execute Action: Apply Stylize > Drop Shadow — On contents of text box, preset DS parameters in either Appearence panel or Effect menu.
Execute Action: File > Save As .ai document. <at Save As dialog, pause action>
Run Script: Retrieve file name from Excel and place in Save As dialog (copy & paste?). In next column in Excel doc, same row, is a SEO-friendly file name. Example: word string is "DinnerParties"; file name (next column) is "logo-dinner-parties"
Run Script: Select folder to save the .ai doc into. Example: Folder is "Logos AI". <pause Script>
Execute Action: Complete Save As. Example: in Folder "Logos AI" now we have the file "logo-dinner-parties.ai"
Execute Action [assumes that the Saved As document — logo-dinner-parties.ai — is now the active one in Illustrator]: Save for Web & Devices. Preset to PNG24/Transparent. Correct file name will NOT be in Save field. <at Save dialog, pause action>
Run Script: Repeat retrieval process to get same file name from Excel.
Run Script: Select new folder to save the .png doc into. Example: Folder  is "Logos PNG". <pause Script>
Execute Action: Complete Save for Web. Example: in Folder "Logos PNG" now  we have the file "logo-dinner-parties.png"
Execute Action: Close
Repeat steps 1 though 19 until all word strings processed: Script has to know to go to next word string (next row) in Excel doc.
This is a tricky one, but there's got to be a way to automate the process... otherwise I'll go crazy doing this manually!!
IS THERE ANYBODY OUT THERE WHO CAN HELP?
Thanking you in advance for any assistance.
All the best.

IS THERE ANYBODY OUT THERE WHO CAN HELP?
Depends on what you mean by "help." Are you asking someone to do the whole thing for you (would require more detail), or do you intend to do it yourself, but are stuck on something? (You say you "tried to work with ESTK" and "can't find anyone who really knows how to use ESTK correctly"; but you don't say specifically what you're struggling with in ESTK.)
...doc is already configured with art board, pre-defined type box (Area Type Optioned), Charater Styles, Drop Shadow parameters set.
Much of what can be done with any approach depends largely upon what Appearances and/or Effects are involved, and where. You imply that you want all of the "logo" to be contained in a single textFrame object. But Drop Shadow Effect cannot be applied at the character level, so it can't be included in a Character Style.
So if you don't want all the text to have the same drop shadow, you will be involving multiple textFrame objects. That will lead to the complication of having to position the two textFrames relative to each other, depending on their dimensions after the varying text is inserted.
Retrieve the word string from a cell in Excel worksheet (or CSV??)
With scripting, it would be inefficient and unnecssary to go back-and-forth to the spreadsheet to extract values one at a time. Typically, you would create an array containing the full set of values, and then iterate through the elements of the array.
Some are single words, first letter capped. Some are two to four words Camel Cased. Example: "DinnerPartiestm".
So you're going to need a sub-routine of some kind (in Javascript, a function) to find capital letters.
There are two additional charaters "tm" at the end of the word string that will be acted upon...
If this is the same in each instance, and if you are going to script this, there is no need to include it in the data.  Insert the "tm" programmatically.
That is, in Illustrator, "select" the type box so the cursor is at first position and place the word string — copy from Excel & paste into Illustrator?
Using script, you don't have to select the textFrame, copy, or paste in order to insert content. You would declare a variable, assign its value (from the above-mentioned array), add the variable's value as text to textFrame's content.
Apply character style 1— font with point size, letter spacing, stroke and colour (It just happens to be red). Example: DinnerPartiestm
Here you will run into a difficulty inherent in Illustrator's poor implementation of stroked text. You can apply a Stroke at the Character level and include that Appearance in a Character Style. But Illustrator always positions such strokes in front of the fill--something you almost never want, because it "chokes" the fills, wrecking the shape of the characters. The workaround is to Add New Stroke and position that below the Characters listing in the Appearance Palette. But script provides no access to added strokes or fills and Added Strokes cannot be applied at the character level.
Select all caps in word string. Example: DinnerPartiestm
Illustrator cannot select discontiguous text strings. Again, script does not have to select objects in order to change their properties.
Apply character style 2 — Caps Only (selected) — New point size, baseline offset. Example: DinnerPartiestm
Apply character style 3 — last two letters only (selected) — New point size, change colour, baseline offset. Example: DinnerPartiestm
The applyTo method of the CharacterStyle object. Or, just set the size and baselineShift properties of the characterAttributes property of the textRange directly.
Apply Stylize > Drop Shadow — On contents of text box
Drop Shadow Effect cannot be applied to the contents (character level) of a textFrame--only to the textFrame object itself.
My very limited understanding of ESTK is that it is a scripting tool for  use in Illustrator.
It's a script text editor included with the Creative Suite. You can use it to build scripts for any of the CS products (or entirely other purposes, for that matter). Or, you can choose to not use it at all. A Javascript is just a text file. Tools like ESTK add conveniences, references, etc., geared toward scripting.
So, I'm only acting on the word string....
But I am also not a coder...
Which is why I would look into simpler already-built methods before jumping into a tedious solution scripted for Illustrator. For example: Many, if not most, AI users are familiar with InDesign. InDesign provides a proper dataMerge feature that can handle ordinary tab-delimited text. It's handling of strokes on text is correct, unlike Illustrator. If you set it up accordingly, it can create all the separate pages for you.
You would:
1. Draw the fixed graphic in Illustrator.
2. Place the Illustrator graphic on InD's master page.
3. Set and style the text objects. Insert DataMerge tags.
4. Import the data and run the Merge function.
InD builds individual pages for each row of the data. You're done. Export to PDF. InD and Acrobat also have their own scripting models. Either one can handle the specific naming convention, if really needed.
Again, it depends on what exactly is "special" about the text object(s) you are manipulating with variable content. For example, if you're using an AI-specific Warp effect, you'd be back to Illustrator.
Anyway, you want a paying gig?
I do some freelance work as time permits and interest strikes, but I'm not cheap, and that's not why I frequent these forums.
Scripting your solution entirely in AI may very well be possible, but whoever does it will need to see the specific objects, styles, etc., involved to avoid unnecessary guessing and time-consuming round-tripping. Why don't you post an image and/or an AI file?
JET

Similar Messages

  • SQL Agent not running Script in Package which calls an Excel containing Macro

    I have a script task in SSIS package which calls Excel VBA file containing Macro, this file is on the local drive, when I run this package through SSDT the package works ok and the macro does what it needs to. However when I set up a
    sql agent job to call the package then it fails at the Script task. I have created a credentials and proxy user as my self so I should Have full rights.
    But it fails through the job and not through SSDT, can you advise ?

    Hi Asad,
    Since the error message “Script Task Run Excel: Error: Exception has been thrown by the target of an invocation” is too generic, we should find a way to return full error details from SQL Server Agent job. Firstly, configure logging for the steps you wish
    to keep log data for. Secondly, create a stored procedure to return details of the step at which a job failed based on the job name. Finally, execute the stored procedure. For more details, please refer to the following blog:
    http://www.sqlservercentral.com/articles/SQL+Server+Agent/67726/
    In addition, the following similar two threads are for your references:
    http://sornanara.blogspot.jp/2014/04/code-0x00000001-exception-has-been.html
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/4a20219e-4a90-41be-acfe-b8846dc2c38a/error-while-executing-a-ssis-package-which-contains-a-script-task-through-sql-server-agent-job?forum=sqlintegrationservices
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How do I create custom Photoshop/Illustrator actions in Automator?

    Hi all,
    I'm doing a video project with some fairly tedious processes involved on my files. I'd like to use Automator but I think I'm missing some key points on how to use it. Google has not yielded anything fruitful on the matter so I decided to bring this to the experts on this board.
    Here is the process I'd like to automate. Keep in mind I know how to do each step in its given application, but have not been able to figure out how to plug these into Automator sequence:
    - Use Quicktime to covert a movie file into an image sequence
    - Take that image sequence and use Illustrator to covert each image in the sequence to vector
    - Convert each .ai file produced into a jpeg using Photoshop
    I need these steps done for over 100 movie files. My main problem is that Photoshop and Illustrator don't appear in my application list within Automator. Can I add these? If not, I'm not sure I understand how to write an action for either application. I even downloaded some third-party Photoshop scripts and added them but the application icon still does not appear within Automator.
    I also tried "record" while doing all the steps manually, but Automator didn't seem to pick up anything I did (unlike the old versions of Apple Script Editor). Please help! Thanks a mil...
    Mike

    Finicky is not the word for Watch Me Do... I feel like Apple's old record button in Script Editor worked better than this. Anyway, red_menace, thanks for the link - very helpful.
    After lots of trial and error, I managed to get my Quicktime script to work. I did a Watch Me Do action, then from the list of those actions in the Watch Me Do step in Automator, I extracted individual actions by dragging them out below to the space for the next step, and a "Run Applescript" step appeared. I put something together with the idea that I could drag a desired movie file onto this Automator application and have it executed. This is what I have so far, in order of Automator steps:
    1. Open Finder Items. Got this from a pre-installed action for Finder. I selected Quicktime 7 as the app to open. This assumes a movie file has been dragged onto the application file that Automator creates to open the file in Quicktime and kick off the script.
    2. Run Applescript (extracted from the Watch Me Do recording). I adjusted the "delay" time to be long enough as I found having too short of a delay messed up the whole automation. This step is to tell Quicktime to bring up the Export dialogue (a simple Command-E button press). The script is as follows:
    on run {input, parameters}
    -- Press ⌘E
    delay 3
    set timeoutSeconds to 2.0
    set uiScript to "keystroke \"e\" using command down"
    my doWithTimeout(uiScript, timeoutSeconds)
    return input
    end run
    on doWithTimeout(uiScript, timeoutSeconds)
    set endDate to (current date) + timeoutSeconds
    repeat
    try
    run script "tell application \"System Events\"
    " & uiScript & "
    end tell"
    exit repeat
    on error errorMessage
    if ((current date) > endDate) then
    error "Can not " & uiScript
    end if
    end try
    end repeat
    end doWithTimeout
    3. Run Applescript (again, taken from the Watch Me Do recording). This one was a little trickier because for some reason Watch Me Do was recording my button press of the enter key as an empty set of commas (' '). I poked around online and found that the AppleScript equivalent for enter is "key code 36", so I replaced the blank space with that. I wonder if this is because I'm using a non-Apple keyboard... The script is as follows:
    on run {input, parameters}
    -- Type 'key code 36'
    delay 2
    set timeoutSeconds to 2.0
    set uiScript to "keystroke \"
    my doWithTimeout(uiScript, timeoutSeconds)
    return input
    end run
    on doWithTimeout(uiScript, timeoutSeconds)
    set endDate to (current date) + timeoutSeconds
    repeat
    try
    run script "tell application \"System Events\"
    " & uiScript & "
    end tell"
    exit repeat
    on error errorMessage
    if ((current date) > endDate) then
    error "Can not " & uiScript
    end if
    end try
    end repeat
    end doWithTimeout
    The above three steps work well for my movie file export from Quicktime, but what I'd REALLY like is to do is repeat these steps for every movie file in a given folder with one click. Any ideas on how I'd accomplish that?
    I also tried to string in further actions for Illustrator but no luck - I kept getting errors in Illustrator. First, I got the error "The object "Play Action" is not currently available", and once I figured out how to get past that error (just extended the delay time), I got stuck on the error "Could not complete the Play command because the action is playing". In a nutshell, I'm trying to get Automator to open Illustrator and play an Illustrator Action. Again, open to any ideas. My Illustrator action is a simple one: Live Trace, then save file.
    Thanks again for the help on this, folks.

  • The longstanding scripts-in-actions bug

    In case it is true that with the announcement of the new version the beta testers are relieved of the non-disclosure-agreement (as I think I read somewhere):
    Can anybody tell yet if Scripts in Actions will finally be maintained after restarting the appplication in Illustrator CS6?

    I can’t remember for sure if I filed a report, but I have added my support and started a thread in the Feature Request section.
    http://forums.adobe.com/thread/729118?tstart=30
    http://forums.adobe.com/message/3872075#3872075
    The Adobe team should have been aware of this for a looong time now in any case, because the issue has persisted at least since CS, if I remember correctly.

  • Weblogic call a excel-file from URL doesn't open MSExcel but flat html

    Weblogic call a excel-file from URL doesn't open MSExcel but flat html
    Hi,
    WLS 10.3.5
    Forms 11.1.1.4
    I do migrate from AS10g to WLS 10.3.5 / Forms 11
    I get differences between FORMS 10 g / AS and FORMS 11 / WLS
    when call an excel-file with web.showdocument
    in 10g AS10g
    the call
    web.showdocumen('http://MyAS10_Server/myFormsMapping/myExcelfile.xls, _blank);
    opens a Windows-Box
    to decide
    open with ( MSExcel )
    or
    download and save as File
    in WLS 10.3.5 / FORMS 11.1.1.4
    the call with webcache Port 8090 as well as Port OHS 8888
    web.showdocumen('http://MyWLS_Server:8090/myFormsMapping/myExcelfile.xls, _blank);
    opens promptly the excel-File into the Browser as html-Format
    How to get the same way under WLS as before in AS 10g,
    config OHS ?
    regards
    get answer here :
    Weblogic: when call a excelfile from URL doesn't open MSExcel but flat html
    Edited by: astramare on Sep 12, 2011 11:59 AM

    Weblogic: when call a excelfile from URL doesn't open MSExcel but flat html

  • Action Pane in BPC Excel is not Coming

    Hi All
    I am facing a sudden issue in BPC 7.5 MS Version. I am not able to view the  Action Pane for  BPC Excel. But it was coming before.
    Also the Action Pane is coming for BPC WORD & BPC POWER POINT.
    I have chekced the option under e-tools > VIEW PLANNING & CONSOLIDATION ACTION PANE. But nothing is coming.
    At the same time the BP CEXCEL ACTION PANE IS ALSO NOT MINIMIZED .
    Can anyone advised how to resolve this issue.
    Regards
    Viv

    Hi
    You can clear the local application information by following the below steps
    eTools -> Client Options -> Clear Local Application Information
    or else to do it manually, delete the Outlooksoft folder in the users %My Documents% directory, and delete the regsitry keys
    HCKU\Software\VB and VBA Program Setting\
    Hope this helps
    Kind Regards
    Daniel

  • System.InvalidOperationException: Call to Excel Services returned an error. --- Microsoft.AnalysisServices.SPClient.Interfaces.ExcelServicesException: We're sorry. We ran into a problem completing your request

    0
    HI All,
    I  am having problem with the power pivot dashboard.
    power pivot dashboard processing job fails with the follwoing error message.
    SP 2013 with 2008 r2
    SQL 2014 power pivot on new analysis server.
    Data refersh of cube and database works finw form the power pivot gallery.
    The Execute method of job definition Microsoft.AnalysisServices.SPAddin.UsageProcessingTimerJob (ID 726034a7-b9a9-45a6-b720-640b3f785e49) threw an exception. More information
    is included below.  Call to Excel Services returned an error.
    ULS error:
    EXCEPTION: System.InvalidOperationException: Call to Excel Services returned an error. ---> Microsoft.AnalysisServices.SPClient.Interfaces.ExcelServicesException: We're sorry.
    We ran into a problem completing your request. ---> Microsoft.Office.Excel.Server.WebServices.ExcelServerApiException: We're sorry. We ran into a problem completing your request.   
     at Microsoft.Office.Excel.Server.WebServices.ApiShared.ExecuteServerSessionMethod(Boolean hasSessionId, String sessionId, CoreServerSessionMethod coreWebMethod, String name,
    Boolean skipFeatureCheck)   
     at Microsoft.Office.Excel.Server.WebServices.ExcelService.OpenWorkbookInternal(String workbookPath, Boolean editingMode, String uiCultureName, String dataCultureName, Boolean
    newWorkbook, Boolean suppressRefreshOnOpen, Boolean openExclusive, Status[]& status)   
     at Microsoft.Office.Excel.Server.WebServices.ExcelService.OpenWorkbookEx(String workbookPath, String uiCultureName, String dataCultureName, Boolean exclusive, Status[]&
    status)    
     at Microsoft.AnalysisServices.SPClient.ExcelApi.<>c__DisplayClassa.<OpenWorkbookEx>b__9(ExcelService svc, Status[]& status)   
     at Microsoft.AnalysisServices.SPClient.ExcelApi.Call[T](String fileUrl, ExcelServiceCall`1 serviceCall)     -
    -- End of inner exception stack trace ---     -
    -- End of inner exception stack trace ---   
     at Microsoft.AnalysisServices.SPClient.ExcelApi.Call[T](String fileUrl, ExcelServiceCall`1 serviceCall)   
     at Microsoft.AnalysisServices.SPClient.ExcelApi.Call[T](String fileUrl, ExcelServiceCall`1 serviceCall, String methodName, Object[] parameters)   
     at Microsoft.AnalysisServices.SPClient.ExcelApi.OpenWorkbookEx(String fileUrl, String uiCultureName, String dataCultureName, Boolean exclusive)   
     at Microsoft.AnalysisServices.SPClient.ASSPClientProxy.OpenWorkbookModelForRefresh(String workbookPath, SessionLifetimePolicy lifetimePolicy)   
     at Microsoft.AnalysisServices.SPAddin.UsageProcessingTimerJob.RefreshUsageCube(GeminiServiceApplication application)   
     at Microsoft.AnalysisServices.SPAddin.UsageProcessingTimerJob.Execute(Guid targetInstanceId)
    Thanks
    Ravi

    HI Ravi,
    Did you find the solution?
    Thanks in advance
    Regards,
    Faraz Javaid

  • RFC call from Excel using VBA

    I am trying to do an RFC call from Excel to SAP using VBA. RFC is working fine for most the RFC enabled Function Modules except DDIF_FIELDINFO_GET and DDIF_FIELDLABEL_GET.
    What can be the reason for this?
    Can someonme please help me with a macro code where these FMs are working.
    Also can someone please help me with some tutorial on SAP connection with Excel.
    <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Edited by: Alvaro Tejada Galindo on Nov 12, 2008 9:14 AM

    Hello Jon.
    DDIF_FIELDINFO_GET is not working for me either. But I have used another FM (/ZOPTION/LIVE_DDIF_FIELDINFO):
    Public Sub RFC_FIELDINFO()
    Dim Func As Object
    Dim sapConn As Object
    Dim tblFIELDTAB
    Dim tblFIXED_VALUES
    Dim intRow%
    Dim intCol%
    '* Sub     : Call FM /ZOPTION/LIVE_DDIF_FIELDINFO                         *
    '* Author  : Holger Köhn                                                  *
    '* Created : 23.08.2014                                                   *
    '* Changed :                                                              *
    ThisWorkbook.Sheets("TEST").Activate
    Cells.Select
    Selection.ClearContents
    ThisWorkbook.Sheets("TEST").Range("A1").Select
    '* create RFC-Connection                                                  *
    Set sapConn = CreateObject("SAP.Functions")
    sapConn.Connection.RfcWithDialog = True
    If sapConn.Connection.LogOn(1, False) <> True Then
        MsgBox "Cannot Logon to SAP"
        Exit Sub
    End If
    DoEvents
    '* run FM /ZOPTION/LIVE_DDIF_FIELDINFO                                    *
    Set Func = sapConn.Add("/ZOPTION/LIVE_DDIF_FIELDINFO")
    Func.Exports("TABNAME") = "AUFK"
    Set tblFIELDTAB = Func.Tables("FIELDTAB")
    If Func.Call = False Then
         MsgBox Func.Exception
         Exit Sub
    Else
        Application.ScreenUpdating = False
            For intCol = 1 To tblFIELDTAB.ColumnCount
                ThisWorkbook.Sheets("TEST").Cells(1, intCol).Value = tblFIELDTAB.ColumnName(intCol)
            Next
            If tblFIELDTAB.RowCount > 0 Then
                For intRow = 1 To tblFIELDTAB.RowCount
                    For intCol = 1 To tblFIELDTAB.ColumnCount
                        ThisWorkbook.Sheets("TEST").Cells((intRow + 1), intCol).Value = tblFIELDTAB(intRow, intCol)
                    Next
                Next
                ThisWorkbook.Sheets("TEST").Activate
            End If
            Columns.AutoFit
        Application.ScreenUpdating = True
    End If
    '* clear tblFIELDTAB                                                      *
    Do Until tblFIELDTAB.RowCount = 0
         Call tblFIELDTAB.Rows.Remove(1)
    Loop
    Set sapConn = Nothing
    Set Func = Nothing
    Set tblFIELDTAB = Nothing
    End Sub

  • Copying SQL Script from Oracle SQL Developer into Excel with formatting

    I need to copy a SQL Script into Excel in order to develop some VBA code. Is there any nice way that I can copy SQL Script from Oracle SQL Developer into Excel and retain its formatting? I am a stickler for having legible, readable SQL and like to have all my columns lined up and aliases lined up. When we used to use SQL Navigator, the tab formatting seemed to copy and paste just fine. Now that we have migrated to Oracle SQL Developer, the formatting seems to get all messed up.
    And suggestions are greatly appreciated and Thanks in advance for your review and am hopeful for an answer.
    Thanks.
    PSULionRP

    I suppose you want a real tabulator instead of spaces. You can configure this in the preferences (SQL Formatter - Oracle). You have to apply it then to your existing code (e.g. CTRL-F7), but new code should get it right from the start.
    Hope that helps,
    K.

  • Use Action to call JSP method instead for forwarding to another url

    I have a servlet button to save data I have entered on a form. The only way I understand to save the data when the button is pressed is to use ACTION and call up a .jsp to do the work like this:
    <FORM ACTION="http://localhost:8080/examples/jsp/learningJSP/UpdateStudentInfo.jsp" METHOD="POST">
    and here's the .jsp that sets my current properties from the form and saves them.
    <HTML>
    <BODY>
    <jsp:useBean id="studentDataBean"
         class="learningservlets.StudentDataBean"
         scope ="application"/>
    <jsp:setProperty name="studentDataBean" property ="*" />
    <!--call saveData() to send the data you just set - to the database%=stuInfo.saveData()%>-->
    <%studentDataBean.saveData();%>
    <jsp:forward page="PresentStudentData.jsp" />
    <H1>
    UpdateStudentInfo Bean
    </H1>
    </BODY>
    </HTML>
    The problem I have with using this approach is my user is sent to another page. Is there anyway to complete the above task transparently (i.e. without making the user go to the page that does all of the work)?
    Thanks for any assistance you may offer.

    Use this,
    UpdateStudentInfo.jsp
    <%@ page import="learningservlets.StudentDataBean" %>
    <jsp:useBean id="studentDataBean"
    class="learningservlets.StudentDataBean"
    scope ="application">
    <jsp:setProperty name="studentDataBean" property ="*" />
    </jsp:useBean>
    <!--call saveData() to send the data you just set - to the
    database%=stuInfo.saveData()%>-->
    <%
    studentDataBean.saveData();
    response.sendRedirect("PresentStudentData.jsp");
    return;
    %>
    Hope this helps.
    Sudha

  • Strut's Action Classes Called Twice

    I have been looking in every forum, but nothing yet. I am running a struts app in JBoss. And my Action Classes get called twice. Has anyone seen this behavior?
    Thanks!

    Well, I can tell you that playing with it, I discovered that if my action mappings use tile definition for the forwards, the actions get call twiced. If I use the jsp uri instead, it works like it is supposed to.
    WIith these settings, the action RegisterUserAction gets called twice!!!!!!
    <action path="/registerUser"
             type="com.cr.ct.ui.user.RegisterUserAction"
                name="registerUserForm"
                validate="false">
          <forward name="sellerHomePage" path=".homeDef" />
          <forward name="failedRegistration" path=".registrationDef" />
        </action>
    This will work as supposed to , but I lose the abilitiy to use tiles.
    <action path="/registerUser"
             type="com.cr.ct.ui.user.RegisterUserAction"
                name="registerUserForm"
                validate="false">
          <forward name="sellerHomePage" path="/common/home.jsp" />
          <forward name="failedRegistration" path="/common/registration.jsp" />
        </action>

  • Can an Illustrator Action be batched out of bridge?

    I'm looking for a way to automate an Illustrator action. I can do batch out of ILL. But was wondering if the Action can be run on a selection of images out of Bridge?
    Thanks
    Max

    Try and look here:
    Bridge Scripting

  • UCCX Script Replacement with Queued Calls

    UCCX script question:
    If there are calls queued, and the script is replaced with an edited script, will the original script maintain the queued calls, or what happens with them?

    Existing calls are still following the script they arrived to, all new calls will follow the updated script.

  • Call to Excel Services returned an error.

    In our on-prem environment, inside a document library i uploaded an excel powerpivot model(created by exporting data from two sharepoint list in the same site). Now i have configured data refresh for the excel file, but it's failing with the following error:Call
    to Excel Services returned an error.
    In ULS log files, i got this
    EXCEPTION: System.InvalidOperationException: Call to Excel Services returned an error. ---> Microsoft.AnalysisServices.SPClient.Interfaces.ExcelServicesException: ECS failed with non-zero return status. First error is name='ExternalDataRefreshFailed'; message='An
    error occurred while working on the Data Model in the workbook. Please try again.    We were unable to refresh one or more data connections in this workbook.  The following connections failed to refresh:    DataFeed_3_datacollect-taxdemos-com
    items  '; severity='Error'     at Microsoft.AnalysisServices.SPClient.ExcelApi.ValidateStatus(Status[] status)     at Microsoft.AnalysisServices.SPClient.ExcelApi.Call[T](String fileUrl, ExcelServiceCall`1 serviceCall)    
    --- End of inner exception stack trace ---     at Microsoft.AnalysisSe...
    ...rvices.SPClient.ExcelApi.Call[T](String fileUrl, ExcelServiceCall`1 serviceCall)     at Microsoft.AnalysisServices.SPClient.ExcelApi.Call(String fileUrl, ExcelServiceCall serviceCall, String methodName, Object[] parameters)     at Microsoft.AnalysisServices.SPAddin.DataRefresh.DataRefreshService.ProcessingJob(Object
    parameters)
    Can anybody help on how to fix this issue?
    Please mark a post helpful/answer if it is really helpful or answer your query

    Hi Atijit,
    Do you have any update?
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • CS6 scripting bug / Problème scripts d'action CS6

    Bonjour, suite à mon passage de la CS4 à la CS6, mes scripts d'action ne marchent plus.
    Ce script par exemple :
    Hi folks, going from CS4 to CS6 made my action scripts bug, especially those using pathfinder :
    divide / ungroup / default /  trim / ungroup / copy / paste in front
    Ces actions effectuées une à une donnent un résultat normal mais conduisent donnent une série de messages d'erreur une fois enregistrées dans un script :
    These actions do work normally when i perform them separetly but fail as soon as i record it in a script. Does anyone has an idea?
    C'est la même chose avec ou sans fond, avec ou sans contour. Ce même script fonctionne très bien sur CS4. Les raccourcis clavier sont les mêmes.
    HELLLLPPPPP!!!!!

    Bonjour, n'ayant jamais été confronté au problème, je suis allé regarder si la question avait été traitée en anglais.
    Mylenium a proposé une explication sur l'accès à certains ports du système.
    En fait pour lire une vidéo, Photoshop a besoin de créer un accès à ce fichier, en interne, si ces ports sont inaccessibles (bloqués par une appli tierce, antivirus, firewall (ou pare-feu) ou occupés par d'autres applications), cela peut échouer.

Maybe you are looking for

  • ITunes crashed and will no longer recognize my iPod Touch!

    My new computer crashed last night while my iPod Touch was in the process of Syncing with my iTunes account.  When it came back up it had to try and recover my iTunes Library. After it did I had to go into my stuff and find all my music and re-add it

  • Some of the audio out of my mac sounds as if there's a reverb effect on top

    Mostly on videos, using VLC and quicktime it sounds as though there's a reverb/delay effect on top of the audio.. it's really annoying... haven't noticed it in any DAW's such as Ableton Live/Reason or Logic just in things like itunes,safari,vlc,quick

  • Using iPod without the battery

    I just picked up an iPod that I want to use at work. Can I just plug it in using the USB adapter and not use the battery at all? It seems like it would be nice if I never really had to use up the battery. -Matthew

  • Microsoft office outlook 2013 slower than 2000

    If you want to be able to send and receive Gmail emails through Outlook.com, Microsoft's service will only use POP to fetch them which means that delivery is not immediate (POP fetching usually happens in 15 minute intervals). Why? 

  • Can anyone help with Ultraviolet Dawn

    Since converting my Imac to OS Mavericks I've not been able to load Ultraviolet Dawn. I tried de-installing & re-installing but it's still the same. It starts loading & then just stops working?