Refresh the window

Hello

I am trying to swap images as and when the user clicks the left button / right. After clicking on the arrow to the left of , I don't then refresh the window. Any help on this?

var win = new Window ("dialog", "Bouquet");
win.tabs = win.add('tabbedpanel');
win.tabs.ft = win.tabs.add('tab',undefined,'Data');
win.tabs.st = win.tabs.add('tab',undefined,'Library');
var image1 = win.tabs.ft.add("image", undefined, File ("/Users/Admin/Desktop/L23-1Pr_2ImHR-NTUP.png.png"));
win.tabs.ft.librow1=win.tabs.ft.add('group')
win.tabs.ft.librow1.orientation='row'
var image2 = win.tabs.ft.librow1.add("image", undefined, "/DATA/left.png")
var image3 = win.tabs.ft.librow1.add("image", undefined, "/DATA/ok.png")
var image4 = win.tabs.ft.librow1.add("image", undefined, "/DATA/right.png")
image2.addEventListener('click',function(){
        alert ("You Pressed Left");
                var image1 = win.tabs.ft.add ("image", undefined, File ("/Users/Admin/Desktop/L22-1Pr_1ImHR-NTUP.png.png"));           
                win.update();
        })
image3.addEventListener('click',function(){
        alert ("You Pressed OK");
        })
image4.addEventListener('click',function(){
      alert ("You Pressed Right");
        })
win.show ();



Screen Shot 2015-12-09 at 7.11.36 PM.png

You might find these useful links

How to replace the image in the scriptUI?

http://www.Indiscripts.com/post/2011/04/sprite-buttons-in-ScriptUI

The method you use will be adding pictures and not Exchange.

Tags: InDesign

Similar Questions

  • do I need to use the product for the management of the recovery key to refresh the window 8.1?

    do I need to use the product for the management of the recovery key to refresh the window 8.1?

    No, the product key will be automatically read from the BIOS.

  • Takes too long to refresh the windows on Windows XP

    Dear all

    I have a problem with my win Xp. When I update my windows, this radia too long. How we can solve this problem. I have 2 GB of ram and Dula Intel core pro.

    and one more a few windows is automatically stopped.

    If anyone has the same issue please advise me

    Looking forward to your support

    Thank you

    Thanks to your support. Finally I have formatted my PC.  now it's ok...

    Faris

  • refresh the content of the parent window?

    I use the task flow as the dialogs (instead of the usual popups) these are level tasks workflows superior and usual as windows popup html as Window.Open representative.
    In one case I change the information in the window of a child and after I hope to see changes in the opener. The changes are visible only when I refresh the window by pressing F5 in Internet Explorer. How can I force a refresh of the parent window? I guess I can do it with the parent activity call, but these are not authorized level superior taskflow. After the child window reject, I guess I could catch an event that happened in the parent window. Is this possible?

    Thank you!

    Published by: euggie on July 20, 2009 14:09

    Hello

    the command script that launches the dialog box should have a defined return listener. You use this to refresh the parent page

    Frank

  • Refresh the view current firefox page by using the keyboard shortcut without concentrating on the firefox window.

    I want to refresh the current page tab that the firefox browser open without focusing on that. For example, I focus on a text editor (creating a server-side code) and I save some changes and trigger my custom shortcut (IE [ctrl + alt + space + a]) key to refresh the firefox browser without concentrating on it.

    You can do that with a keyboard shortcut without opening/development the Firefox window.

    Maybe use this extension:

  • Bookmark drop downs that go outside the window of Firefox are left on the desk bookmarks closing requiring a refresh to clean

    If I open bookmarks and select a folder which is longer than the window of Firefox is high, the part of the list of bookmarks that falls outside the window remains on the desktop when I leave bookmarks or close the window. I then do a refresh of the desktop to get rid of the junk. Doesn't happen with IE9 MS. I use Windows 7 Home Premium on a SONY VAIO laptop. All started when I went to the VAIO in last November. A 'Show Desktop' or a refresh of the office cleaning.

    Could you try to disable graphics hardware acceleration? As this feature has been added to Firefox, it has gradually improved, but there are still some problems with some drivers/graphics cards.

    You need to restart Firefox for it to take effect, so save any work first (e.g. you compose mail, documents online that you are editing, etc.).

    Orange Firefox button or classic menu Tools > Options > advanced

    In the mini ' General' tab, uncheck the box for "use hardware acceleration when available.

    If you restart Firefox, the problem is solved?

  • HP Z800: HP Z800 refreshed win 7 pro 64... do not finish the windows updates...

    HP Z800 refreshed win 7 pro 64... do not finish the windows updates...

    Newly installed OS - everything seems to work fine, except for the shot without end to WIndows update... Verification of updates. Apparently, this affects the update of Windows 10 as well. Someone at - it ideas? I tried all the options via the site help MS. Merci.

    Greetings,

    Please read this.

    You can wait patiently (updates will appear later) or there is a problem in the article.

    You need to reinstall Windows for the fix. Your PC must be isolated from the network when reinstalling windows. You need to download both updates and install before connecting your PC to the network.

    I used the fix of Ed Bott and it works. But I reinstalled Win 7 again. I wasn't going to wait for hours and hours to get the security updates.

    You can try to install these updates on the problematic installation of Win 7:

    1. apply the Microsoft patch found here. Disconnect from the network.

    2. install the two updates in offline mode and cross your fingers.

    3. repeat on Windows Update.

    See you soon!

  • When I create a new folder in Windows Explorer, I hit F5 to refresh the screen, the file disappears.

    When I create a new folder in Windows Explorer, I hit F5 to refresh the screen, the file disappears. If I try to create the same again, I get a message that I already have a folder with that name. It is nowhere on my computer.  I've searched for it & he's not here.

    R.Click on the desktop, properties, desktop, customize, web, search & check

    "lock desktop items" closes when thru.

  • Windows 7 does not refresh the folder views

    I have the following problem:
    Windows 7 does not automatically refresh the folder view (until I have updated manually by pressing F5) after the following file operations:
    Create/delete/rename/move files or folders

    Final version of Windows 7 Professional, international English version. No upgrade, clean installation.

    It seems to me that it is a delay in my case: if I wait about 30 seconds, the updating is done automatically. There are shared folders on volume.

    I made the following points:
    -removed IconCache - did not help
    -Reset - folder views did not help
    -off to the discovery network and file sharing - did not help
    -Made a clean boot - did not help
    -a ran sfc - not found any violation
    -new user created account - did not help
    -updated the BIOS with the latest version - did not help
    -updated the VGA driver to the latest version - did not help
    -disabled the indexing of files - did not help
    -run Windows 7 Mode safe mode (without network): it seems that the problem does not occur

    I could be satisfied with Windows 7, but this question is terribly boring cause I work with a large number of files per day.

    Could someone help me?

    I had the same problem recently.  Here's what I discovered, FWIW:

    • After reading all of the above, it seems that, at the base, this is related to the shell of the user of Windows interface and how he tries to 'reach out' to other systems.  Fixes disable the Windows Client, disabling home groups, disable sharing of files, etc.
    • I discovered that I have the problem that in some folders.  For example, if I try to create a folder in the my DOCUMENTS folder, the problem occurs, but if I create the folder in a random folder on drive C: (e.g.. C:\MyTest), no problem!
    • I discovered that the folder appears finally - it takes 30 seconds. By pressing F5, I was "rush" of the process.  It also sounds like a kind of thing network client timeout.

    I wanted to start with the easiest, lowest impact.  It worked:

    • I opened the COMPUTER and removed a "network connection" that pointed to a server that is not currently available.

    That solved the problem completely.

    Dan Holme, Intelliem

  • Windows 7 Ultimate: Explorer is not refreshed after deleting a file, the deleted file still appears in the window, on the manual "Refresh" the file is deleted

    Windows 7 Ultimate: Explorer is not refreshed after deleting a file, the deleted file still appears in the window, on the manual "Refresh" the file is deleted.

    I have also changed the CLASSID HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\ {BDEADE7F-C265-11D0-BCED-00A0C90AB50F} / instance DontRefresh value to 0

    Hello

    (1) have you made changes before the start of this issue?

    (2) what happens when you try to start in safe mode?

    To start your computer in safe mode, you can see the link below:

    http://windowshelp.Microsoft.com/Windows/en-us/help/323ef48f-7b93-4079-a48a-5c58eec904a11033.mspx

    I suggest you to place the computer in a clean boot state and check if the problem is resolved:

    1. sign the computer by using an account with administrator rights.

    2. click on Start, type msconfig.exe in the Start Search box and press ENTER to start The System Configuration utility. If you are prompted for an administrator password or for confirmation, type your password, or click continue.

    3. on the general tab, click Selective startup, and then click on to clear the load startup items check box. (The check box use the file Boot is not available.)

    4. on the Services tab, click to select the hide all Microsoft services check box, and then all disable.

    5. click OKand then click restart.

    6. check if you still have the problem.

    See the link below for more details:

    How to troubleshoot a problem by performing a clean boot in Windows Vista

    http://support.Microsoft.com/kb/929135

    Reset the computer to start as usual after you have finished troubleshooting, follow these steps to reset the computer to start as usual:

    Click Start , type msconfig.exe in the Start Search box and press ENTER.

    1. If you are prompted for an administrator password or for confirmation, type your password or click on continue.

    2. on the general tab, click the Normal startup option, and then click OK.

    3. When you are prompted to restart the computer, click restart.

    If this does not work, try to run a SFC scan. To do a SFC scan follow the steps below:

    Use the System File Checker tool, which is also called scan SFC.

    File system (CFS) auditor verifies that all Vista system files are where they should be as they are by default and not corrupted, changed or damaged.

    1. click on Start, click principally made programs, Accessories, right-click on command promptand select Run as Administrator.

    2. click on continue or provide administrator credentials if prompted.

    3. in the command prompt window , type the following, and then press ENTER:

    sfc/scannow

    4. you should see messages on the screen the following:

    From the analysis of the system. This process will take time.

    Start of the phase of verification of the scanning system.

    % Of verification complete.

    5. once scanning is complete, check to see if the problem you are experiencing is resolved or not.

    Hope the helps of information.

  • How to activate the Explorer to auto-refresh in Windows 7

    I would like to allow Explorer to auto-refresh in Windows 7.

    To my knowledge, auto-refresh depends on the site you visit, not IE itself. You can try to search for AutoRefresher tools/plugins for IE in the web.

  • Refresh of Windows 8 is misleading and possibly in violation of the right of consumers

    The function 'refresh' of Windows 8 is misleading.

    Microsoft should reformulate the text of the button to make it clear that all the installed user applications will be lost.

    This breach of care can be reasonably expected causes major disruptions and consistent in days of lost productivity and more fresh download reacquire then put back in place and then reconfigure all software purchases, product keys, passwords, account etc. configurations.

    It took almost 90 minutes to as much (I transferred from one rep to another and have restock all my personal information) to try to get a copy of my product key for my downloaded Office 13 (original sent by email, but outlook has been removed), but they still can't find even the order - largest jeez worldwide software company and they may not share cust details during the call transfer or find a command it 6 months ago () good they can find an order 6 years ago!

    This MacBook pro is looking like a better buy with each second passing lost.

    Do that 2 hours - they gave up and put me back on hold with tech support where I was an hour ago...

    Well no, because the call dropped after 5 min of music then a burst of ring

    Hello

    I don't know how it could be more clear about what happens when you refresh the PC?

    Here is a screenshot of the first screen you see when you click the Refresh button.

    Concerning

  • I can not load down the windows store and does not refresh

    Windows said it fixed the problem but it still won't be updated also I can not down load Windows store, HELP I have no nothing to computing

    Original title: windows update doesn't

    This problem can occur for several reasons such as interruption of the connection between the computer and the Windows Update service, the system files related to Windows Update do not work properly etc. This problem can also occur if the manifest of components (CBS)-based services is corrupted.

    Follow these methods:

    Method 1.


    I suggest you to temporarily disable any third-party antivirus installed on the computer and check the status of update installation.

    Important note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.

    Method 2.


    Start the computer in a clean boot state, and check the status of update. A clean boot to test if any element of service or third party application startup is causing this issue.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or Windows 7, Windows 8

    : http://support.microsoft.com/kb/929135

    Note: When you are finished troubleshooting, follow the steps under "How to reset the computer to start as usual after a clean boot troubleshooting" in the article to start on normal startup.

    Method 3.


    You can reset Windows Update components, restart the computer and check the status of update installation.

    How to reset the Windows Update components?

    : http://support.microsoft.com/kb/971058/en-us

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs.

    Method 4.


    Rename the Software Distribution folder and verify the installation state of update.

    Follow the steps.

    (a) press "Windows + X" and click/click on "command prompt (Admin).

    (b) open the command prompt window, type these commands one by one, and press ENTER after each command.

    net stop wuauserv

    net stop cryptSvc

    net stop bits

    net stop msiserver

    Ren SoftwareDistribution.old C:\Windows\SoftwareDistribution

    Ren C:\Windows\System32\catroot2 catroot2.old

    net start wuauserv

    net start cryptSvc

    net start bits

    net start msiserver

    (d) wait for the course to complete.

    (e) close the command prompt, and then restart the computer.

    Now, go to Windows Update and try to install the updates. Check if it helps.

    Of reference articles.

    Upgrade to 8.1 Windows: FAQ

    : http://windows.microsoft.com/en-us/windows-8/upgrade-to-windows-8

    Error code 0 x 80073712 occurs in Windows Update or Microsoft Update

    : http://support.microsoft.com/kb/957310/en-us

    Note: When you "Refresh" the applications provided with your PC or you installed on Windows Store will be reinstalled, however, all the apps that you have installed from other websites and the DVD needs be reinstalled as they will be deleted. You will find a list of applications on your desktop after you refresh your PC.

    Response with the State of the question and we will be happy to offer you our help.

  • Refresh the layers/buttons in Acrobat Viewer (Windows 7/Mac)

    Hi all

    We have recently upgraded to Adobe Acrobat Pro XI on Windows 7 and update our PDFs to display up to 13 layers which can be enabled or disabled using the form and Javascript buttons.

    All displays and functions fine Reader XI for Windows 7, but when we try on the drive (worm 10.1.7) for Mac there are a few questions. When we zoom in to 100% and click one of the buttons, layers and some buttons disappear. Only after moving the mouse they reappear.

    I searched for a way to refresh the document or something similar, but have not yet found anything.

    A similar question was posted earlier:

    http://forums.Adobe.com/message/3282147#3282147

    No one knows what is the cause and if there is a solution?

    There is no JavaScript command to force a redraw of the screen.

    Acrobat and Reader have somehow quite complicated writing on the screen because they are made of mixtures of pixel and vector content, often in different color spaces. It is not uncommon to find things randomly disappear if the page has intensive overlay or a bunch of annotations - sometimes only a mismatch develops between the contents of the viewport as conceived Acrobat and the data cached in the display buffer. Dirty window waving a mouse around or changing the zoom will force a repaint, where pop stuff reappears in.

    Most of the time it is indicative of something not quite right with the display driver, or a lack of RAM - PDF itself is rarely to blame; If it was you will get the same effect on different computers.

    FYI, if you compare the versions of reader, remember that the 2D graphic acceleration has been removed in the XI Acrobat family.

    If you are able to share your files with genius, I'm sure they'd appreciate it. http://www.Adobe.com/go/wish

  • communication error with the server. Please refresh this window

    Sometimes, actually most of the time, when I try to log on to kuler I get this error message "error communicating with the server. (Please refresh this window", and it doesn't matter if I refresh or not I just can't use it.
    I tried to open it in firefox and IE and I get the same error in both browsers. I would really like to be able to use this great feature so please tell me if there is anything I can do to prevent this unfortunate error.

    Hello, I'm sorry know you this. This bug has been fixed for the next version, which will be available soon. Details here

    In most cases, if you click on the message or the kuler UI behind the error message, the message should disappear. Then click on the left navigation (themes, create, etc.) and the themes will load. If the connection, try a new browser window, or a new browser, I can usually get in eventually. Thank you for your patience.

    Saami

Maybe you are looking for

  • How can I add a person who has an iPhone to my imessage

    I tried to message someone with an iPhone from my iPad, but he says not delivered because they are not in my contacts iMessage. How can I add the contact?

  • Safari auto-finis the phrase 'this is' in 'it is urgent. "

    Safari 9.0.2 If I start typing It comes It sometimes automatically fills itself It's urgent not a feature I would ever need, but I don't see how to prevent it.

  • HP dv7t volume display

    I have a Hp Pavilion Entertainment PC (HP Pavilion dv7 Notebook PC), 64-bit, Windows 7 Service Pack 1.  The pc is integrated with HP xb4 Media Docking Station and a monitor flat screen HP 2509 m.  Unless I turned the volume off completely, I continua

  • Pavilion 17-g108na: Update.cpp 1205

    Dear all I bought a 17-g108na with Windows 10 Pavilion. I need isntall Windows 7 top because that which is requested by one of my clients. I managed to install Windows 7 and some drivers, but I can't install the Driver Broadcom Wireless. It is a BCM4

  • computer locked

    I bought a laptop used one and they told me they had the computer cleaned and he was free of viruses etc... However to make it home, im getting a black screen with a blue box that says there need administrator or power on password. I have been blocke