Set level for bookmarks using applescript or javascript

hi everyone!
In my indesign document having 3 paragraphs. And set bookmarks of level one by one to these paragraphs.
Please anyone can help me?
tell application "adobe indesign cc 2014"
tell active document
set selectItem to item 1 of selection
set textdestinate to make hyperlink text destination with properties {name: selectItem, destination text:item 1 of selection}
set BknameInnerItem to make new bookmark with properties {destination:textdestinate}
end tell
end tell
--Then,   how to set bookmark level in the hyperlink text destination properties? Is it possible?

To add a new level, add a bookmark to another bookmark; that will automatically indent it.

Similar Messages

  • Setting PREFIX for DIMENSION_TABLE using OMB Scripting

    I'm trying all day to find a way to set PREFIX for DIMENSION_TABLE
    using OMB script without success and I'm a little confused now.
    First of all Scripting Reference does not mention about PREFIX
    property so maybe there is no way to achieve what I want. Consequently
    it would mean that GUI interface is "stronger" than OMB Scripting.
    Secondly I don't understand why when I issue following command in OMB
    Plus:
    OMBDESCRIBE CLASS_DEFINITION 'DIMENSION_TABLE' GET PROPERTY_DEFINITIONS
    I get nothing (empty output, no errors) and when I execute:
    OMBDESCRIBE CLASS_DEFINITION 'DIMENSION_TABLE' GET PROPERTIES
    (STEREOTYPE, IS_ABSTRACT, DESCRIPTION)
    I get:
    class false {}
    First result suggests that there are no properties for DIMENSION_TABLE
    and second proves that there are at least three.
    Is there some type/properties inheritance here?
    Can someone explain me this and tell how can I:
    1. find all valid types (I would like to set prefix for LEVEL,
    LEVEL_ATTRIBUTE, etc. too)
    2. find all properties for these types
    regards
    Tomasz Gajewski

    You misunderstood me. I don't want to rename DIMENSION_TABLE. When creating DIMENSION_TABLE with gui I set NAME and PREFIX for each DIMENSION_TABLE and LEVEL.
    PREFIX for level is used later during deploy to distinguish attributes from different levels.
    Example. If I have a level named LEVEL_NAME with prefix LN and an attribute of it named ID than table generated for this contains column LN_ID.
    When I create DIMENSION_TABLE using OMB Script prefix is set same as name (default behaviour that I can't change) and it is to long to use.
    Scripting Reference doesn't mention about PREFIX property. Should I assume that the only way to change these values are through OWB GUI?
    regards
    Tomasz Gajewski

  • Set Desname for PDF using Oracle Applications

    We are running Oracle Applications 11i, 8i database on a Unix box and use windows 2000, internet explorer, acrobat 6.0 to run, and view the reports.
    I just finished redesigning a Oracle report to output to PDF instead of printing on a preprinted form.
    The user has requested that the output file (Report) be saved to a specific directory on a server that is on the windows platform.
    The report is being run from the concurrent manager inside of Oracle Applications, which seems to be over writing my desname that is specified in my report (rdf). Our current workaround is that the user opens the file in acrobat and save it to the desired directory, which they have to set manually for each session.
    Is there a way to run a report on UNIX and output the report to a windows directory?
    Thanks in advance...

    There is a better workaround than opening an saving on desktop...I have never tried this but have an idea...that would work 100%.
    The standard configuration of apps 11i is that the output file is placed in $APPLCSF/out and its on the Unix Box...but if u have apps running on NT environemnt then just share the file system of $APPLCSF with the desktop...Pretty simple....
    If apps is running on Unix then u need to install software like Samba on Unix so that the desktop will be able to share the file system of unix on desktop....
    Try it out...
    Best of luck

  • HP 6300 all in one can't set up for wireless use

    can't set up for wireless use

    That is because the printer does not support wireless connectivity to a router.  You can with an optional Bluetooth adapter to one computer wireless.  However since this has an Ethernet connection you can connect it to your router via this or you can use the below information to convert your Ethernet wired printer to wireless.
    Connect wireless printer anywhere, convert from wired, bypass failed radio, add WPA2 security.
    http://h30434.www3.hp.com/t5/Printer-Networking-an​d-Wireless/Connect-your-wireless-printer-when-away​...
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

  • Patch set level for financial family

    Hai All
    I have some confusion regrding family & module. These are quries
    1) what is the difference between a family and a module.
    2) what are the different families and modules present & how to find out them in oracle applications.
    3) How can we find patchset level for a particular family in OA
    4) How can we find out different products in present in each family.

    1) what is the difference between a family and a module.Module is a specific Oracle Applications product (i.e. GL, AR, AP, FA, CE, ..etc).
    Minipack: An aggregation of patches at the product level. For example, Inventory Minipack G (11i.INV.G) contains all the latest patches for the Inventory product at the time the minipack was created. Minipacks are named in alphabetical sequence such as 11i.INV.E, 11i.INV.F, 11i.INV.G, and so on. Minipacks are cumulative. In other words, 11i.INV.G contains everything in 11i.INV.F, which contains everything in 11i.INV.E, and so on. The terms patchset and minipack are often used interchangeably.
    Family Pack: An aggregation of patches at the product family level. For example, Financials Family Pack C (11i.FIN_PF.C) contains all the latest patches for products in the Financials family at the time the family pack was created. Family product codes always end in "_PF" and family packs are given alphabetical sequence such as 11i.HR_PF.B, 11i.HR_PF.C, and 11i.HR_PF.D. Family packs are cumulative. In other words, Discrete Manufacturing Family Pack G (11i.DMF_PF.G) contains everything in 11i.DMF_PF.F, which contains everything in 11i.DMF_PF.E, and so on.
    2) what are the different families and modules present & how to find out them in oracle applications- Use Patchset comparison tool - patchsets.sh
    Note: 139684.1 - Oracle Applications Current Patchset Comparison Utility - patchsets.sh
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=139684.1
    - From OAM
    - Use Applications Diagnostic Tests
    - Use $AD_TOP/sql/adutconf.sql
    3) How can we find patchset level for a particular family in OAThe above should be helpful to find out patchset level for a particular family pack. You may also check the following thread:
    Family pack patching
    Family pack patching
    4) How can we find out different products in present in each family.On OracleMetaLink, click the Patches & Updates tab. Choose the Quick Links to the Latest Patchsets, Mini Packs, and Maintenance Packs link to see a listing of "Latest Oracle Applications 11i Packs"

  • Setting levels for bounce

    Hello all_
    Which is better when bouncing. Keeping the levels from clipping using the individual track faders or just lowering the Global output fader covering all the tracks. Is it better to keep the global output high or does matter at all. Just wondering how you all do this.
    Thanks for any info
    RealDave_

    as a general suggestion, you might want to invest in a book or find a short course you can take on basic audio engineering. what you're talking about here is referred to as 'gain structure' and it's an important and fundamental part of how you work with multitrack audio production. it's not a specific thing to logic, it's just one of the principles of audio engineering. it used to be a lot more critical in analog days when you were figthing against the accumulation of noise as you added more and more tracks together. today it's not the same anymore but there's still a lot to gained from developing good technique in this area.
    back in the day I know craig anderton put out a lot of great books that covered this kind of thing. maybe a bit of a search at amazon.com or even google will come up with some good material that you can look into.
    but in the meantime, here's a basic guideline: you should always be careful to ensure that you get healthy levels going on all your parts, and that you try to avoid overloading your master fader. healthy levels means that you're going to be making the best use of your dynamic range and getting the best resolution in your audio. and if you balance it all well and keep your master channel from getting too hot, you'll find it easier to mix without needing to do anything too drastic and pull back all your levels at bounce time. also, be sure to always work at 24 bit! there's no reason not to with today's gear, and it really does make it so much easier to get good sound without having to be too precious about your levels at all times. when you do your final mix, you just dither down to 16 bit.. or, if you're taking your stuff to a mastering house, output your mixes at 24 bit still, and they will master it at that bit depth and then produce final masters at 16 bit for you.

  • Set row as header using applescript

    I am new to AppleScript and I am writing my first script to crunch some data in numbers. I am trying to figure out how to set row one as the header row in sheet 1 using the script. Can anyone help?

    Here is a script a bit more powerful that what you asked for but it's of more general use.
    --{code}
    --[SCRIPT set_count_of_Xers]
    Enregistrer le script en tant que Script : set_count_of_Xers.scpt
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    Aller au menu Scripts , choisir Numbers puis choisir “set_count_of_Xers”
    En fonction des paramètres passés, le script fixera le nombre de Rangs d’en-tête, Colonnes d’en-tête ou Rangs de bas de tableau dans le tableau table_name de la feuille sheet_name du document doc_name.
    --=====
    L’aide du Finder explique:
    L’Utilitaire AppleScript permet d’activer le Menu des scripts :
    Ouvrez l’Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case “Afficher le menu des scripts dans la barre de menus”.
    Sous 10.6.x,
    aller dans le panneau “Général” du dialogue Préférences de l’Éditeur Applescript
    puis cocher la case “Afficher le menu des scripts dans la barre des menus”.
    --=====
    Save the script as a Script: set_count_of_Xers.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    Go to the Scripts Menu, choose Numbers, then choose “set_count_of_Xers”
    According to the defined parameters, the script will set the count of HEADer ROWs, HEADer COLUMNs or FOOTer ROWS in the table table_name of the sheet sheet_name in the document doc_name.
    --=====
    The Finder’s Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the “Show Script Menu in menu bar” checkbox.
    Under 10.6.x,
    go to the General panel of AppleScript Editor’s Preferences dialog box
    and check the “Show Script menu in menu bar” option.
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2011/09/21
    --=====
    property forTests : false
    true may be useful for tests. It triggers the handler select_SubMenu which list the UI elements.
    false is the setting to apply when the script is finished because it runs faster.
    --=====
    on run
              my activateGUIscripting()
    This script is a general one allowing to treat the defined table
              set doc_name to 1
              set sheet_name to "Feuille 2"
              set table_name to "Tableau 1"
              set which_item to 10
              set nb_Xers to 1
              my setNbXers(doc_name, sheet_name, table_name, which_item, nb_Xers) (* to set 1 HEADer ROW *)
    end run
    --=====
    which = 10 --> set count of HEADer ROWs
              my setNbXers(1, "Feuille 2", "Tableau 1", 10, 1) (* to set 1 HEADer ROW *)
    which = 11 --> set count of HEADer COLUMNs
              my setNbXers("my doc.numbers", "Sheet 5", "Table aux", 11, 4) (* to set 4 HEADer COLUMNs *)
    which = 14 --> set count of FOOTer ROWs
              my setNbXers("ASCII.numbers", "Sheet of paper", "TableTop", 14, 3) (* to set 3 FOOTer ROWs *)
    on setNbXers(docName, sheetName, tableName, whichItem, nbXers)
              my selectTable(docName, sheetName, tableName)
              if forTests then
                        my select_SubMenu("Numbers", 6, whichItem, nbXers + 1)
              else
                        my selectSubMenu("Numbers", 6, whichItem, nbXers + 1)
              end if
    end setNbXers
    --=====
    set { dName, sName, tName,  rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    on get_SelParams()
              local d_name, s_name, t_name, row_num1, col_num1, row_num2, col_num2
              tell application "Numbers" to tell document 1
                        set d_name to its name
                        set s_name to ""
                        repeat with i from 1 to the count of sheets
                                  tell sheet i to set maybe to the count of (tables whose selection range is not missing value)
                                  if maybe is not 0 then
                                            set s_name to name of sheet i
                                            exit repeat
                                  end if -- maybe is not 0
                        end repeat
                        if s_name is "" then
                                  if my parleAnglais() then
                                            error "No sheet has a selected table embedding at least one selected cell !"
                                  else
                                            error "Aucune feuille ne contient une table ayant au moins une cellule sélectionnée !"
                                  end if
                        end if
                        tell sheet s_name to tell (first table where selection range is not missing value)
                                  tell selection range
                                            set {top_left, bottom_right} to {name of first cell, name of last cell}
                                  end tell
                                  set t_name to its name
                                  tell cell top_left to set {row_num1, col_num1} to {address of its row, address of its column}
                                  if top_left is bottom_right then
                                            set {row_num2, col_num2} to {row_num1, col_num1}
                                  else
                                            tell cell bottom_right to set {row_num2, col_num2} to {address of its row, address of its column}
                                  end if
                        end tell -- sheet…
                        return {d_name, s_name, t_name, row_num1, col_num1, row_num2, col_num2}
              end tell -- Numbers
    end get_SelParams
    --=====
    on parleAnglais()
              local z
              try
                        tell application "Numbers" to set z to localized string "Cancel"
              on error
                        set z to "Cancel"
              end try
              return (z is not "Annuler")
    end parleAnglais
    --=====
    on decoupe(t, d)
              local oTIDs, l
              set oTIDs to AppleScript's text item delimiters
              set AppleScript's text item delimiters to d
              set l to text items of t
              set AppleScript's text item delimiters to oTIDs
              return l
    end decoupe
    --=====
    on activateGUIscripting()
      (* to be sure than GUI scripting will be active *)
              tell application "System Events"
                        if not (UI elements enabled) then set (UI elements enabled) to true
              end tell
    end activateGUIscripting
    --=====
    ==== Uses GUIscripting ====
    on selectTable(theDoc, theSheet, theTable)
              local maybe, targetSheetRow, rowIndex, r
              try
                        tell application "Numbers"
      activate
                                  set theDoc to name of document theDoc (* useful if the passed value is a number. Checks also that we passed the name of an open doc *)
                        end tell -- Numbers
              on error
                        if my parleAnglais() then
                                  error "The spreadsheet “" & theDoc & "” is not open !"
                        else
                                  error "Le tableur « " & theDoc & " » n’est pas ouvert ! "
                        end if -- my parleAnglais
              end try
              try
                        tell application "Numbers" to tell document theDoc
                                  set theSheet to name of sheet theSheet (* useful if the passed value is a number and check the availability of theSheet if it’s a string *)
                        end tell -- Numbers
              on error
                        if my parleAnglais() then
                                  error "The sheet “" & theSheet & "” is unavailable in the spreadsheet “" & theDoc & "” !"
                        else
                                  error "La feuille « " & theSheet & " » n’existe pas dans le tableur « " & theDoc & " » ! "
                        end if -- my parleAnglais
              end try
              try
                        tell application "Numbers" to tell document theDoc to tell sheet theSheet
                                  set theTable to name of table theTable (* useful if the passed value is a number and check the availability of theSheet if it’s a string *)
                        end tell -- Numbers
              on error
                        if my parleAnglais() then
                                  error "The table “" & theTable & "” is unavailable in the sheet “" & theSheet & "”  of the spreadsheet “" & d & "” !"
                        else
                                  error "La table « " & theTable & " » n’existe pas dans la feuille « " & theSheet & " »  du tableur « " & d & " » ! "
                        end if -- my parleAnglais
              end try
              set maybe to 5 > (system attribute "sys2")
              tell application "System Events" to tell application process "Numbers"
                        tell outline 1 of scroll area 1 of splitter group 1 of splitter group 1 of window theDoc
                                  if maybe then (* macOS X 10.4.x
    '(value of attributes contains 0)': '(value of attribute "AXDisclosureLevel" is 0)' sometimes works in Tiger, sometimes not.
    The only possible instances of 0 amongst the attributes are the disclosure level of a sheet row and the index of the first row, which represents a sheet anyway.
    Another possibility is '(value of attribute -1 is 0)', which makes me uneasy. *)
                                            set targetSheetRow to first row where ((value of attributes contains 0) and (value of first static text is theSheet))
                                  else (* macOS X 10.5.x or higher *)
                                            set targetSheetRow to first row where ((value of attribute "AXDisclosureLevel" is 0) and ((groups is {}) and (value of first static text is theSheet)) or (value of first group's first static text is theSheet))
                                  end if -- maybe
                                  tell targetSheetRow to set {value of attribute "AXSelected", value of attribute "AXDisclosing"} to {true, true}
      -- Get the sheet row's 0-based index + 2 for the following row's 1-based index.
                                  set r to (value of attribute "AXIndex" of targetSheetRow) + 2
                                  repeat until (value of first static text of row r is theTable)
                                            set r to r + 1
                                  end repeat
                                  set value of attribute "AXSelected" of row r to true
                        end tell -- outline 1 …
              end tell -- System Events
    end selectTable
    --=====
    my selectSubMenu("Pages",6, 4, 26)
    ==== Uses GUIscripting ====
    on selectSubMenu(theApp, mt, mi, ms)
              tell application theApp
      activate
                        tell application "System Events" to tell process theApp to tell menu bar 1 to ¬
                                  tell menu bar item mt to tell menu 1 to tell menu item mi to tell menu 1 to click menu item ms
              end tell -- application theApp
    end selectSubMenu
    --=====
    useful to get the indexs of the triggered item
    my select_SubMenu("Numbers", 6, 10, 1+1) (* Table > Header rows > 1 *)
    on select_SubMenu(theApp, mt, mi, ms)
              tell application theApp
      activate
                        tell application "System Events" to tell process theApp to tell menu bar 1
                                  get name of menu bar items
    01 - "Apple",
    02 - "Numbers",
    03 - "Fichier",
    04 - "Édition",
    05 - "Insertion",
    06 - "Tableau",
    07 - "Format",
    08 - "Disposition",
    09 - "Présentation",
    10 - "Fenêtre",
    11 - "Partage",
    12 - "Aide"}
                                  get name of menu bar item mt
      -- {"Tableau"}
                                  tell menu bar item mt to tell menu 1
                                            get name of menu items
    01 - "Insérer un rang d’en-tête au-dessus"
    02 - "Insérer un rang d’en-tête en dessous"
    03 - missing value
    04 - "Insérer une colonne d’en-tête avant"
    05 - "Insérer une colonne d’en-tête après"
    06 - missing value
    07 - "Supprimer le rang"
    08 - "Supprimer la colonne"
    09 - missing value
    10 - "Rangs d’en-tête"
    11 - "Colonnes d’en-tête"
    12 - "Bloquer les rangs d’en-tête"
    13 - "Bloquer les colonnes d’en-tête"
    14 - "Rangs de bas de tableau"
    15 - missing value
    16 - "Ajuster les rangs au contenu"
    17 - "Ajuster les colonnes au contenu"
    18 - missing value
    19 - "Afficher tous les rangs"
    20 - "Afficher toutes les colonnes"
    21 - "Activer toutes les catégories"
    22 - missing value
    23 - "Fusionner les cellules"
    24 - "Diviser en rangs"
    25 - "Diviser en colonnes"
    26 - missing value
    27 - "Répartir les rangs uniformément"
    28 - "Répartir les colonnes uniformément"
    29 - missing value

  • How to use AppleScript, Safari, JavaScript, and jQuery together

    Hello to all,
    I am running AppleScript to populate some forms on various websites, but to activate some behaviors on the various forms that I can't activate with Safari and JavaScript I think I might need jQuery. Only problem is that I don't really know how to get the functions of jQuery embedded into a running AppleScript.
    Would any of you knowledgeable people know how to accomplish this.
    Any help would be welcome.
    Thank you,
    Chris

    Yes I did get to that part.... I went trough external to retrive itunes folder... When I selected the folder, it said that it was locked, choose another folder... I then went to my external again to my itunes folder and and used command I to see if folder was locked and it wasn't.... it was suggested on another forum to reboot.. which I did and still same problem... All I want to do is link my external hard drive that has my itunes playlist from another Mac to my new one.. and to also use the external as the main source for adding new songs to my playlist...

  • How to set stationery in Mail, using AppleScript

    Is there a way to automatically use specific stationery with Mail, from an AppleScript script?
    To the script below I would like to add an instruction which asigns stationery to the mail message, and so far I have not yet found a working way of doing it.
    on run {theSubject, theBody, theAttachment}
              tell application "Mail"
                        set newMessage to make new outgoing message with properties {visible:true, subject:theSubject, content:theBody & return & return}
                        tell content of newMessage
      make new attachment with properties {file name:theAttachment} at after the last paragraph
                        end tell
      activate
              end tell
    end run
    I found an Automator example which requires the installation of an action, but once installed, it does not work. (It must have worked in OSX 10.6, but it does not on Mountain Lion) Here: Automator: Examples
    Any ideas, anyone?
    Thanks, Oliver

    try this:
    tell application "Numbers"
              tell table 1 of sheet 1 of document 1
                        repeat with i from 1 to row count
                                  if value of cell 14 of row i is equal to renew_month then
                                            set address_to to value of cells of row i
                                  end if
                        end repeat
              end tell
    end tell

  • Setting permissions for scanner use

    Hello,
    My USB scanner is a Canon Lide 35 and it had been working perfectly in arch. After  a recent update (don't know exactly which because do not use scanner so often), the device is detected and device is set in /dev/bus/usb/005/00x. The problem is that the permissions are not set correctly, I assume by udev?, and my normal user cannot use the scanner because the device remains as owned by root.root and not 0664, group=scanner, as specified in the sane udev rules (/etc/udev/rules.d/53-sane.rules). The rules file is with the new syntax, i.e., ATTRS instead of SYSFS and so forth. My user belongs to the "scanner" group. I have the feeling it is something related with the udev rules but Im not sure what. Here is the relevant line:
    # Canon CanoScan LiDE 35 | Canon CanoScan LiDE 40 | Canon CanoScan LiDE 50
    ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="2213", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
    The latest update where kernel stuff and udev stuff were updated resulted in:
    kernel-headers-2.6.24.3-1  udev-119-1...
    Any help greatly appreciated,
    Regards,
    Felipe.

    It appears that udev has problems with rules matching by idVendor when system is up and running but everything is ok if device was online during boot. Please check out this bug http://bugs.archlinux.org/task/9935 and comments. If You have the same problem then please vote for this bug and/or post a comment.
    Thank You.

  • Set Variant for RHINTE00 using RS_CREATE_VARIANT

    HI All,
    I want to set variant only for employee id select option in report RHINTE00 using RS_CREATE_VARIANT. Since there is no direct access to Select Option so how can i achieve it.
    Thanks,
    Shailesh S. Malkar.

    Hi,
    Please reffer below code for implemeting 'RS_CREATE_VARIANT'
    *----- varid
      move sy-mandt             to i_varid-mandt.
      move 'RPCTXFU0'           to i_varid-report.
      move var_name1            to i_varid-variant.
      move sy-uname             to i_varid-ename.
      move sy-datum             to i_varid-edat .
      move sy-uzeit             to i_varid-etime.
      move 'A'                  to i_varid-environmnt.
    *----- varit
      move sy-mandt             to i_varit-mandt.
      move sy-langu             to i_varit-langu.
      move 'RPCTXFU0'           to i_varit-report .
      move var_name1            to i_varit-variant.
      concatenate 'Customer Variant'(o01) var_name1 into i_varit-vtext.
      append  i_varit.
          call function 'RS_CREATE_VARIANT'
             exporting
                  curr_report               = 'RPCTXFU0'
                  curr_variant              = var_name1
                  vari_desc                 = i_varid
             tables
                  vari_contents             = rsparams_tab
                  vari_text                 = i_varit
             exceptions
                  illegal_report_or_variant = 01
                  illegal_variantname       = 02
                  not_authorized            = 03
                  not_executed              = 04
                  report_not_existent       = 05
                  report_not_supplied       = 06
                  variant_exists            = 07
                  variant_locked            = 08
                  others                    = 99.
    Regards,
    Arun

  • How to set levels for external swf's??? loading code added!

    hi,
    im using flash cs5, as2.
    i have a main index fla that loads into it 5 swf's.
    i need these 5 to be loaded into a lower level than the main index fla (index has to be the highest level)
    how can this be acheived?
    i have no idea on how or where to code this.
    my code for loading the movies is:
    F1
    var IndexLoaded = _root.getBytesLoaded();
    var total = _root.getBytesTotal();
    var percent = int(IndexLoaded/total*100);
    var loadingName = "Loading.. " + percent + "%" + " of " + "Index";
    var checkFrameplay = 0;
    Bar_anime.gotoAndStop(percent);
    Loadtext_txt.text = loadingName;
    if (IndexLoaded == total) {
                    var n = 0;
                    gotoAndPlay(3);
    F2
    gotoAndPlay(1);
    F3
    var movie:MovieClip = _root.StoredActions.Con.createEmptyMovieClip("movie"+n,n +1);
    loadMovie(n+".swf",_root.StoredActions.Con["movie"+n]);
    var MovieLoaded = 0;
    percent = 0;
    _root.StoredActions.Con["movie"+n]._x = 3000;
    F4
    MovieLoaded = _root.StoredActions.Con["movie"+n].getBytesLoaded();
    loadTotal = _root.StoredActions.Con["movie"+n].getBytesTotal();
    percent = int(MovieLoaded/loadTotal*100);
    Bar_anime.gotoAndStop(percent);
    loadingName = ("Loading.. " + percent+ "%" + " of "+ n);
    Loadtext_txt.text = loadingName;
    if (loadTotal>10) {
                    if (MovieLoaded>=loadTotal) {
                                    gotoAndPlay(6);
    F5
    gotoAndPlay(4);
    F6
    if (n < _root.nMenus) {
                    n++;
                    gotoAndPlay(3);
    } else {
                    gotoAndStop("Stopload");
                    _root.gotoAndPlay("Playmovie");
    F7
    stop();
    thanks in advance for any help.
    sajjy

    hi,
    i understand what you are saying about the code, im no advance user of as2 but i can say from all the research i have done, iv not seen anyone using this sort of code, its all over the place.
    but on the other hand, even though its a mess, its working and all the site functions and buttons work well with the code.
    basically the main.swf is the structure of the site, it has all the images/frames in the right places.  the other swfs load into a little window on the main.swf.  this window has some shading/reflections on it and the problem i have is when i scroll the movieclips, they scroll over the shading/reflections making it look tacky, if i didnt use any scrolling it would be fine but i need to use it due to having a small window.
    the content of the window is controlled by a button thats on the main.swf.
    each of the loaded swfs have dynamic text, movieclips, buttons to open external html windows.  nothing advance to be honest, all the interactive movieclips are controlled by clicking on them, navigating to another frame (using labels).
    i would upload the files for you to have a look but im under strict ruling that i cant share the content as its not yet been released to the public.
    i hope that helps clear a few things up for you.  if i cant get the levels to work then i guess it will have to stay like that or i will have to scrap the whole project and start again.

  • Ideal ipod volume level for vehicle use?

    what is the ideal volume level to have your ipod at when used in your vehicle, considering volume control would then be controlled from the vehicles head unit? clear signal and sound quality are my concern. thanks.

    It depends on far more information than you are giving.
    How is it connected up to to the head unit?
    Eith some connections, teh volume of the iPod is self is irrelevant and makes no difference.
    I have mine connected thru a cassette tape adapter.
    I set the iPod to about 2/3 way up. This seems to eliminate any distortion/static caused by the head unit trying to amplify too small of a signal (thereby boosting the noise also).

  • Set KOKRS for ECATTs using CO-Transactions like KP06

    Dear Collegues,
    how can i make sure the ECATT i create does set the KOKRS if nessessary for transactions like KP06 for example?
    I just did record the KP06 transaction now and defined the paramters as following:
    KOKRS     Kostenrechnungskreis          I     KOKRS          C     4     
    VERSION     Version               I     VERSN          C     3
    PERVON     Periode ab               I     KPLA_PERBL          N     3
    PERBIS     Periode bis               I     KPLA_PERBL          N     3
    GJAHR     Geschäftsjahr          I     GJAHR          N     4
    KOSTL     Kostenstelle               I     KOSTL          C     10     
    KOART     Kostenart               I     KSTAR          C     10     
    PLANFIX     Geplante Fixkoste          I     WERTV8          P     15     2
    VS     Verteilschlüssel          I     SPRED          C     4          
    My problem is now, how to set the KOKRS to the value of the import-file, which is including all fields mentioned above within this KP06 ECATT? I just thought about smth. like following:
    IF KOKRS = ' '.
      ABAP.
      ENDABAP.
    But how to use the values from the importfile here?
    Any other more easy solutions for this issue?
    Thanks a lot in advance
    Best regards
    Carsten Klatt
    Endif.
      TCD ( KP06 , KP06_RECORD_2 ).

    You do not need a separate input file, just use internal variants for the test data in the eCATT test configuration or handle you data for input in external variant files (which have format of csv).
    See also the [online help|http://help.sap.com/saphelp_smehp1/helpdata/de/da/f1383fe58d5900e10000000a114084/content.htm].
    Kind regards,
    Christoph

  • Setting cookies for safari using java

    Dear all
    I am new to cookie programming. Is there some way so that I can set cookies in Safari on Mac.
    I need to set the user's login information in cookie for a particular site then i need to launch that particular website.
    The code samples will better help. Pls help me as i am in urgent need.
    Regards
    Shobhit Jain

    Can you explain what this will do? Is this a type of
    wildcard for all domains?The answer to my question is that you can't do it, and for good reason. There is a security restriction against creating/accessing cookies from unrelated domains (and ".com" won't cut it). So I just did a complete proxy solution and translated all requests and maintained the cookies for the browser.
    I am not sure what setDomain("/") would do - I am pretty sure that is just invalid (but it is a valid path, however).

Maybe you are looking for