Automator Variable and Find Finder Items

Hello!
I am creating a quick Automator file to grab any files within a folder and copy them to another folder.  It prompts the user for a file name.  I used this http://hints.macworld.com/article.php?story=20080213200213250 post to attempt a work around for the Find Finder Items not allowing a variable as an input.  Any ideas how to get this to work?
Thanks!
-Josh

Bit late but this came up tops when I was having the same issue.
You will find your created variable at the bottom of the workflow panel, from ther eyou can just drag them into the drop down menus.

Similar Messages

  • Putting Variables in Action "Find Finder Items"

    Hello! I'm using Automator to make a workflow. One of my action in my workflow is to find finder items. I'd like to tell Automator to find items that start with a specific string of text (the text is "016") stored in a variable. Since Automator does not allow me to insert a variable directly, I tried to add the variable by adding the variable's UUID. I followed the method outlined in this website:
    http://hints.macworld.com/article.php?story=20080213200213250
    But even after I put my variable's UUID as "$(9051E0AA-257F-4F00-9A58-50677FB0C07E)", it seems that Automator does not understand, as the results of the action "Find Finder Items" returned no files at all. I tried to store my string as "Storage" and "Text" and used the same method, but it still didn't work. Thank you very much!

    I'm not sure what the action is using to search, but a name extension does not include the period. Another approach would be to get the entire contents of the memory card, and filter the items from there.

  • How to find colums in CLOB variable and get this colums value to update col

    Question
    How to find colums in CLOB variable and get this colums value to update colum of oracle database table
    How my work will go
    Step-1 - I am creating XML FIle which is based on code that we discused before-
    Its developing xml file with data in <...inputelement> as u can see in my xml but in <..output> Element of xml its just have all column for exampe <itemoutput>
    <FLD NM = "ABC"> 0 </FLD>
    <FLD NM = "XYZ:> </FLD> --- for varchar2
    </itemoutput>
    In 1st stage i am just generating <..INPUT> with its colums and real value from database and <..output> elements will go zero value but with colums name.
    Note. I create temp table will all COLUMN which u can see in both in <..ITEMINPUT> and <..ITEMOUTPUT>
    Step2.. After Generaing my xml i want to convert my xml data into CLOB not in a file. so clob will go to the VENDOR
    STEP3.
    I will Recieved again xml data in CLOB from the vendo in <.OUTPUT> ELEMents
    for example
    I send this format
    <itemoutput>
    <FLD NM = "ABC"> 0 </FLD>
    <FLD NM = "XYZ:> </FLD> --- for varchar2
    </itemoutput>
    And i will receive it
    <itemoutput>
    <FLD NM = "ABC VALUE"> 2 </FLD>
    <FLD NM = "XYZ TYPE:> SUV</FLD> --- for varchar2
    </itemoutput>
    So will take this output valu from xml clob and will update my staging table .
    Which have the same colum name as its look in xml clob.
    Step- 4. I will take this value from staging table and update my original oracle database table. which i send you before.
    But u leave this step becaue you dont know the staging table colum maping with original table.
    I think now you understand
    Please feed back
    monriz

    here is my xml..
    I want to extract <..output> elements which enclosed with " " and its values from this xml file. please any body have any idea. please tell me
    Thanks
    <?xml version="1.0" ?>
    - <RATABASECALC COPYRIGHT="COPYRIGHT 2001>
    - <RATEREQUEST USEREFID="YES">
    - <ANCHOR>
    <DATABASENAME />
    <DATABASEPW />
    <DATABASESOURCE />
    <DATABASEPRVDR />
    <USERNAME />
    <SEVERITYDES />
    <CALLDES />
    <INITACCDES />
    <INITACCV />
    <ITEMSEQDES />
    <ITEMMATCHDES />
    <CENTURYDES />
    <DATEDES />
    <FORMULADES />
    <STRINGDES />
    <VALIDATIONDES />
    <STEPSDES />
    <RETINFONUM />
    <ADDLRETINFONUM />
    <ANCHORNOMATCH />
    <NOMATCHMSG />
    <TRANUUID />
    <LOGOPTION />
    <MSGOPTION />
    <USERLOGFN />
    <NOITEMERROR />
    <LOGFORMAT />
    <LOGFN />
    <STEPSFN />
    <NUMNOMATCH>0</NUMNOMATCH>
    <NUMERRORS>0</NUMERRORS>
    </ANCHOR>
    - <POLICIES>
    - <POLICY>
    <BUSINESSDES>N</BUSINESSDES>
    <LEGALENTITYOWNER>CGI TRAINING AND DEMONSTRATION</LEGALENTITYOWNER>
    <LEGALENTITYNAME>CGI TRAINING AND DEMONSTRATION</LEGALENTITYNAME>
    <COMPEFFDATE>02/01/2000</COMPEFFDATE>
    <RETRIEVALDATE>02/01/2000</RETRIEVALDATE>
    <POLINPUTS />
    - <POLOUTPUTS>
    <FLD NM="POLICY CALCS DONE IND">Y</FLD>
    <FLD NM="TOTAL DISCOUNTED POLICY PREM">2167.52</FLD>
    <FLD NM="TOTAL POLICY PREMIUM">3180.0</FLD>
    </POLOUTPUTS>
    - <LOBS>
    - <LOB>
    <LEGALENTITYPRODGROUP>PERSONAL AUTOMOBILE</LEGALENTITYPRODGROUP>
    - <LOBINPUTS>
    <FLD NM="MULTI-CAR FACTOR">0</FLD>
    <FLD NM="MULTI-CAR IND">Y</FLD>
    </LOBINPUTS>
    <LOBOUTPUTS />
    - <REGIONS>
    - <REGION>
    <LEGALENTITYREGION>MAINE</LEGALENTITYREGION>
    - <REGIONINPUTS>
    <FLD NM="STATE PREMIUM AMOUNT">0</FLD>
    </REGIONINPUTS>
    - <REGIONOUTPUTS>
    <FLD NM="TOTAL STATE PREMIUM">2356.0</FLD>
    <FLD NM="TOTAL DISCOUNTED STATE PREM">2167.52</FLD>
    <FLD NM="TOTAL STATE DISCOUNT AMOUNT">188.48</FLD>
    </REGIONOUTPUTS>
    - <REGIONERRORS>
    <NUMLOGENTRIES>3</NUMLOGENTRIES>
    <NUMRETURNLOGENTRIES>0</NUMRETURNLOGENTRIES>
    </REGIONERRORS>
    - <COVERAGES>
    - <COVERAGE RBID="COVP1L1R1C1">
    <COVFORMULAINDEX FORMREF="FMLAP1L1R1F1" />
    <COVINPUTS />
    - <COVOUTPUTS>
    <FLD NM="DEDUCTIBLE BUYBACK">145.0</FLD>
    </COVOUTPUTS>
    <COVCONTROL />
    </COVERAGE>
    - <COVERAGE RBID="COVP1L1R1C2">
    <COVFORMULAINDEX FORMREF="FMLAP1L1R1F2" />
    <COVINPUTS />
    - <COVOUTPUTS>
    <FLD NM="DEDUCTIBLE BUYBACK">209.0</FLD>
    </COVOUTPUTS>
    <COVCONTROL />
    </COVERAGE>
    - <COVERAGE RBID="COVP1L1R1C3">
    <COVFORMULAINDEX FORMREF="FMLAP1L1R1F3" />
    <COVINPUTS />
    <COVOUTPUTS />
    <COVCONTROL />
    </COVERAGE>
    </COVERAGES>
    - <ITEMS>
    - <ITEM>
    - <ITEMINPUTS>
    <FLD NM="COLLISION DEDUCTIBLE">100</FLD>
    <FLD NM="COMP DEDUCTIBLE">FULL</FLD>
    <FLD NM="INEXPERIENCED OPERATOR IND">N</FLD>
    <FLD NM="LIABILITY LIMIT">100</FLD>
    <FLD NM="SYMBOL">15</FLD>
    <FLD NM="TOWING INDICATOR">Y</FLD>
    <FLD NM="INEXPERIENCED OPER FACTOR">0</FLD>
    <FLD NM="VEHICLE SYMBOL">0</FLD>
    <FLD NM="MODEL YEAR">1997</FLD>
    <FLD NM="COST NEW">0</FLD>
    <FLD NM="DRIVER TRAINING INDICATOR">N</FLD>
    <FLD NM="GOOD STUDENT IND">N</FLD>
    <FLD NM="CLASS CODE">11</FLD>
    <FLD NM="COLL RATE">0</FLD>
    <FLD NM="TERRITORY">001</FLD>
    <FLD NM="COMP RATE">0</FLD>
    <FLD NM="PROTECTIVE DEVICE CODE">B</FLD>
    <FLD NM="ANTI LOCK BRAKE IND">Y</FLD>
    <FLD NM="MED RATE">0</FLD>
    <FLD NM="MEDICAL PAYMENTS LIMIT">1000</FLD>
    <FLD NM="PASSIVE RESTRAINT CODE">A</FLD>
    <FLD NM="UNINSURED MOTORISTS LIMIT">100</FLD>
    </ITEMINPUTS>
    - <ITEMOUTPUTS>
    <FLD NM="CLASS FACTOR">0.84</FLD>
    <FLD NM="TOTAL VEHICLE PREMIUM">1166.0</FLD>
    <FLD NM="TOTAL COLLISION PREMIUM">438</FLD>
    <FLD NM="TOTAL COMP PREMIUM">218</FLD>
    <FLD NM="TOTAL LIABILITY PREMIUM">475</FLD>
    <FLD NM="TOTAL MEDICAL PREMIUM">4</FLD>
    <FLD NM="TOTAL TOWING PREMIUM">4</FLD>
    <FLD NM="TOTAL UM PREMIUM">27</FLD>
    </ITEMOUTPUTS>
    - <ITEMNOMATCHES>
    <ITEMNUMNOMATCH>2</ITEMNUMNOMATCH>
    <ITEMRETURNNOMATCH>0</ITEMRETURNNOMATCH>
    </ITEMNOMATCHES>
    - <ITEMCOVINDEXES>
    <ITEMCOVINDEX COVREF="COVP1L1R1C1" />
    </ITEMCOVINDEXES>
    <ITEMCONTROL />
    </ITEM>
    - <ITEM>
    - <ITEMINPUTS>
    <FLD NM="COLLISION DEDUCTIBLE">50</FLD>
    <FLD NM="COMP DEDUCTIBLE">FULL</FLD>
    <FLD NM="INEXPERIENCED OPERATOR IND">N</FLD>
    <FLD NM="LIABILITY LIMIT">100</FLD>
    <FLD NM="SYMBOL">12</FLD>
    <FLD NM="TOWING INDICATOR">N</FLD>
    <FLD NM="INEXPERIENCED OPER FACTOR">0</FLD>
    <FLD NM="VEHICLE SYMBOL">0</FLD>
    <FLD NM="MODEL YEAR">1997</FLD>
    <FLD NM="COST NEW">0</FLD>
    <FLD NM="DRIVER TRAINING INDICATOR">N</FLD>
    <FLD NM="GOOD STUDENT IND">N</FLD>
    <FLD NM="CLASS CODE">12</FLD>
    <FLD NM="COLL RATE">0</FLD>
    <FLD NM="TERRITORY">001</FLD>
    <FLD NM="COMP RATE">0</FLD>
    <FLD NM="PROTECTIVE DEVICE CODE">0</FLD>
    <FLD NM="ANTI LOCK BRAKE IND">Y</FLD>
    <FLD NM="MED RATE">0</FLD>
    <FLD NM="MEDICAL PAYMENTS LIMIT">1000</FLD>
    <FLD NM="PASSIVE RESTRAINT CODE">0</FLD>
    <FLD NM="UNINSURED MOTORISTS LIMIT">100</FLD>
    </ITEMINPUTS>
    - <ITEMOUTPUTS>
    <FLD NM="CLASS FACTOR">0.88</FLD>
    <FLD NM="TOTAL VEHICLE PREMIUM">1190.0</FLD>
    <FLD NM="TOTAL COLLISION PREMIUM">468</FLD>
    <FLD NM="TOTAL COMP PREMIUM">194</FLD>
    <FLD NM="TOTAL LIABILITY PREMIUM">497</FLD>
    <FLD NM="TOTAL MEDICAL PREMIUM">4</FLD>
    <FLD NM="TOTAL TOWING PREMIUM">0</FLD>
    <FLD NM="TOTAL UM PREMIUM">27</FLD>
    </ITEMOUTPUTS>
    - <ITEMNOMATCHES>
    <ITEMNUMNOMATCH>2</ITEMNUMNOMATCH>
    <ITEMRETURNNOMATCH>0</ITEMRETURNNOMATCH>
    </ITEMNOMATCHES>
    - <ITEMCOVINDEXES>
    <ITEMCOVINDEX COVREF="COVP1L1R1C2" />
    </ITEMCOVINDEXES>
    <ITEMCONTROL />
    </ITEM>
    - <ITEM>
    <ITEMINPUTS />
    <ITEMOUTPUTS />
    - <ITEMNOMATCHES>
    <ITEMNUMNOMATCH>2</ITEMNUMNOMATCH>
    <ITEMRETURNNOMATCH>0</ITEMRETURNNOMATCH>
    </ITEMNOMATCHES>
    - <ITEMCOVINDEXES>
    <ITEMCOVINDEX COVREF="COVP1L1R1C3" />
    </ITEMCOVINDEXES>
    <ITEMCONTROL />
    </ITEM>
    </ITEMS>
    - <FORMULAS>
    - <FORMULA RBID="FMLAP1L1R1F1">
    <FORMULANAME>RATING MASTER</FORMULANAME>
    <FORMULARETRIEVALDATE>02/01/2000</FORMULARETRIEVALDATE>
    <FORMULACOMPEFFDATE>02/01/2000</FORMULACOMPEFFDATE>
    <FORMULANEWRENDES>N</FORMULANEWRENDES>
    <FORMULAUSERATEDATE>Y</FORMULAUSERATEDATE>
    <FORMULARATERETRIEVALDATE>02/01/2000</FORMULARATERETRIEVALDATE>
    <FORMULARATECOMPEFFDATE>02/01/2000</FORMULARATECOMPEFFDATE>
    </FORMULA>
    - <FORMULA RBID="FMLAP1L1R1F2">
    <FORMULANAME>RATING MASTER</FORMULANAME>
    <FORMULARETRIEVALDATE>02/01/2000</FORMULARETRIEVALDATE>
    <FORMULACOMPEFFDATE>02/01/2000</FORMULACOMPEFFDATE>
    <FORMULANEWRENDES>N</FORMULANEWRENDES>
    <FORMULAUSERATEDATE>Y</FORMULAUSERATEDATE>
    <FORMULARATERETRIEVALDATE>02/01/2000</FORMULARATERETRIEVALDATE>
    <FORMULARATECOMPEFFDATE>02/01/2000</FORMULARATECOMPEFFDATE>
    </FORMULA>
    - <FORMULA RBID="FMLAP1L1R1F3">
    <FORMULANAME>PREMIUM DISCOUNT</FORMULANAME>
    <FORMULARETRIEVALDATE>02/01/2000</FORMULARETRIEVALDATE>
    <FORMULACOMPEFFDATE>02/01/2000</FORMULACOMPEFFDATE>
    <FORMULANEWRENDES>N</FORMULANEWRENDES>
    <FORMULAUSERATEDATE>Y</FORMULAUSERATEDATE>
    <FORMULARATERETRIEVALDATE>02/01/2000</FORMULARATERETRIEVALDATE>
    <FORMULARATECOMPEFFDATE>02/01/2000</FORMULARATECOMPEFFDATE>
    </FORMULA>
    </FORMULAS>
    <REGIONCONTROL />
    </REGION>
    - <REGION>
    <LEGALENTITYREGION>NEW HAMPSHIRE</LEGALENTITYREGION>
    - <REGIONINPUTS>
    <FLD NM="STATE PREMIUM AMOUNT">0</FLD>
    </REGIONINPUTS>
    - <REGIONOUTPUTS>
    <FLD NM="TOTAL STATE PREMIUM">824.0</FLD>
    <FLD NM="TOTAL DISCOUNTED STATE PREM">0</FLD>
    <FLD NM="TOTAL STATE DISCOUNT AMOUNT">0</FLD>
    </REGIONOUTPUTS>
    - <REGIONERRORS>
    <NUMLOGENTRIES>2</NUMLOGENTRIES>
    <NUMRETURNLOGENTRIES>0</NUMRETURNLOGENTRIES>
    </REGIONERRORS>
    - <COVERAGES>
    - <COVERAGE RBID="COVP1L1R2C1">
    <COVFORMULAINDEX FORMREF="FMLAP1L1R1F4" />
    <COVINPUTS />
    - <COVOUTPUTS>
    <FLD NM="DEDUCTIBLE BUYBACK">0.0</FLD>
    </COVOUTPUTS>
    <COVCONTROL />
    </COVERAGE>
    </COVERAGES>
    - <ITEMS>
    - <ITEM>
    - <ITEMINPUTS>
    <FLD NM="COLLISION DEDUCTIBLE">500</FLD>
    <FLD NM="COMP DEDUCTIBLE">250</FLD>
    <FLD NM="INEXPERIENCED OPERATOR IND">Y</FLD>
    <FLD NM="LIABILITY LIMIT">100</FLD>
    <FLD NM="SYMBOL">11</FLD>
    <FLD NM="INEXPERIENCED OPER FACTOR">0</FLD>
    <FLD NM="VEHICLE SYMBOL">0</FLD>
    <FLD NM="MODEL YEAR">1996</FLD>
    <FLD NM="COST NEW">0</FLD>
    <FLD NM="DRIVER TRAINING INDICATOR">Y</FLD>
    <FLD NM="GOOD STUDENT IND">Y</FLD>
    <FLD NM="CLASS CODE">36</FLD>
    <FLD NM="COLL RATE">0</FLD>
    <FLD NM="TERRITORY">001</FLD>
    <FLD NM="COMP RATE">0</FLD>
    <FLD NM="PROTECTIVE DEVICE CODE">0</FLD>
    <FLD NM="ANTI LOCK BRAKE IND">0</FLD>
    <FLD NM="MED RATE">0</FLD>
    <FLD NM="MEDICAL PAYMENTS LIMIT">1000</FLD>
    <FLD NM="PASSIVE RESTRAINT CODE">0</FLD>
    <FLD NM="UNINSURED MOTORISTS LIMIT">100</FLD>
    </ITEMINPUTS>
    - <ITEMOUTPUTS>
    <FLD NM="CLASS FACTOR">1.11</FLD>
    <FLD NM="TOTAL VEHICLE PREMIUM">824.0</FLD>
    <FLD NM="TOTAL COLLISION PREMIUM">332</FLD>
    <FLD NM="TOTAL COMP PREMIUM">123</FLD>
    <FLD NM="TOTAL LIABILITY PREMIUM">334</FLD>
    <FLD NM="TOTAL MEDICAL PREMIUM">8</FLD>
    <FLD NM="TOTAL UM PREMIUM">27</FLD>
    </ITEMOUTPUTS>
    - <ITEMNOMATCHES>
    <ITEMNUMNOMATCH>2</ITEMNUMNOMATCH>
    <ITEMRETURNNOMATCH>0</ITEMRETURNNOMATCH>
    </ITEMNOMATCHES>
    - <ITEMCOVINDEXES>
    <ITEMCOVINDEX COVREF="COVP1L1R2C1" />
    </ITEMCOVINDEXES>
    <ITEMCONTROL />
    </ITEM>
    </ITEMS>
    - <FORMULAS>
    - <FORMULA RBID="FMLAP1L1R1F4">
    <FORMULANAME>RATING MASTER</FORMULANAME>
    <FORMULARETRIEVALDATE>02/01/2000</FORMULARETRIEVALDATE>
    <FORMULACOMPEFFDATE>02/01/2000</FORMULACOMPEFFDATE>
    <FORMULANEWRENDES>N</FORMULANEWRENDES>
    <FORMULAUSERATEDATE>Y</FORMULAUSERATEDATE>
    <FORMULARATERETRIEVALDATE>02/01/2000</FORMULARATERETRIEVALDATE>
    <FORMULARATECOMPEFFDATE>02/01/2000</FORMULARATECOMPEFFDATE>
    </FORMULA>
    </FORMULAS>
    <REGIONCONTROL />
    </REGION>
    </REGIONS>
    </LOB>
    </LOBS>
    - <RETINFOS>
    <TOTALRI>0</TOTALRI>
    </RETINFOS>
    </POLICY>
    </POLICIES>
    </RATEREQUEST>
    </RATABASECALC>
    Above xml data - some <...OUTPUT> elements has some FLD elements. and i want to take those outputelemt's FLD Elements data and update my oracle tables.
    Note: FLD = "Attribie" are the colums name of the tables
    back to top

  • Automator 2.2 "Copy Finder Items" Action Error

    Hello all,
    When I try to create an Automator workflow that finds a type of file (pdf) in a nested folder structure and copies those files to another folder - essentially extracting the pdfs from their nested folders - I get an error message.
    1) I use the "find Finder items" action. I specify the top-level folder and set the kind to "document"
    2) It returns 56 items
    3) I use "copy Finder items" action and specify a new folder
    4) The copy action fails stating that a given file "couldn't be saved in the folder". It does not always error-out on the same file. Changing or creating a new folder doesn't help.
    I have tried this under two user accounts with the same result. I have tried deleting preferences. The same error results.
    Any ideas?
    I am running 10.7.1 on a 15" MacBook Pro, early 2011.

    I was having the same issue.
    I found another solution: instead of copying files, you could move files.
    1) Duplicate your original folder (unless you want to move/extract your files entirely to the new folder) (right click the folder and select duplicate)
    2) Create a new folder as the destiny folder
    3) Open automator and use the following actions (in order) on the workflow
    - Find Finder Itens (browse to your source folder; select "any"; select "extension"; select "end with"; type "pdf") (you can do the same thing with the actions "get specified finder items" combined with "filter finder items")
    - Get Folder Contents (and mark repeat for each subfolder found) (use this action if you have subfolders)
    - Move Finder Itens (browse to your destination folder, that you created previously)
    Now you can delete the duplicated folder.

  • Automator Find Finder Items

    I have created an automator workflow to batch import photos into a document from within Word. The workflow works fine and has two processes:
    Find Finder Items
    Import Contents into Word Document
    The problem is when i run this workflow from within Word the Find Finder Items dialogue box opens up behind Word. All i do is use Mission Control to select the dialogue box but it would be easier and more convenient if it just popped up at the front. Does anyone know how to add an action to automator to bring the window to the front?
    P.S. I tested this from outside Word to make sure it wasn't specifically with Word. The same thing happened.
    Thanks,
    Adrian

    Peter Russell1 wrote:
    Yes, I was aware of changes in Leopard version, and did recreate the workflow from scratch. If you get AND, as expected, I wonder if there is some hidden AND/OR setting somewhere?
    not that I know of.

  • HT201210 I'm trying to update my iOS to 6.0, using iTunes (with my 4s connected via USB and WiFi is on also). I get a message that 'there are purchased items on my iPhone that have not been transferred to my iTunes library. Yet, I can't find those items!

    I'm trying to update my iOS to 6.0, using iTunes (with my 4s connected via USB and WiFi is on also). I get a message that 'there are purchased items on my iPhone that have not been transferred to my iTunes library. Yet, I can't find those items! Help!  There is not error message number just the text message. I've searched for an answer but have found nothing on "transfering items purchased to your iTunes library".

    Right click on your device icon on the left pane of iTunes and click on transfer pur....

  • HT204053 My wife and I have an iphone each using one apple id. How do we stop items being deleted from one phone and then find it has been deleted from the other?

    My wife and I have an iphone each using one apple id. How do we stop phone contacts being deleted from one phone and then find it has been deleted from the other?
    Also this works when one of us downloads an app it appears on the other iphone

    You need to use separate iCloud accounts. This will mean that you can both have your own separate contracts and calendars and put an end to them being deleted by each other.
    Whether or not you have a separate iTunes account, is up to you. If you have a separate iTunes accounts you will not be able to access the music, books, apps that have been purchased by the other. This may be exactly what you want, but it also means that you both may end up purchasing the same item.

  • File Share.Could not find the item, this item is no longer here, check the location and try again

    Hi all, I have a failover cluster Wiindows 2012 R2 server with file server.
    A few days ago, when users try to rename folders and the following error can not be appearing:
    "Could not find the item, this item is no longer here, check the location and try again"
    When I enter as a domain administrator, I can rename the directory.
    Do you know that you can be?
    regards
    Microsoft Certified IT Professional Server Administrator

    Good afternoon,
    and this solved it was a problem with
    Windows 7 and Windows Vista
    computers, a registry key that affects the
    Explorer process is corrupted.
    This registry key is ejcuta and
    solves:
    FolderDescriptions x86.reg
    greetings To Your
    Microsoft Certified IT Professional Server Administrator

  • Chnfind unable to find the decimal type by variable and sometimes "Round" command

    Dear all,
    During the work with Diadem I got two troubles. Could you please take a look and show me the wrong if you find the issue?
    1.) Here is my trouble as we see the photo below. It is most important problem which I have. I really have no idea why it could happened. It is alway happened to find a value with decimal type's variable, and even that variable is changed  to "str()".
    setlocale("en-gb")
    dim Min_point,Index_low,result
    Min_point=val(Data.Root.ChannelGroups(1).Channels("CopyYangle").Properties("minimum").Value)
    Min_point=round(Min_point,6)
    Min_point=str(Min_point)
    msgbox("The Min.Value is: "&Min_point)
    Index_low=Chnfind("ch(""CopyYangle"")<="&Min_point&"", 1)
    msgbox("Index No. of Min. Value is: "&Index_low)
    Index_low=Chnfind("ch(""CopyYangle"")<=-0.11374 ", 1)
    msgbox("Index No. of Min. Value is: "&Index_low)
    2.) Still the problem with ChnFind()  or  ChnFindreverse().   If I change the Rounds off a number to the nearest integer with the function "Round()" it might not work in ChnFindreverse(). Such like it works under 4, 6, 8 and even 7 but doesn't work with 3 and 5. Is this logical?
    setlocale("en-gb")
    Dim XE, Xchannel, Ychannel,round_N0
    Xchannel = "[2]/Right"
    T1 = Xchannel
    R1 =val(Data.Root.ChannelGroups(2).Channels("Right").Properties("maximum").Value)
    round_N0=4 ' <========= 3 and 5 Not work, 4, 6, 7, 8 .... work
    R1 =round(R1,round_N0) ' <=========
    msgbox("Max. point is: " &R1 &VbCrlf& "Round Nr is: "&round_N0)
    L1 = ChnFindReverse ("Ch(T1)>=R1",0)
    msgbox("Index number for Max.Point is: "&L1 &VbCrlf& "Round Nr is: "&round_N0)
     .tdx is a valid extensions for an attachement?
    If you couldn't open the TMD file. Please remove ".tdv" the attacments file name to make sure it is "ChnFind.tdx" but not "ChnFind.tdx.tdv".
    Kind regards / Mit freundlichen Grüßen
    J.Huang
    Attachments:
    ChnFind.TDM ‏5 KB
    ChnFind.tdx.tdv ‏39 KB

    Hello J.Huang,
    I downloaded the files and was able to get it to work. It looks like when you format the minimum value to a string, you loose precision and then ChnFind doesn't find the value your are looking for. He is an example which worked for me :
    Set oChnY = Data.Root.ChannelGroups(2).Channels("Right")
    sgValue = str(oChnY.Properties("minimum").Value,"d.ddddddddddddddd")
    Index = ChnFindReverse("Y<="&sgValue,,Array("Y"),Array(oChnY))
    LogFileWrite(Index)
     Using symbols (parameters 3 and 4) is not necessary to get the solution. The key is teh second value for "str" which formats using more digits. As soon as you reduce the number of digits, you may no longer get a result.
    Ther is an alternative to ChnFind, in case there is only one occurance in teh signal which has the minimum value
    Set oChnY = Data.Root.ChannelGroups(2).Channels("Right")
    Index = PNo(oChnY,oChnY.Properties("minimum").Value)
    LogFileWrite(Index)
     I hope one of the two options works for you. I tested the approach with teh first channel too and it worked as well

  • I scanned an item from my computer to my documents and it said then scan was complete. However, when I searched my documents the Item was not there. Where can I find the item?

    I scanned an Item from my computer to my documents. The scan was completed.  However, when I searched in my documents, the Item was not there.
    Where can I find the item scanned?

    Most scanners default to Pictures folder or the Desktop.
    If you select All My Files and Arrange by Date Added you should be able to find the file.
    If you turn on Show Path bar and Show Status bar for your Finder Window under View in the Menu bar, when you select the file you will see the path of the file in the bottom of the Finder window.

  • Finding and selecting (ticking) items in one shot in ZSDE_DNP - SAP SD

    Hi all,
    i am new here,
    looking for your supports,
    i have a small issue in the SAP SD module in the ZSDE_DNP screen.
    i want to select only 10 items randomly from around 100 items to process the delivery note, for this i have to first find that item using Ctrl + F and then select (Tick) it.
    is there any thing that i can minimize my steps of finding and selecting particular items in ZSDE_DNP screen.

    Welcome to the forum.  As a new member, I would like to inform you that there are certain rules and regulations applicable to this forum which you can find to your right screen. 
    Coming to your query, the transaction code indicated by you is not a standard one but a customized one.  Hence, please check with your ABAPer on the possibility of what you are expecting.
    G. Lakshmipathi

  • HT2905 No Display Duplicates under File. How to find and remove duplicate items in your iTunes library

    I now have iTunes ver 11.0.4.4 under Windows 7. I lost all iTunes stuff when updating to Windows 7. I have loaded thousands amd thousands of music files from backup disks, but there are many duplicates. I am attemping to re-establish my old library. I used to be able to remove duplicates quickly with the old iTunes. The new iTunes doesn't seem to offer the same service. Is there any way to remove duplicates quickly, or must I do it one by one?

    When deduping use Shift > View > Show Exact Duplicate Items as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks. If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin. Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    See also HT2905: How to find and remove duplicate items in your iTunes library
    tt2

  • Automator Action "Find Finder Items" bug...

    Hello,
    I created an application that searches SD flash memory cards (out of a Canon video camcorder) that are formatted FAT32 for files that have a .MOD extension and copies them to mounted server volumes for transcoding to .MOV (to later use in an editor). Most memory cards work with the "Find Finder Items" action item returning the whole contents of the SD card volume's MOD files. Other SD cards return no result even though the files are clearly visible to Finder when you manually look for them. When I run the workflow, it does the search and returns nothing without an error to the app. Any suggestions as to why some SD cards are different in this regard? Thanks!

    I'm not sure what the action is using to search, but a name extension does not include the period. Another approach would be to get the entire contents of the memory card, and filter the items from there.

  • Finding Order Lines with only top model and no child items

    Hi All,
    Can you please help me in finding out the Order lines which are having only top model and no child item and the lines total is zero. I framed a query for this but it takes too long time to retrieve such lines. the query is:
    select top_line_id, header_id,flow_status_code ,line_type_id
    from (select count(*) lines, top_model_line_id top_line_id, header_id,flow_status_code ,line_type_id
    from oe_order_lines_all
    where flow_status_code in ('BOOKED','ENTERED')
    and line_type_id IN (<line_type_id>))
    group by top_model_line_id,header_id,flow_status_code,line_type_id)
    where oe_totals_grp.get_order_total (header_id,top_line_id,'ALL')<=0
    and lines <=1
    order by line_type_id desc;
    Can you please help me in this case?
    Thanks
    Himanshu

    Hi,
    You can try including the condition top_model_line_id is not null. I think that would make the query faster because it would allow the use of an index. The query would look like:
    select top_line_id, header_id,flow_status_code ,line_type_id
    from (select count(*) lines, top_model_line_id top_line_id, header_id,flow_status_code ,line_type_id
    from oe_order_lines_all
    where flow_status_code in ('BOOKED','ENTERED')
    and top_model_line_id is not null
    and line_type_id IN (<line_type_id>)
    group by top_model_line_id,header_id,flow_status_code,line_type_id)
    where oe_totals_grp.get_order_total (header_id,top_line_id,'ALL')<=0
    and lines <=1
    order by line_type_id desc;Hope it helps.
    Regards.

  • HT2905 Does anyone know how to find and remove duplicate items in the new itunes 11?

    I am having a hard time trying to figure out how to find and remove duplicate items under the New iTunes 11? Its not as user friendly as in previous versions. Does anyone know how to figure this out?

    As Jim said View > Show Duplicates
    or
    Option + View > Show Exact Duplicates

Maybe you are looking for

  • Inserting and retrieving data from a al32UTF8 database USING SQL Developer

    hi guys, Before i post my questions , i think its better for me to provide you guys with my understandings first so that it easier to understand where/if i have gone wrong.. I am using Window XP and Oracle 10g Non-unicode client - a client program th

  • Dv4-1275mx Replaced Hard Drive Windows Vista System Recovery Failure

    I have a HP dv4 1275mx laptop and I just replaced the hard drive.  I got the Vista 64-bit hp system recovery discs from HP but the recovery has failed 4 times.  The hard drive is brand new and has more space than the old one.  It's a Western Digital

  • How to change the images used in the "Named people" tiles?

    After working on adding people/faces for a while, I find that in many cases the image used in the "Named people" tile for a particular person is the worst one possible. Is there a way to tell Lightroom to use a different image?

  • Netbeans and Oracle

    "Forgive me i am posting this in wrong section " I have windows 7 as host and ubuntu 9 as guest on my vbox. Netbeans is installed in ubuntu and oracle database is installed in win, now i want connect both of these to do my development work...plz spot

  • How to return and display an image created by a Struts 2 action object?

    Hi all, I'm Andrea and this is my first post on SDN. I'm developing a web based application using Struts 2 and I've got a problem with images management. It follows a brief description: Using a form in a jsp page it is possible to make a call to the