Closing programs within a repeat

Hello, I am writing a program that inserts photos and descriptions of them into Appleworks. I want to be able to close the preview program after I insert the photo into appleworks. Thanks for teh help.

click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">tell application "Preview"
quit
end tell</pre>
  Mac OS X (10.4.3)  

Similar Messages

  • Closing JFrame from within frame without closing program

    Is there any way to close a JFrame from within frame without closing the program. I don't want to just frame.setVisible(false);

    http://search.java.sun.com/search/java/index.jsp?col=javaforums&qp=%2Bforum%3A31&qt=closing+JFrame+from+within+frame+without+closing+program+&x=5&y=11
    Happy New Year!

  • Programs within the app keep closing

    The app loads fine and i can open the programs within (namely Sage accounts), but when i close down a screen within Sage it kicks me out of the App.  I can still see the page in within the app but it won't bring it up when i click on it.  The only
    way i can move forward is to shut the App down completely and then reopen it.  It then reopens to the page it kicked me off of, so it must still be there in the background, but just seems to freeze when going between screens.
    Its driving me mad as its taking twice as long to do any work!
    TIA
    Kerry

    Hi Kerry,
    If you are using RDC (Remote Desktop Client which is for iOS or MacOS), please test if same issue occurs in Remote Desktop from a Windows system.
    I would like to confirm if the issue only occurs on RDC or not.
    If it occurs on all remote connections, it will be the application which cause the issue.
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Create closed caption within Premiere Pro

    Question: I'm using Premiere Pro 6 on a intel Xeon mac osx 10.8.3. I need to do captions for my project. I followed the Tutorial on "Create closed caption within Premiere Pro". When it comes to going to the window tab and selecting Captions.
    Problem: in my copy of Premiere Pro 6 there isn't  this option for selecting the captions buttton.  How can this be resolved ?

    That tutorial is talking about Premiere Pro CC, which doesn't come out until June 17th.  The current CS6 version cannot actually create Closed Captioned files.  You need to do that in a third party program for import into PP.

  • When I open itunes I get a 'DATA EXECUTION PREVENTION' 'Windows closed program'. Can anybody help please.

    When open iTunes it starts OK then a message from Windows appears, 'DATA EXECUTION PREVENTION Windows closed program'. Then the whole thing shuts down. Does anybody know how to sort this out please. I am using XP operating system and have recently updated iTunes. Thanks

    Hi alanfromharlow,
    It sounds as if iTunes is failing to launch properly on your Windows computer. You don’t mention what version of Windows you have, but one of these two articles should be useful to you -
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/TS1717
    iTunes for Windows XP: Troubleshooting unexpected quits, freezes, or launch issues
    http://support.apple.com/kb/TS1421
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • Using rsRecordsetB_total within rsRecordsetA repeat region?

    Hi. Is it possible to display the total of a related
    recordset (recordsetB)
    within the repeat region of recordsetA?
    Recordset A is customers and Recordset B is orders. We want
    to display a
    list of customers and the total number of orders they've
    placed.
    Thanks.
    Nath.

    Hi. Is it possible to display the total of a related
    recordset (recordsetB)
    within the repeat region of recordsetA?
    Recordset A is customers and Recordset B is orders. We want
    to display a
    list of customers and the total number of orders they've
    placed.
    Thanks.
    Nath.

  • Does each query template call within a repeater re-create the connection?

    Version:  11.5.1.b57
    Hi,
    How exactly does query template calls from a BLS work?  Does each call re-create the connection to the database, or does the connection stay open for awhile?
    Specifically, in my situation we are making query template calls to a database within a repeater loop to insert rows and I'm curious whether it is recreating the connection each time.  We can't insert all the rows at once because of JDBC limitations, so have to insert row by row.  We are reading the data from an xml file and then inserting the data into the database and the performance seems slower than I would have expected (even inserting row by row).  Currently it is taking around ~4m to insert ~2600 records into the database.
    I thought one of two things would be causing the slow speed.
    1.  XMII is recreating the DataBase connection for each query template call
    2.  The repeat reading from the XML document is time-consuming as 11.5 BLS XML manipulation is slow.
    Thanks for the help.
    Kerby

    Hi Kerby,
    It will  recreate connection eachtime.
    You need to use the repeater action block to insert all the rows.If you wont use repeater,it will insert only one row.
    2600 records inserting into database means you will get performance issue because eachtime it will recreate the connection.
    To avoid the performance issue you need to do the following things:
    1) you schedule the transaction in backend.It will insert the records in the database table.
    2) If you want to populate the data in front end , write a query using that table and make a grid.
    It wont create any performance issue.Always big transactions we need to schedule in backend to avoid the performance issue.
    Hope this will help you.
    Thanks,
    Manisha

  • MacBook Pro is operating more and more slowly in opening and closing, opening and closing programs and accessing and closing from mobile broadband.  Is there a solution to this problem?

    MacBook Pro is operating more and more slowly in opening and closing, opening and closing programs and accessing and closing from mobile broadband.  Is there a solution to this problem?

    Did you try rebooting?

  • My ipad is randomly starting and closing programs.

    My Ipad is not responding to touch commands on key board.  It is also starting and closing programs randomly.  What can I do to correct this?

    Tryb a reset, hold power and home button for 15-20 seconds until the apple logo appears.
    No data will be lost.

  • How do you save battery life by closing programs under i0S7?

    How do you save battery life by closing programs under 0S7?  You used to click the home button twice, but now, since the update of 0S7, this feature seems to be gone.

    click the home button twice, when you see the apps line up on the page, swipe the ones you want to close up and off the page. Scroll to access more apps, tap the home button once to exit the mode
    For battery issues, look in the notifications. iOS7 defaults a lot on that you may not need. Also look to the background updating of apps. That can drain battery too.

  • Closing MacBook without closing programs?

    Well this has been a quesion that is bugging me. Say I am on iChat and I am talking away and then my younger family comes along and they great me. I don't want them to see what I am doing on the computer, so I close it. But when I closed it I got signed off. Now some progrmas don't get affected, like Safari. But I recall that iTunes also completely quit.
    Is there a way that you can completely close the MacBook without any programs quitting? Like I have Sleep disable because I keep it on at night once in a while in case someone talks to me, like a family member far away that I have been meaning to talk to. So sleep is disabled, or something like that because I turn the screen brigtness to 0 and then after like 5 minutes the little white light shows. And, that never causes me any closings or things.
    So is there any possible way that I could close my MacBook without any programs quitting?

    No. When the computer is put to sleep all processes are suspended. If you use a wireless connection for the internet the Airport is also suspended during sleep. It will reconnect when the computer wakes up.
    In order for the computer to continue working with the lid closed you need to connect an external monitor, keyboard, and mouse.
    There are one or two third-party utilities that are supposed to keep the computer awake with the lid closed. You'll find them at VersionTracker or MacUpdate. I've never used them so I have no idea if they work.
    Why reward points?(Quoted from Discussions Terms of Use.)
    The reward system helps to increase community participation. When a community member gives you (or another member) a reward for providing helpful advice or a solution to their question, your accumulated points will increase your status level within the community.
    Members may reward you with 5 points if they deem that your reply is helpful and 10 points if you post a solution to their issue. Likewise, when you mark a reply as Helpful or Solved in your own created topic, you will be awarding the respondent with the same point values.

  • I-Tunes Auto-Restart After Closing Program

    My i-Tunes began automatically restarting when I close the window on my desktop. It is pretty annoying.
    It only restarts after I have had it open. If I have not opened i-tunes it behaves. But, if I open i-Tunes to listen to music on by desktop, and then close the program when I am done, it will restart within 10-seconds.
    I am using Windows 7  and i-Tunes 10.2.2.12
    I can't find a solution and sfter 15-minutes of trying to find a link to submit a help request, I gave up and am trying this avenue.
    Thanks
    Walt
    PS: In the Product selection below, i-Tunes is not one of them. Hope this gets where it needs to go.

    Thanks!
    Shall I create de novell partition on the new\replaced HD?
    Will Novell recreate the mirrored volumes automatically or shall I rebuild them manually?
    TIA
    Nanu
    >>> Marcel Cox<[email protected]> 07/01/2007 20:47:06 >>>
    Nanu Kalmanovitz wrote:
    >
    >Can be the "auto restart after abend" during the loading of NLMs be caused
    >by the second HD dos (drive d:) partition?
    Yes. FATFS.NLM tries to mount all FAT partitions it finds, not just the
    boot partition. So any problem FAT partition may cause trouble.
    >I tried the "FORMAT D: /s /x" command but it display the "Bad track in
    >system space, disk unusable" error.
    This sounds like your disk is physically broken. As a short term solution,
    you can probably delete the DOS partition on D: but not create it again.
    That way, FATFS.NLM will not try to fix the broken part of your disk. Of
    course, you should as soon as possible replace your disk.
    For this, you should first create and copy your DOS partition manually on
    the new disk and then start your server and use NSSMU.NLM to manage the
    mirroring of the NetWare partition(s).
    Marcel Cox (using XanaNews 1.18.1.6)

  • How to call a host command/program within a PL/SQL Procedure OR Block

    Hello ,
    I want to call a host program (in my case it is unix shell program) from within a PL/SQL
    Procedure..Please let me know if you have a clue...Thanks a bunch...Ajeet

    Alternatively you could create a PL/SQL procedure that wraps a Java Runtime object.
    You can find an example of this in the Ask Tom column of Oracle Magazine. You can get there from OTN home page. Type "Java Runtime" into the Search Archive engine.
    HTH, APC

  • Is it possible to have a selectManyListBox within ui:repeat ?

    Can I have a selectManyListBox within a <ui:repeat> or that is completely wrong ? I can displayed the values properly , however I cant retrieve the selected items in my list.
    An error is displayed "myform:j_idt117:0:j_idt119:0:_t121: Validation Error: Value is not valid"
    <ui:repeat value="#{row}" var="t" >
    <h:selectManyListbox value="#{myBean.selectedItems}">
    <f:selectItem itemValue="#{t.attributeName[1]}"
    itemLabel="#{t.attributeName[1]}" />
    <f:selectItem itemValue="#{t.attributeName[2]}"
    itemLabel="#{t.attributeName[2]}" />
    </h:selectManyListbox>
    </ui:repeat>

    You can try using SSRS cascading parameter.
    http://technet.microsoft.com/en-us/library/aa337498(v=sql.105).aspx
    http://markvsql.com/2013/08/ssrs-cascading-multi-value-parameters/
    Regards, RSingh

  • Closing programs shortcut on my Tour

    Is there a shorter way to close programs used on my Tour? Is there a better way than closing each one one at a time?

    Hi.  I am happy to look into this for you.  I do not see a way to close programs that is already on the phone unless you want to do it one by one.  You can always search the blackberry app market to see if there is anything to suit your needs.
    Please let me know if you have any other questions. 
    Thanks!

Maybe you are looking for

  • How do I file a complaint with Verizon??

    I have been a Verizon customer for many years, since 2009 I believe. I recently bought a house in March, and moved my service from my old address to my new address. Since our offer on our house got accepted and we initiated the process of moving our

  • One of a kind problem with the zen micro(which i love)......... PLEASE HELP me bring it back to l

    [color="#ff6600" size="4" face="Verdana">I have a creative zen micro and when i try to turn it on?i get?the blue glow but it only goes to the screen that says creative with the copyright info?then it'sfreezes?there and i have to take the battery out

  • How do you turn off event auto-detect?

    Hiya, I was originally impressed with, but now rather fed up with Mail on my iPad spotting words that look like dates or times and offering to turn them into iCal events by displaying them as blue underlined links. In some emails I get large portions

  • My fingerprint reader on my pavillion dv3 4050ea doesn't work

    I formated my pavillion dv3 4050ea windows 7 64 bit starter notebook and somehow forgot to back up the swsetup files i installed windows 7 professional 64 bit and my finger print reader doesn't work again, i've installed and unistalled almost every v

  • Free memory after Function call

    Hi, Is there a possibility to free the memory after a call to a function. The call is only used for display, not to get data. (For example - CALL FUNCTION 'FKK_BUPA_DISPLAY') Our z-transaction delivers a way of navigating through different ISU object