Any idea why this javascript always brings the console up?

I'm not a great java expert but for some reason the code below always brings the console up before it executes correctly.
Any help or suggestions would be appreciated.
Thanks
Steve
// Set Doc Info
// Save existing settings
var temp = this.info.title;
//Show dialog box
var cRtn = app.response("Current Doc Summary is: \"" + temp + "\"");
//Check for empty response
if ((cRtn == null) || (cRtn == ""))
this.info.title = temp;
else
this.info.title = cRtn;
//Set author
this.info.author = "Steve";
//Set Subject if empty
if (this.info.subject == "")
this.info.subject = "Steve Subject"

I just did the same test and pasted the code into a button on a blank form and it executed properly without opening the console too!!
Why it feels the need to open the console when run from a batch sequence beats me, thought it might have been one of the settings to display errors etc but even when they are all de-activated up pops the console each time.
A simple one liner does not open the console so I thought maybe it was a code error that I was missing.
Doh!

Similar Messages

  • I am trying to softproof an image using a CMYK .icc file. I sent an image from LR 5 to PS CC 2014, opened the Camera Raw FIlter, but the hyperlink to access workflow is not showing up in the CR dialogue box... Any ideas why this might be?

    I am trying to softproof an image using a CMYK .icc file. I sent an image from LR 5 to PS CC 2014, opened the Camera Raw FIlter, but the hyperlink to access workflow is not showing up in the CR dialogue box... Any ideas why this might be?

    I am trying to softproof an image using a CMYK .icc file. I sent an image from LR 5 to PS CC 2014, opened the Camera Raw FIlter, but the hyperlink to access workflow is not showing up in the CR dialogue box... Any ideas why this might be?

  • When I compose an email in either gmail or yahoo, the cursor lags behind for about 2 seconds. This does not happen when I compose an email with Safari or Chrome. I am using a Mac with Firefox version 3.6.3. Any idea why this happens?

    When I compose an email in either gmail or yahoo, the cursor lags behind for about 2 seconds. This does not happen when I compose an email with Safari or Chrome. I am using a Mac with Firefox version 3.6.3. Any idea why this happens?
    == This happened ==
    Every time Firefox opened

    try
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • My wifi goes down at least once a day and I have to unplug the time capsule and reboot it and then it works fine.  Any idea why this is happening/what I can do to fix it?

    My wifi goes down at least once a day and I have to unplug the time capsule and reboot it and then it works fine.  Any idea why this is happening/what I can do to fix it?

    I was having this problem while still using Mavericks -- it started after a Mavericks update last spring.  During the initial Yosemite beta runs over the summer, it seemed to be fixed, but after the official launch in October, I had all sorts of problems keeping connected.  Its gotten a little better, but still happens to at least one of my devices every day.  Weird that we still cannot figure out why the connection keeps dropping on some devices, but not others, and then the next day, one of the devices that didn't disconnect the previous day will disconnect, but the ones that did disconnect, stay connected.  It's just sloppy, poorly written software for technology that isn't working the way it should.  If you turn off Continuity and Handoff on all your devices, you will probably see that everything stays connected.  With those turned off on all devices, TC stayed connected to everything for over a month.  The day I turned Continuity back on, all the problems started again.  It had something to do with the bluetooth version being used, the wifi routine, and Apple's AirPlay technology not quite getting along with each other.

  • My iphone suddenly died as well. Holding the sleep button and home button together got it going again. Any ideas why this happens?

    my iphone suddenly died as well. Holding the sleep button and home button together got it going again. Any ideas why this happened?

    No, I don't think anyone here would know.
    Mine has done that once or twice.

  • I have noticed recently that deleted e mail messages do not disappear from the screen.  Instead they turn grey until I switch to another mailbox.  When I return, they are gone.  Any idea why this has started to happen?

    I have noticed recently that deleted e mail messages do not disappear from the screen.  Instead they turn grey until I switch to another mailbox.  When I return, they are gone.  Any idea why this has started to happen?

    I have noticed recently that deleted e mail messages do not disappear from the screen.  Instead they turn grey until I switch to another mailbox.  When I return, they are gone.  Any idea why this has started to happen?

  • On two occassions, all contacts were wiped off the Ipad. Any ideas why this would happen?

    On two occassions, all Contacts were wiped off the Ipad 2. Any ideas why this would happen?

    Did it happen during a sync or did they just disappear?  After they were gone, we you able to retrieve them during syncing?  Are you using any 3rd party apps to access your contacts or just the built-in Contacts app?
    In any case, I've not heard of or expeienced this on my iPhone 3G (synced with Outlook and now Google) or my iPad, although I've only had my iPad for a short time.

  • The crop tool in my tool bar is not showing up. Any ideas why this is? Please Help

    The crop tool in my tool bar is not showing up. Any ideas why this is? Please Help

    It's the 3rd one on Photoshop standard.  As Curt implies, each little icon position has several possibilities you can display, allowing you some customization of your Tools panel.  Click and hold the mouse button to see each of the choices.
    -Noel

  • On my Mac (vers 10.7.5) I use Disk Utilites to burn a DVD. The DVD won't play on the Mac but will play on my Windows PC and on a DVD player. A DVD created on my PC will play on the Mac. Any ideas why this is happening?

    On my Mac (vers 10.7.5) I use Disk Utilites to burn a DVD. The DVD won't play on my Mac but will play on my Windows PC and on a DVD player. A DVD created on my PC will play on the Mac. Any ideas why this is happening?

    I used iDVD to create an IMG file
    You created the video DVD, the IMG file, with iDVD and just burned it with Disk Utility. As Klaus1 pointed out Disk Utility can't create video DVDs.
    OT

  • I have attempted to update a few apps and the install has frozen on 'waiting' not allowing me to either access the app or delete it, any idea why this has happened and how do I get around it?

    I have attempted to update a few apps and the install has frozen on 'waiting' not allowing me to either access the app or delete it, any idea why this has happened and how do I get around it?

    See if either of these things works for you. In the future ... Only update one app at a time. Forget that the Update All button even exists. It causes more problems than it does good - IMO.
    Make sure that you do not have a stalled download in iTunes - a song or podcast .... if you have a download in there that did not finish, complete that one first. Only one thing can download at a time on the iPad so that could be what is causing the problem.
    If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>iTunes & App Store>Sign in and then try to update again. Tap one waiting icon only if necessary to start the download stream.

  • HT201412 My camera light is staying on any ideas why this is as its just started to happen

    My camera light is staying on any ideas why this is as its just started to happen and I have no idea what's happened or how to switch it off

    That also indicates a hardware issue with the power and/or home buttons.
    You need to bring the phone to an Apple store and have them check it out.
    ~Lyssa

  • Iphoto will not re-install after disappearing during a software update, any ideas why this happened?

    Before i ran the software update i had to iphoto icons in the launch pad, both had exactlly the same content so i just ignored it for a wile till i needed to update my photos, which i was hoping to do after the update.
    However when i restarted both iphoto icons had gone and iphoto seems to have been wiped off my mac completelly, I have got a back up of all my pic and videos so this is not a problem of recovering them.
    i have then tryed to instal iphoto from the app store, resulting in there being a perminant downloading icon making no progress over the last two hours.
    If any body has any idea why this happened and what i can do to provent it happening again as well as getting iphoto back the help wil be much apricated.

    In addition to Larry's questions what software update did you apply? Do you still have an iPhoto Library in your Pictures folder? If you do what happens if you double click on it?
    OT

  • My Mac won't read cyrillic in certain files and displays instead weird characters like this: "–í–µ-Ç–µ-Ä –ø-Ä–æ–¥–∏-Ä–∞–µ-Ç –¥–æ –∫–æ-Å-Ç–µ–π." Any ideas why this might be or how I can solve it?

    Yesterday I extracted the subtitles of an MKV file to try and print them. Unfortunately, when I open the .srt file with any text processor, it displays weird characters like the ones included in the title:
    "–û–±—ã–≤–∞—Ç–µ–ª–∏ –ø–µ—á–∞–ª—å–Ω—ã.
    –í–µ—Ç–µ—Ä –ø—Ä–æ–¥–∏—Ä–∞–µ—Ç –¥–æ –∫–æ—Å—Ç–µ–π."
    I thought this had to do with it being an .srt file, but just now I encountered the same problem with an Excel file.
    Any ideas why this might be or suggestions as to how to solve it?
    Thanks in advance,
    Mario

    It looks like an encoding problem.  You should try opening the file in a text editor where you can choose one of the various possible cyrillic encodings (utf-8, koi8-r, iso-8859-5, win-1251, MacCyrillic)

  • After clicking on my FF shortcut icon on my desktop, it takes FF 30-45 seconds to open. Any ideas why this happens?

    after clicking on my FF shortcut icon on my desktop, it takes FF 30-45 seconds to open. So i sit there and wai and wait and wait until it finally opens. Any ideas why this happens?

    In order to diagnose your problem you will need to download and install the below
    Try clicking the tap problematic apps while the trace is running
    Install the WPT (windows Performance Toolkit) 
    http://www.microsoft.com/en-us/download/details.aspx?id=30652
    Help with installation (if needed) is here
    When you have, open an elevated command prompt and type the following 
    WPRUI.exe (which is the windows performance recorder) and check off the boxes for the following:
    First level triage, CPU usage, Disk IO.  
    If your problem is not CPU or HD then check off the relevant box/s as well (for example networking or registry)  Please configure yours as per the below snip
    Click Start
    Let it run for 60 secs or more and save the file (it will show you where it is being saved and what the file is called)
    Zip the file and upload to us on Onedrive (or any file sharing service) and give us a link to it in your next post.
    Wanikiya and Dyami--Team Zigzag

  • I just upgraded my software to OS X 10.9.2 (13C64) and i can no longer use my printer (epsun stylus sx235w).  any ideas why this would happen?

    i just upgraded my software to OS X 10.9.2 (13C64) and i can no longer use my printer (epsun stylus sx235w).  any ideas why this would happen?

    Mavericks is the name of your operating system. It is otherwise known as OSX 10.9.
    The previous versions were indeed "cat things".
    The way you would know if you need to download new software from Epson is to go the Epson website and search for your printer there, look for downloads, and see if they have new software listed for 10.9.
    You can revert your system back to what it was two weeks ago. This would be easier to do if you have a backup that you made prior to installing Mavericks (like with Time Machine). If you don't have a backup (sounds like you probably don't), you can look here for some directions about how to go back to the "Cat Thing" that you had prior to installing Mavericks: How to revert OS X back from Mavericks: Apple Support Communities
    If all of this is too hard for you, you could take your Mac in to your Apple store and ask them to help you.

Maybe you are looking for

  • ITunes Disables My Internet On Vista 64-Bit

    I don't know if anyone has ever heard of this issue, but let me detail this as much as I can, and see if anyone knows of a work around... So I recently set up my girlfriend's network, with her ISP's modem and a Linksys wireless router (http://www.lin

  • Passing parameter between portlets

    I have a page with 2 rows and the first row contains a portlet (form) which has just one field (dept_id) with lov attached to it. When a dept id is selected from the lov I need to retrieve the corresponding employee details in the portlet which is a

  • Position to first field in a form WITHOUT JAVASCRIPT

    DOes anyone know how to position to a field in a form without using javascript OR is there code that can be used in JSP to tell whether the browser is javascript enabled and within that block, use javascript to position to the field.

  • Which is the way to take JNDI info about some Entity Bean????

    I'm trying to take the JNDI reference of an Entity Bean for using in a lookup method in a dimanical way. i.e I have to choose one of any possible Entity Beans depending of the JNDI reference of them. Any help needed... Thank you.

  • Cannot shut down, restart, or log off iMac

    I have an iMac with OS 10.5.2. I use the Virus Barrier virus protection program and have not had any problems with it. However, immediately after installing the latest Virus Barrier update, my computer began acting strangely. Most importantly, since