Newbie, trying to close and then choose another file
Hello
I'm doing a very simple script just to close a file and open a specific folder so I can choose another. Finally, I would like to learn much more, but even if that will allow me to save some work.
Closes the file that follows and shows the right folder but when I click on the file I want to open the name appears in the "File name" box, but it does not open, and I get an error message. If I specify the name of the file with the path, it opens but I want to be able to choose the file.
app.activeDocument.close (SaveOptions.no);
File.openDialog ("path");
I searched a lot a response but perhaps not using the right conditions?
Thank you
Gary
With File.openDialog (), you open the last used folder. To open a folder specified, use openDlg() instead. For example:
f = Folder ('/d/test').openDlg ("Select a file"); if (f !== null) { app.open(f); }
See the 'JavaScript ToolsGuide CC' (helping the ESTK) file for details. It is useful filter the list of files. For example, to display only the indd files, use this:
f = file ('/d/test').openDlg ('Select files', ' InDesign: * .indd ');)
Peter
Tags: InDesign
Similar Questions
-
Envy 17 2180el can I add a second hard drive, and then choose bios/boot of the system with which to start?
in the case give me the link of a hard disk of type to add
Hello
While you can certainly add another HARD drive in the Bay of secondary drive (you must also support and the connection cable) you can't boot from it - only in the Bay of primary HARD drive is bootable.
Kind regards
DP - K
-
B9180 printer on and offline cycles have tried to delete and then re-add printer
MacPro. Software up to date. B9180 line offline cycles. USB connection. Have you tried to delete and then re-add printer, did a power reset on the printer.
After these steps, a photo will be printed, and then the trash again.
Help
I don't know if the hub is the reason or not - but a powered hub is the better of the two options in the case of a USB connection.
If it was me, I connect the printer (temporarily) and remove the hub of the mixture just to see if it is the cause or not. If this isn't an option, what to connect to your home via ethernet and withdrawal/re-adding network as a network printer?
Remove the hub of the equation is just standard troubleshooting - get rid of the 'intermediaries' so to speak. Factors less in the equation, it is easy to sharpen the first cause (ideally the narrowing down to printer hardware or software of the computer/workstation). From what you have said so far, I doubt very much that the mac or the mac software is the issue. However, we need to refine the material until we can find the component that is causing the problem.
Other things to try to understand:
-Try a different outlet (remove the outlet, as the question)
-Try a different power cable (eliminating the feeder as the question)
-Try a different cable USB (USB cable like the question to eliminate)
-Try another port on the USB hub powered (port currently used on the hub so that the question of eliminating).
Because of the limitations of distance, looks try an ethernet configuration could have the least impact on your configuration, because the ethernet connections do not require a Repeater cable up to 100 m distance.
-
If you ask the question and then choose a solution, the thread will be closed or still can you ask more details?
(sometimes, someone answers my question, and I want to mark it as the solution and am not yet quite ready for the thread be closed...)If you still experience this issue, you can return to this thread.
But, you must clear the flag solved . -
Notepad or WORD or EXCEL, Lotus SAMETIME, I prefer SEPARATE (for multiple open documents) instead of tedious proceedings hover over the icon and then choose the one I want. I can't figure out how to change that, and it's a boring true change to XP. Does anyone know how to do this?
Go to the Start menu button, right-click on it, select Properties, click the task bar .
Click the drop-down list buttons Taskbar & select never combine.
That's all. You should now see an entry of the separate taskbar for each open file on your PC.
-
Desktop and personalization
When I did a right click on the desktop, click chart options, and then choose Panel fit, he won't go full screen "scale". I want to choose "center image", but there to "display full scale.
I thank very you much in advance!
Hello
Referring to the resolution of the screen?
I suggest you to return the item and check if it helps:
Change your screen resolution
http://Windows.Microsoft.com/en-us/Windows7/change-your-screen-resolution
Check the link for more information:
Get the best display on your monitor
http://Windows.Microsoft.com/en-us/Windows7/getting-the-best-display-on-your-monitor
-
In Adobe buy screen serial number, the "Download" button directed me to a download Avarto Bertelsmann. I have too drive my Mac, security s and downloaded files. Avarto installation was a failure and then found another site of Adobe which was a success. Should I be concerned about the unsuccessful Avarto download?
I've never heard of this person/company/link... but I'm not on Windows, Mac
-
How can I fix it? Lightroom 6 crashes at startup on my Mac. Have tried to uninstall and then reinstall
Hi Gary,
Please see the following link for the troubleshooting of the GPU for Lightroom: Adobe Lightroom GPU troubleshooting and FAQ
Let me know if it helps.
Concerning
Tanuj
-
Hello Hello. If I have Adobe audition, can I install first program in my laptop, and then in another (if I decide to change my cell phone for a newer laptop)?
You can install hearings on as much as you can, there are not limited to the facilities. However if you had bought the individual subscription, you can log in and activate the app as a full version on 2 devices only.
If you buy a new device and want to activate on the same, all you have to do is simply disconnected from Adobe Creative Cloud application of either of the 2 previous devices, so that you can maintain the number of activations that 2.
You can switch activation between devices, no problem.
Let us know if you need more details.
-
As a plug-in? I have problems with an editable IRS form. It gives me "Access denied" and then opens the file as an editable file. I was able to open the form in the library.
I found a few other questions on this forum who have remained unanswered. I found a site citing the problem for drive X - I use XI.
Change to drive XI. Perhaps the reader at the library had this as its default setting.
- In Adobe Reader, clear the check box enable the Mode protected at startup :
- If you have a PDF open, right-click the document, and then click Page Display Preferences.
- If you open Adobe Reader from the shortcut, click on Edit > Preferences.
- In the categories dialog box Preferences pane, click (enhanced) protection, and then clear the box enable the Mode protected at startup .
- Close and reopen Reader.
I have no idea if that setting has been changed in my XI player since I used this version exactly one year ago.
- In Adobe Reader, clear the check box enable the Mode protected at startup :
-
I have a new macbook pro and I didn't know that it is not a dvd player. Can I install my new photoshop elements 13 on my old laptop and then transfer the files to my new? If this isn't the case, I can download the installer from somewhere?
Hi Matt,
Try products download Photoshop Elements | 10, 11, 12, 13
Kind regards
Sheena
-
What Version of Adobe do I need power "extract" a page to an existing file and save/download another file?
Hi fcrawford,
You can use Acrobat Pro 11 or Std to accomplish this.
Please visit: http://acrobatusers.com/tutorials/extracting-pages
Kind regards
Rave
-
I am El Capitan OS X 10.11.3, Mail is stuck in a loop, I was responding to a message, and I tried to send it. Now, he presents this message, and then switch to another message / desktop /, mail inbox home screen, then the loops again. Force quit and restart it closes, then when I open the Mail once again, the cycle starts over.
I can't use the mail app at all.
Open the menu go with down option - Open Library - containers and move the folder "com.apple.mail" on the desktop.
Restart your Mac and check if it works very well.
-
If I leave firefox open and simply minimize everything is fine if I close it and then re-open it even though right now, I'm getting the boxes with the numbers rather than letters or numbers.
Try to set the pref gfx.font_rendering.directwrite.use_gdi_table_loading false on the topic: config page.
To open the topic: config page, type Subject: config in the address bar (address) and press the 'Enter' key, as you type the url of a Web site to open a Web site.
If you see a warning then you can confirm that you want to access this page.- Use the filter at the top bar of the on: page config to more easily spot a preference.
- Preferences that have changed see the bold (user set).
- Preferences you can restore the default value or change via the context menu.
-
Satellite A200 - 1 M 8 close and then open the lid of the screen to start to work
Dear community,
A few months ago my screen has stopped working. I took an external display and worked this way. (laptop screen did not work at all, even not toshiba logo)
All until once, I turned on my laptop, closed the lid and then he fired after 5 seconds (when all lights on), the screen worked normally.
Since then, I realized that I have to do this procedure every time I am switch on, or way the screen does not work.So I have to close the lid and reopen it after 5 seconds (not less), whenever I turn on my laptop. It works like this for months already.
Does anyone have a solution to this problem?
Hello
The FN + F5 key combination switches between monitors.
Have you used this combination to test the display button?
To be honest I m not very well if this key combination would be useful because it sounds like a problem with a display ON / Off switch (sensor).Usually such switch turns on and off the backlight of the screen if you close the lid
This is why I would recommend this audit, but of course it's work is a technician for laptop
Maybe you are looking for
-
In Thunderbird, the text of the messages disappeared, how do I restore it?
We noted that the text (and the attachs) of our messages have disappeared from messages before March 2014.What could have happened? And how to review the text (and attachs)?Thank you
-
Problem of security for wifi WNDR3400v3
Today all devices in my house loses connectivity to the router wifi at the same time and have been unable to reconnect. The devices are phones Android, iOS, iPad and laptop Win Vista. I have pedaled power the router, no change. Play with the settings
-
Satellite P100-219: can I use different drivers?
Hello I have a kind of stupid/lame question, but I would like to know that for sure.Can I use the drivers downloaded from the toshiba only site or can I use any other site (i.e. of intel.com; nvidia.com; whatever)?I ask because I know almost nothing
-
I recently bought the HP 250 G3 without OS laptop.I installed Win 7 pro 64 bit and all the missing drivers, which now seem to be up to date.I made my machine run all night to check synchronize files on dropbox and google reader, but this morning, I r
-
I get ox8024400a error when I try to get updates on Windows XP
I'm on windows xp when I try to download the updates, I get this error message using exlpoer8, when I try to get the updates that I can't