How to go from AppleScript 1.0 to 1.9 or higher?

Maybe this is a stupid question, but I wonder how I could move from AppleScript 1.0 to 1.9 or higher. I recently downloaded a programme that requires at least 1.9. I then checked my AppleScript version that was installed as part of the Tiger installation, and it was 1.0. According to Apple's support pages it should have been of the late versions. Unfortunately after version 1.8.3 Apple did not provide any download for updating AppleScript (as far as I could find it in this jungle of support pages).
So any hint how to update AppleScript would be great.
Thanks and best,
nbo
Powerbook G4 17"   Mac OS X (10.4.7)  

There's no way you're running AppleScript 1.0.
AppleScript 1.10 was released with Tiger (Mac OS X 10.4). Version 1.0 dates back many years (certainly pre-Mac OS X).
What's more likely to be the problem is the app you're running is incorrectly checking the version number of AppleScript, not expecting the 1.x number to be more than 1 digit. It's explained a little more in the AppleScript Release Notes, specifically:
Scripts that compare AppleScript version numbers using string comparisons will need to be changed in order to work correctly with the new AppleScript version number. A considering numeric strings statement must be added before the string comparison so that the string “1.10” will be greater than the string “1.9.3”.
Scripts that compare version numbers by coercing the version class to a real number and then doing numeric comparisons will need to be changed. The coercion from version to real has been changed to allow the second and third parts of the version number to be 0..15 instead of 0..9. As a result, the version 1.2.3 will now coerce to the real number 1.0203. Previously, it would coerce to the real number 1.23.
If you have the source for the script you should update its version number checking to be compatible with the current standard. If you don't have it you'll need to contact the developer and get them to update it

Similar Messages

  • How to update from 4.2.1 to iso 5 or higher

    how to update from iso 4.2.1 to iso 5 or higher. Not able to download certain apps that are iso 5 and higher. Need help please

    The iPhone 3G can not be upgraded beyond 4.2.1.

  • How can I add javascript text fields to Acrobat pages from Applescript please?

    I have a real need to add text fields to Acrobat document pages from Applescript. I can't access the Headers and Footers from Applescript in Acrobat XI. I can set watermarks using the following script, but cannot for the life of me work out how to add text fields. Any advice please?
    Regards
    set TempAttachmentName to "(20140717121212Z)"
    set PreserveFileName to "This is a test"
    set bypass to false
    tell application "Adobe Acrobat Pro"
      activate
      set CountOfPages to count of pages
      repeat with PageCounter from 1 to CountOfPages
      tell application "System Events" to tell process "AdobeAcrobat"
      try
      click menu item "Page..." of menu 1 of menu item "Go To" of menu 1 of menu bar item "View" of menu bar 1
      tell current application to delay 0.1
      keystroke PageCounter as text
      tell current application to delay 0.1
      keystroke return
      if not bypass then
      my ADDHeaderFooter(TempAttachmentName, PreserveFileName & " " & CountOfPages, PageCounter)
      end if
      end try
      end tell
      end repeat
    end tell
    on ADDHeaderFooter(The_String1, The_String2, currentPage)
      tell application "Adobe Acrobat Pro"
      activate
      set myDocument to document 1
      tell myDocument
      tell page currentPage
      set cbox to crop box
      set item 2 of cbox to (item 2 of cbox) + 44
      set item 4 of cbox to (item 4 of cbox) - 44
      set media box to cbox
      set crop box to cbox
      set theResult1 to my Add_WaterMarkText(The_String1, "IDAutomationHC39M", 12, 1, 1, 1, 0, 3, 10, 3, 0)
      do script theResult1
      set theResult2 to my Add_WaterMarkText(The_String2, "Times", 16, 1, 1, 1, 0, 4, 10, -6, 0)
      do script theResult2
      end tell
      end tell
      end tell
    end ADDHeaderFooter
    on Add_WaterMarkText(cText, cFont, nFontSize, nS, nE, nTA, nHA, nVA, nHV, nVV, nR)
      set Params to "cText: '" & cText & "'," & return
      set Params to Params & "cFont: '" & cFont & "'," & return
      set Params to Params & "nFontSize: '" & nFontSize & "'," & return
      if class of nS is integer then set Params to Params & "nStart: " & (nS - 1) & "," & return
      if class of nE is integer then set Params to Params & "nEnd: " & (nE - 1) & "," & return
      -- 0 = left, 1 = centre, 2 = right
      if class of nHA is integer then set Params to Params & "nHorizAlign: " & nHA & "," & return
      -- 3 = top, 4 = bottom
      if class of nVA is integer then set Params to Params & "nVertAlign: " & nVA & "," & return
      -- offset in points
      if class of nHV is integer then set Params to Params & "nHorizValue: " & nHV & "," & return
      -- offset in points
      if class of nVV is integer then set Params to Params & "nVertValue: " & nVV & "," & return
      if class of nR is integer then set Params to Params & "nRotation: " & nR & "," & return
      set javascript to "this.addWatermarkFromText({" & Params & "});"
      return javascript
    end Add_WaterMarkText

    G'day
    Unfortunately I don't have the API. My Adobe Reader installation updating to version XI failed, and subsequent attempts to fall back on the X version are blocked by the partial install of XI. Damn Adobe stuff.
    Could someone please post the relevant part of the API to give me some pointers, please.
    I ha mucked about with some information I found on the Web, and come up with the following, which fails because I can't work out how to address the current document with the variable myDoc.
    Regards, Brian
    set Params to Params & "var myDoc = this;" & return
    set TempAttachmentName to "(20140717121212Z)"
    set PreserveFileName to "This is a test"
    set bypass to false
    tell application "Adobe Acrobat Pro"
      activate
      set CountOfPages to count of pages
      repeat with PageCounter from 1 to 1 # CountOfPages
      tell application "System Events" to tell process "AdobeAcrobat"
      try
      click menu item "Page..." of menu 1 of menu item "Go To" of menu 1 of menu bar item "View" of menu bar 1
      tell current application to delay 0.1
      keystroke PageCounter as text
      tell current application to delay 0.1
      keystroke return
      if not bypass then
      my ADDHeaderFooter(TempAttachmentName, PreserveFileName & " " & CountOfPages, PageCounter)
      end if
      end try
      end tell
      end repeat
    end tell
    on ADDHeaderFooter(The_String1, The_String2, currentPage)
      tell application "Adobe Acrobat Pro"
      activate
      set myDoc to document 1
      tell myDoc
      tell page currentPage
      set cbox to crop box
      set item 2 of cbox to (item 2 of cbox) + 44
      set item 4 of cbox to (item 4 of cbox) - 44
      set media box to cbox
      set crop box to cbox
      set theResult1 to my Add_WaterMarkText(The_String1, "IDAutomationHC39M", 12, 1, 1, 1, 0, 3, 10, 3, 0, myDoc)
      do script theResult1
      set theResult2 to my Add_WaterMarkText(The_String2, "Times", 16, 1, 1, 1, 0, 4, 10, -6, 0, myDoc)
      do script theResult2
      end tell
      end tell
      end tell
    end ADDHeaderFooter
    on Add_WaterMarkText(cText, cFont, nFontSize, nS, nE, nTA, nHA, nVA, nHV, nVV, nR, myDoc2)
      #set Params to "var myDoc = app.newDoc();" & return
      set Params to ""
      set Params to Params & "var myDoc = this;" & return
      set Params to Params & "var inch = 72;" & return
      set Params to Params & "var Bbox = this.getPageBox(" & "\"Crop\"" & ");" & return
      set Params to Params & "var f = myDoc.addField(" & "\"Text1\"" & ", " & "\"" & cText & "\"" & ", 0, [72, Bbox[1]-inch, Bbox[2]-2*inch, Bbox[1]-2*inch ] );" & return
      set Params to Params & "f.strokecolor = color.black;" & return
      set Params to Params & "f.richText = true;" & return
      set javascript to Params
      return javascript
    end Add_WaterMarkText

  • How to run ps cs4 js script from applescript

    Hi, I need to call photoshop js from applescript. Here what I have so far:
    tell application "Adobe Photoshop CS4"
        activate
        set myScript to "Applications:Adobe Photoshop CS4:Presets:Scripts:_NDF_Ph_saveAsTif.jsx"
        do javascript (myScript)
    end tell
    and it's compiles, but when runs, gives me "Error 25: Expected: ;." message.
    How can I call ps script from as.
    Thank you very much for your help.
    Yulia

    You have 2 ways either JavaScript supplied as string or as file. If you are going the route of file then you need to coerce your path string to 'alias' this will fail if it does NOT exist. Here are 2 examples. You also have option to pass arguments as list.
    -- As String
    set JavaScript to "myTest();
    function myTest() {
    var docRef = app.activeDocument;
    var docWidth = docRef.width;
    var docHeight = docRef.height;
    var docSize = docWidth + ' x ' + docHeight
    return docSize
    tell application "Adobe Photoshop CS2"
    activate
    set Doc_Ref to the current document
    tell Doc_Ref
    do javascript JavaScript ¬
    show debugger on runtime error
    display dialog the result
    end tell
    end tell
    -- As File
    set ScriptPath to (path to applications folder as text) & "Adobe Photoshop CS2:Presets:Scripts:Hello.jsx" as alias
    tell application "Adobe Photoshop CS2"
    activate
    set Doc_Ref to the current document
    tell Doc_Ref
    do javascript ScriptPath ¬
    show debugger on runtime error
    end tell
    end tell

  • How can I use Applescript to copy a file's icon to the clipboard?

    Hello,
    How can I use Applescript to copy a file's icon to the clipboard?
    Thanks.
    Lennox

    there is no way to do that that I know of. but you can extract an icon of a file to another file using command line tool [osxutils|http://sourceforge.net/projects/osxutils]. you can then call the relevant command from apple script using "do shell script".

  • How can I use AppleScript Studio to display an image

    How can I use AppleScript Studio to display an image in a dialog?

    Add an image well to your window in Interface Builder.
    You can also add an image file to the Resources group of your Xcode project and then set the image to be displayed inside the image well directly in Interface Builder. No AppleScript code is needed if the image is contained within your app bundle and can be set ahead of time like this.
    If the image is contained in your app's bundle but you need to set or change the image at run time then you can use a line of AppleScript to load it into the image well using just it's filename:
    set image of image view "yourImageView" of window "yourWindow" to load image "YourImageFile.jpg"
    If you need to load an image from an arbitrary location outside your app's bundle then use a path to the image file...
    set image of image view "yourImageView" of window "yourWindow" to load image "/path/to/YourImageFile.jpg"
    Steve

  • How transfer file from garageband mac to garageband iPad?

    how transfer file from garageband mac to garageband iPad?

    In answer to the question:
    how transfer file from garageband mac to garageband iPad?
    Transfering a file from Garageband on the Mac to Garageband in the iPad is not just a case of putting it in iTunes as a number of people seem to state.  The XML package which is the Garageband Song File has to be changed before a Garageband Mac file will be downloadable to the iPad.  This can be done manually but is time consuming and tedious.  After doing it manually a few times and making mistakes, I have created an Applescript Application to do this called:
    Garageband Mac to iPad Oneshot Converter
    I have made a video of the converter in use which I have post on my Youtube ' fixed1t ' pages.  This Application and the video solves the question above and shows the song file on the mac being moved and running on the iPad.
    http://www.youtube.com/watch?v=4ruT-dUhh2c
    There is a link on the Description of the fixed1t youtube video to enable viewers to download a trial version. The link will also allow viewers to purchase a copy once you have tried i, but you are under no obligation to purchase and the trial is completely free.  I am selling it for £5 UK and I will receive over £4 of this should you decide to purchase using the PayPal link.
    Please try it out and give me feedback, even if you don't wish to buy it.
    Thanks Malcolm (aka fixed1t)
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.
    <Edited by Host>

  • Passing variables from Applescript to bash

    Hello,
    I'm trying to pass variables from Applescript to bash using the following code
    #!/bin/bash
    osascript <<EOF
    tell application "SystemUIServer"
    set username to text returned of (display dialog "Enter your name" with icon caution default answer ""  buttons{"Continue"})
    set macname to text returned of (display dialog "Enter name of your Mac" with icon caution default answer ""  buttons{"Continue"})
    do shell script "export USERNAME=" & quoted form of username & " && export MACNAME=" & quoted form of macname
    end tell
    EOF
    echo "USERNAME is $USERNAME, MACNAME is $MACNAME"
    but no luck
    Mac-mini:Downloads admin$./new.command
    USERNAME is , MACNAME is
    Any help would be greatly appreciated.

    I just realized you are returning 2 variables.  That can still be handled by echoing/printing the values, you just have to parse the output, or use other tricks.
    VALUES=( $(osascript -e '...') )
    This would make VALUES an array, with each array element containing one space separate return value from osascript
    USERNAME=${VALUES[0]}
    MACNAME=${VALUES[1]}
    If USERNAME or MACNAME could have spaces in them, you would need to use some kind of separator character.  For example if you use @ as the separator you could do something like:
    VALUES=$(osascript -e '...')
    USERNAME=${VALUES%@*}
    MACNAME=${VALUES#*@}
    which will %@* will delete everything starting with the @ til the end of the string, and #*@ will delete everything from the beginning of the upto and including the @.
    Another trick is to have the return values be properly formed shell variable assignments such as
    print "USERNAME='your user name' MACNAME='Your Mac Name' " -- I'm making this up as I do not really know Applescript, so you will have to figure out how to get Applescript to print something that looks like
    USERNAME='your user name' MACNAME='Your Mac Name'
    In your shell script you have code that looks like:
    VALUES=$(osascript -e '...')
    eval $VALUES
    The eval will execute whatever is stored in $VALUES, and if that happens to look exactly like shell variable assignments, you get the variables created in the current shell context, where can use them.

  • CS4 do javascript from AppleScript

    Hi all,
    Consider this AppleScript snippet:
    tell application "Adobe Illustrator"
    do javascript myFile with arguments {"one", "two"}
    end tell
    The file "myFile" is executed OK, but how does myFile (a JavaScript script) get the arguments passed in from AppleScript? I don't see this documented anywhere.
    Thanks,
    Chuck

    Since nobody answered this:
    In your Javascript, you will find an arguments array containing the arguments you passed from Applescript or VBscript
    So, using your example, if you added this line to your JSX file:
    alert(arguments[0]);
    You would get an alert saying "one" when you ran your Applescript.

  • Confused on moving from applescript to action

    I hope I can describe this properly.
    I'm building an Automator workflow that starts with a series of AppleScripts, performing various tasks on folders and files contained therein, and then finishes with several Automator Actions.
    In an earlier version I used "Get Specified Finder Items" to select a folder, then a few other Actions followed. That worked fine. Now, I'd like to have that selected folder be what is known to AppleScript as the "temporary items" folder.
    In AppleScript I can do this:
    <pre style=" font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    set myTempFolder to "TheFilesAreHere"
    set theTempFolder to folder myTempFolder of (path to temporary items)
    </pre>
    ...but then I can't figure out how to get that along as my "specified finder item" to continue my Workflow.
    I hope this makes sense... I suppose I can clarify if needed.
    Thanks.

    berghjon wrote:
    heh... here is an interesting discovery... when you "return" a variable from AppleScript it only passes to THE NEXT ACTION... an early version of my workflow had a 3-second pause (this was necessary at the time... not anymore).
    Now that the pause is removed, the "return" is behaving as expected.
    Thanks for the help.
    P.S., I don't fully understand POSIX path business, but there is apparently no functional difference between:
    POSIX path of (theTempFolder as alias)
    POSIX path of (theTempFolder as text)
    POSIX path of (theTempFolder as alias) as text
    should there be?
    yes, "as text" at the end is unnecessary. this is passed as text anyway. I frankly don't understand why
    POSIX path of (theTempFolder as text)
    works. it seems to be able to convert the text version of the path to theTempFolder which is : delimited to the unix path version which is / delimited. You can ask in the apple script forum for an explanation. i don't really understand it.

  • Automating installations -- changing network settings from AppleScript

    How can I change a computer's DHCP client ID's and name from AppleScript (or a shell script)? This is to automate Mac OS X deployments.

    This has been successfully resolved by electing to 'forget' both devices (the new AirPort Express unit and existing Time Capsule), doing a factory reset of both, and then re-scanning to add devices through AirPort Utility.

  • How to migrate from exchange 2007 to 2013 step by step tutorials please

    Hi
    I am running Windows Server 2008 standard, with exchange 2007 SP2 on it.
    We have 800 mailbox in total
    Our domain controllers are
     Win2012 R2 and I would like to upgrade to Exchange 2013 on Windows server 2012 R2.
    I am running a VM, on VMware environment, so my Windows 2012 R2 is a VM.
    Is there a website or document that explains in detail, step by step how to upgrade from 2007 to 2013.
    I currently only have 1 exchange server 2007, with all the roles on the one server.  I would like to keep that same as
    well with exchange 2013.
    Thanks

    Exchange server deployment assistant is always a good service provider to achieve this task as it simply ask few questions about your current environment and proceed further accordingly.
    You can refer to this blog explained by technet team that will assist you further to gather more information in depth : http://blogs.technet.com/b/meamcs/archive/2013/07/25/part-1-step-by-step-exchange-2007-to-2013-migration.aspx
    Moreover, to avoid the interruptions and proceed a hassle-free migration from exchange 2007 to 2013, this application (http://www.exchangemigrationtool.com/) could also be a good approach to accomplish
    migration task in more secure way.

  • Does anyone know how to upgrade from 4.1 to 4.3 ios?

    After being tricked by the fast talking smoothy helper at Apple store in London to buy a micky mouse ipodtouch (fourth generation) two years ago I am stuck at ios 4.1 and find that all the useful applications need 4.3 or more. So I went to the trouble of letting the macbook stay open all night to load yet another micky mouse version of itunes so that I can upload the more recent version of ios and now (since I don't want to continually have a lot of rubbish on the ipod I disabled the automatic sync "feature") I can only go round in circles  whereby the only real possibility left is to turn on the autosync feature. I have had messages like "your ipod will be completely erased if you proceed" and "do you wish to fiddle another few days with this nasty system, then click on continue" and so on.
    Does anyone know how to upgrade from 4.1 to 4.3 ios?
    That would be great (maybe) because otherwise I will toss this children's waste product on the floor and set up my HD camera to show how easy it is to smash the brightly lit screen into pieces and relieve myself of trash which Apple sell to unsuspecting gullible humans who believe that they are not being tricked by such a nice company who produce shiny colourful gadgets which only work for a month or two before becoming 100% obsolete.
    Great to hear from those who have wasted many months of their lives and discovered how to trick the system into doing a simple update operation!
    I am insulted by the tricks that fool many and that apple pretend are "necessary".
    Germany 2014 01 11 16 19 27

    Illaass, your help is amazing - miles better than anyone working in this part of the world who is paid - and you do this for free - because, like me, you LOVE to help people!
    BUT, as I said above -
    1. There is nothing "mobile" under Application Support. For whatever reason.
    2. Devious - that Apple has set up iPod to not show in Finder - a red herring and sign that corruption is visible.
    I will try iFunBox next and it sounds like they provide this for the more serious users but use a trivial name to excuse further strangeness.
    After
    There are purchased items on the iPod that have not been transferred to your iTunes library. You should transfer these items to your iTunes library before updating the iPod. Are you sure you want to continue?
    I get
    Updating to iOS 6.1.5 will backup and restore the apps, media, contacts, notes, and settings on your iPod touch.
    Please do not interrupt the update, which may take an hour or longer to complete.
    Cancel          Update
    And then I wait for hours to arrive at the above mentioned
    Backing up iPod   \\\\\\\\\\\\\\\\\\\\\\\\\ Stop
    and then as above
    An error occurred while backing up this iPod (0xE8000084). Would you like to continue to update this iPod?
    Continuing will result in the loss of all contents on this iPod.
    Cancel                Continue
    and so we are back to where we always land - the user is left in the Apple designed sabotage situation which annoyed me so much initially.
    "Most users will give up at this point, loose all the data or buy yet another disposable from Apple. Less than 3% will work their way to this site and 90% of the 3% will leave the iPod to gather dust in the hope that someone will help later. In all, Apple gains, since people blame themselves for "mistakes" which Apple programmed to throw out users who do not take the 100% Apple path. But Illaass and myself still play the game of "trying to fix" something which Apple don't allow."  was the comment which I was going to write but decided against it, adding no value to the conversation other than explaining one reality which we all hoped could be wrong but which I thought to have a very high chance of being closer to the truth.
    Apologies for my doubts towards the integrity of the creators.
    2014 01 13 12 11 58 17
    Recheck: Under Application Support "mobilesync" folder has appeared (MobileMeSyncClient has also appeared [while again trying to update iPod] with zero size) - Good news, a Backup file is there, but it is only 3GB while my iPod has 32GB and is close to full (800MB free space).
    Latest at
    2014 01 13 12 09 22
    The iPod could not be restored. An unknown error occurred (9).
    More Infomation    OK
    So it looks like I may have lost all the important pictures documenting various items all around Europe for the last two years - luckily I moved a year ago from the iPod toy camera to a Panasonic real camera with SD card which can be read on any computer. Hence important items lost may only be older than one year rather than the most recent items.
    Glad I have changed to Panasonic since they don't try to screw you when you don't use their system.
    I will now check the "more information" rather than just click on "OK" since I am of the 3% who "don't accept cr*p".
    For full information I quote that the iPod now shows a screen with a USB ikon, an upward arrow and an iTunes ikon (all micky mouse language which reduces transparant, clear and technical discussion and thus covers the trail of "where things went wrong").
    The iPod is still attached to the computer but the above MMTALK may mean that the iPod should be attached via USB to the mac. I record much of this activity on Video to be able to later prove EXACTLY what occurred, rather than having to rely on screenshots and opinions. We are after all dealing with important items which may later be required to be shown in court, as evidence against fraudsters.
    The "More Information" link leads to
    Resolve iOS update and restore errors in iTunes
    which I have already seen before.
    I clicked on OK and a help screen (unnamed as ever because no one like myself demanded that the help screens be named for later discussion) arrived:
    You can help Apple improve its products a
    while copying this into this message the computer began to start up Final Cut Pro and this was cancelled, then iTunes came up with a message:
    iTunes has detected an iPod in recovery mode. You must restore this iPod before it can be used with iTunes.
    ok
    And I presume the earlier message about helping Apple is gone because I keep getting interrupted by this message called
    iTunes has detected an iPod in recovery mode. You must restore this iPod before it can be used with iTunes.
    ok
    it has appeared now at least six times interferring with anything else I do. Each time I try to write, this message appears and blocks, but only when I write. I tried to do a carriage return and the message appeared taking the carriage return as acceptance of the OK in the
    iTunes has detected an iPod in recovery mode. You must restore this iPod before it can be used with iTunes.
    ok
    Message. But since I have not removed the USB and keep returning to this message I am able to write for a few seconds (now 30 seconds or more) and the message remains on the screen but not blocking this conversation. It appears to be random but in fact as you can later see from the video, it is not reappearing each periodic number of seconds but as I reach a new comment.
    I will try to close iTunes so that this can be stopped (I clicked on OK and it appeared another few times, each time I clicked on ok and now it has left me in peace to write here although iTunes is still not yet closed).
    Difficult to log down all the strange behaviour but I think you can get the gist of what is going on.
    2014 01 12 12 49 27
    Should I remove the iPod and stop iTunes? I have a nasty feeling turning to indifference since I have video footage which will verify all the above in a court of law if later required. The truth must always win over any devious attempts at forcing people to do things they don't want to ;-)
    2014 01 13 13 03 48

  • 1) How to Boot from SAN for T4-1 Server with Solaris 11.1 OS on the disk? 2) How to SMI Label/Format a disk while OS Installation in Solaris 11.1?

    FYI....boot from SAN is required for physical server (T4-1) (not OVM).
    1) How to Boot from SAN for T4-1 Server with Solaris 11.1 OS on the disk?
    The SAN disks allocated are visible in ok prompt. below is the output.
    (0) ok show—disks
    a) /pci@400/pci@2/pci@0/pci@f/pci@0/usb@0, 2/hub@2/hub@3/storage@2/disk
    b) /pci@400/pci@2/pci@0/pci€a/SUNW, ezalxs@0, l/fp@0, 0/disk
    e) /pci@400/pci@2/pci@0/pci@a/SUNW, ealxs@0/fp@0, 0/disk
    d) /pci@400/pci@2/pci@0/pci@8/SUNW, emlxs@0, l/fp@0, 0/disk
    e) /pci@400/pci@2/pci@0/pci@8/SUNW,enlxs@0/fp@0,0/disk
    f) /pci@400/pci@2/pci@0/pci@4/scsi@0/disk
    g) /pci@400/pci@1/pci@0/pci@4/scsi@0/disk
    h) /iscsi—hba/disk
    q) NO SELECTION
    valid choice: a. . .h, q to quit c
    /pci@400/pci@2/pci@0/pci@a/SUNW, ealxs@0/fp@0, 0/disk has been selected.
    Type “Y ( Control—Y ) to insert it in the command line.
    e.g. ok nvalias mydev “Y
    for creating devalias mydev for /pci@400/pci@2/pci@0/pci@a/SUNW,emlxs@0/fp@0,0/disk
    (0) ok set—sfs—boot
    set—sfs—boot ?
    We tried selecting a disk and applying sfs-boot at ok prompt.
    Can you please help me providing detailed pre-requesites/steps/procedure to implement this and to start boot from SAN.
    2) How to SMI Label/Format a disk while OS Installation in Solaris 11.1?
    As we know that ZFS is the default filesystem in Solaris 11.
    We have seen in the Oracle documentation that for rpool below are recommended:
    - A disk that is intended for a ZFS root pool must be created with an SMI label, not an EFI label.
    - Create root pools with slices by using the s* identifier.
    - ZFS applies an EFI label when you create a storage pool with whole disks.
    - In general, you should create a disk slice with the bulk of disk space in slice 0.
    I have seen the solution that using format -e, we change the labelling but all the data will be lost, whats the way to apply a SMI Label/Format on a rpool disks while OS Installation itself.
    Please provide me the steps to SMI Label a disk while installaing Solaris 11.1 OS.

    Oracle recommends below things on rpool: (thats reason wanted to apply SMI Label)
    I have seen in the Oracle documentation that for rpool below are recommended:
    - A disk that is intended for a ZFS root pool must be created with an SMI label, not an EFI label.
    - Create root pools with slices by using the s* identifier.
    - ZFS applies an EFI label when you create a storage pool with whole disks.
    - In general, you should create a disk slice with the bulk of disk space in slice 0.

  • How to out from infinite while loop in sub VI

    Dear Sir,
    how to out from infinite while loop in sub VI from main VI
    attached photo for solution but I can't understand it and i can't find the function in photo 
    please help
    Attachments:
    stop_subVI_frm_main.JPG ‏36 KB

    Asking how to get out of an infinite loop is like asking how to find the end of a circle. I'm not trying to be sarcastic but by definition, if there is a way out of the loop, then it is not infinite. I think what you are asking is how to avoid creating an infinite loop. Is there something about the suggestions you have been given that you do not like? My favorite suggestion is the notifier but maybe you just need an example. Turn on context help and read about the notifier functions in the code below.
    This is your top level VI
    And this is your subVI
    If this seems too complex then a global variable will work too. But what seems simpler can cause much more complex bugs. You can code fast and spend lots of time debugging or you can code slow and spend less time debugging. Personally I perfer writing productive code than looking for bugs any time.
    =====================
    LabVIEW 2012

Maybe you are looking for

  • Firefox does not save toolbar I made

    Since FF upgraded me to Firefox 23 My tool bars are messed Every time I make a new toolbar Via "Customize" > "Add New Toolbar" after I exit it does not save. Yes I read over 10 different articles on it. 1) I deleted the localstore.rdf and started fro

  • ITunes not launching because of newer version?

    Since yesterday I have been unable to launch iTunes. I clicked on the icon on my desktop and it started to do what looked like an update. When it finished it left this message 'The file "iTunes Library itl" cannot be read because it was created by a

  • Large images show up as red boxes?

    hello all --- im looking for some advice/feedback i designed this website a while back http://www.angusmcritchie.com/ apparently the images i used in a scoller show up as red squares on some peoples computers. ( they are extremely long - 20,000 px wi

  • How to display record in column mode?

    Hi, I have difficulty in displaying record in column mode. Example: I have CALENDAR table with column DATECOL CALENDAR DATECOL DATE Data in CALENDAR table is follow : 1/1/06, 2/1/06, 3/1/06, 4/1/06, 5/1/06, 6/1/06 How to create SELECT statement so re

  • Why do I get Error 33487 when measuring TC signals with FieldPoint

    I am measuring temperature with a cFP-2000 and cFP-TC-120 using K-type thermocouples. I am intermittantly getting Error 33487 (Signal out of measurement range) from FP Read.vi the first time the unit tries to take a data sample after startup (it auto