Looping through the screen

Hi Experts,
I have a requirement where we do not want to use screen flow and instead build appropriate logic in rulebase document.
Original Requirement Detail: (Simple)
Attribute_1 is shown to the user as drop down on a screen and available options in the drop down are "Form 1", "Form 2" and "Not Now". Suppose Attribute_1 is set with value "Form 1" then, user is taken to "Screen 1". Similarly if Attribute_1 is set with value "Form 2" then, user is taken to "Screen 2". Only if user selects "Not Now", investigation ends and user navigated back to "Summary" screen with outcome. If "Screen 1" or "Screen 2" rule fails, the investigation ends and user is navigated to summary screen.
Modified Requirement that made things complex:
After Attribute_1 is set with value "Form 1" then, user is navigated to "Screen 1" and after executing the "Screen 1" now it is expected to bring back to the screen with drop down where he can re-select "Form 2".
Is is possible to loop check and bring the user back to the screen from where he selected this option?
Thanks,
Vinay

You first 'simple' example can be addressed with some procedural rules, e.g.
the interview is complete if
…..both
…..…..the user selection = "Form 1" and
…..…..the Form 1 data has been collected
…..or
…..both
…..…..the user selection = "Form 2" and
…..…..the Form 2 data has been collected
…..or
…..the user selection = "Not Now"
the Form 1 data has been collected if
…..it is known whether or not the person is happy
the Form 2 data has been collected if
…..it is known whether or not the person likes summer
If you want the user to be able to investigate both Form 1 and Form 2 in the same interview session, then they cannot be selecting the Form from a drop-down list. A drop-down list associated with a variable (e.g. “the user selection” in the example above) represents a single value. It can’t be equal to both “Form 1” and “Form 2” in the same interview. If you need to offer the user the option of investigating both forms in the same interview, then I suggest using a Boolean for each. If you’re using a recent point release of OPA 10.4.x, then you could even make these Booleans checkboxes, e.g.
Screen: Form Selection
Does the user wish to investigate Form 1?.....[ ]
Does the user wish to investigate Form 2?.....[ ]
You don’t need to have a ‘not now’ option. If the user submits the screen without checking any boxes then you can interpret that as the user choosing not to investigate either of the forms.
The associated procedural rule for this second example could be something like this:
the interview is complete if
…..either
…..…..the user does not wish to investigate Form 1 or
…..…..both
…..…..…..the user wishes to investigate Form 1 and
…..…..…..the Form 1 data has been collected
…..and
…..either
…..…..the user does not wish to investigate Form 2 or
…..…..both
…..…..…..the user wishes to investigate Form 2 and
…..…..…..the Form 2 data has been collected
Cheers,
Jasmine

Similar Messages

  • Multi-record block (how do I loop through the block)

    I created a two canvas form. On the first canvas, the user enters data and selects 1 - 30
    reports that they want to run. When they click on <NEXT> button, I create a multi-record
    control block and display each record on the second screen using
    go_block;
    clear_block;
    move data;
    create_record;
    The user then selects on the second canvas which reports to run now and which to run later via
    a LOV. When they press the <RUN> button, I want to start at the first record and either run the
    report or schedule it. Then I want to move onto the second and the third until all selected reports
    have been handled. I know I should use a loop but can't seem to make it work.
    So my question is, How do I loop through the records in a multi-record control block, pass the information
    for that one record to a parameter form and then execute the request? Each control block record contains
    10 parameter fields.
    Thanks.
    Bob

    go_record(1);
    << do your processing >> -- This is executed only for the first record.
    if :system.last_record = 'TRUE' then -- If the 1st record is also the last record.
    RETURN;
    end if;
    LOOP
    next_record;
    << do your processing >>
    if :system.last_record = 'TRUE' then
    EXIT;
    end if;
    END LOOP;
    I created a two canvas form. On the first canvas, the user enters data and selects 1 - 30
    reports that they want to run. When they click on <NEXT> button, I create a multi-record
    control block and display each record on the second screen using
    go_block;
    clear_block;
    move data;
    create_record;
    The user then selects on the second canvas which reports to run now and which to run later via
    a LOV. When they press the <RUN> button, I want to start at the first record and either run the
    report or schedule it. Then I want to move onto the second and the third until all selected reports
    have been handled. I know I should use a loop but can't seem to make it work.
    So my question is, How do I loop through the records in a multi-record control block, pass the information
    for that one record to a parameter form and then execute the request? Each control block record contains
    10 parameter fields.
    Thanks.
    Bob

  • The monitor on my macbook is turned off while I was working, I could not in any way to do it again, I could see through the screen off the open pages I was working on, I had to turn off the machine and restart it. and it runs. O.O?

    The monitor on my macbook is turned off while I was working, I could not in any way to do it again, I could see through the screen off the open pages I was working on, I had to turn off the machine and restart it. and it runs. WHAT 'success? The report says the console like this: (at approximately 12.30)
    No receipt for 'com.apple.pkg.JamPackWorldMusicInstruments' found at '/'.
    03/05/11 12:08:30 [0x0-0x1e01e]. Com.apple.garageband [239] No receipt for 'com.apple.pkg.JamPackWorldMusicInstruments' found at '/'.
    03/05/11 12:08:30 [0x0-0x1e01e]. Com.apple.garageband [239] No receipt for 'com.apple.pkg.JamPackOneInstruments' found at '/'.
    03/05/11 12:08:30 [0x0-0x1e01e]. Com.apple.garageband [239] No receipt for 'com.apple.pkg.JamPackOrchestralInstruments' found at '/'.
    03/05/11 12:08:30 [0x0-0x1e01e]. Com.apple.garageband [239] No receipt for 'com.apple.pkg.JamPackRhythmSectionInstruments' found at '/'.
    03/05/11 12:08:30 [0x0-0x1e01e]. Com.apple.garageband [239] No receipt for 'com.apple.pkg.JamPackRemixToolsInstruments' found at '/'.
    03/05/11 12:08:32 MIDIServer [255] MIDIServer [255] starting; arch = i386
    03/05/11 12:34:35 com.apple.launchd [1] *** launchd [1] has started up. ***
    03/05/11 12:35:06 com.apple.launchd.peruser.501 [86] (com.apple.ReportCrash) Falling back to default Mach exception handlers. Could not find: com.apple.ReportCrash.Self
    03/05/11 12:35:09 com.apple.launchd.peruser.501 [86] (com.apple.Kerberos.renew.plist [110]) Exited with exit code: 1
    03/05/11 12:35:25 [0x0-0xd00d]. Com.skype.skype [127] WirelessAttach: IOServiceOpen error: e00002c7
    03/05/11 12:35:25 [0x0-0xd00d]. Com.skype.skype [127] WirelessAttach: IOServiceOpen error: e00002c7
    03/05/11 12:35:26 [0x0-0xd00d]. Com.skype.skype [127] WirelessAttach: IOServiceOpen error: e00002c7
    03/05/11 12:35:26 [0x0-0xd00d]. Com.skype.skype [127] WirelessAttach: IOServiceOpen error: e00002c7
    03/05/11 12:35:32 [0x0-0xd00d]. Com.skype.skype [127] WirelessAttach: IOServiceOpen error: e00002c7
    03/05/11 12:35:33 [0x0-0xd00d]. Com.skype.skype [127] WirelessAttach: IOServiceOpen error: e00002c7
    03/05/11 12:35:33 [0x0-0xd00d]. Com.skype.skype [127] WirelessAttach: IOServiceOpen error: e00002c7
    03/05/11 12:36:06 com.apple.WindowServer [64] Tue May 3 12:36:06 MacBook-Pro-17-of-Admin.local WindowServer [64] <error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint () to catch errors logged as They Are.
    03/05/11 12:43:39 helpd [160] Response failed Because Listener can not find a port for this QueryID.
    03/05/11 12:43:43 helpd [160] Response failed Because Listener can not find a port for this QueryID.
    03/05/11 12:43:43 helpd [160] Response failed Because Listener can not find a port for this QueryID.

    Do you have backups of all the data on the startup drive? If not, do nothing else until you've backed up that data, if you still can.

  • Ipad had colored lines running through the screen

    My ipad first generation which i love now has colored lines running through the screen.  Can it be fixed?

    Howdy diana,
    It sounds like your iPad has mulitcolored lines all over it. I would recommend a few things here to help isolate the issue to software or hardware. Try restarting the phone with this article:
    iOS: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    If the issue persists, I would next try reseting the device with the same article:
    To reset, press and hold both the Sleep/Wake and Home buttons for at least 10 seconds, until you see the Apple logo.
    If the issue is not resolved, I would next backup your device to iTunes, and restore it as a new device to see if the lines are still there. If not then restore your backup and verify they are still gone.
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    If the lines are there even when setup as a new device, your iPad may need service:
    https://selfsolve.apple.com/agreementWarrantyDynamic.do
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • LOOPING THROUGH THE BLOCK

    Can anybody help me with an example or materail which explains how can we loop through a block in Forms 6i?
    Also how we can loop through the details block pertaining to the master block and process those records also?
    Thanks

    The quickest way to do something is not to do it at all, and this looks like a good example of where you don't need to do anything - what I suspect you really need is a better design for your schema. What are you updating that requires an update on all child records and cannot simply be referenced when you query a child record?
    If you can't change the schema and you have millions of records to update then your best bet is to use sql, then try pl/sql if sql can't do the job. Only try forms if you absolutely have to, and expect it to run like a brick.
    In forms (assuming you're using relationships):
    go to each block, do first_record and process each record.
    go to the lowest child block and loop through the records using next_record until "system.last_record = 'TRUE'", processing each record as you go.
    go to the next block up, do next_record and process that record.
    go back to the lowest child block and loop though it, processing each record.
    when you have reached the last record in the penultimate child block then go to its immediate parent block, do next_record and process that record.
    go to the lowest child block etc etc etc
    There are a lot of things which you can do in forms but which belong on the database!

  • Does anyone know a way to programatically loop through the items in the document library

    A lot of the funcations like deleteSymbol and updateSymbol depend on which items are "selected" in the library panel.
    Is there a way to programatically access these selections?
    or
    Loop through the library?
    or
    Set selections?

    Yup, I've asked for an API to access the selection in those panels for years, to no avail.
    Note that you can loop through layers, frames and pages, but you can't tell what the user has selected in the actual panel UI.  Also, you can't find out which symbols are currently used in the document.  Nor can you programmatically insert a rich symbol into the document and have it maintain its "richness".

  • Extra line running through the screen on my Officejet 6500 printer

    I just noticed a second horizontal line running through the screen on my Officejet 6500 printer screen (right through where the ink levels show up.)  The screen resembles graph paper.  What causes this?  Is there something wrong with the machine?  Can something be done to correct it?

    Hi there,
    A full factory reset may not be required. Try downloading and running the print and scan doctor located here:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03275041&cc=us&dlc=en&lc=en
    It can fix a lot on its own and if not give a better idea of what is going on.
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Script code sample for looping  through the records from xml data file in formCalc script

    Hi
       I have a xml data file which contains a sequence of repeating applicant data like given below
                       US
                       II
                       CEO
                       Mr
                       111111111
                       0000000111
                       GuarantorA
                       111
                       IN
                       11111
                       WILLIAMS1
                       R3
                       KENNETH1
                       City1GU
                       PA
                       1934-03-14
                       [email protected]
                       GU
                       R
                       113 Lazlo LaneCA
                       Suite 3500CA
                       OaklandCA
                       TX
                       11345
                       AL
    I want to assign a textfield with a value based on the value of coap_flag.
    So i need to loop through all the record and check the value of coap_flag and then assign the textfield a value based on that.
    I am new to Adobe livecycle...Please help me how it can be done.
    I have developed something like this
    foreach Item in ($record.applicant[*].coap_flag) do
    test.value=Item
    if(test.value=="MA")then
    concat($record.applicant.first_name,$record.applicant.middle_name)endif
    endfor

    Using the data you posted in the forum, I copied it a couple of times to give multiple records and used this code to extract the different values that you wanted. I had to wrap it in a <root> node that I called root (to make it valid XML). In my case I wrote the extracted values to a field, but in your case you can do whatever you want with them. Note that this was done in javascript:<br /><br />var currentElement;<br />var obj;<br /><br />//Get the nodes below the root node in the dataDom<br />obj = xfa.datasets.data.root.nodes;<br /><br />//Set an initial value for the textField<br />TextField1.rawValue = "The values of the coap_flag are: ";<br /><br />//Loop through the nodes in the obj set <br />for (i=0; i< obj.length ; i++){<br />     //set the currentElement to the 1st child node<br />     currentElement = obj.item(i);<br />     //Check to see if it is an applicant node<br />     if (currentElement.name == "applicant"){<br />          //It is an applican, now find the coap_flag node value and write it to the text field<br />          TextField1.rawValue += "\n" + xfa.resolveNode("xfa.datasets.data.root.applicant[" + i + "]").coap_flag.value;<br />     }<br />}

  • Loop through the records from xml data file in formCalc script

    Hi
       I have a xml data file which contains a sequence of repeating  applicant data like given below
                               US
                                II
                                CEO
                                Mr
                                111111111
                                0000000111
                                GuarantorA
                                111
                                IN
                                11111
                                WILLIAMS1
                                R3
                                KENNETH1
                                City1GU
                                PA
                                1934-03-14
                                [email protected]
                                GU
                                R
                                     113 Lazlo LaneCA
                                     Suite 3500CA
                                     OaklandCA
                                     TX
                                     11345
                                     AL
    I want to assign a textfield with a value based on the value of coap_flag.
    So i need to loop through all the record and check the value of coap_flag and then assign the textfield a value based on that.
    I am new to Adobe livecycle...Please help me how it can be done.
    I have developed something like this
    foreach Item in ($record.applicant[*].coap_flag) do
    test.value=Item
    if(test.value=="MA")then
    concat($record.applicant.first_name,$record.applicant.middle_name)endif
    endfor

    Using the data you posted in the forum, I copied it a couple of times to give multiple records and used this code to extract the different values that you wanted. I had to wrap it in a <root> node that I called root (to make it valid XML). In my case I wrote the extracted values to a field, but in your case you can do whatever you want with them. Note that this was done in javascript:<br /><br />var currentElement;<br />var obj;<br /><br />//Get the nodes below the root node in the dataDom<br />obj = xfa.datasets.data.root.nodes;<br /><br />//Set an initial value for the textField<br />TextField1.rawValue = "The values of the coap_flag are: ";<br /><br />//Loop through the nodes in the obj set <br />for (i=0; i< obj.length ; i++){<br />     //set the currentElement to the 1st child node<br />     currentElement = obj.item(i);<br />     //Check to see if it is an applicant node<br />     if (currentElement.name == "applicant"){<br />          //It is an applican, now find the coap_flag node value and write it to the text field<br />          TextField1.rawValue += "\n" + xfa.resolveNode("xfa.datasets.data.root.applicant[" + i + "]").coap_flag.value;<br />     }<br />}

  • Powershell - Daily disk and folder usage; trouble with code to loop through the individual folders

    Hi,
    I'm very new to Powershell but through the help of this forum and the help on the internet I have scraped together a script that will loop through the disks of a set of servers listed in a text document, and give the capacity statistics in html
    format.
    I have two questions. I've tried modifying this to also loop though the individual folders on each disk and give the amount of space used to no avail. does any one have any suggestions?
    Secondly, how do I get this to append? all I want to do is set up a scheduled task that runs this report daily. I know I will need to add a date column, but I just want the data to append to the previous set of results.
    Thanks for any advice in advance.
    # Continue even if there are errors
    $ErrorActionPreference = "Continue";
    # Set your warning and critical thresholds
    $percentWarning = 100;
    $percentCritcal = 15;
    # REPORT PROPERTIES
    # Path to the report
    $reportPath = "C:\";
    # Report name
    $reportName = "DiskSpaceReport_$(get-date -format ddMMyyyy).html";
    # Path and Report name together
    $diskReport = $reportPath + $reportName
    #Set colors for table cell backgrounds
    $redColor = "#FF0000"
    $orangeColor = "#FBB917"
    $whiteColor = "#FFFFFF"
    # Count if any computers have low disk space. Do not send report if less than 1.
    $i = 0;
    # Get computer list to check disk space
    $computers = Get-Content "C:\serverlist.txt";
    $datetime = Get-Date -Format "dd-MM-yyyy_HHmmss";
    # Create and write HTML Header of report
    $titleDate = get-date -uformat "%d-%m-%Y - %A"
    $header = "
    <html>
    <head>
    <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>
    <title>DiskSpace Report</title>
    <STYLE TYPE='text/css'>
    <!--
    td {
    font-family: Calibri;
    font-size: 12px;
    border-top: 1px solid #999999;
    border-right: 1px solid #999999;
    border-bottom: 1px solid #999999;
    border-left: 1px solid #999999;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    body {
    margin-left: 5px;
    margin-top: 5px;
    margin-right: 0px;
    margin-bottom: 10px;
    table {
    border: thin solid #000000;
    -->
    </style>
    </head>
    <body>
    <table width='100%'>
    <tr bgcolor='#0B6121'>
    <td colspan='7' height='30' align='center'>
    <font face='calibri' color='#E0F8F7' size='4'><strong>Daily Disk Utilization Report for $titledate</strong></font>
    </td>
    </tr>
    </table>
    Add-Content $diskReport $header
    # Create and write Table header for report
    $tableHeader = "
    <table width='100%'><tbody>
    <tr bgcolor=#E0F8F7>
    <td width='10%' align='center'>Server</td>
    <td width='5%' align='center'>Drive</td>
    <td width='15%' align='center'>Drive Label</td>
    <td width='10%' align='center'>Total Capacity(GB)</td>
    <td width='10%' align='center'>Used Capacity(GB)</td>
    <td width='10%' align='center'>Free Space(GB)</td>
    <td width='5%' align='center'>Freespace %</td>
    <td width='5%' align='center'>RAM %</td>
    <td width='5%' align='center'>CPU %</td>
    </tr>
    Add-Content $diskReport $tableHeader
    # Start processing disk space
    foreach($computer in $computers)
    $disks = Get-WmiObject -ComputerName $computer -Class Win32_LogicalDisk -Filter #"DriveType = 3"
    $computer = $computer.toupper()
    foreach($disk in $disks)
    $deviceID = $disk.DeviceID;
    $volName = $disk.VolumeName;
    [float]$size = $disk.Size;
    [float]$freespace = $disk.FreeSpace;
    $percentFree = [Math]::Round(($freespace / $size) * 100);
    $sizeGB = [Math]::Round($size / 1073741824, 2);
    $freeSpaceGB = [Math]::Round($freespace / 1073741824, 2);
    $usedSpaceGB = $sizeGB - $freeSpaceGB;
    $color = $whiteColor;
    # Start processing RAM
    $RAM = Get-WmiObject -ComputerName $computer -Class Win32_OperatingSystem
    $RAMtotal = $RAM.TotalVisibleMemorySize;
    $RAMAvail = $RAM.FreePhysicalMemory;
    $RAMpercent = [Math]::Round(($RAMavail / $RAMTotal) * 100);
    # Set background color to Orange if just a warning
    if($percentFree -lt $percentWarning)
    $color = $orangeColor
    # Set background color to Orange if space is Critical
    if($percentFree -lt $percentCritcal)
    $color = $redColor
    # Create table data rows
    $dataRow = "
    <tr>
    <td width='10%'>$computer</td>
    <td width='5%' align='center'>$deviceID</td>
    <td width='10%' >$volName</td>
    <td width='10%' align='center'>$sizeGB</td>
    <td width='10%' align='center'>$usedSpaceGB</td>
    <td width='10%' align='center'>$freeSpaceGB</td>
    <td width='5%' bgcolor=`'$color`' align='center'>$percentFree</td>
    <td width='5%' align='center'>$RAMpercent</td>
    <td width='5%' align='center'>$CPUpercent</td>
    </tr>
    Add-Content $diskReport $dataRow;
    Write-Host -ForegroundColor DarkYellow "$computer $deviceID percentage free space = $percentFree";
    $i++
    # Create table at end of report showing legend of colors for the critical and warning
    $tableDescription = "
    </table><br><table width='20%'>
    <tr bgcolor='White'>
    <td width='10%' align='center' bgcolor='#FBB917'>No Warning</td>
    <td width='10%' align='center' bgcolor='#FF0000'>Critical less than 10% free space</td>
    </tr>
    Add-Content $diskReport $tableDescription
    Add-Content $diskReport "</body></html>"

    The only easy way to create a report like this that accumulates is to design it so the data is output to a CSV file or a database.  YOu can then generate the HTML from the persist6ed data.
    If you store as XML you can use XSLT (transform) to convert to an HTML report.
    I also recommend uing Excel as an HTML report generator.  It is much easier and more flexible.  PowerShell is not intended to do what you want without designing a whole custom reporting system.
    Use the right tool for the right task.
    Just because you own a hammer does not mean that the solution to every problem includes a nail.
    ¯\_(ツ)_/¯

  • It's like i can see through the screen

    I was looking at my macbook from afar -- on sleep mode -- and then I recognize a hazy lighter circle slightly off center from the screen. It turns out to be the apple logo on the back of the screen. Either it's really showing on the darkened screen or I have xray vision.
    I have a vague idea of what's causing this, and the very simple explanation could be that the apple logo allows for a more translucent area on the macbook which allows light to pass through.
    I'd just like to confirm if this is normal, a defect, or my fault and something I should worry about. Thanks.

    This is normal.
    The logo on the back is simply lit by a shaped hole through which the LCD panel's backlight escapes backwards. If you shine light into the logo it passes through the backlight diffuser and through the front of the screen. Hence, you can "see" the logo through the screen under the right lighting conditions.

  • JDev 10.1.3.4: How to properly loop through the rows of a VO?

    Hi,
    This is a newbie question. Using JDeveloper 10.1.3.4 I am trying to loop through the rows of a view object. I am sure that the VO returns the following rows in that order:
    200809
    200902
    200906If I use this code (where termsOpen is the VO instance):
    while (termsOpen.hasNext()) {
       System.out.println(termsOpen.getCurrentRow().getAttribute("Term"));
    }it proves to be an endless loop and I get "200809" printed on the console endlessly. The API says that hasNext() "does not move the current row". A book says that the pointer initially is at row 0. I wonder why it prints the first row. So the code is changed to:
    while (termsOpen.hasNext()) {
       Row currRow = termsOpen.next();
       System.out.println(currRow.getAttribute("Term"));
    }But now I get only the last two rows printed on the console, and do not get to see the first row:
    200902
    200906What's wrong?
    Thanks for helping!
    Newman

    Hi, Branislav,
    Thank you for the suggestion.
    I tried that also. When the code is
    while (termsOpen.hasNext()) {
       System.out.println(termsOpen.getCurrentRow().getAttribute("Term"));
       termsOpen.next();
    }I get only the first two rows and last row is dropped:
    200809
    200902To get all the three row, I end up using this code:
    System.out.println(termsOpen.first().getAttribute("Term"));
    while (termsOpen.hasNext()) {
       Row currRow = termsOpen.next();
       System.out.println(currRow.getAttribute("Term"));
    }But that shouldn't be the way of doing the work. If I use a block of 50 lines of code to process each row, the code will have to be written once before the while loop and another time inside the while loop.
    The book which says that the pointer starts at the row slot before the first row is found on the internet, on p.469. It makes sense to me that the pointer starts at row 0. But unfortunately the actual copy of JDev 10.1.3.4 I am using behaves otherwise.
    Newman

  • Looping through the resultset

    Post Author: Swapna
    CA Forum: Formula
    Hi
      I need to loop through the result set how would i do that here is my scenario
    in the database i have total 10 columns say an example
    a,b,c,d,e,f,g,h,i,j,k and assume i have 100 rows with allthese values in the database now for these 100 rows i have to calculate the summary of those columns and i have written formula something like this but it was not working it was giving me zero dont know plz advise on this
    whileprintingrecords;
    numbervar totalsum;
    totalsum=totalsum((a-b)/100cdefghi-j-k);
    and i want to display this sum in my detail section of report how would i do that
    I Appreciate your help.

    Post Author: SKodidine
    CA Forum: Formula
    Try this and see if you get any results.
    totalsum=totalsum((a-b)/100cdefghi-j-k);
    totalsum := totalsum((a-b)/100cdefghi-j-k);

  • My iPad has red bleeding through the screen.

    My iPad has red bleeding through the screen. The background is solid red behind everything on the page. What causes this?
    Is there a fix for this?

    On a different thread, someone suggested dropping the iPad on its back onto a carpeted floor. I did this from about two feet high with no effect. Then tried from about 3.5 feet high, and VOILA the red disappeared! Many others reported same miraculous fix. Hope it works for you!

  • How to loop through the "On My Mac" folders in mail?

    Hi there - i am new to applescript, but am slowly working out how to use it.
    I am stumped on how to write a rule that will move a message to a folder identified by a tag in a message (I am using MailTags).
    I have script that will take the first tag and move the message to a mail folder in a fixed location (e.g. Archive/<tag name>) however I wanted to make it more generic by looping over all of my mail folders and finding one that matched the tag name.
    However I am stumped on how to loop over all of my mail folder names - I have tried:
    repeat with aFolder in (every mailbox of (mailbox for "ON MY MAC"))
    and
    repeat with aFolder in every mailbox of inbox
    etc.
    but none of these seem to work.
    Is there some magic syntax to do this, so that I can do:
    if (name of aFolder = msgTag) then
    move oneMessage to mailbox (name of aFolder)
    end if
    Tim

    You don't necessarily need to assign a variable to the entire list in order to loop through them (unless you really want to) - for example:
    tell application "Mail" to repeat with aFolder in (get mailboxes)
            -- do stuff with aFolder
    end repeat
    There are several AppleScript resources, but the main ones I use are:
    AppleScript Language Guide
    AppleScript Tutorials at MacScripter.net

Maybe you are looking for

  • Can't un-write protect TDM files

    I am using the storage VIs to manipulate a TDM file that was created using the TDM header writer API. When I try to do any operations on it (specifically, deleting a channel), i get error -2561 "Data storage is write-protected.". I have checked the p

  • Mimicking columns between different sheets in numbers 3.0

    If I want to mimic a particulair column on a differnt sheet, how would I do that? Thank you. Manny

  • Unable to convert my canon cr2 files to DNG

    I cannot convert my caonon 1200d cr2 files for DNG on my vista machine as the latest version of adobe raw convertor will not run on my vista machine/..@

  • ObjectInputStream.GetFields: Useful in readObject()?

    The following is an excerpt from the User Guide description of ObjectInputStream.GetField class (http://java.sun.com/j2se/1.3/docs/guide/serialization/spec/input.doc2.html): ��Using readFields to access the serializable fields does not change the for

  • Sending a mail in a projector(.exe) please help, I'm desperate!!!!

    I am using flash mx and I created a .exe but I when I press an email I want my program to open the users outlook or mail program. I tried using jugglor but this has caused me more trouble than a solution because it runs differently in every computer