InDes CS3 - open without showing window

Hi
I am transferring perfectly working script from Tiger-CS2 to Leopard-CS3 environment - and stumble practically on each line
For example this:
set myDoc to open theDocument without showing window
Worked for CS2. Now it doesn't compile, highlights "window" and says "Expexted end of line, etc. but found class name"
Where could I find what's different between scripting CS2 and CS3?
Would greatly appreciate any help!
Vera

Now I know that it's not CS3 problem - it's Leopard or Script Editor. Took my script on Tiger machine - compiled fine.
BTW, Sample Script from Adobe doesn't compile on my Leopard machine.
One down more to go...
Vera

Similar Messages

  • AS CS3 open without showing window

    Hi
    I am transferring perfectly working script from Tiger-CS2 to Leopard-CS3 environment - and stumble practically on each line
    For example this:
    set myDoc to open theDocument without showing window
    Worked for CS2. Now it doesn't compile, highlights "window" and says "Expexted end of line, etc. but found class name"
    Where could I find what's different between scripting CS2 and CS3?
    Would greatly appreciate any help!
    Vera

    Now I know that it's not CS3 problem - it's Leopard or Script Editor. Took my script on Tiger machine - compiled fine.
    BTW, Sample Script from Adobe doesn't compile on my Leopard machine.
    One down more to go...
    Vera

  • Why, if I have to restart my iMac does the terminal open and I have to restart again to make Mail (6.3) open without showing it offline?

    Why, if I have to restart my iMac, does the terminal openm and why do I have to restart again to make Mail (6.3) open without showing it offline?
    early 2009 iMac 320  4GB memnory

    Triple-click anywhere in the line below to select it:
    osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null
    Copy the selected text to the Clipboard (command-C).
    Launch the Terminal application.
    Paste into the Terminal window (command-V).
    Post any lines of output that appear below what you entered — the text, please, not a screenshot.

  • AS/CS3 open document without showing window

    Hi everyone,
    I'm pretty new to scripting and mostly I've used Applescript to script InDesign.
    In InDesign you can open a file without showing the window, which often speeds up the script.
    I cannot figure out how to tell Photoshop to open a file without showing the window.
    Is this possible?
    thanks!

    With CS4 you can also toggle the panels and set image zoom to .25% to speed up the script.
    togglePalettes();
    setZoom( .25 );
    function setZoom( zoom ) {// as percent
       cTID = function(s) { return app.charIDToTypeID(s); }; // from xbytor
       var docRes = activeDocument.resolution;
       activeDocument.resizeImage( undefined, undefined, 72/(zoom/100), ResampleMethod.NONE );
       var desc = new ActionDescriptor();
       var ref = new ActionReference();
       ref.putEnumerated( cTID( "Mn  " ), cTID( "MnIt" ), cTID( 'PrnS' ) );
       desc.putReference( cTID( "null" ), ref );
       executeAction( cTID( "slct" ), desc, DialogModes.NO );
       activeDocument.resizeImage( undefined, undefined, docRes, ResampleMethod.NONE );
    // your code here
    togglePalettes();
    If you where using javascipt you could also place all you code in a string and suspendHistory to speed it up a little more.

  • [JS] Open document without showing window

    Hi there, wise scripters,
    Win7 64-bit, CS6, ID8.0.2
    I need to open indd doc, process some code, close file. Everything works fine.
    However, the 'open' method has a parameter [showingWindow], right?
    To speed things up a bit, I try to turn off displaying document's window by using the 'false' argument while opening the file, like this:
    var file = File.openDialog(); 
    app.open(file, false);
    ... and can't get it to work. File just won't open then.
    Found a few posts where people say it's working just fine for them.
    What I am missing / doing wrong?
    Thank You!
    P.S. Funny thing is, a couple of years ago, playing with 'save', 'save as', and 'save a copy' options, I had achieved this effect unintentionally, in some quite different way I can't recall now...

    Hi,
    Well, I see now, my problem is a bit different...
    This is initial basic working code sample:
    var file = File.openDialog();
    app.open(file);
    app.pdfExportPreferences.pageRange = PageRange.ALL_PAGES;
    app.pdfExportPreferences.viewPDF = false;
    app.activeDocument.exportFile(ExportFormat.pdfType, File("C:/Folder/Test.pdf"), false, "myPDFpreset");
    app.activeDocument.close(SaveOptions.NO);
    alert("Done");
    Now I realized I can't simply add 'false' argument to app.open(file, false) - script throws an error 'No documents are open'.
    And this works as expected (not showing window):
    var file = File.openDialog();
    var myDoc = app.open(file, false);
    app.pdfExportPreferences.pageRange = PageRange.ALL_PAGES;
    app.pdfExportPreferences.viewPDF = false;
    myDoc.exportFile(ExportFormat.pdfType, File("C:/Folder/Test.pdf"), false, "myPDFpreset");
    myDoc.close(SaveOptions.NO);
    alert("Done");
    So I would need to modify the main code - that's too bad... I was hoping to use this in a much more complex script, with a lot of lines, doing a big bunch of things...
    However, thank You for your response and have a nice party tonight

  • How do I get a program for windows to open without putting windows on my computer

    How do I get a program for windows to open and setup on my Macbook Pro without purchasing windows?

    Try running it through CrossOver Mac or WineSkin.
    (82008)

  • Folders open without toolbars, windows to not refresh, other issues

    I am having a problem on my Mac G5 Dual 2GHz, it is running OS 10.4.11
    For the past few days when ever I open certain folders on our network volumes the finder windows always open without a toolbar and there are a variety of problems with these folders. When I scroll or open a subfolder that folder doesn't refresh or gets all fragmented (visually) like there are thirty little copies of the folder on top of each other. If I close the window or change the view it corrects itself. Also if I navigate to said folders in a program (InDesign) it sometimes crashes the program.
    Our network has not changed in anyway, the only new thing in our office is that a few computers started using Leopard.
    Our network is using xinet, appletalk, various Dell servers running NT.
    Any guesses what is going on?

    Hi jhc13, and a warm welcome to the forums!
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc that came with your computer, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5. Select your Mac OS X volume.
    6. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then Safe Boot , (holding Shift key down at bootup), use Disk Utility from there to Repair Permissions, move these files to the Desktop.
    /Users/YourUserName/Library/Preferences/com.apple.finder.plist
    /Users/YourUserName/Library/Preferences/com.apple.desktop.plist
    Or we could try deleting those silly hidden DS_Store files first...
    http://www.macupdate.com/info.php/id/10478

  • Compressor doesn't open and show windows properly

    Haven't used Compressor for a while and when I open it I don't get the windows, just the bar at the top. Choosing a windows layout doesn't work and although you can switch on the inspector, settings/destination and history windows I can't display the window that you drag the files, settings and destinations into. I've tried re-installing, no good. All other FCS programs work fine, before and after re-install, anyone know what's going on?

    Tried all the above suggestions, just had to properly uninstall FCS with FCS Remover then re-install. Window display is fine now but I'm not sure if it's actually doing anything, submit a job but nothing seems to be produced ...looking into that.

  • IMovie will not launch. keeps stating there was an error upon opening and will not allow for either restore windows or to open without restoring window.

    Appreciate any help I can get. Was working on a project  and hoping I did not lose it.

    That was my first attempt at fixing the problem and it didn't work. I guess I'll try it again.
    Edit: Nope, nothing

  • Without dialog window?

    I have an AppleScript that sends a message from one computer to another via Bonjour. I don't want dialog window to pop up. Is it possible? There is property "fisible" for vindows, but I am not sure how to impement it. Or may be there is the way to close window after message is sent. I think, it should be easy, but I am new in AppleScript, so any help will be appreciated.
    I posted this question in iChat forum too, but think here it's more appropriate.
    Thank you in advance
    Vera

    I send message by iChat, computers connected via Bonjour. Very simple script:
    tell application "Finder"
    set the_message to "....."
    set the_account to "Bonjour:...account id....."
    tell application "iChat"
    send the_message to first account whose id is the_account
    end tell
    end tell
    I don't want the window to pop up on the machine which sends the message. I know in InDesign there is an option "without showing window", but here it does not work.
    Best regards
    Vera

  • Mail window opens without mailboxes showing

    When first opening the Mail app the default window opens without the side panel showing Mailboxes, Reminders .mac mailboxes etc.. I see there is a button in the top left menu bar that says "show", this will open the side column- great- but is there any way to control this occurance?
    Thanks.
    MacBook Pro 17"
    OSX 10.7.3
    2.2 GHz Intel Core i7

    Clarification:
    Is there a way to apply a preference to open the mail window WITH side column showing? Currently, there is an extra step needed to get the mailboxes to show.

  • Sometimes when I close Firefox and try to open it in few moments it shows me message "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." However, I haven't o

    Sometimes when I close Firefox and try to open it in few moments it shows me message "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." However, I haven't opened any additional Firefox related programs, and previous Firefox is closed. First I though it is because of my computer, but then I discovered that other people have the same problem as well
    == This happened ==
    A few times a week
    == some 2 month ago ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; InfoPath.2; .NET CLR 3.0.30729)

    Hi Andis.
    First of all, this is completely normal behavior, although it's a bit irritating, I know. What happens is that when you close Firefox, despite the window disappearing right there and then, Firefox keeps running for a little bit until the whole closing procedure is completed. This can take a fraction of a second on fast computers, or can take a few seconds on slow computers or when Firefox is storing a large session (if you save your tabs). All you have to do is wait a bit until Firefox closes, and then open it again.
    To see if it's still running, you can press CTRL+SHIFT+ESC and then, under the Processes tab, you can see if firefox.exe is still there. If it's taking an unusual amount of time to close (which happens very rarely, and only if the browser freezes on exit), you can force the application to terminate from this application (task manager).
    Firefox 4.0 will reduce by 97% the time it takes firefox.exe to close, so this problem will be basically erased for Firefox's next version.
    Until then, I can recommend you this extension, which helps you restart your browser more easily and without bothering about closing times:
    https://addons.mozilla.org/en-US/firefox/addon/3559/
    Hopefully this will help.

  • How to access the options tab without opening firefox in windows 8.1?

    Recently moved from Windows XP to Windows 8.1. Used to be able to access the Firefox options tab via a context menu by right-clicking the icon in my Start Menu without having to open the browser window, which was useful for selectively deleting cookies, etc, after a browsing session.
    Is this functionality still possible in Windows 8.1? If so, how? Or is this just another Windows 8 annoyance?
    Thanks.

    Thanks.
    That does indeed do the job!

  • InDesign CS3 crashes without error when opening any 2nd InDesign file

    Issue: InDesign CS3 crashes without error and remains resident in memory if we have an InDesign file open and attempt to open a second InDesign file.
    OS: Win XP SP2
    InDesign Version: 5.0.2
    Hardware: Dell Precision WorkStation T3400, 4 gigabytes of memory, Intel Core2 Quad processor Q6600
    Details: No messages in the event viewer about the problem. We renamed the InDesign Defaults and the InDesign Saved Data file. We removed Creative Suite, restarted and then reinstalled Creative Suite (I could not remove and reinstall InDesign individually). We have created a new Windows profile for this user. I have one computer having the trouble. Other InDesign installations are working fine. This computer has 559 files in C:\windows\fonts. Other people that are not having the problem have a larger number of fonts installed.
    The issue is not file specific. We are not running out of memory as I checked the task manager after the first InDesign document is open.
    Why is opening a second document different than opening the first document?

    Hello Peter and Josh,
    I'd just like to assert that I am having the exact same problem as Josh. I've spent the time to go through the steps listed above and have found the same results.
    The issue as we see it multiple times daily is as follows:
    (1) User opens File1 (everything works fine)
    (2) User goes to open File2 (via explorer or via file->open) or print File1
    (3) The User Interface for ID disappears (InDesign.exe still appears in Task Manager and is NOT listed as "Not Responding", ID does not appear in the Task Bar)
    (4) The only way to continue work is to End Task/End Process InDesign.exe and relaunch.
    No error messages appear, no error logs are created(that I can find). Non-related concerns caused us to upgrade this users PC. With a completely new install we are still having the problems. The systems are listed as follows:
    OS: Win XP SP2 (fully updated minus SP3)
    InDesign Version: 5.0.2
    Newest Hardware: Custom Built Computer, 4GB RAM installed (3.24 recognized by windows), Intel Core2 Quad processor Q6600 @ 2.4Ghz
    OS: Win XP SP2 (fully updated minus SP3)
    InDesign Version: 5.0.2
    Older Hardware: Custom Built Computer, Intel D945GTP Motherboard, 2GB RAM installed, Intel Pentium D processor @ 2.8Ghz
    Troubleshooting:
    (1) Alt+Space and M then using arrow keys moves every other window the user had opened other than In-Design. The user has two monitors. (a) 1280x1024 and (b) 1200x1600 (yes she uses the monitor rotated 90 degrees
    (2) Log files - Non exist in the C:\Program Files\Adobe\Adobe InDesign CS3 folder. I've also done a search across the entire hard drive for any "*.log" files, none of which were adobe related.
    (3) Default Printer - Changing the default printer to Adobe PDF is not really an option. I was able to convince the user to temporarily switch to a different networked printer and await the results (most likely today or tomorrow it should recreate)
    (4) /3GB switch - Getting that last 700 something MB of memory isn't an issue. I've run MemTest.exe on all the available system memory overnight in a "burn in" test. The system ran fine the sticks were nice and warm when I got in from all the hard work :)
    (5) Order of Opening - The problem repeates regardless of order. The trick seems to be opening File2 or printing File1 (I had the user only work on one file at a time (required her to close any open files before opening the next, that wasn't fun for my user but the system didn't crash on opening in this scenario, just on printing. Obviously not a permanent work around)
    Any help here would be much appreciated as this has been plaguing us for months now.

  • Forcing Mail to open without any open windows

    Mail's crashing on me, and I think it's because of a certain RSS entry I opened. When I try restarting Mail, it shows the Inbox window and that RSS entry's window right before crashing again. The problem is that Mail remembers what windows it had open before it quit--even if it quit unexpectedly.
    Is there a way to open Mail without it remembering what windows it had open during its previous session? Like, some sort of command-line option, or something...
    Thanks in advance!

    Jim VanLeeuwen wrote:
    After you remove the folder, go to mail->preferences->RSS and set the bottom two choices to manually. Then you won't get RSS in your mail unless you want it.
    Thanks for replying too...but the problem is, Mail always crashes immediately when I relaunch it, before I can do anything like open the preferences.
    I guess I've explained myself poorly. Mail crashed on me while it was idly running with three opened windows: the inbox and two opened RSS feed entries. Now, relaunching Mail always results in the same behavior, all which happens in about a second before it crashes. First, it shows my inbox's window first, then the two RSS feed windows (without their contents inside visible), then the mouse cursor turns into a spinning beach ball. During this time, I can't click anything, and keyboard shortcuts like Cmd+, and Cmd+w don't work. Then Mail quits and a "The application Mail quit unexpectedly" window appears.
    I've sent a report of the crash to Apple, but right now, Mail's unusable to me. Is there a way, perhaps, to launch Mail in a safe mode or without any windows...or perhaps manually edit a configuration file? Something to prevent those RSS entry windows to not appear again on Mail's launch.
    Thank you all with your help so far, and thank you again in advance.

Maybe you are looking for

  • Error while exporting/uploading taskflow from JDeveloper 11.1.1.6.0

    Hi all, From WebCenter Spaces Administration I downloaded a taskflow (mashup ->taskflow) as an .ear and imported it into JDeveloper. I applied a few changes then right-clicked taskflow-definition.xml on the application navigator and picked "Upload po

  • Using 3230 as a modem--problem!

    Hi guys.. A help is needed here... I am using my 3230 as a gsm modem, to receive messages in an application in java. But the problem is that only the messages saved under "Sim messages" in the phone are available to read from 3230. So i can work arou

  • IOS 5 - Copy Paste in iMessage (no option)

    Is it me, or is there no option to copy/paste in the iMessage/Message app?? I double tap, or hold tap and my options do not appear (like in previous versions). Thanks, Scoface

  • A strange bug in 10Gr2.How to handle??

    Hi friends, In Oracle 9i releases It works fine... SQL> set serveroutput on SQL> exec dbms_output.put_line(10*99990000*12); 11998800000 PL/SQL procedure successfully completed. but in any 10g releases the same code gives.. SQL> set serveroutput on SQ

  • I can't get rid of old phone number

    I left my old job where I had a second iPhone.  Now that number still shows up in setting up iMessages on any of my Apple Products.  I can uncheck it, but i'd like to disassociate that number with my account.  Anyway to do this?