Select project file (to open editor), Run Script - XCode Organizer

Hi,
I'm new to AppleScript, but I'm trying to automate a number of login processes. I have most of my needs worked out, but there are still a couple of loose ends which will save me substantial time if I can get them running. I'm not finding documentation of such processes, so maybe I'm barking up an empty tree. Is this possible; and were can I find the necessary documentation:
1.
I have a Ruby project maintained in the XCode Organizer. I'm striking out on blind tries. What I need to do is equivalent to selecting a document *in the organizer*. It has to have the same effect as manually negotiating the file/directory tree, because selection of the file further enables running an Action Script in the Organizer, the name of which is "START MONGREL SERVER."
I have opened the target document, application_controller.rb, in the conventional manner you might open a document, but this has only opened the document in a separate editor window. This doesn't suffice, because it is the selection of a project document which makes the related Action Script available for further running.
How then might I do this?
2.
After this file is selected, I need to run the action script, "START MONGREL SERVER." How likewise can I do this?
3.
Thirdly, is it possible to wait until threads invoked by previous script statements are finished? If so, how? Otherwise, can we insert a "wait" statement of some kind to delay execution of further instructions? If so, how?
Much thanks in advance,
m

Hi,
ODP doesnt have anything built in to run sql scripts. You'd likely need to parse the script yourself and execute the commands one by one, or you could shell out and run the script via sqlplus.
Hope it helps,
Greg

Similar Messages

  • Need help badly. project file wont open. saying damaged file or may contain outdated elements. please help

    project file wont open. damaged file or contains outdated elements message. i believe its an XML error but i dont know how to fix it. please help

    As a happy user of the Matrox RT.X2 for many years, and later an equally happy user of a Matrox MXO2, I can say from experience that it is highly unlikely that this problem has anything to do with the Matrox hardware!
    Can you open a new blank project, and save it?
    If you cannot import your faulty project into a new project, can you import the sequence from your faulty project?
    Have you tried clearing the Media Cache, clearing your preferences, etc. - all among the techniques used to resurrect a Premiere Pro project that has gone bad???

  • HT203477 Project File not Opening. 524MB?!

    Hi!
    I'm running FCP X on a Retina Display MBPro with 16GB RAM. I work out from a Firewire 800 drive dock since I haven't been able to get a thunderbolt drive yet. In this drive I have several projects (5 of them where created by Plural Eyes for Syncing). One of those projects is the actual film I'm working on around 8min long. The system started giving me problems when I started editing sound effects and putting effects on clips. The film is almost to omplition when FCP crash. I restarted it again but that one project film doesn't open. Instead FCP X stays open on the splash screen and does the pin wheel. I did all the troubleshooting prosedures plus try to fix the project file thinking it was corrupted with a third party application but nothing good has happen yet. I try to open the project on a different system but when I open FCP X it opens on the previews project that was been worked in that system. When you hit to go to the Project Library it start doing the Pin Wheel all over again. I read on the internet of a similar case where the project file was 500MB big. Mine is 524MB. The person said that they wated it off living FCP open doing it's thing and after 8 hours it open. I'm actually doing the same thing right now and I still have almost 6 hours to go. My question is why did this happen and can it be prevented and how to fix the file? Also, is the Apple FCP team dealing with fixing this bugs?

    Hi Kodeeswaran,
    There could many reasons why this is happening. I would suggest the following steps.
    1) Check to see if LabVIEW is properly activated or not.
    2) Check if you are an administrator of that particular machine.
    3) Try out the steps provided in this KnowledgeBase
    4) Has the same set of CDs worked on any other machine where you've tried installing the software. There is every possibility you have a bad installation disk.
    Thank you and have a nice day.

  • Bridge is slow and lags when selecting multiple files to open.

    I currently have CS6 latest version (ver. 13.0 x64)
    My problem is in my Bridge software (5.0.2.4 x64)
    I have been getting a 4 or 5 second delay when trying to
    select multiple files or navigating through the menu and functions.
    (Photoshop also delays a few seconds when opening a file.)
    After trying different solutions, I have narrowed my best guess to a
    conflict with my video card or drivers.
    I have a PC running win 7 64 bit. 12 gb of ram, an ATI radion 3000 video card with the
    latest driver. An AMD phenom quad processor.
    All of my drivers and software is up to date, including my Windows 7.
    No other software on my computer gives me any LAG time or problems.

    You need a better video card.  You card rates a passmark score of 106.  You probably need one at least of 500 and closer to 1000 is good.  You get a card above this score you start paying more and getting less. http://www.videocardbenchmark.net/

  • Premiere Elements Project file wount open in Premiere Pro CS6

    My friend Just bought Premiere elements 13 and created a Project. I cant open the Project in Premiere Pro CS6. Getting this error message:
    "The Project appears to be damaged, it cannot be opened."
    The Project workes fine in Premiere Elements 13
    What can I do? What is wrong?

    If you have done this:
    Import a Premiere Elements project (Windows only)
       Select File > Open Project.   
       Browse to an Adobe Premiere Elements project file, with file extension PREL.   
       Click Open.   
    Premiere Pro converts the Premiere Elements project file to a Premiere Pro project file.
    and it wont work Elements 13 is probably too new for CS6.

  • Project file not opening in my system

    I have installed a new LabVIEW 8.2 and all the drivers resourses also, i am not able to open th project file, sometimes the NIMax is not opening and keeps me installing again and again but not working properly.even after formating the system i am not able to install labview propely, there is no antivirus software installed in it. any one faced this problem earlier...

    Hi Kodeeswaran,
    There could many reasons why this is happening. I would suggest the following steps.
    1) Check to see if LabVIEW is properly activated or not.
    2) Check if you are an administrator of that particular machine.
    3) Try out the steps provided in this KnowledgeBase
    4) Has the same set of CDs worked on any other machine where you've tried installing the software. There is every possibility you have a bad installation disk.
    Thank you and have a nice day.

  • Can Captivate 4 project files be opened in Captivate 5?

    I was wondering if captivate 4 project files can be opened in captivate 5? I know captivate 2 project files cannot.
    Thanks guys,
    Kya.

    Hello and welcome on the forum (see it is your first posting),
    Normally there are no issues when opening CP4-files in CP5: they will be converted, including the advanced actions (if there are) and to AS3 if the CP4 was AS2 because CP5 only supports AS2. I only had some few issues with those convertions.
    Beware: you will not be able to open the converted file in CP4 anymore. As always, be careful to keep the original files stored safely somewhere.
    Lilybiri

  • Project file wont open

    Help.
    I cant open my Premiere Pro project files. After renaming some of the source files now Premiere says 'file format not supported'  when I try to open.  The same computer and program generated these files. I know I have to relink the media but any ideas why it wont open  the project files?
    TNX
    Premier Pro 7.0
    HP Pavilion Elite m9515y, PC

    Are these MPEG, or VOB's? If so, this Adobe KB Article might help.
    If they are M2t files, then this ARTICLE might help.
    If none of the above, please tell us the full details of your Assets and also you Project Presets.
    Good luck,
    Hunt

  • Is it possible for a saved path to open a folder where the user can select the file to open?

    I would like to retieve a link via database that would open a folder of drawings, word documents, pdf files, excel files etc., where the user can select which file they want. Selected files would open in which ever format they were with programs that are already installed on the users computer. For example, the link would open a folder where several solid works files were, and a couple of Word documents. The user would select one of the Solid Works files, and it would open up in the Solid Works installation on the users computer. Is this possible, or must a link point directly to a file?

    I'm not sure I understand what you mean by "link". Are you referring to a URL that uses a "file://" protocol?
    The standard File Dialog VI has a "start path" input that you can set so the file dialog opens to that folder.

  • Version 10.1.8 SLOW and locks up Windows Explorer when attempting to select multiple files to open.

    User contacted L1 Tech Support when browsing server & attempting to simply select multiple adobe pdf's.  Passed to Support level 2. Level 2 deemed was not server as they could recreate the issue on any machine running 10.1.8 by copying in question pdf's or a group of random others to a local machine & get the same result.
    Other common observations, have latency when opening up pdf files via IE in ERP application.  Seems to be an issue with Adobe either versioning or inherent problems. ( have read through many "setting mod's & have verified "Starting in protected mode" is off ) any help or direction is much appreciated.  Next steps will be to open PDF's with another product.
    Consistent results on 300+ machines some XP some W764bit.
    Thanks!

    Hi ChesterCopperpot,
    Could you please elaborate your issue and provide more information like the exact version of internet explorer and how do you try to open multiple Pdf document using internet explorer at a time.
    Also tell me if you have attempted to disable some third party brower extention and plug-ins.

  • Annoying creation of TRC file every time I run script

    I'm using SAPNWRFC and everytime I run a script an XML tracefile is created.
    In my sap.yml file I have:
       ashost: <my hostname>
       sysnr: "00"
       client: "000"
       user: <username>
       passwd: <pwd>
       lang: EN
       trace: 0
       debug: 0
    Tracefile starts with:
       <?xml version="1.0" ?>
       <TRACE opened_at="2007-09-11, 12:18:57" time_zone="GMT"
       <ENTRY thread="-1431543296" comp="RUNTIME" time="2007-09-11,    12:18:57">RfcRecord::fillField was invoked for RFCTYPE_TABLE
       </ENTRY>
       </TRACE>
    It's probably something silly I'm doing.
    It didn't happen with old SAP::RFC.

    any update from SAP on this issue?
    Its a bit of a pain
    Thanks,
    Brian

  • Not all selected raw files will open

    I'm using ACR 5 on a Mac 10.5.8.  I have 279 raw files in a folder.  I selected all in bridge, command R,  and only 16 photos will open in raw.  What could cause this?
    Thanks!
    Julia

    Limited memory?  Limited ACR scratch disk space?  Go into the ACR preferences and give yourself a healthy amount of ACR cache, say 10gb or more.
    Richard Southworth

  • Selecting any file as 'Open With' crashes the Finder and worse than this...

    This is happening w/ ANY file on my system & quite a pain if I want to open something in quicktime 7 instead of x.... can't do it. So then I open QT 7 & try to open it that way & doing it that way only crashes QT instead of the Finder.
    I just ran DiskUtility this morning..
    So, I open up TextEdit & then try and select 'open file' and again.... TextEdit crash (*further detail below). Apparently, the only way to open my files is to double-click the doc. themselves.
    *When the 'Open' pane comes up, it automatically has the Desktop place selected & then GarageBand & iTunes in the top half (GarageBand selected) & down below it says 'Loading GarageBand songs...' so, it appears to be stuck and I have no choice to select anything else.
    Ideas on what to do?

    coffeemugger wrote:
    how do you move fonts to the desktop... they only 'copy' & it won't let you delete it from 'library'.
    The fonts your looking to drag to the Desktop are in your Home directory. Are you sure you chose /Users/yourname/Library/Fonts?
    coffeemugger wrote:
    if it's corrupt & pinpointing is hard....is there a way to do something to open up permissions for all my software so i can just bail and go w/ the new administrative account w/ out having to do license keys all over again?
    You can do that without worry about licenses or permissions on apps by dragging all the folders within your present Home separately to your new Home folder. i.e. Desktop, Documents, Downloads, Library, etc.
    a friend said in the past people have had crazy stuff w/ more than 1 quicktime version on their puter & they had to rename one of them... but this is affecting more than 1 program & crashing the finder ... but thought i'd throw that in for the heck of it.
    You can rename or delete QT 7. The only problem is that it will probably re-appear on the next update. I'm not sure if it will help though.
    -mj

  • Project file (.mpp) opening in browser

    Hi,
    Is there any web part in SharePoint that can render .mpp file in a browser? Our company has this requirement where some users create a project plan in Microsoft Office Project and save it in one of the shared documents and if we can render it in a web part
    in the browser readers can see it even though they don't have Microsoft project installed on their system.
    Appreciate any help. Thanks.
    rani

    Rani,
    If you are using AD groups to manage your intranet, you can reutilize those groups to manage security in project Server, via the Active Directory Synchronization.
    https://technet.microsoft.com/en-us/library/gg982985.aspx
    As I mentioned abopve using a third party webpart or a sync-to-task list are the main alternatives. You could also look into acquiring a desktiop MPP viewer.
    However, for a robuist schedule management and collabaration, I think it is clear that using project Server is the way to go.
    Cheers,
    Prasanna Adavi, Project MVP
    Blog:
      Podcast:
       Twitter:   
    LinkedIn:
      

  • Corrupt audio file prevents me from opening Logic project file

    Hello,
    I've been running Logic 8 for a couple years off my MacBook and have never encountered any significant problems of file corruption until recently.
    The issue I encountered is this:
    I've been producing a lengthy track in an on-going Logic project file for some time and after completing a recording session I saved and started deleting excess track copies to clean up my arrange window. Upon doing so Logic unexpectedly crashed.
    After attempting to reopen the project file, it started its normal process of loading its respective audio files, but now it hangs on one particular audio file indefinitely (I'll refer to it as 'audio file x' for ease of reference), freezing and crashing Logic as a result. All of this project file's auto backup files are also incapable of being opened without giving me the same result and crashing Logic.
    I have no way of opening this project file and getting at my most recent saved sequence!
    I've tried removing this corrupt 'audio file x' from the project's audio folder and dragging it to the desktop, but this had no effect and I still can't open any recent version of the project file.
    Older saved copies of the current project file do still open though (most likely because they were saved prior to the corruption caused by this suspect 'audio file x.') When opening an earlier iteration of the project, I get a message '1 invalid audio region found' (I assume referring to the corrupt suspect 'audio file x' that I removed to the desktop) but the project file is still able to open.
    I realize I could import the audio files from the most recent version of the crashed file to an older project version and reconstruct things back to the way they were, but it would take me a lot of time and I'm hoping there may be some way to recover the un-openable project file by getting it to stop looking for this corrupted 'audio file x' on startup.
    When I click 'show package contents' of the Logic Project file, I notice two items labeled 'displayState' and 'documentData.' From my troubleshooting I've come to the basic understanding that the 'documentData' file contains all the sequence data and settings for its respective Logic Project file.
    I think the 'document data' of the unopenable project file in question may be corrupt because whenever I replace it with the 'document data' from an earlier Project file version, the file is able to open. This doesn't do me much good though, because it's document data from an earlier iteration of the project and I need to be able to get at the current sequence I had right before my file crashed.
    Is there anyway to open a project file without letting it load its audio files? Or is there anyway I could get inside the 'document data' file to delete the reference/pathway in its audio bin to the corrupt 'audio file x' its hanging on?
    Any insights would be greatly appreciated. I'm hoping there's some way I won't have to repeat a couple days worth of work. Thanks for your help!

    stooby3535 wrote:
    After further troubleshooting I've realized that the suspicious audio file that prevents the project file from opening is actually not corrupted itself. I can still play the audio file in other media software like Quicktime, etc. with no problem.
    This leads me to believe the problem opening the project file lies solely with the corrupted 'documentData' file.
    Does anyone have any ideas about how I could somehow open this project file and delete the reference of the troublesome audio file from the project's audio bin?
    Well... it really sounds like the project itself is corrupted, that's one of the reasons all project files won't load from a certain point on.
    Try this.
    Reboot the Mac.
    Open the Applications folder and boot Logic from it's icon.
    As soon as the Logic Logo/graphic window appears on the screen hold down the control key. You will see a message pop up that says something like "Launch the Core Audio Driver" there will be yes/no choice available... select NO.
    Go to the File menu and selct "open" go find your project file and see if it will open. If it does.. delete the audio file in question... however.. I would also look at any plugins you recently installed and are possibly using in this project...this sounds more like a plugin problem rather than an audio file problem, but that's just a gut feeling.
    Anyway, if it opens delete whatever you suspect and save under a different name.
    Reboot Logic and see if it can load the project.
    pancenter-

Maybe you are looking for

  • Missing Text in PDF When Converting from Word

    Has anyone had this problem before?  We have Adobe Acrobat 8 and this has happened twice in the past year.  We have a Word 2003 document then convert it to PDF and a line will be missing from the top of a page in the middle of the document. 

  • Block a vendor from supplying a specific material to the company

    Hi Can anyone let me know how to block a vendor from supplying a specific material to the company.The PO must not go through for that specific combination of Material and vendor.The vendor is allowed to supply all other material except that.The PO mu

  • Portal Logoff and redirect to my own (created) logon page

    Hi experts, one Question about "Portal logoff and redirect to another URL", and I know there already are solutions how to fix that, but I was not successfull with my doings. I have a customized logon page. When I call "http://myportal:50000/irj/porta

  • Installation and Administrative rights

    If PPro CS5.5 is installed on a PC (actually Production Premium CS 5.5) and then administrative rights are taken away - how will this affect functionallity of the software? Our IT department is "standardizing" our laptops and they want to take away a

  • Ultra 40 Event12, Kernel-WHEA error log in WinVista x64

    While I still enjoy working with my Ultra 40 Workstation, lately, I've noticed Kernel-WHEA (EventID 12) error log which seems to appear everytime Windows Vista x64 boots up. My Ultra 40 has AMD Opteron 280 box with 4GB RAM and is running Windows Vist