SDK vs SCRIPT - GENERAL QUESTION

Hi,
I am automation developer for all Adobe products using JavaScript, VBScript. Now I am looking SDK development.
Can I use VBScript code inside of SDK. I mean, I use VBScript (code) which is much meaning full. But C++ code is not like that.
For clear, We can use (Javascript, VBScript, AppleScript) for scripting. Can we use either this instead C++ code for SDK?

Hello ksaravanan:
After reading your request several times I think you are asking this: Can an InDesign script do the same thing as what can be done using the SDK?
I have written a fairly complex Applescript program which is used to generate fairly large and complex documents from an inhouse scripting language--the scripting required macro expansion, macro substitution, and complex analysis involving deep nesting and careful logic. I did a lot of complex stuff, and I could have done every single one of those selfsame tasks in a plugin using the InDesign SDK. Further, those tasks would have been done faster and probably more efficiently using SDK code. Why Applescript? To be honest (grin) my boss knew I was a Windows man and he wanted to see me work on a Mac out of pure spite (wide grin).
But I also convinced him that everything this converter needed to do could be done using Applescript a lot more simply and quickly than in an SDK. Speed was not an issue, nor was efficiency. Development time was (even so it still took me about a year to develop).
Now, can everything done by the SDK be done in a script? No. Not by a long shot. Oh, I suppose one could write a plugin and make it scriptable; in that sense, yes, but in every other sense, no. The SDK gives the programmer pretty deep access to the innards of the program; script commands hide such access
b (see Patrick Perroud's fine entry--Patrick, that was poetry, my friend)
. So it depends upon what you want to do. Simple automation or even complex automation that doesn't often change and does not require speed can probably be handled just fine by a script. If you need speed, efficiency, and/or if you need to reach into the heart of InDesign, learn the SDK. It's a challenge, but worth it.
HTH!
John

Similar Messages

  • Update on Bioinformatics WIKI, scripting challenges, and a general question

    I am waiting for my site to go on-line at Oak Ridge National Labs (USA, Tennessee).  Should be another week or so, maybe less.
    When that happens, you will see a veritable explosion of scripting challenges in my wiki (Emerging Technologies->Bioinformatics.)
    One general question in preparation for these challenges.
    There are a number of standard  bioinformatic programs that can be run interactively via the web at various sites, e.g. "BLAST" and "STRIDE". 
    Although these can also be run locally, this requires that you download large databases and keep them updated.
    So here's my question to the scripting experts:
    Are scripting languages powerful enough to submit queries to web pages and then use regex's to parse the html that is returned?
    Bill Mann has used PERL to do some of the required regex parsing, but there is a lot left to do, and, his stuff only works when a perl program is invoking a bioinformatic program locally, not interactively.
    If so, we all can do some beautiful stuff together , if anyone is interested ...

    ...my wiki on...
    There is by it's very nature no such thing as MY WIKI, except you run your own wiki project in an exclusive mode. Which were...well ... unusual.
    Are scripting languages powerful enough to submit queries to web pages and then use regex's to parse the html that is returned?
    Yes.
    anton

  • Delete scriptcode - General question: capacity limit of Acrobat Windows

    Hello everybody,
    I've got a general question to the capacity limit of Acrobat Windows.
    I often make forms with
    for instance the current one has 18 pages. Eleven pages have fields on it. (But some pages have only one field on it) The fields of one page to another are sometimes linked with script code. The file needs nearly 1 MB.
    Usual I write the script code by a double-click on the field/ calculate/ custom calculation script. (Is this the right way?) Today it happens again that a field with script code lost the script code.
    That's why I wonder whether there is a capacity limit of Acrobat Windows or whether I make mistakes. (This is only one instance of several where the form has his own life.)
    Thanks in advance for helping me!

    http://forums.adobe.com/community/acrobat/acrobat_scripting

  • SAP GRC Process Control - General Questions

    Hi all,
    We have the following general questions regarding SAP GRC Process Control:
    1) Assume that we have set up 5 different SAP Connectors in Process Control. When you configured a specific rule and control and then, schedule the job for such control, how does the system (SAP Process Control) knows which back-end system needs to be accesed for such control?
    2) In which language are the out-of-the box rule steps's script coded? In which different languages can those scripts be coded, what is to say, in which language can we code our own scripts?
    3) How is the detailed flow between SAP Process Control and SAP Back-end system?
    Many thanks. Regards,
        Imanol

    null

  • Migrating from procmail to sieve, general question

    Hi,
    I want to migrate a Mail-Server from 10.5 (postfix, procmail, cyrus) to 10.6 (postfix, sieve, dovecot) and have a general question about sieve.
    The current setup on this server is quite complex with procmail-rules.
    But there is only ONE procmailrc which delivers the mails as wanted (about 120 Pages of rules).
    It looks like procmail isn´t maintained any more and I want to use sieve.
    I read a lot of infos about sieve but can´t find an answer to this question:
    "How to setup sieve to use only one sieve-script-file for all incoming AND outgoing messages?".
    The above mentioned procmailrc handles incoming AND outgoing mails (e. g. Mail TO AND FROM customer X is also delivered to all users being in the group X (these groups are maintained in a FileMaker-solution and the procmailrc is created via a Script in FileMaker)).
    With procmail I only had to set up the /etc/procmailrc to include "my" procmailrc. I didn´t need to setup procmailrc-files for every user (about 80 user with a quite high fluctuation, so this is not an option).
    Where is the config-file I need to add an "include "my" sieve-script" with all rules (as I did with procmail)?
    Does Sieve also handle outgoing Mails?
    Many thanks in advance
    Sven

    push

  • CS6 General Question

    hey guys -
    I have a pretty general question, that I hope is a simple answer.  Will the (javascript) scripts that work in CS5 still work perfectly in CS6 if we upgrade?  We have become quite dependant on our scripts, and we're trying to decide if the upgrade is worth it.  So much about Photoshop and Illustrator was broken in CS5 and never addressed, so now I get pretty nervous about upgrading for fear of being less productive.  Any thoughts/comments about existing scripts moving into CS6?

    Your only real way is test for your self… In principle it should work but I've heard that a couple of times before. You will still have CS5?

  • General question on SQL Server 2000 to Oracle 10g

    Hello all,
    I just have a general question on migration from SQL Server 2000 to Oracle 10g using SQL Developer.
    How does it migrate Users with proper privileges from SQL Server to Oracle? Follow the interface steps? Or should the users be created on destination Oracle side?
    Thank you.

    Hi,
    It depends which type of migration you are making.
    For a 'Standard' migration when you migrate data a 'create user' statement is created as part of the migration and you will see this in the generated code.
    If you are using the 'Quick' migration option then you need to create the Oracle user or use an existing user to receive the data.
    Your best option is to review the documentation available from -
    http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
    or directly from -
    http://download.oracle.com/docs/cd/E12151_01/index.htm
    and then get back with specific questions if this does not give you the information you need.
    Review the chapter -
    2. Migrating Third-Party Databases
    in -
    Oracle® Database SQL Developer User’s Guide Release 1.5
    Regards,
    Mike

  • Report Builder Question - OA AR Aging - and a general question

    I'm sure this is the wrong forum for this question, but I thought there might be someone here who might be using Oracle Applications and Report Builder who'd be kind enough to help me out.
    We've recently implemented Oracle Applications 11.5.10 and I have to use report builder to change the Accounts Receiveable Aging (7 bucket) to a 5 bucket report. I've already made some changes to the seeded "ARXAGMW.rdf" report, but I'm not a big Oracle Reports guy. I've stumbled through making some changes in various other reports. But this one is just plain nasty! :)
    I was thinking that I could simply add buckets 6 & 7 to bucket 5, then just hide or delete the 6 & 7 buckets. But I'm not sure where to even start. Any help with this would GUARANTEE a Christmas or other holiday card this year! :)
    I really want to keep this simple as possible, so any help would be very....helpful. :)
    Oh, my general question is: Are there any resouces/books for Oracle Reports (Report Builder)? I feel so lost trying to modify existing reports, let alone creating new ones.
    Thanks again!
    Steve

    Hi Steve,
    I am working on the 7-bucket aging report and i want to add a new field in data model.
    As the query is build dynamically, i have modified the function BUILD_CUSTOMER_SELECT to meet my requirements.
    But the problem is that in the data model, the field is not present in my Grouping. and if I try to add the field in the Data Model query (Q_ Customer) section,
    i get the following error: ORA-01789: query block has incorrect number of result columns.
    The query is as shown below:
    select rpad('a',50,'-') short_cust_name,
    0 cust_id,
    rpad('a',30,'-') cust_no,
    rpad('a',500,'-') sort_field1,
    rpad('a',40,'-') sort_field2,
    0 payment_sched_id,
    rpad('a',32,'-') class,
    sysdate due_date,
    0 amt_due_remaining,
    0 days_past_due ,
    0 amount_adjusted,
    0 amount_applied,
    0 amount_credited,
    sysdate gl_date,
    'x' data_converted,
    0 ps_exchange_rate,
    0 b0,
    0 b1,
    0 b2,
    0 b3,
    0 b4,
    0 b5,
    0 b6,
    rpad('a',25,'-') bal_segment_value,
    rpad('a',500,'-') inv_tid,
    rpad('a',32,'-') invoice_type
    , 'y' parent_cust --I WANT A NEW FIELD HERE TO BE VIEWED ON THE REPORT LAYOUT LATER
    from dual
    where 1=2
    UNION ALL
    &common_query_cus
    Did i missed somthing 4 me to be able to add the field here?

  • General question about iTunes Match and multiple libraries

    Hello to everyone,
    I have a general question about the iTunes Match service, which is available since yesterday in my country (Italy). Currently my library situation is the following:
    Computer A (desktop, Windows 7): "big" iTunes library (about 20 GB), at the moment not associated with my Apple ID
    Computer B (MacBook Air 2011): "small" iTunes library (about 5 GB), associated with my Apple ID
    At the moment, both my iOS devices (iPhone 4 and iPad 2) are synchronized with the smaller library on the MacBook Air.
    Question is as follows: should I subscribe to iTunes Match, would it be possible to upload the "big" library (provided I associate it with my Apple ID) to iCloud while keeping my devices synchronized with the "small" one?
    Ideally, at the end of the day, the situation should be the following: both iOS devices with music from the small library + possibility of downloading songs from iCloud (coming from the big one). Is this possible?
    Maybe the question sounds stupid, but I want to be sure about this before paying for the service.
    Thanks a lot.

    Yes, you could also associate your larger library with iTunes match if you associated your Apple ID with it. However any purchases in the library made from another Apple ID will not be matched with iTunes much.
    If both libraries are part of iTunes match, then all your devices will see all of the content from both libraries, which content you choose to have on those devices and which you have accessible via iTunes match is entirely up to you.

  • I keep getting error messages that a script "may have stoped responding", The script in question is "contentAreaUtils.js".

    I just updated to FireFox v3.6.8, after using v3.5 successfully for many months. With the new version I keep getting error messages that a script "may have stopped responding", The script in question is "contentAreaUtils.js". My OS is Win2k SP4, with 253,424 KB RAM.
    Is there a known fix. If not, is there an easy way to revert to FireFox v3.5 ?

    Attached is an image of the error message.

  • General Question on Proxies

    Hi,
    I have few general questions....
    How to decide which proxy to be used: Java or ABAP?
    What are the deciding factors?
    Which one is better when it comes to performance?
    Regards,
    Rajani Kumar

    bump

  • Where to direct a general questions about foreign films subtitles?

    I recently purchased a foreign film "Break Ke Badd" from the iTunes store. Although, it didn't specify that it had English subtitles, I assumed it did. After the full download, I tried to watch it and there weren't any English subs. I contacted iTunes and they more than happy to refund the money back to my account. Now after a few weeks, the iTunes store DOES list Eng subs for this film. I don't want to purchase it again and have to contact iTunes for another refund...Therefore my question is, is there a general question contact one could use to find an answer to my question. Basically, to verify that this movie, indeed has English subs before I re-purchase. 
    Any info is appreciated!

    Yes I know as the [https://support.mozilla.org/en-US/questions/ Questions] section is more for desktop Firefox support and the place I linked to is for "Firefox OS" support in English where some who are involved with it do post in it occasionally.
    I would have moved that [https://support.mozilla.org/en-US/questions/962783 thread] to the "Firefox OS" English section, however I cannot as the [https://support.mozilla.org//questions/ Questions] and [https://support.mozilla.org/forums Contributor Forums] are not the same.

  • Camileo charging problem (solved) and a general question!

    Hi all!
    First of all, I was going to ask for help as to why the Camileo S10 was not charging (the orange light wasn't flashing), and I'd seen a few people with similar problems.
    The solution?
    Give the contacts on the battery a clean.
    The insulation sticker that comes on it must leave some kind of residue on it, and it's enough to prevent charging. Now it's flashing away happily :]
    So my general question was, is it possible/advisable to use the camera on the mains?
    Rather than constantly draining and charging the battery during long shoots, I'd prefer to just leave it plugged in!
    Thanks very much in advance!
    Paul

    Hi
    I think the battery handling is always the same no matter what product it is
    From time to time the battery should be recalibrated.
    This means that the battery should be discharged fully and after then you should charge it again until the battery would reach 100%
    I do this with all my batteries; mobile phone battery, digi cam battery and notebook battery.

  • General Question re logical workflow (Multiple Products/Sales Teams)

    Currently we are upgrading from a highly customized CRM environment developed in CRM 4.0.  We are hoping to move to an out of the box solution with 2015.
    But I have a general question. We are a service company with different sales groups for each of our products.
    Currently we have customization for each service so a Sales person is assigned to a specific product for the customer.
    So my question is, how is this handled out of the box.  I am sure there are many many many companies in the same situation.
    So say 10 products with sales group for each product.
    Then a customer with multiple departments.  Each sales group needs to contact the specific department.
    So a customer could potentially have 10 different sales people contacting different people in the customers organization.
    How do you know when someone has already made contact?
    If we just look at the activities it is not very clear that contact has been made for a specific product. 
    Even with our customizations, there have been many situations where 2 sales people contact the same person at a clients office and we end up looking very unorganized.
    Any thoughts or comments are appreciated.
    If this is not the right place to post this type if discussion, please redirect me.
    Thanks

    As an example, for 37-minute sequence of footage (made up of multiple clips) it's taking 50 minutes to first export a non-self-contained, time-code-reader-filter-added Quicktime.
    Did you render fully before you exported? That helps. But this is also a GOP format, and it takes longer to do pretty much everything, as it is a processor intensive format.
    1) How much more memory would help this work flow go faster, and approx. how much faster??
    None. RAM doesn't come into play here. PROCESSOR speed is all that matters. What will make it go faster is enabling QMaster to have Compressor access all cores of the processor. Or getting hardware to help with the compression, like the Compress HD from Matrox. But that only boosts encoding to H.264.
    2) Has anyone else done this type of work-flow, and been able to do it more quickly? Is RAM the issue? Any suggestions for a more efficient work-flow?
    RAM isn't the issue. Faster Processors, hardware boosting...converting the footage to ProRes before you begin editing...all help.
    RAM isn't what is hindering you here.
    Shane

  • Newbie question - general question about e-mail sync

    Hi,
    I have a general question about email sync and BlackBerry smartphones.  Are there any devices that allow email syncing with a Microsoft Exchange 2007 system that do not require the BlackBerry Enterprise server?
    Thanks; sorry if this has been asked before but I was unable to find it in the forums, documentation, etc.  Everything I found assumes that for this kind of environment you will be using a BlackBerry Enterprise solution, but I can't assume.
    Thanks again.
    Solved!
    Go to Solution.

    Hi and Welcome to the Forums!
    If the Exchange server has anything that faces the internet (OWA, POP, IMAP), then BIS can be used to handle email (only email...calendar and contacts require BES to sync OTA).
    Or, a PC, inside the network (but with an internet path) and logged into the email server (using Outlook), can be left running, using the RIM Desktop Software's Desktop Redirector capability to forward  messages to the BB.
    Those are basically the options.
    Hope that helps! Let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

Maybe you are looking for

  • How to generate an xml file from a soapbody

    i'm trying to use SOAPMESSAGE from a webservice as a Datasource for my JasperReport, I'm thinking of doing it as getting the SOAPBody and saving it as xml file and setting that xml file as datasource to my JasperReport. My problem is how will a get t

  • Keyboard problem - First character not showing up

    Hi all.... I've noticed a funny quirk on my mid 2006 iMac. Lately, when I try to type anything in either a form field or in Spotlight, the first character I type doesn't show up. Only after hitting it again will it do so. I tried resetting the PRAM,

  • Service Master: + order

    Hello Friends, In T.code iw72, ( service order ) there are operations, and if the control key in operation is z114, then one can attatch various services to this operation..... I had an example service order ( with operation + services ). Now I am us

  • Search Help with Web Dynpro

    Hi all, I have to create a search help with web dynpro on a field but the database is on another system... How can I do? Many Thanks in advance...

  • Copy images to larger drive and LR linking

    I'm using Lightroom 4.x on Mac Pro, 10.6.8 OS.  MY 1TB internal drive is full so I want to copy all my images to a new 4TB internal drive.  I also want to make a back up copy to an external hard drive but not necessarily at the same time. What is the