Referencing preset with applescript

I'd like to apply adjustment presets through an applescript.
Is there a way to have the applescript call them by their name?
I have a convoluted way to apply the presets, but it is cumbersome because the presets end up being referenced by a sequential number.
on importActionForVersions(input)
    tell application "Aperture"
        set adjustPreset to every image adjustment preset
        tell library 1
            repeat with i from 1 to count of input
                tell (item i of input)
                    try
                        if value of EXIF tag "ISOSpeedRating" is 1600 then
                            apply image adjustment preset (item 34 of adjustPreset)
                        else if value of EXIF tag "ISOSpeedRating" is 800 then
                            apply image adjustment preset (item 33 of adjustPreset)
                        end if
                    on error
                        log "image does not have a value for ISOSpeedRating"
                    end try
                end tell
            end repeat
        end tell
    end tell
end importActionForVersions
Thanks!

OK it was a struggle but here is at least a slightly more elegant solution.  I'd take any suggestions to improve it.
This example looks for presets named "ISO800" , "ISO1600" , "ISO3200" , and "ISO6400".
It currently only applies presets for images with an ISO rating of 800 or 1600
on importActionForVersions(input)
    tell application "Aperture"
        set adjustPreset to every image adjustment preset
     -- this associates the name of the preset to its location in the list  
         repeat with i from 1 to count of adjustPreset
            if name of (item i of adjustPreset) = "ISO800" then
                set i800 to i
            else if name of (item i of adjustPreset) = "ISO1600" then
                set i1600 to i
            else if name of (item i of adjustPreset) = "ISO3200" then
                set i3200 to i
            else if name of (item i of adjustPreset) = "ISO6400" then
                set i6400 to i
            end if
        end repeat
        --this section assigns a preset based on the iso value of the image
         tell library 1
            repeat with i from 1 to count of input
                tell (item i of input)
                    try
                        if value of EXIF tag "ISOSpeedRating" is 800 then
                            apply image adjustment preset (item ISO800 of adjustPreset)
                        else if value of EXIF tag "ISOSpeedRating" is 1600 then
                            apply image adjustment preset (item ISO1600 of adjustPreset)
                        end if
                    on error
                        log "image does not have a value for ISOSpeedRating"
                    end try
                end tell
            end repeat
        end tell
    end tell
end importActionForVersions

Similar Messages

  • Export PDF Workflow with Applescript and CS3

    Hello,
    I am setting up some PDF workflow with Applescript.
    On a given moment, as my script runs and after getting some user-input answers to questions in some dialogs, my script tells InDesign CS3 to open the Export Adobe PDF window for the current document. I copied and pasted that small part of the script:
    tell application "Adobe InDesign CS3"
    tell document 1
    export format PDF type to "Macintosh_HD:Test01.pdf" using "somePreset" with showing options
    end tell
    end tell
    When you run this small part of my Applescript, InDesign opens the Export Adobe PDF window (as expected) waiting for me to click on "Export". That is exactly what I want, since the user is given here a last opportunity to change some values (for example page range, or spreads). When all is set, the user can click on Export to close the dialog and finish the script.
    Problem: I was hoping that the Adobe PDF Preset "somePreset" would be selected in the first pull-down menu of the Export Adobe PDF window when this window is opened by the script. Unfortunately the last used preset is always selected by default. Anyone suggestions or help?
    Kind regards,
    Bertus Bolknak.

    My operators enter the page range and filename into a dialog box. Then I set those in the script. I use the Press Quality preset to start with and then set the changes I want into a export variable. I set things like bleed, marks, page range, etc.
    Here is an example:
    set theProps to properties of PDF export preset "[Press Quality]"
    try
    delete PDF export preset "Schmidt PDF"
    end try
    set theStyle to {name:"Schmidt PDF", acrobat compatibility:acrobat 7, bleed top:"0.125i", bleed bottom:"0.125i", bleed inside:"0.125i", bleed outside:"0.125i", page marks offset:"0.125i", include ICC profiles:Include None, effective PDF destination profile:use no profile, effective PDF X profile:"No Color Conversion"} & theProps
    make PDF export preset with properties theStyle
    set properties of PDF export preferences to theStyle
    set color bitmap sampling of PDF export preferences to none
    set grayscale bitmap sampling of PDF export preferences to none
    set page range of PDF export preferences to (item i of myPageList) as string
    export document 1 format PDF type to (PrinergyFolder & myJobNumFinal & "_" & VerCode & ".pdf") as Unicode text without showing options
    I am also doing this in Quark.

  • Problem with AppleScript command "Duplicate"?

    Hi all.
    I'm relatively new to AppleScript so I hope I can get some help here.
    I'm writing a script for Aperture 3.0.3 that
    1. Makes 4 new versions of the currently selected image
    2. Applies 4 different image adjustment presets to the new versions.
    3. Presents the 4 adjusted versions on screen.
    Making duplicate versions with AppleScript was easy enough, but how do I get an ID for the newly created versions? The "Duplicate" command doesn't return any information at all.
    How do I talk to image versions created with the duplicate command?
    Can anyone help?
    Message was edited by: Monostratos

    Hi,
    I'm also interested in a script like that. Have you had any success?
    I've found this site, where you can purchase a similar script:
    http://www.apertureexpert.com/storedetails/applescript-4-up-auto-levels-curves-r gb-luminance.html
    /Christian

  • Printing separations with applescript

    Hello, i have a lil bit of a problem with the following script so if someone just drop a hint i would appreciate it:
    Platform:
    MacOsX Leopard 10.4.11
    Indesign CS 2.0
    The values defined are:
    thedoc = document 1 of the Indesign Application
    pPages = a single number (e.g.: 2)
    presetUsed = string, name of the preset(in this case a preset with output set to separations and application built-in trapping)
    pcolors = string of colors to be printed in csv form, eg: Pantone XXX,Process Black ... etc.
    tell print preferences of theDoc
    set page range of print preferences of theDoc to pPages
    set (active printer preset) to presetUsed
    set profile to "Generic CMYK Profile"
    set bleed bottom to 10
    set bleed top to 10
    set bleed inside to 10
    set bleed outside to 10
    set mark offset to 0
    set (print ink of every ink of theDoc) to false
    set AppleScript's text item delimiters to ","
    if length of text items of pColors > 1 then
    set tItems to (text items of pColors)
    repeat with vC in tItems
    set (print ink of ink vC of theDoc) to true
    end repeat
    else
    set (print ink of ink pColors of theDoc) to true
    end if
    end tell
    tell theDoc
    print without print dialog
    end tell
    Now the problem: the problem is that when printing with the "print without print dialog" option, the program just prints all the plates ignoring the settings in the print preferences declaration. This is not the same when the "print with print dialog" option is used. When using that option everything seems to be fine. However i need to work it out without using the print dialog. Any help regarding this issue is highly appreciated.
    Thanks in advance and wish ya a wonderful day.

    Thanks for your reply Kasyan. I really appreciate it.
    However the script i'm trying to work out is doing exactly the things that you've mentioned (having a printer preset that is set as the active printer preset) except that my script is modifying a few settings of that preset(that's because i need a lot of custom printing, and having a separate preset for each one would make me create a dozen presets). However the thing that i dun really get is why this works when using the print display dialog, and why it doesn't work without the print dialog. The thing that i really dun seem to understand ... why if i add after the "tell preferences" end tell the line:
    set numberOfActiveInks to (every ink of theDoc whose print ink is true)
    display dialog ((length of numberOfActiveInks) as string)
    will show the "correct" number of inks i want to be printed, but when it goes printing them it just prints them all. I'm pretty sure i'm overlooking something here but i dun seem to find out what exactly.
    Thanks again for your time and have a wonderful day.

  • Can not add function to pages-document created with Applescript

    If I create new document using the GUI (New document) I can place the cursor within any table-cell, type "=" (equal sign) and f.e. "2+2" which will result in a cell showing a "4".
    If I create a document with Applescript, I can not add new functions (neither by typing = nor by using Insert >> Function (may be different, I have German version here). Already existing functions (which already were in the template) can still be used and work as expected but can not be altered.
    Any idea?
    I use Pages '08, Version 3.03
    Code I used to create the document:
    tell application "Pages"
    launch
    make new document at front with properties {template name:templateName}
    # Angebotsnummer ins Dokument schreiben
    tell body text of front document
    make new paragraph at after paragraph 1 with data angebotsNr
    set paragraph style of paragraph 2 to "Überschrift"
    end tell
    # Datei abspeichern
    set dateiName to missing value
    repeat until dateiName is not equal to missing value
    set dateiName to text returned of (display dialog "Datei Name:" default answer angebotsNr & "_" & kundenName) as text
    end repeat
    save front document in angebotsOrdner & dateiName
    end tell

    I apologize but the given script can't run.
    The variable templateName is undefined.
    The variable angebotsNr is undefined too.
    About the described behavior, it's a bug which I never discover before.
    It's always striking in Pages '09.
    Here is the report which I filed :
    Bug ID# 8704270
    Summary:
    +Odd behavior of tables in Pages documents created by a script+
    +Steps to Reproduce:+
    +Run this huge script+
    +tell application "Pages"+
    +make new document at front with properties {template name:"Blank"} (* "Vierge" on French systems *)+
    +end tell+
    +Insert a table+
    +try to insert a formula+
    +Expected Results:+
    +I assumed that I will get the formula editor which I get when the document is created by hand+
    +Actual Results:+
    +There is no way to get the editor, no way to insert the equal character.+
    +This odd behavior strike in all versions of Pages '09 and Pages '08+
    Regression:
    +None to my knowledge+
    Yvan KOENIG (VALLAURIS, France) dimanche 28 novembre 2010 11:30:29

  • How do I keep watermarks and presets ( with their order ) synched between computers

    I have a desktop which I use for heavy picture editing and a mac book air that I use for on the fly picture editing to show clients during photo trips.
    I want to figure out a way for keeping my watermarks and presets ( with their order and folders I created on my desktop ) synched on my laptop.
    What is the best way of doing this? If keeping it synched is not possible, how do you advise importing them to my laptop?
    Thanks for the support,
    JP Jacobsen

    Ps: It is very important that the presets come on the same order and folders I re-arranged them in my desktop.

  • Automated report/ PDF conversion with AppleScript

    Hello-
    I am attempting to PDF a spreadsheet from Dropbox, and email it to a set list of recipients with AppleScript.  Much of this I have been able to figure out, but I am having some issues with the PDF conversion.  As you can see below, I am still working on sending the xls file, and have not yet been able to get AppleScript to convert a specific tab of the file to aPDF.  I expect scheduling to be handled theough crontab.
    Current script is as follows:
    tell application "Finder"
              set folderPath to folder "Macintosh HD:Users:user:Dropbox:folder:Calculated PO Sheet"
              set theFile to first file in folderPath as alias
              set fileName to name of theFile
    end tell
    set theSubject to "Current PO Report" date
    set theBody to "See attached."
    set theAddress to "recipient email"
    set theAttachment to "CALCULATED PO SHEET.xlsx"
    set theSender to "sender email"
    tell application "Mail"
              set theNewMessage to make new outgoing message with properties{subject:theSubject, content:theBody & return & return, visible:true}
              tell theNewMessage
                        set visibile to true
                        set sender to theSender
      make new to recipient at end of to recipients with properties {address:theAddress}
                        try
      make new attachment with properties {file name:theAttachment} at after the last word ofthe last paragraph
                                  set message_attachment to 0
                        on error errmess -- oops
      log errmess -- log the error
                                  set message_attachment to 1
                        end try
                        log "message_attachment = " & message_attachment
      #send
              end tell
    end tell

    Hi,
    there is a special setup for this requirement. Please see the following support note
    Reference
    Oracle Reports Output For Indian Languages Like Gujarati, Marathi [ID 980554.1]
    Roberto

  • Is there a way to edit IPTC data of an image with AppleScript?

    Hi,
    I'm looking for a way to batch-edit the IPTC data from images. Is that somehow possible with Applescript? If so, could someone point me to a direction?
    (I fond a script working wit Graphic Converter in another thread, but that didn't work.)
    Thanks,
    p.

    Frank, maybe you could give me a hand here. I'm building the basic script cycling through the dropped files. But I don't know how to best implement the terminal command.
    In each cycle, I would set the file path as a variable and then compose the terminal command in order to execute it with "do script".
    But  "set x to path of eachFile" doesn't work: <<class ppth>> of alias "(path shows here)" could not be read. Any ideas how to do that better?
    on open theFiles
      repeat with eachFile in theFiles
                        set x to path of eachFile
                        tell application "Terminal"
                         activate
                        do script "hello" (Exiftool command will be here)
                        close window 1
                        end tell
              end repeat
    end open

  • Help with Applescript - filenames

    Hi!
    I hope there is someone who can help me. I have very little experience with Applescript, and have spent a couple of days scouring these forums amongst others without any luck...
    I have a folder (titled XLS) with about 1000 excel files in it. They are numbered basen on some parametric calculations (1111.xls, 1112.xls, 1113.xls, etc). I have constructed an Automator rutine which, one at a time, can open each excel file, copy some cells and then paste the data into an empty xml-file in TextWrangler. The empty xml-file is also in the XLS folder.
    What I am looking for is an applescript which can rename the open xml-file with the same filename as the xls-file. So, when 1111.xls is open, the xml-file gets renamed 1111-xml; when 1112.xls is open, the xml-file gets renamed 1112-xml, etc. Each new xlm-file is to be saved into a folder XLM, whivh is also in the XLS folder.
    Thanks in advance....
    Rob

    Se below; there are two folders on the desktop; "xls" (with xls-files in) and "xml", as well as the empty Template.xml file. Here it is!:
      --3 XLS to XML
              tell application "Finder"
                        set fileList to every file of entire contents of ("YourHD:Users:You:Desktop:xls" as alias)
              end tell
              repeat with i from 1 to number of items in fileList
                        set currentFile to (item i of fileList)
                        tell application "Microsoft Excel"
                                  set screen updating to false
      open currentFile
      activate currentFile
      activate object worksheet 1
                                  copy range range ("YourRange")
                        end tell
                        tell application "Finder"
                                  copy file "YourHD:Users:You:Desktop:Template.xml" to folder "YourHD:Users:You:Desktop:xml"
                        end tell
                        tell application "Microsoft Excel"
                                  set docName to name of window 1
                        end tell
                        tell application "Finder"
                                  set docName2 to text 1 thru ((offset of "." in docName) - 1) of docName
                                  set theFile to "YourHD:Users:You:Desktop:xml:Template.xml" as alias
                                  set the name of theFile to docName2 & ".xml"
      open file theFile
                        end tell
                        tell application "TextWrangler"
      activate
      paste
      close text document 1 saving yes
                        end tell
                        tell application "Microsoft Excel"
      activate
      close active workbook saving no
                        end tell
              end repeat
              tell application "Microsoft Excel"
                        set screen updating to true
      quit
              end tell
              tell application "TextWrangler"
      quit
              end tell

  • Creating a Save As dialog box with Applescript for Excel 2008

    This is going to be part of a larger script. I'm trying to figure out how to make the default save location to where the file opened from and the default file name to the current filename in the dialog box.
    Here is what I go so far...
    tell application "Microsoft Excel"
    tell active workbook
    set myFile to choose file name with prompt "Save file as:"
    end tell
    end tell
    I'm very new with working with Applescript, so at this point I have been piecing together code snippets.
    Any help would be great and thank you

    The choose file name command supports a default location parameter that tells it where to open the dialog:
    set myFile to choose file name with prompt "Save file as:" default location (alias "Macintosh HD:Users:username:foldername:")
    So you need to look at the Excel dictionary to determine the path to the current file and insert it into the script. Every version of Excel has slightly different dictionaries so the version you're running is critical to getting the right syntax.

  • 2.6 won't store presets with catalog

    I have all my presets stored in the same directory along with the catalog. After upgrading to 2.6, the user home directory presets folder is used again and as far as I can tell, the checkbox "store presets with catalog" doesn't have any effect.
    has anybody else seen the same problem?
    Thanks in advance
    pj
    Version von Lightroom: 2.6 [632038]
    Betriebssystem:  (Build 7600)
    Version: 6.1 [7600]
    Anwendungsarchitektur: x64
    Systemarchitektur: x64
    Anzahl phys. Prozessoren: 4
    Prozessorgeschwindigkeit: 3,0 GHz
    Integrierter Speicher: 4094,4 MB
    Für Lightroom verfügbarer phys. Speicher: 4094,4 MB
    Von Lightroom verwendeter phys. Speicher: 379,1 MB (9,2%)
    Von Lightroom verwendeter virtueller Speicher: 367,9 MB
    Cache-Speichergröße: 155,0 MB
    Seriennummer: 116040006703169241896838
    Anwendungsordner: D:\Programme\Lightroom
    Bibliothekspfad: D:\Lightroom\Lightroom Database-2.lrcat

    MentatYP wrote:
    Yeah, I have 1 gigantic catalog so it makes sense for me to keep presets with the catalog file for backup purposes.
    I disagee. You've already discovered that Web Galleries remain in the default location when you use "Store Presets with Catalog", and there are other things as well which remain in the default location. So if you want to backup your entire Lightroom environment, including settings, now you have to backup not only the Lightroom Settings folder adjacent to the catalog, but also the Lightroom folder in the appdata area of your user profile. It's far simpler to leave everything in the default location (cos you still have to back it up, right), than mess about with backing up partial sets of settings.
    Plus, as Sean says, leaving them in the default location means any new catalog (e.g. for testing) gets access to your presets irrespective of where you locate it.
    To be honest, I don't think the "Store Presets with Catalog" was the development team's finest hour, as it's implementation seems muddled and inconsistent. We've had to bail out so many people over at Lightroomforums.net ("help, my presets are missing!") that we ended up documenting the implications of using that setting: http://www.lightroomforums.net/showthread.php?14169-What-is-the-purpose-of-the-quot-Store- Presets-with-Catalog-quot-option

  • "Store presets with catalog" doesn't work with web galleries

    I reinstalled Windows 7 and copied over my LR4 presets and galleries over to the new install.  I decided to try ""Store presets with catalog" to keep things simpler next time since I do periodic backups of the catalog folder anyway, so in the future all presets are backed up at the same time as the catalog.  I put the presets including a couple web gallery presets in the proper folders.  LR4 recognized all presets except for the web gallery presets--when I went to the Web module it didn't list them as options.  I then copied those web gallery presets to the default LR4 settings folder (C:\User\XYZ\AppData\Etc-so-on-so-forth) at which point it recognized the presets and listed them in the Web module.
    So it seems that LR4 doesn't respect the "Store presets with catalog" setting when looking for web gallery presets.  Am I missing something?

    MentatYP wrote:
    Yeah, I have 1 gigantic catalog so it makes sense for me to keep presets with the catalog file for backup purposes.
    I disagee. You've already discovered that Web Galleries remain in the default location when you use "Store Presets with Catalog", and there are other things as well which remain in the default location. So if you want to backup your entire Lightroom environment, including settings, now you have to backup not only the Lightroom Settings folder adjacent to the catalog, but also the Lightroom folder in the appdata area of your user profile. It's far simpler to leave everything in the default location (cos you still have to back it up, right), than mess about with backing up partial sets of settings.
    Plus, as Sean says, leaving them in the default location means any new catalog (e.g. for testing) gets access to your presets irrespective of where you locate it.
    To be honest, I don't think the "Store Presets with Catalog" was the development team's finest hour, as it's implementation seems muddled and inconsistent. We've had to bail out so many people over at Lightroomforums.net ("help, my presets are missing!") that we ended up documenting the implications of using that setting: http://www.lightroomforums.net/showthread.php?14169-What-is-the-purpose-of-the-quot-Store- Presets-with-Catalog-quot-option

  • Create Smart Folder with Applescript?

    Hi
    Is there a way to create a Smart Folder with Applescript?
    many thanks
    LJ

    thanks neil.
    one other question. once i've made this folder i'll want to use it.
    it occurs to me that i might not be able to use the same code to
    call the folder after it's been created since, while the date may
    be the same, the time won't be.
    how do i stored the new folder name as it's being created so that
    i can call it later in the script?
    thanks again,
    BabaG

  • I can't seem to "close" my documents on MSoft Word with AppleScript!

    Hi
    I have tons of documents open on MSoft Word and wish to close some of them. Luckily, those that I wish to close all start with the word "book", so I was thinking I could actually automate that with AppleScript hence avoid closing them one by one.
    I wrote the following code:
    tell application "Microsoft Word"
    count (document)
              set countresult to result
              repeat with incrementValue from 1 to countresult
                        if name of document incrementValue starts with "book" then
      activate document
      close document
                        end if
              end repeat
    end tell
    To my surprise, it didn't work!
    I got the following under "Replies", which showed that AppleScript did indeed try to close the document that starts with "book":
    tell application "Microsoft Word"
    count every document of current application
      --> 6
    get name of document 1
      --> "book_mac_OS_X_and_iOS_internals.htm"
    activate
    close document
    get name of document 2
      --> "applicable books.htm"
    get name of document 3
      --> "What Do You Want Homespace to Do.htm"
    get name of document 4
      --> "URL_repository_for_outcomes.htm"
    get name of document 5
      --> "SYNTHESIS - History a Step Back.docx"
    get name of document 6
      --> "SYNTHESIS - History a Step Back.docx"
    end tell
    But when I went back to Word, I still saw the document there!
    I actually added an additional line (I didn't include the code in that which I pasted here) asking to count the number of documents in Word AFTER the so-called "close", and the number remains 6.
    Can anyone enlighten me on this?
    Regards,
    junxiang99

    Hi,
    The quickest way to do this (tested with OS 10.8.2, MS Word 2011) is in one line:
    tell application "Microsoft Word" to close every document whose name begins with "book"
    The reason why your script doesn't work is that you aren't specifying to Word which document you want it to close.
    So, changing one line ought to do it:
    close document incrementvalue -- instead of "close document"
    But... when you close a document, you change the document count. Document 2 becomes document 1, document 3 becomes document 2 etc. So eventually you'd get a message saying "The object you are trying to access doesn't exist".
    Because of this, if you want to do it in a repeat loop, you have to work backwards:
    tell application "Microsoft Word"
      set doc_count to count documents
      repeat with x from doc_count to 1 by -1
      if name of document x begins with "book" then close document x
      end repeat
    end tell
    Hope this helps.

  • Edit Illustrator symbol with AppleScript

    Hello,
    Does anyone know if it is possible to edit an existing symbol in an Illustrator CS3 document with AppleScript? Specifically, what I'm trying to do is this: I'd like to manually create an Illustrator document that uses the "3D Extrude and Bevel" effect to map symbols to the surfaces of the 3D object. Then, I'd like to programatically open that Illustrator document, edit the existing symbols (so the surfaces of the 3D object are updated), and finally export an image.
    From what I've found in the AppleScript documentation PDF, I'm thinking this is not possible since it lists all the properties of a symbol object as read-only. But perhaps I'm overlooking something?
    If it is not possible, is there another way of doing what I'm trying to achieve?
    Thanks!
    Ben

    Ben, could you not have just swapped your symbols? like:
    set symbol of every symbol item to symbol "Foo"
    Justin, if it is essential that you need to crack open a symbol item then it may be possible using system events to expand the item may even be possible with a action for this part?
    This works for me. It is set to work with what items i know are available to my test doc.
    {1 symbol of >2 path items, 2 gradients swatches}
    tell application "Adobe Illustrator"
    activate
    set Doc_Ref to the current document
    tell Doc_Ref
    set x to width / 2
    set y to height / 2
    set ruler origin to {x, y}
    -- Make new layer to trash later
    make new layer at beginning with properties ¬
    {name:"Opened Symbol", visible:true}
    -- Place the symbol item you want to open
    make new symbol item at beginning of layer "Opened Symbol" with properties ¬
    {symbol:symbol 1, position:{0, 0}}
    -- Select the item
    set selection to symbol item 1
    -- Use system events to drive the GUI
    tell application "System Events"
    tell process "Adobe Illustrator"
    tell menu bar 1
    click menu item "Expand..." of menu "Object"
    delay 0.1
    keystroke return
    delay 0.1
    click menu item "Ungroup" of menu "Object"
    end tell
    end tell
    end tell
    -- List your items to edit
    set Symbol_Items to every page item of layer "Opened Symbol"
    -- Edit what ever you have here
    set fill color of path item 1 of layer "Opened Symbol" to {gradient:gradient 1}
    set fill color of path item 2 of layer "Opened Symbol" to {gradient:gradient 2}
    -- New group
    set New_Group to make new group item at beginning of layer "Opened Symbol"
    -- Move edited items into new group
    repeat with i from (count of Symbol_Items) to 1 by -1
    move (item i of Symbol_Items) to beginning of New_Group
    end repeat
    -- New symbol from group
    make new symbol at end with properties ¬
    {name:"My New Symbol", source art:New_Group}
    -- Replace instances
    set symbol of every symbol item to symbol "My New Symbol"
    -- Clean up
    delete every page item of layer "Opened Symbol"
    delete layer named "Opened Symbol"
    delete symbol 1
    end tell
    end tell

Maybe you are looking for

  • Not able to highlight text. Help please?

    Hi I am trying to build a tool which is going to be used to to load an html book and the make some notes on it. Now I am trying to highlight. I am in thye very beginning so I just try to highlight a small part from the begginig not the user, this is

  • Restrict Item Category Item Creation using Reference Only

    Hi All Here is the scenario, I want  "Restrict Item Category Item Creation using Reference Only" a.Retrieve document number VBELN from sales order header table VBAK for the current order. Check if the sales order is of type ‘ZAB’ referencing field AU

  • Camera RAW update for Nikon D3300

    I recently purchased the Nikon D3300 - I use PS CS5.1 and do not plan on upgrading right now -  problem is that it won't open RAW files for the D3300 and I can't seem to find the correct update for Camera RAW to be able to process them  - anyone have

  • How to send data back to the server

    i create a program to send data back to ther server using j2me. its work well on emulator but when i install the application on sony ericsssin p910i or k700i or nokia 7710 then its not working and simply hang. here is sample code which is run well on

  • (5 + 6) / 2 = ?

    Here is my code to calculate the expression (5 + 6) / 2: public class Trytosee      public static void main(String[] args)         double x;           x = (5 + 6) / 2;           System.out.println(x); I got the result from the output Screen: 5.0. I w