Break long process in CC 2014 (Mac OS)

var win = new Window("palette", "SnpCreateProgressBar", undefined);
win.pnl = win.add("panel", undefined, "Script Progress");
win.pnl.progBarLabel = win.pnl.add("statictext", undefined, "0%");
var btn = win.pnl.add ("button", undefined, "Cancel");
btn.onClick = function() { win.close(0); }
win.show();
var i = 0;
while(i < 200) {
   win.pnl.progBarLabel.text = i + "%";
   $.sleep(30);
   win.update();
   i++;
//   activeDocument.textFrames[0].contents = i + "";
   redraw();
alert('Done!');
win.close();
button not work
MacOS
Give way to the user to break the script

withoutdix wrote:
button not work
yes it does, you press the button, the window closes, however your while loop keeps going, you need to explicitly stop it.
do something like this to stop the loop
var i = 0;
btn.onClick = function() {i=201; win.close(0); }
win.show();
while(i < 200) {

Similar Messages

  • Since upgrading to Mavericks, my Canon MP980 printer no longer works. I've tried deleting the printer and adding it again. the process ends with my mac saying the software is not currently available from the software update server.

    Since upgrading to Mavericks, my Canon MP980 printer no longer works. I've tried deleting the printer and adding it again. I've downloaded the driver software from Canon. My Mac dropbox tells me "the selected printer software is available from Apple", but when I click to download it, the process ends with my mac saying the software is not currently available from the software update server.

    Open Finder and click on Go > Go to Folder. Then type
    /Library/Printers/Canon
    and press Enter. This will show the BJPrinter and iJScanner folders. You could try moving or trashing this folder and then installing the driver that you downloaded from Canon again.

  • 2014 Mac mini 2.5" SSD upgrade

    Hi all.
    A long time Mac Mini fan here - after spent almost 3K for Mac Pro (outdated in few years) that I have to "accept" Apple's product refreshing strategies - that upgrade my hardware periodically is the trend.
    Since then, I have turned to Mac Mini - for the small fraction of cost, I can "update" my Mini more frequently.
    2009 Mac Mini x 2 (mine and my spouse's) are currently at grand children's possession, still going strong.
    Now, we have 2010 (TV at bedroom), 2011 (mine) and 2012 Mac Minis.  They were all the top Spec models - at the time.  2012 i7 Quad core, 2011 i7 with 6630M AMD video etc.
    Cut into the story - I also put SSDs in all of them ( 1T SSD in 2012, 256Gb x 2 dual drives in 2011 and 256Gb in 2010) plus used Terminal to enable "TRIM" - until 10.10. .. sigh
    Along with iOS 8.1.1 - I start to notice the inadequacy of my 2011 Mac Mini - airdrop/hand off will not work natively without some modification.
    After tossing around getting an 2012 i7 Quad-core Mini ( 800-1000 USD) or - jumping into the fixed memory, 2014 Mini?
    I decided to order a base model of 2.6GHz i5, with stock 1T hard drive, 8G ram (639-699 USD).  Because I have few 512Gb SSD sitting around - I was torn to order the higher end model with PCI-e Apple OEM SSD 512G.  After all the price adding, I realize I can buy TWO base 2.6GHz i5 Mini than 1 customized high end Mini.
    Through the web, I found the Fusion drive model (2014, oh, with USD 200 extra) has PCI-e 128Gb SSD and 1T HDD.  I am hoping one day, iFixit will have the part for the PCI-e cable/setting to be placed in 2014 Mini - for some people want to play around.  For now, I am settling with slower speed of SATA-3, third party SSD without TRIM.
    According to UPS, the my new toy will be delivered Monday and I will post more details about this SATA SSD upgrade process.

    After few days of testing.
    I finally solved the problem of screen flickering ( when an app is opened, or few apps are opened), the screen will flicker on the app(s).  This happened on Firefox, MS Word, Soundtrack (yes, I am still using it). iTunes, iPhoto, even "system preferences" etc etc.
    First, my system was built via Time Machine restore - after SSD (Crucial 512Gb) on the SATA-3 port. ( theoretically would be slower compared to PCI-e SSD) on my 2014 Mac Mini 2.6Ghz, 8Gb memory. ( I chose the basic 2.6Ghz base model to save few $$, since I have two 512 Gb SSD laying around, instead of custom-build for 512 GB SSD PIC-e, with USD 1,299.00 price tag).
    I tried numerous methods to avoid the flickering ie - PRAM reset, HDMI -> monitor, HDMI -> DVI cable, Thunderbolt -> DVI, Thunderbolt -> VGA on two different models of screen : no success.
    The only time I could get a normal decent "flicker free" was when I booted into safe mode - after reboot - same issue.
    I also used hardware check as Mini indicated "no issues" on the hardware.
    I went to Apple Store and play with their set up - no issues (of course, Mac Mini was hooked on the Apple Display, wow!)
    I started to wonder - either it would be OS X issues or "third party" software??
    So, I took the 512 Gb SSD out (it is some sort of "pain" to open 2014 Mini), then used another SSD (120 Gb) for a clean install.
    A fresh 10.10.1 on 2014 Mac Mini without other 3rd party software - worked great, no flickering at all.
    I started to add the apps I normally have, one by one to test - UNTIL -- Microsoft Office 2011 (home and business version)
    I have Outlook to synch with my Calendar, and typical Word, Excel, Powerpoint on my system.
    As soon as I put Office 2011 on it - Voila!  I found the culprit.  It was running 14.4.6 version.
    So, I put my 512Gb Crucial SSD back (another pain again) and booted up normally - same issues.
    I have been check Apple to see if OS X 10.10.2 becomes general public release (hoping the problem would be accidentally fixed) - in the mean time, I was using my 2011 Mac Mini as the main system.  2014 Mac mini was on the disable list.
    Until today, Office 2011 released 14.4.7 - I gave it a try and finally, Mac Mini 2014 with Iris GPU would not demonstrate "flickering" issues after the update!
    Whew!! 
    Sam

  • Dual boot OS X 10.10 plus OS X 10.6.8 on new 2014 Mac Mini?

    Hi,
    I am currently thinking about buying a 2014 Mac Mini. As I still need to use some very expensive (albeit old) software, I would like to run a copy of OS X 10.6.8 (strapped for cash).
    I currently own a 2011 MacBook Pro 17" and I have partitioned the disk and run OS X 10.9.5 on 700GB and OS X 10.6.8 on 50GB. This has worked great for the past 2 years. I simply press ‘alt’ on booting and select my OS depending on which software I need to run.
    My question is, can I do the same with a new 2014 Mac Mini using one of my Time Machine back-ups (install from Time Machine option on istall)?
    I would be very grateful to anyone who can offer me some advice.
    Many thanks,

    John Lockwood wrote:
    Other than running Mac OS X 10.6.8 Server in a virtual machine as previously suggested your next best option is to consider buying a secondhand older Mac that is capable of running 10.6.8.
    Just to make it clearer, 'ordinary' 10.6.8 is not allowed due to Apple's license terms to be run in a virtual machine only the 'server' version is. The server version of 10.6.8 can run normal applications and you do not have to use the server bits itself. If you try installing the 'ordinary' 10.6.8 in to a virtual machine it will not work as they check for this.
    The new 2014 Mac mini will not run 10.9.5 either, the 'oldest' version the 2014 model will run is 10.10, it will of course also run 10.10.1.
    1)     Older Macs are just that: older and out of warranty.  So of course the user is subject to the risk of hardware failure without necessarily much warning and little or no recourse (other than purchasing another older Mac) when the hardware does fail.  This may also be a different problem for the OP, as cost appears to be a major consideration here.
    2)     The use of Snow Leopard Server in Parallels will cost about $99 retail (less, if some shopping for "discounts" on Parallels is done on the internet).
    Installing Snow Leopard Server into Parallels for DUMMIES:
    http://forums.macrumors.com/showpost.php?p=17285039&postcount=564
    3)     It was a common myth that the Snow Leopard EULA prohibited its virtualization in Lion and thereafter on a Mac.  That myth has been debunked in the 3-1/2 years since Lion was first released and repeating it now does not make anything "clearer" but only tends to confuse an OP.
    In any event whatever remains of that long forgotten debate is now mostly moot since Apple reduced the sales price of Snow Leopard Server by 95% (by telephone orders only; 1.800.MYAPPLE (1.800.692.7753) - Apple Part Number: MC588Z/A); that is, for the same $20 as it sells Snow Leopard client and it is much easier to install, use and maintain Snow Leopard Server in virtualization, including Parallels.

  • Is new 2014 mac mini good for audio production

    I want to learn how to use logic pro/audio production software. Is the 2014 mac mini powerful enough to run logic pro/audio production software efficiently? any feedback would be greatly appreciated. Thank you.

    +1...
    My 'problem' with the current range is that the memory is no longer upgradable.... (What you buy initially is what you get) and i7 Quad Cores are no longer available for the MMs.. just Dual Cores....
    This is why earlier MM models via the Apple Refurb store, have been is such short supply because they sell out within an hour or so of becoming available!
    You might find this site useful for tracking down Refurbs....
    https://www.refurb.me/us/
    Note: Apple refurbs are excellent value for money as they come with the same warranties as new models... plus you can purchase the extended Applecare as you can for new models... but typically sell for 15-45% less. I haven't bought a non-refurbed Mac in several years now... and couldn't be happier with the quality and reliability of the refurbished ones.
    Example: In 2012 I bought a 27" 2011 iMac 3.4Ghz 16GB AMD 2GB 1TB plus 3 years of Applecare for 40% less than the then current new cost.... Great deal indeed!

  • Bridge place command no longer works for indesign 2014

    Bridge place command no longer works for indesign 2014. It only gives Photoshop as an option. How can I get all other Adobe programs listed under Place ?

    Your post sounds like an InDesign question. 
    Due to the current unavailability of clairvoyants and mind-readers in the forum, we respectfully request you supply sensible, complete details.
    A lot more information about your hardware and software is needed.
    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CC", but something like CC2014.v.2.2) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    a screen shot of your settings or of the image could be very helpful too,
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Got error id 502 with photoshop cc 2014 mac V.15.2.2 (15.2.2.310)?? latest version install, please urgent.

    got error id 502 with photoshop cc 2014 mac V.15.2.2 (15.2.2.310)?? latest version install, please urgent.??????
    Process:         Adobe Photoshop CC 2014 [851]
    Path:            /Applications/Adobe Photoshop CC 2014/Adobe Photoshop CC 2014.app/Contents/MacOS/Adobe Photoshop CC 2014
    Identifier:      com.adobe.Photoshop
    Version:         15.2.2 (15.2.2.310)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [146]
    Responsible:     Adobe Photoshop CC 2014 [851]
    User ID:         502
    Date/Time:       2015-02-06 10:27:25.031 +0400
    OS Version:      Mac OS X 10.9.5 (13F34)
    Report Version:  11
    Anonymous UUID:  817D6DB9-94A0-9F64-CA93-F771A1C7B832
    Crashed Thread:  0 Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000001a0
    VM Regions Near 0x1a0:
    -->
    __TEXT                 0000000104662000-0000000108f3f000 [ 72.9M] r-x/rwx SM=COW  /Applications/Adobe Photoshop CC 2014/Adobe Photoshop CC 2014.app/Contents/MacOS/Adobe Photoshop CC 2014

    got error id 502 with photoshop cc 2014 mac V.15.2.2 (15.2.2.310)?? latest version install, please urgent.??????
    Process:         Adobe Photoshop CC 2014 [851]
    Path:            /Applications/Adobe Photoshop CC 2014/Adobe Photoshop CC 2014.app/Contents/MacOS/Adobe Photoshop CC 2014
    Identifier:      com.adobe.Photoshop
    Version:         15.2.2 (15.2.2.310)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [146]
    Responsible:     Adobe Photoshop CC 2014 [851]
    User ID:         502
    Date/Time:       2015-02-06 10:27:25.031 +0400
    OS Version:      Mac OS X 10.9.5 (13F34)
    Report Version:  11
    Anonymous UUID:  817D6DB9-94A0-9F64-CA93-F771A1C7B832
    Crashed Thread:  0 Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000001a0
    VM Regions Near 0x1a0:
    -->
    __TEXT                 0000000104662000-0000000108f3f000 [ 72.9M] r-x/rwx SM=COW  /Applications/Adobe Photoshop CC 2014/Adobe Photoshop CC 2014.app/Contents/MacOS/Adobe Photoshop CC 2014

  • Where can I find Garageband 11 6.0.4 or any old versions and how can i get it installed on my 2014 Mac Book Pro

    Where can I find Garage 11 v6.0.4 to install on my 2014 mac book pro .

    You cannot download a full installer from Apple's download site, only updates. Apple does no longer sell GarageBand '11, since the current version is Garageband 10.
    Try to find an iLife '11 installer DVD at Amazon. This will install an early GarageBand '11, version 6.0.x, and you can update it from Apple's support site to GarageBand 6.0.5 using this link: GarageBand 6 .0.5

  • Can I use a VGA/DVI-D monitor to a new 2014 Mac Mini?

    My wife's PC just died (it was a cheap 300 pc that lasted probably 5 years.
    She basically emails, web surfs, looks at pictures and plays candy crush on Facebook so she doesn't need anything too high end.
    I was thinking of getting her the basic 2014 mac mini but I have a VGA/DVI-D monitor (an older Dell) and it fits perfectly on her desk.
    Can I somehow hook up a new mac mini to either the DVI-D or VGA input?
    If not, what is the best monitor to get HDMI or should I look into a thunderbolt monitor?
    Thanks,

    Yes. You will have to purchase one of the following adopter:
    - HDMI to DVI and use the Minis HDMI output
    - Mini displayport to DVI adopter and use one of the Minis Thunderbolt ports
    - Mini displayport to VGA adopter and use one of the Minis Thunderbolt ports
    I would use the monitor's DVI input over the VGA input

  • 2014 Mac Mini connected to Samsung s22b310b monitor colors bad upon waking from sleep.

    Occasionally when I wake the 2014 Mac mini from sleep the colors on the monitor are very bright.  I go into systems preferences and then display.  I click on the color button and it will change back to normal.  I have tried both a DVI to mini displayport and VGA to mini displayport.  Problem occurs with both.  What else can I try to prevent this from happening?

    Try resetting the SMC and PRAM
    Intel-based Macs: Resetting the System Management Controller (SMC)
    About NVRAM and PRAM

  • I am batch processing in PS 2014 (watermark and saving as jpeg from ps file). I get the message for some but not all 'this file needs to be saved as a copy with this option'. And then I have to save it manually. Does anyone know why this happens? (It is j

    I am batch processing in PS 2014 (watermark and saving as jpeg from ps file). I get the message for some but not all 'this file needs to be saved as a copy with this option'. And then I have to save it manually. Does anyone know why this happens? (It is just a plain photoshop file, a watermark is added, then save as jpeg - the jpeg is saved to a different folder than the original photoshop file.)  It happens for about 10 of 30/40  files approximately . Thank you, Kathryn

    I believe I have figured it out - I need to flatten the image, even though there are no layers except for layer 0, first.

  • I can no longer send emails from my mac yahoo business account, but can send them directly from yahoo. just not from mac mail. I've been able to send emails perfectly fine until today. Help!

    I can no longer send emails from my mac yahoo business account, but can send them directly from yahoo. just not from mac mail. I've been able to send emails perfectly fine until today. I've been on the phone with yahoo mail and they've verified that my account settings are correct and I can send email from yahoo. I can receive emails via Mac mail, but just can't send them. An error message appears that says:
    "Sending the message content to the server failed." I can't send emails from my Mac desktop, iphone or ipad. Any suggestions! Help! I'm a Mac rookie and so frustrated! Thanks.

    Please read and begin using Can receive email, but not send email. I had a similar issue with Comcast mail (could receive by not send) and found my answer in this letter. For me it took resetting the outgoing mail and telling the system to use a password when sending outgoing mail. If you need help with that please advise and I'll tell you where to look. 

  • Why can I no longer access google from my mac with either Firefox or Safari

    why can I no longer access google from my mac with either Firefox or Safari — both with latest updates loaded. My PC is fine.

    What was before? And what is now?
    It is a good idea to include the machine type and OS version in your problem posts.

  • I have Acrobat 7.0 updated to 7.1.4 which surprising no longer works after upgrading my mac os

    I have Acrobat 7.0 updated to 7.1.4 which surprising no longer works after upgrading my mac operating system to OS 10.8.5 (mountain lion), and gives an err message that system no longer supports PPc applications. I guess Acrobat 7 is a PPc application and wanted to know if there is any work-forward here to be able to keep using this product? I didn't see this coming.

    There may be parts of it that work if the MAC is anything like the PC. I have been able to get AA 7 to partially work on a Win7, 64-bit machine, but several work-arounds are required. The biggest one is the installation of a PS print driver and such. So, can you open Acrobat and/or Distiller? Do they seem to function? If so, there may be some workarounds. Otherwise you probably need to purchase AA XI. Actually, I would recommend purchasing the newer version anyway -- just trying to give you a picture of what might be possible.
    When you say it no longer works it is not clear what you mean. You may need to clarify and also indicated if you have tried repairing the installation and such. I can't say a lot more since I am not really familiar with the MAC.

  • I have a 32 GB iPod classic, about 7 yrs. old. It is formatted to Mac, but I no longer have access to a Mac. Can I reformat it to PC (yuk!) without losing my music or screwng it up?

    I have a 32 GB iPod classic, about 7 yrs. old. It is formatted to Mac, but I no longer have access to a Mac. Can I reformat it to PC (yuk!) without losing my music or screwng it up?

    You need to transfer the music from your iPod on to your iTunes library on your PC, since that is where you are currently syncing and where you are signed into iTunes Match.  It doesn't matter that you were previously syncing it with a Mac, and you won't need to reinstall iTunes on your PC.  But you will have to use 3rd party software such as Touch Copy to transfer any music not purchased from the iTunes store from your iPod to your iTunes library.  Here's another guide on this, which is shoter and you may find easier to follow: Syncing to a "New" Computer or replacing a "crashed" Hard Drive.  Also, if you're using iTunes 11, go to View>Show Sidebar.  This will make it easier to follow along with these guides.

Maybe you are looking for

  • Options Missing in Receiver IDOC

    Hi All, We are moving from our Development to QA and I found a strange thing. In the IDOC adapter, the Option TAKE SENDER / RECIVER FROM PAYLOAD are available on my DEVELOPMENT , but they are not AVAILABLE On the QA. Is there some patch that needs to

  • OCA certificate not received

    Hello all, i have passed my Oracle 10g Administration 1 exam on 25-aug-2009 and since that time i have been waiting for OCA certificate what should i do in this regard and second thing is that i m MCP and whenever i register myself for Microsft exam

  • Subroutine should execute just after Commit

    Hi All, I am working on user exit. I am writing the subroutine in the user exit. This user exit is in SAP Standard program and this sap standard program have the commit statement. My requirment is that subroutine should execute just after the commit

  • Making a new group out of addresses received as copies

    Dear All - Here's a tricky one...I have a colleague who has sent me mail, and has copied this mail to dozens of others. I want to be able to make a contact group for all these people in address book, but don't know how (short of entering them all in,

  • Run Once Wrapper

    After I have logged in my desktop turns black. Mouse is working and I can start the Taskmanager. When I delete a process called Run Once Wrapper (runonce.exe) I get back the normal desktop and the PC seems to work OK. I have scanned for virus and mal