[MAC] How to open a "damaged" file
Hi all,
A while ago I wrote a script that opens all InDesign documents in the selected folder and exports them to interchange format.
But a couple of days ago a guy reported me a problem he encountered trying to open this damaged InDesign file.
When I open the file in UI, or by script with UserInteractionLevels.NEVER_INTERACT -- this dialog appears and I have to click OK to continue.
If I open it by script with UserInteractionLevels. INTERACT_WITH_ALL -- the following message pops up, I have to click OK as well but nothing happens: no inx file produced.
I tried to make use of this solution found on the neighbouring Photoshop scripting forum, but Apple Script silently refuses to open this file:
tell application "Finder"
set myFile to file "file001C_001G_U01_UP_101315_122_7.indd" of desktop
end tell
tell application "Adobe InDesign CS3"
open myFile
end tell
Any ideas? I give up!
Kasyan
I'm not sure of the problem, but the code you posted is probably not going to help. When you ask the Finder for the file, it returns a Finder reference. When you try to pass that to InDesign, all it does is pass it straight back to the Finder: you are, in effect, doing the same thing as double-clicking on a file in the Finder. Worse, it's asynchronous -- your script will move on to the next statement without waiting until the document is fully open.
You should at least use:
tell application "Finder"
set myFile to (file "file001C_001G_U01_UP_101315_122_7.indd" of desktop) as alias
end tell
Similar Messages
-
Hi can any body please tell me how to open the .exe files in mac and why it is not supported with unarchiever app , also i am not able to run and dvd's in my mac its not accepting any cd's or dvd'd why? do i need to do some pre defined settings to run the cd's and dvd's ?
A .exe file is a Windows executable. OS X does not run Windows programs. If you need to use .exe files then you will need to install Windows on your Mac:
Windows on Intel Macs
There are presently several alternatives for running Windows on Intel Macs.
Install the Apple Boot Camp software. Purchase Windows XP w/Service Pak2, Vista, or Windows 7. Follow instructions in the Boot Camp documentation on installation of Boot Camp, creating Driver CD, and installing Windows. Boot Camp enables you to boot the computer into OS X or Windows.
Parallels Desktop for Mac and Windows XP, Vista Business, Vista Ultimate, or Windows 7. Parallels is software virtualization that enables running Windows concurrently with OS X.
VM Fusionand Windows XP, Vista Business, Vista Ultimate, or Windows 7. VM Fusion is software virtualization that enables running Windows concurrently with OS X.
CrossOver which enables running many Windows applications without having to install Windows. The Windows applications can run concurrently with OS X.
VirtualBox is a new Open Source freeware virtual machine such as VM Fusion and Parallels that was developed by Solaris. It is not as fully developed for the Mac as Parallels and VM Fusion.
Note that Parallels and VM Fusion can also run other operating systems such as Linux, Unix, OS/2, Solaris, etc. There are performance differences between dual-boot systems and virtualization. The latter tend to be a little slower (not much) and do not provide the video performance of the dual-boot system. See MacTech.com's Virtualization Benchmarking for comparisons of Boot Camp, Parallels, and VM Fusion. Boot Camp is only available with Leopard or Snow Leopard. Except for Crossover and a couple of similar alternatives like DarWine you must have a valid installer disc for Windows.
You must also have an internal optical drive for installing Windows. Windows cannot be installed from an external optical drive. -
Does anyone know how to open a .shs file on Word 2008 for Mac? Any ideas??
Does anyone know how to open a .shs file on Word 2008 for Mac? Any ideas??
Ask on the Microsoft Mac forums: http://answers.microsoft.com/en-us/mac
-
How to open a .pse file in photoshop elements?
Hello,
All my previous files were saved as (.psd). Somehow, one of my photoshop elements projects was saved as a (.pse). I can't open it. How can I re open this file and continue working?
Thanks in AdvanceA PSD is the standard working file for Photoshop.
A PSE is a project file for Photoshop Elements. These projects are multiple pages. If you are working with a PSE on Windows, there will be a folder along side your PSE that contains a PSD file for each page of the PSE. If you are missing this folder, you won't be able to open the file. The PSE file itself is just instructions on how to open the PSD files as pages of a project. On Mac, all of these files are wrapped up in a single container. -
How to open a specific file in projector.
Hi to all
can any body tells me that how to open a specific file in
projector with an application not in browser????
and also want to add a button to mute the sound just like in
intros with fade in and out effect.
its urgent....
Thanks in advanceHi,
You can use FlashJester JStart
http://jstart.flashjester.com
that will open up any file the has been associated in Window
Explorer.
Download a FREE evaluation copy and try it for yourself.
Please look at the example files given.
Regards
FlashJester Support Team
e. - [email protected]
w. -
http://www.flashjester.com
There is a very fine line between "hobby" and
"mental illness." -
How to open a .MAT file in LABVIEW
Hey everyone,
I currently have a .MAT image file which I would like to open in LABVIEW to apply some image filters. However, I am unsure as to how to open the .MAT file in LABVIEW. Ideally I would like to be able to open the .MAT file without using matlab, and it seems the only way to accomplish this task is through the mathscript node. I have attached an example of the image im trying to open, as well as the LABVIEW program which I would like to use on the image. Thanks for the feedback! =]
Attachments:
MAT_Image_Adjust.zip 1779 KBHi Boiler,
1) Do you have a choice in the format you export your data from MATLAB?
"ASCII Format
Complete the following steps if you want to import or export data between LabVIEW and the MATLAB® environment, the process is straightforward as long as you are using ASCII format.
From the MATLAB® environment to LabVIEW
To save a vector or a matrix Xin ASCII format with tab delimiter, enter the following in the command window or m-script file in the MATLAB® environment:
>>SAVE filename X -ascii -double -tabs
This creates a file whose name is filename, and it contains the data X in ASCII format with a tab delimiter.
Import the file into LabVIEW using the Read From Spreadsheet File VI located on the Programming»File I/O palette.
2) Have you tried using the mathscript node? Did you get any errors?
"Binary Format
Complete the following steps if you want to import or export data between LabVIEW and MATLAB®.
From the MATLAB® environment to LabVIEW
To read a .mat file in LabVIEW would require a VI to parse the file. This may be easier if each variable is saved to a separate file.
" -- this was done here, no ideas if it still works,
I want to read a Matlab MAT file into labview
Hope this helps, James
Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! -
I do not know how to open a folder, file !
Hi everyone,
I do not know how to open a folder, file or
a JavaScript program in photoshop cs4?
can you tell me how to proceed
Thank youthank zhpingw
the script not function unfortunately
I had to go through to have a flash file. swf
I put in a url link
file. swf I was put in the palette and its works!
Download This file tutoweb. link . swf
requete content for Google find tuto a Photoshop !
Warning you change to script Google.fr for Google.uk in file .fla
Place to swf in your palet of configurator
Enjoy
http://rapidshare.com/files/390041665/Flash_CS4.rar -
How to open a .JAR file on the Z30
Hi,
Would anyine know how to open a .JAR file on the Z30?
I get a message saying "Unable to open" when I click on the .jar file i want to open in my blackberry & install.
Cheers
MarioJAR files are for older java phones, they dont work on BB10
maybe you should look into using SNAP to get some apps yoru looking for
http://supportforums.blackberry.com/t5/Downloaded-Applications-for/You-Upgraded-to-OS-10-2-1-and-wan...
Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
BESAdmin's, please make a signature with your BES environment info.
SIM Free BlackBerry Unlocking FAQ
Follow me on Twitter @knottyrope
Want to thank me? Buy my KnottyRope App here
BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V -
How to open a log file form a frame in linux
Hy,
Can anyone knows how to open a pdf file in linux from java?? and also a conf file(when I try Runtime.getRuntime().exec("path") -gives me an error like -I don't have the right to open that file , how can I open that file as root??)
Thanks in advanceAre you familiar with java.awt.Desktop?
http://java.sun.com/javase/6/docs/api/java/awt/Desktop.html
Try its open() method. -
How to open a local file from javascript in a jsp-page
Hi
I have created an iview from a PAR file. In the par file I have a jsp-page with some javascript code. From the javascript coe I want to open a new window with an Excel file.
I have tried window.open("c:
test.xls", "test_window"), but it doesn't seem to work. I have created a small HTML page locally with the same command and there a new window opens with the Excel file.
If I change the local file path with an URL it also works.
Any idea how to open a local file ?
Thanks
/JakobJacob,
I'm not 100% (but 99,9%) and it has to do with security ristrictions of the browser not allowing to have local workstation interation from the web. This is ofcourse very dangerous if the browser would allow it... So therfore it is blocked. What if somone would point to a file/executable that formats your drive so for that reason it is not allowed to have web interaction with a local file. Only with Java Applets this is possible but still with many limitations, and what I remember Google Gears and Adobe Air do have some limited web 2 local file interaction... So best and most simple solution you are left with is pointing to a url instead of a file on a c:\ drive.
PS The reason why it works when you start the html from your local PC has todo with the fact that the browser detects that the html is not running in the web at that moment therefor allowing the access.
Cheers,
Benjamin Houttuin -
How to open a pdf file only in one computer
I would like to sell pdf publications by allowing the user to open them only in one computer. I learnt that this has been done the past when I bought some publications but I don't know the way to do it. Could you help me?
thank you
Marcothank you for your support
Best Regards
Marco
Da: Mylenium <[email protected]>
Per: MARCO1 <[email protected]>,
Data: 09/10/2013 11:09
Oggetto: How to open a pdf
file only in one computer
Re: How to open a pdf file only in one computer
created by Mylenium in Downloading, Installing, Setting Up - View the full
discussion
You will havwe to sign up for some service that supports rights
management, use protected PDFs via LiveCyle/ Acrobat Connect or learn how
to create your own ePub stuff using Digital Publishing Suite. In any case,
it will probably cost you money upfront before you make any revenue.
Mylenium
Please note that the Adobe Forums do not accept email attachments. If you
want to embed a screen image in your message please visit the thread in
the forum to embed the image at
http://forums.adobe.com/message/5746873#5746873
Replies to this message go to everyone subscribed to this thread, not
directly to the person who posted the message. To post a reply, either
reply to this email or visit the message page: [
http://forums.adobe.com/message/5746873#5746873]
To unsubscribe from this thread, please visit the message page at [
http://forums.adobe.com/message/5746873#5746873]. In the Actions box on
the right, click the Stop Email Notifications link.
Start a new discussion in Downloading, Installing, Setting Up at Adobe
Community
For more information about maintaining your forum email notifications
please go to http://forums.adobe.com/message/2936746#2936746.
Il messaggio trasmesso può contenere informazioni di carattere
confidenziale rivolte esclusivamente al destinatario. Ne è vietato l'uso,
la diffusione, la distribuzione o la riproduzione da parte di altre
persone e/o entità diverse da quelle specificate. Nel caso aveste ricevuto
questo messaggio per errore, siete pregati di segnalarlo immediatamente al
mittente e cancellare quanto ricevuto.
This electronic mail transmission may contain confidential information
addressed only to the person(s) named. Any use, distribution, copying or
disclosure by any other person and/or entities other than the intended
recipient is prohibited. If you received this transmission in error,
please inform the sender immediately and delete the material -
How to open a pdf file in JFrame
hi to all,
i need to know how to open a pdf file in JFrame. Help is needed with this would grateful, and i used the code state below..
InputStream in=this.getClass().getResourceAsStream("/images/help1.pdf");
Process p = Runtime.getRuntime().exec(in);Thanks in Advance...this is the error which i'm getting while executing the code
init:
deps-jar:
Compiling 1 source file to /home/VEL AREA/SampleApplication/build/classes
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:3: package com.sun.pdfview does not exist
import com.sun.pdfview.PDFFile;
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:4: package com.sun.pdfview does not exist
import com.sun.pdfview.PDFPage;
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:5: package com.sun.pdfview does not exist
import com.sun.pdfview.PagePanel;
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:25: cannot find symbol
symbol : class PagePanel
location: class sampleapplication.Main
PagePanel panel = new PagePanel();
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:25: cannot find symbol
symbol : class PagePanel
location: class sampleapplication.Main
PagePanel panel = new PagePanel();
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:36: cannot find symbol
symbol : class PDFFile
location: class sampleapplication.Main
PDFFile pdffile = new PDFFile(buf);
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:36: cannot find symbol
symbol : class PDFFile
location: class sampleapplication.Main
PDFFile pdffile = new PDFFile(buf);
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:39: cannot find symbol
symbol : class PDFPage
location: class sampleapplication.Main
PDFPage page = pdffile.getPage(0);
8 errors
BUILD FAILED (total time: 2 seconds)
for the reply #4.. -
How to open a zip-file in Bridge for PC?
How to open a zip-file in Bridge for PC?
I think it's built in, just double click on it and it should open with Archive Utility. I dunno, maybe Unrar X might work for you>
JB -
How to open a cr2 file in photoshop
how to open a cr2 file in photoshop if I do not have Lightroom?
Photoshop menu File>Open select the CR2 file. If you have a resent canon you may need CS6 or newer only they support ACR 8.6 beta with RAW support for the latest cameras. If you have an older version of Photoshop you may need to create Adobe DNG file for you CS2 file using Adobe DNG converter and process the DNG files with you Photoshop versions older ACR support.
-
How to open a pdf file and then attach it with images
I am new to Indesign Server.
I'm currently working on a pdf.
I have a white blank pdf template.
that I want to attach/glue it with images.
How to open a pdf file and then attach it with images.
Please, help me.
Thanks.First step would be to make yourself familiar with InDesign desktop version.
Whatever you intend to achieve, do it there manually. (see regular app docs or forums)
Then try to automate your steps with scripting (see scripting docs or forum)
If you can do it with a script in the desktop version, that script will likely also run in ID Server. (see server forum).
If you can specify missing features not achievable thru scripting or manual use, reconsider to write a plugin (this forum).
A seasoned C++ programmer will need a few months to learn the basics, wade thru tons of documentation etc. Alternatively consider to hire a consultant to do the development work for you.
Dirk
Maybe you are looking for
-
I have a 6i report. I can log into oracle apps and run the thing and look at the output. very pretty. What I also have is a portal, in which I am using portal builder. i am very new to all this. when i went to "add item" on the page i want to add a r
-
ORA-12853: insufficient memory for PX buffers
SQL> STARTUP NOMOUNT ORA-12853: insufficient memory for PX buffers: current 0K, max needed 2640K ORA-04031: unable to allocate 21544 bytes of shared memory ("large pool","unknown object","large pool","PX msg pool") Database would not go to any state.
-
Hi, I'm looking to add a new node at the top menu, I know someone posted something similar but he never got an answer (Addition of new child node (to menu item) I created a new component that has the following: <@dynamichtml custom_finish_layout_init
-
Difference between two rows of a table.
Hi All, I have a requirement where I need to calculate the difference of a column, but the values are in two rows. Its exactly like this, I am having a table where in I have stored incidents with their status and their modified dates example: Inciden
-
Colors issues with exporting.
I just purchased a new Dell monitor and have it calibrated using a Spyder Pro 4. The issue I am having is I will edit the photos as I want in Lightroom 3 and they are fine. When I export them they look alot different. I will open them up and they