Using Json to save illustrator script parameters.

I'm new to illustrator. I wrote a code base on the scenario of the Illustrator and works very well. I want to save the values in txtbox in json file during the click on butten and extract the same file text box on another click of the button. might help me to write this program.such I use the code of easily.my json objects is given below.please help me by adding json.

var l is new window ('dialogue');.

var app.activeDocument = docRef;

var txtbox = w.add (' edittext', undefined, "" ");

var btnsave = w.add ("button", 0, 0, 50 (50) and 'save');

var btnretrive is w.add ("button", 0, 0, 50 (50) and "retrieve");.

w.Show ();

is there a particular reason you need JSON? I find easier to read js objects as a json file

Here's what I do:

make an object with preferences:

var prefs = {}

prefs.txtBox = 'something'

prefs.btnSave = 'something'

prefs.btnretrive = 'something'

Save the object to the file:

var file = File (directory);

leader. Open ('w')

leader. Write (prefs.toSource ())

leader. Close()

Open the saved object:

leader. Open ("r")

prefs = eval (file.read ())

leader. Close();

BTW, you can use any extension you want for the file, it will read all the same. I made an extension customized for all my script preferences.

Tags: Illustrator

Similar Questions

  • CC 2015 Illustrator crashes when you use the function "save for Web".

    CC 2015 Illustrator crashes when you use the function "save for Web".

    Hello

    We have published a 19.0.1 hotfix that resolves this problem in discussion on this topic. Please apply the patch to your creative cloud application. The creative cloud application checks the update once a day, so you may see the update immediately.  If you want to force the check for an update at the beginning please logout and log back into the creative Cloud application.

    Link to 19.0.1 release notes: https://helpx.adobe.com/illustrator/kb/illustrator-cc-2015-crash-bug-fixes-19-0-1.html

    Kind regards

    Ashutosh

    The name of the Illustrator team engineering

  • Illustrator script will not print on the correct printer.

    I call an Illustrator using BridgeTalk script within a script InDesign, but I doubt it would make a difference.  Here's the question: we have four printers on the network that are named 'Printer 1', ' printer 2 "," printer 3 ", and"printer 4"on each Mac on the network." "  I want to print a document to a specific printer, based on the computer that is used to run the script.  Pretty simple idea and I have illustrated it in my script in progress below:

    function illustratorDie(artFile, dieFolder, companyName, orderNum, shipDate, dieInks)
    { 
              // Before anything else, find out to which printer we'll be sending our document.
              var machine = $.getenv("USER");
              $.writeln("(IL) Environment variable 'USER' is " + machine);
              var localPrinter;
              var shipPrinter;
              switch (machine)
              {
                        case "aerostar":
                                  $.writeln("Machine is aerostar.");
                                  localPrinter = "Printer 4";
                                  shipPrinter = "Shipping";
                                  break;
                        case "apache":
                                  $.writeln("Machine is apache.");
                                  localPrinter = "Printer 3";
                                  shipPrinter = "Shipping";
                                  break;
                        case "navajo":
                                  $.writeln("Machine is navajo.");
                                  localPrinter = "Printer 3";
                                  shipPrinter = "Shipping";
                                  break;
                        case "seneca":
                                  $.writeln("Machine is seneca.");
                                  localPrinter = "Printer 2";
                                  shipPrinter = "Shipping";
                                  break;
                        case "warrior":
                                  $.writeln("Machine is warrior.");
                                  localPrinter = "Printer 2";
                                  shipPrinter = "Shipping";
                                  break;
                        case "tomahawk":
                                  $.writeln("Machine is tomahawk.");
                                  localPrinter = "Printer 1";
                                  shipPrinter = "Shipping";
                                  break;
                        case "Marketing":
                                  $.writeln("Machine is Marketing.");
                                  localPrinter = "Printer 1";
                                  shipPrinter = "Shipping";
                                  break;
                        default:
                                  $.writeln("Machine has defaulted.");
                                  localPrinter = "Printer 3";
                                  shipPrinter = "Shipping";
              }
              $.writeln("(IL) Thus, the local printer is " + localPrinter);
    
    
              // First, create a new document for the die.
              var dieDoc = app.documents.add();
    
    
              // Then open the document that contains the artwork.
              var artDoc = app.open(artFile);
    
    
              // Group the art from the document with the artwork,
              // just in case it hasn't already been grouped.
              artDoc.layers[1].locked = true;
              artDoc.selectObjectsOnActiveArtboard();
              var sel = artDoc.selection;
              var newGroup = artDoc.groupItems.add();
              newGroup.name = "ArtGroup";
              newGroup.move(artDoc, ElementPlacement.PLACEATEND);
              for (var i = 0; i < sel.length; i++)
              {
                        sel[i].moveToEnd(newGroup);
              }
    
    
              // And copy the artwork from the art document to this new die document.
              var copiedArt = newGroup.duplicate(dieDoc.layers[0],ElementPlacement.PLACEATEND);
    
    
              // Now we can close the art document as it will no longer be needed.
              artDoc.close(SaveOptions.DONOTSAVECHANGES);
    
    
              // Back to our die document, let's fix up the art now.
              // We do so by first centering it on the page.
              copiedArt.left = ((dieDoc.width - copiedArt.width) / 2);
              copiedArt.top = (dieDoc.height + copiedArt.height) / 2;
    
    
              // Then we change all paths to black & white.
              // For this, we will assume that there are no gradients nor raster art.
              var pathsToRemove = new Array;
              var blackColor = new CMYKColor();
              blackColor.cyan = 0;
              blackColor.magenta = 0;
              blackColor.yellow = 0;
              blackColor.black = 100;
    
    
              convertBW(copiedArt);
    
    
              $.writeln("Removable paths: " + pathsToRemove.length);
              for (var v = 0; v < pathsToRemove.length; v++)
              {
                        pathsToRemove[v].remove();
              }
    
    
              // Now specify the contents of that text block.
              var newLine = String.fromCharCode(13);
              var textContents = companyName + newLine;
              textContents += orderNum + newLine;
              textContents += shipDate + newLine;
              textContents += newLine;
              textContents += "W: " + Math.round((copiedArt.width / 72) * 100) / 100 + newLine;
              textContents += "H: " + Math.round((copiedArt.height / 72) * 100) / 100;
    
    
              // And finally actually place the text block while formatting it.
              var textDesc = dieDoc.textFrames.add();
              textDesc.position = [36, dieDoc.height - 50];
              textDesc.contents = textContents;
              textDesc.textRange.characterAttributes.size = 36;
    
    
              // Let's set print options for the two printers.
              var localPrintOptions = new PrintOptions();
              localPrintOptions.printerName = localPrinter;
              var shipPrintOptions = new PrintOptions();
              shipPrintOptions.printerName = shipPrinter;
    
    
              var myJobOptions = new PrintJobOptions();
              myJobOptions.copies = 1;
              shipPrintOptions.jobOptions = localPrintOptions.jobOptions = myJobOptions;
    
    
              $.writeln("Printing to " + localPrintOptions.printerName);
    
    
              // Now we need to print this text block to the local printer as well as the Shipping printer.
              $.sleep(2000);
              dieDoc.print(localPrintOptions);
              $.sleep(2000);
              dieDoc.print(shipPrintOptions);
    
    
              // Before saving the file to an .EPS, we need to hide (or delete) the text block.
              textDesc.remove();
    
    
              // Lastly, we need to save this document as an .EPS file in the proper location.
              // Set the SaveOptions first, just like the PrintOptions earlier.
              var dieOptions = new EPSSaveOptions
              {
                        compatibility = Compatibility.ILLUSTRATOR16;
                        preview = EPSPreview.TRANSPARENTCOLORTIFF;
                        embedAllFonts = true;
                        cmykPostScript = true;
                        postScript = EPSPostScriptLevelEnum.LEVEL2;
              }
    
    
              // And then actually save the document.
              var savedFile = unescape(dieFolder.toString()) + "/" + artFile.name.slice(0,-4) + "_Die.eps";
              $.writeln("Inside Illustrator script, savedFile is " + savedFile);
              dieDoc.saveAs(File(savedFile), dieOptions);
    
    
              // Finally, close the document.
              dieDoc.close();
              return savedFile;
    
    
              // END OF MAIN.
    
            function blackIt (currentItem)
            {
              ...
             }
    }
    

    I at first thought that the script was running too fast, so I added the two "$.sleep (2000)" orders near the end to see if it would help - it didn't.

    The bits of important, after defining the variables localPrinter and shipPrinter, come after the line / / Let's define the printing options for both printers.

    Instead of print to the local printer, sometimes it will print to the other.  For example, I am the machine called "apache".  The script must localPrinter on "Printer 3".  And, according to the statement of $. writeln() , he does.  However, despite this setting, almost always displays "Printer 2"!  From time to time he actually does it print "Printer 3".

    This happens on other systems, too.  It almost seems as if it prints to a printer that is numerically the one less than that to which it is supposed to print.  "aerostar" prints often to "3", "warrior" often it prints for "printer 1", and then the 'marketing' impressions, we do not yet all printers output a page!

    What is the cause to happen and, more importantly, what can I do about it?  Help, please!

    Of course, I get another set of printers listed.  Nevertheless, I found a solution for this.  Since it seems that the printerName of PrintOptions property is buggy, I decided to try the printPreset property instead.  I created of the presets on each computer, one for each printer and the accordingly modified script.  Works like a charm now.  Now the switch statement:

    switch (machine)
    {
              case "aerostar":
                        $.writeln("Machine is aerostar.");
                        localPrinter = "Printer 4";
                        localPrintPreset = "Color Proof Printer 4";
                        shipPrinter = "Shipping";
                        break;
              case "apache":
                        $.writeln("Machine is apache.");
                        localPrinter = "Printer 3";
                        localPrintPreset = "Color Proof Printer 3";
                        shipPrinter = "Shipping";
                        break;
              case "navajo":
                        $.writeln("Machine is navajo.");
                        localPrinter = "Printer 3";
                        localPrintPreset = "Color Proof Printer 3";
                        shipPrinter = "Shipping";
                        break;
              case "seneca":
                        $.writeln("Machine is seneca.");
                        localPrinter = "Printer 2";
                        localPrintPreset = "Color Proof Printer 2";
                        shipPrinter = "Shipping";
                        break;
              case "warrior":
                        $.writeln("Machine is warrior.");
                        localPrinter = "Printer 2";
                        localPrintPreset = "Color Proof Printer 2";
                        shipPrinter = "Shipping";
                        break;
              case "tomahawk":
                        $.writeln("Machine is tomahawk.");
                        localPrinter = "Printer 1";
                        localPrintPreset = "Color Proof Printer 1";
                        shipPrinter = "Shipping";
                        break;
              case "Marketing":
                        $.writeln("Machine is Marketing.");
                        localPrinter = "Printer 1";
                        localPrintPreset = "Color Proof Printer 1";
                        shipPrinter = "Shipping";
                        break;
              default:
                        $.writeln("Machine has defaulted.");
                        localPrinter = "Printer 3";
                        localPrintPreset = "Color Proof Printer 3";
                        shipPrinter = "Shipping";
    }
    

    and the transfer block that accompanies it, which uses the new variable:

    // Let's set print options for the two printers.
    var localPrintOptions = new PrintOptions();
    localPrintOptions.printPreset = localPrintPreset;
    var shipPrintOptions = new PrintOptions();
    shipPrintOptions.printerName = shipPrinter;
    

    I hope this will help someone else who is faced with this problem!

  • Help to use JSON in 12.1 Oracle database

    Hello

    I would like to help to implement JSON in my 12.1 Oracle database:

    Here is my current data model:

    Table met_p6_point

    CREATE THE TABLE EIGJSON. MET_P6_POINT

    (

    INTEGER ID,

    DATE_VALID TIMESTAMP (6) NOT NULL,

    FLOAT VALUE (126)

    )

    some data:

    THE VALUE OF THE ID, DATE_VALID,

    867154,01/01/2015 03:00 000000, 6

    867155,01/01/2015 01:00, 000000, 4

    2015/01-867155,01 02:00, 000000, 3

    ...

    saves the County: 37 006 645

    Table met_p6_ref

    CREATE THE TABLE EIGJSON. MET_P6_REF

    (

    ID INTEGER NOT NULL,

    TYPE_PREV INTEGER NOT NULL,

    LOCATION INTEGER NOT NULL,

    DATE_PUBLI TIMESTAMP (6) NOT NULL

    )

    some data

    ID, TYPE_PREV, LOCALIZATION, DATE_PUBLI

    615,1,497,26/06/2013 18:00, 000000

    616,1,510,26/06/2013 18:00, 000000

    617,1,579,26/06/2013 18:00, 000000

    618,1,588,26/06/2013 18:00, 000000

    ...

    saves the County: 1217964

    Table met_panier32

    CREATE THE TABLE EIGJSON. MET_PANIER32

    (

    ID INTEGER NOT NULL,

    WMO INTEGER,

    NAME VARCHAR2 (45 BYTES) DEFAULT NULL,

    LAT FLOAT (126).

    LON FLOAT (126).

    WEIGHT FLOAT (126).

    CP INTEGER NOT NULL,

    INSEE INTEGER NOT NULL,

    VARCHAR2 (100 BYTE) DEPT NOT NULL,.

    VARCHAR2 (100 BYTE) REGION NOT NULL,.

    X_DEPT FLOAT (126).

    Y_DEPT FLOAT (126)

    )

    some data

    ID, WMO, NAME, LAT, LON, WEIGHT, CP, INSEE, DEPARTMENT, REGION, X_DEPT, Y_DEPT

    1,2, BOULOGNE ON SEA, 50, 727, 1, 6, 0, 01, 62200, 62160, 62, 31, 85, 115

    2.5, ABBEVILLE, 50, 111, 1, 838, 0, 01, 80100, 80001, 80, 22, 110, 70

    3.15, LILLE, 50, 635, 3, 064, 0, 03, 59000, 59350, 59, 31, 205, 120

    4.27, CAEN, 49, 18, - 0, 357, 0, 025, 14000, 14118, 14, 25, 195, 110

    5 110, BREST, 48, 391-4, 485, 0, 042, 29200, 29019, 29, 53, 120, 100

    ...

    record count: 32

    Table cal_hor

    CREATE THE TABLE EIGJSON. CAL_HOR

    (

    HL24 TIMESTAMP (6) NOT NULL,

    TIMESTAMP (6) UTC NOT NULL,.

    WHOLE TIME

    )

    HL24, UTC, HOUR
    26/01/2010-06:00, 000000, 26/01/2010 05:00, 000000, 6
    26/01/2010-07:00, 000000, 26/01/2010-06:00, 000000, 7
    26/01/2010-08:00, 000000, 26/01/2010-07:00, 000000, 8
    26/01/2010-09:00, 000000, 26/01/2010-08:00, 000000, 9

    ...

    saves the County: 96433

    I want to create a new table:

    CREATE THE TABLE EIGJSON. MET_P6_REF_POINTB
    (
    ID INTEGER NOT NULL,
    TYPE_PREV INTEGER NOT NULL,
    LOCATION INTEGER NOT NULL,
    DATE_PUBLI TIMESTAMP (6) NOT NULL,
    CLOB DATA
    )

    How to insert data into the new table?

    I am trying to find an INSERT SQL command like this:

    INSERT INTO met_p6_ref_pointb

    SELECT 'ID', location, type_prev, date_publi,

    row_to_json (met_p6_point): jsonb

    OF met_p6_ref

    Join met_p6_point using ('ID');

    But there is no row_to_json in oracle 12.1

    Suspicion and advice would be appreciated.

    Thanks adavance.

    I have the solution. This is the query.

    I think he can help other people who want to use JSON data:

    INSERT INTO met_p6_ref_pointb

    SELECT 'ID', type_prev, localization, date_publi, "{'ID':}" | ID | ","DATE_VALID":'''|| LTRIM (DATE_VALID) | " ', 'VALUE': ' | {VALUE |'} '

    OF met_p6_ref

    Join met_p6_point using ('ID');

    It works for me.

  • How can I use Nepali fonts in Illustrator CS6?

    I try to use Nepali fonts in Illustrator CS6 but he does ' t support.

    How can I write Nepali fonts in Illustrator?

    I can also use Nepalese (script) Unicode fonts in Illustrator as well?

    My OS is Windows 10 English version.

    Hi sibaananda,

    I think that you would use police Devanagari to write Nepali people. If you do so, please see the following links:

    DEVANAGARI (Hindi) in Illustrator CS5?

    Hindi in Illustrator?

    Sanskrit fonts will not display correctly in Illustrator CS5 for Mac.

    Problem with fonts/script/language Hindi displays correctly.

    In case you don't have police, you can also get it here: Adobe Devanagari | Typekit

    Kind regards

    OM

  • Script to record an action that will convert the sRGB to CMYK file, then use the action in a script to support the process of a folder full of images?

    Is it possible to save an action to convert from sRGB to CMYK, then use the action in a script to support the process of a folder full of images?

    Do action, and run as a batch of PS (file > Automate > batch), or bridge (Tools > Photoshop > batch).

    Pay special attention to all the 'destination', 'save' and 'close' steps. You want to save a copy without overwriting the original, which can easily happen.

  • Use JSON with REST API vCO 5.1

    I'm developing a simple REST client to run a workflow in vCO.  I am using perl and the module REST::Client, which is pretty simple.  I can retrieve the items in the inventory and definition for my target workflow, but when I try to POST a run, I get an error report by stating:

    The request sent by the client is syntactically incorrect.

    I use JSON (as is the default output of the vCO if no Content-Type is specified, and my personal preference), and the JSON format documentation is pretty sparse compared to the XML documentation.  The documents describe the context of execution as follows:

    { "parameters" : [ { "name" : "...", "type" : "...", "description" : "...", "scope" : "local", "value" : { } }, ... ] }

    My workflow accepts two string for the input parameters and returns a string as output parameter.  I read that the scope and description fields are optional, and I am omitting the two.  Clearly, however, Miss something needed on the structure of the execution context.  Can anyone help to shed light on this?

    Complete debugging:

    Accept: application/json
    Accept-Encoding: gzip, x-gzip, deflate, bzip2-x
    Authorization: *.
    User-Agent: REST::Client/249
    Content-Length: 137
    Content-Type: application/json
    {"parameters":[{"value":"10.0.0.0/24","name":"network","type":"string"},{"value":"test-hostname.dom","name":"hostname","type":"string"}]}

    HTTP/1.1 400 Bad Request
    Connection: close
    Date: Wednesday, December 5, 2012 19:01:11 GMT
    Server: vCO Server
    Content-Length: 965
    Content-Type: text/html; charset = utf-8
    Client-Date: Wednesday, December 5, 2012 19:06:21 GMT
    Client-Peer: *: 8281
    Customer-response-Num: 1
    Client-SSL-Cert-Issuer: /C=US/O=VMware/OU=VMware/CN=localhost.localdom
    Client-SSL-Cert-subject: /C=US/O=VMware/OU=VMware/CN=localhost.localdom
    Client-SSL-Cipher: DHE-RSA-AES256-SHA
    Client SSL-Socket-class: IO::Socket
    Client alert-SSL: certificate of the peer unaudited
    Title: JBossWeb/2.0.1.GA - error report


    < html > < head > < title > JBossWeb/2.0.1.GA - error report < / title > < style > <!-H1 {do-family: Tahoma, Arial, without serif; color: white; background-color: # 525 76; do-size: 22px ;}} H2 {do-family: Tahoma, Arial, without serif; color: white; background-color: # 525 76; do-size: 16px ;}} H3 {do-family: Tahoma, Arial, without serif; color: white; background-color: # 525 76; do-size: 14px ;}} BODY {do-family: Tahoma, Arial, without serif; color: black; background-color: white ;}} B {do-family: Tahoma, Arial, without serif; color: white; background-color: # 525 76 ;}} P {do-family: Tahoma, Arial, without serif;: white background; color: black; do-size: 12px ;}} A {color: black ;}} B.SID {color: black ;}} HR {color: # 525 76 ;} - > < / style > < / head > < body > < h1 > State HTTP 400 - < / h1 > < HR size = "1" = "noshade" noshade > < p-type > < b > < /b > < /p > < p > < b > report message < /b > < u > < / u > < / p > < p > < b > description < /b > < u > the request sent by} the client was syntactically incorrect (). < /u > < /p > < HR size = "1" noshade "noshade" = > < h3 JBossWeb/2.0.1.GA > < / h3 > < body / > < / html >

    There was a problem with the value of the format JSON deserialization, it is fixed and will be available in version 5.1 of U1.

  • Used to Photoshop "save for Web".

    Since I installed CC on my MacMini (end of 2014) under OS X 10.10.1 vanilla, I was not able to use the function "Save for Web" in Photoshop (2014.2.2 version, 20141204.r.310 x 64) more. I get an error message saying 'operation could not be completed. The file or directory is not found. »

    Unfortunately, Google and the forums have only come up with people with similar problems, but not with all the solutions. Any help would be greatly appreciated!

    Thanks, he does, and I found the directory for the prefs CC 2014 SFW, not where I expected them.

    First, you might want to know OSX 10.10.2 was released and I have updated with no problems. Upgrade than the first.

    In the Finder menu: go > go to folder:

    Parameters of 2014 for the Photoshop CC ~/Library/Preferences/Adobe


    This folder contains save for Web Prefs.psp you can drag this file out of the folder on the desktop, and a new will be when you launch CC 2014 (Cmd i (for information) on the file SFW. The permissions should be read and write for you)

    We'll try and see if the reconstructed prefs fixes it.


    Gene





  • How to save illustrator files cs6/cc now that I've upgraded to maverick?

    How to save illustrator files cs6/cc now that I've upgraded to maverick?

    Hi maryclothide,

    Upgrade to maverick should have no impact on the way you used to save these files as soon as possible.

    You can select Save from the file menu and select adobe illustrator as save type. And in the file saving options, you can choose to save file compatible with earlier versions of Illustrator.

    Sanjay.

  • Illustrator script

    Preferably this will be done with a JavaScript so it will be cross-platform.

    I need a script that will take objects on the artboard, give them a unique name (perhaps Object01 to Object99) for example and export as a SWF or PNG image at high resolution with inclusive defined by the object, not the work plan.

    Is this possible?  I'm waiting for a book to Illustrator Scripting to come in the mail, but I thought that posting this here.

    My intention is to use exports resulting in an ActionScript file and referencing a current folder where they will be placed in the.  I hope that maintain the placement of exports according to their position on the artboard, but I want to have a unique bounding boxes.  If I were working in Flash only the positioning of objects on the stage would be maintained but I would need still a script to name every Clip of film and the export of the library object in an active case.

    Is this possible?  I posted in the ActionScript forum as well, but I just thought that I might be able to bypass Flash and Illustrator to generate Clips whose names.

    Just a few steps by using the standard commands:

    -Place the items you want on a single main layer

    -Highlight that layer in the layers palette

    -Choose the output of the command layers (sequence) in the palette menu layers

    -Export to .swf and choose export layers to files SWF option in the export SWF dialog box

  • Is it possible to create a new file using the XML via java Script?

    Hello everyone,

    Is it possible to create a new file using the XML via java Script

    • I have xml information that need to use for file name, size.
    • Based on xml file we can create a new file in InDesign with java script?
    • Kindly help me if anyone has an idea about this.

    I use InDesign CS4 on windows 7

    Sample file is attached below.

    Kind regards

    Siva

    <UpdateAd>
    <AdId>3403699</AdId>
    <Width type="mm">91,79</Width>
    <Height type="mm">80,00</Height>
    <ProductionCategory>4</ProductionCategory>
    <BookedCCIColors>sw</BookedCCIColors>
    <WorkFlowType>PDF</WorkFlowType>
    <CustomerNumber>652224</CustomerNumber>
    <CustName1>Erich Prang</CustName1>
    <Description/>
    <Description2>R</Description2>
    <UpdateIns>
    <Titel>RHZ</Titel>
    <Publication>B2</Publication>
    <RunDate>26-07-2011</RunDate>
    <Zone>H30</Zone>
    <KDDATEN>nein</KDDATEN>
    </UpdateIns>
    <WorkflowStep>IR</WorkflowStep>
    <Proof>No</Proof>
    </UpdateAd>
    
    

    xml.png

    Try this:

    var f =File.openDialog ();
    f.open('r');
    var xml = new XML(f.read());
    f.close();
    
    var myDocument = app.documents.add();
    myDocument.documentPreferences.pageHeight = xml..Height+"mm";
    myDocument.documentPreferences.pageWidth = xml..Width+"mm";
    var rect = myDocument.pages[0].rectangles,add();
    rect.geometricBounds = myDocument.pages[0].bounds;
    rect.strokeAlignment = StrokeAlignment.INSIDE_ALIGNMENT;
    rect.strokeColor = myDocument.swatches.item("Black");
    rect.strokeWeight = 1;
    myDocument.save(File(f.path + "/" + xml..AdId + ".indd"))
    

    Substances

  • How to save templates scripts sql in PL/SQL Developer

    I use PL/SQL Developer of full automation to develop in pl/sql.
    I would like to know if it is possible to save a script model. I mean if I want to save a query regarding a certain table, I can write the SQL and then save it using the button "Save as query Standard." But what I would do is, for example, to save a script like:

    declare
    cursor c_cur is
    + Select * +.
    Of
    --+
    v_cur c_cur % ROWTYPE;
    --+
    Start
    Open c_cur;
    loop
    extract the c_cur in v_cur;
    When the exit c_cur % NOTFOUND;
    --+


    --+
    end loop;
    close c_cur;
    --+
    end;
    +/+

    and to be able to open it when I want it to. Is it possible to save the scripts in such 'model' anywhere in PL/SQL Developer?
    Thank you!

    Tools-> preferences-> files-> directories-> templates, then mention some directory say C:\MyTemplates.
    Put your scripts as *.tpl format in this directory (say script1.tpl).
    Tool-> model then lists.

  • ATTENTION: nsIJSON.decode is obsolete. Use JSON.parse instead.

    ATTENTION: nsIJSON.decode is obsolete. Use JSON.parse instead. Symptom. WHN I open a new tab, the creen goes on with my screens recorded, but none of them will load.

    Try Firefox Safe mode to see how it works there.

    A way of solving problems, which disables most of the modules.

    (If you use it, switch to the default theme).

    • You can open the mode without failure of Firefox 4.0 + by pressing the SHIFT key when you use the desktop Firefox or shortcut in the start menu.
    • Or use the Help menu option, click restart with the disabled... modules while Firefox is running.

    Do not choose anything at the moment, just use 'continue in safe mode.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before using the shortcut of Firefox (without the Shift key) to open it again.

    If it's good in Firefox Safe mode, your problem is probably caused by an extension, and you need to understand that one.

    http://support.Mozilla.com/en-us/KB/troubleshooting+extensions+and+themes

    When find you what is causing that, please let us know. It might help others who have this problem.

  • can I use waiting fuction in java script with qml

    HII guyzz... How to use the wait in java script with QML function as if it takes 20 minutes to perform a specific operation or a process after that battery is 100%

    You are better off using QTimer for something like that.

  • How to use json webservice in blackberry waterfalls

    1. how to use json WebService in the cascades of blackberry.

    2.i need to get data from url link in the qml page. give suggession with examples if possible.

    my link of web service contains the type of array

    for example: {'address': ['zone': 'RCS', 'city': 'ght']}

    Description:

    JSON link--> http://192.168.1.251:410/Mobile/Service1.svc/english/Category?CountryID=1

    using link above please ask how to recover data from json webservice cascading... I need answer to the method of waterfalls...

    Finally, I am me anser for service web json

    Response---> http://stackoverflow.com/questions/18598886/how-to-use-json-webservice-in-blackberry-cascades/186230...

Maybe you are looking for