How to change a window after w.show)
Hello!
I need to redraw a window but I can't understand it! First, I have to close it?
w = new Window("dialog","Test"); test1 = w.add("statictext",undefined,"test1"); //Shows up w.show(); test2 = w.add("statictext",undefined,"test2"); // Does not show! w.show(); app.redraw();
Any ideas?
Aasdfasdfasdfasdf
A button is OK, click Add, click again to remove.
var w = new Window("dialog","Test"); var btn = w.add("button",undefined,"add/del statictext"); var test1 = w.add("statictext",undefined,"test1"); var test2 = null; btn.onClick = function () { if (!test2) { test2 = w.add("statictext",undefined,"test2"); } else { w.remove(test2); test2= null; } w.layout.layout(1); } w.show();
Tags: Illustrator
Similar Questions
-
How to change the text after the script to the Calendar Wizard creates a calendar
I mainly work with Photoshop, so I am new to the world of InDesign. I put my options for the Calendar Wizard script, it goes through the motions, making the calendar and then shows my finished product. The problem is that it lists the year alongside each month: may 2012 June 2012, etc, and I need to remove '2012' of each of them. I know that the font styles updates the entire calendar when they are applied, so I hope that it works in a similar way. I guess it is a very simple task if you are familiar with the program, haha!
Thanks in advance for any help!
It sounds more like you ask how to delete 2012 of several pages, and not how to change the script to not put 2012 in all first. If I'm wrong about this, you may want to ask on the Forum script.
An easy way to remove 2012 is to use find/replace. If you are looking for 2012 and do not fill the field exchange, she will replace 2012 with nothing. In the Find/Replace window, there is a field that will allow you to search for the location of the cursor to the end of the current history, the history, the stories in the document or all open documents. If you set it to the Document, you can use the search button to find the first instance, and if you want to remove it, you can hit replace them, replace/find (what will change and find the next instance), or change everything. I would replace/find, in case you have 2012 on another part of the calendar that you want to keep. You can also have it search the text only when it has a particular paragraph or a character style and put in place the same or a different paragraph or character style. To do this, click in the boxes of Format change or find. To clear out them, hit the small icon of the Recycle Bin next to the field.
-
How to change the Windows Live ID (@ 2011)?
Hey!
I want to change my ' Windows Live ID of "in my"Account information"page, where is" Windows Live ID:[email protected] - change ", but the windows live said:"Your Windows Live ID cannot be changed at this time."
And I tried it several times and with several computers and MSN online MSN etc offline... nothing.
So, how can I change my "Windows Live ID"
Kind regards!
A question of Hotmail or Windows Live Mail?
http://social.answers.Microsoft.com/forums/en-us/xpnetwork/thread/00015cf4-4654-4296-8aa6-b88ae3bcbde1
Bruce Hagen
MS - MVP October 1, 2004 ~ September 30, 2010
Imperial Beach, CA -
How to change the windows xp logo
How to change windows-XP Start/Backup well come logo
You cannot change this, as it is a part of the windows
-
How will change my windows 7 ultimate to homepremium
Please tell her how to change windows 7 Home premium
See the following topics:
http://techingiteasy.WordPress.com/2012/05/12/how-to-downgrade-Windows-7-editions/
-
How to change the menu after InDesign is run?
Hello.
I want to change the menu after the charge of the InDesign menu.
For example, if the 'Login' success, change the menu as "logout".
If it is not possible, please tell me how to disable the menu once the menu is loaded.
Thank you.
Hi K159,.
with the UpdateActionStates of your component of the action function, you get an IActionStateList Interface where you can change the name of the menu item.
Markus
-
How to change a session after I exported in a file of multitrack mixer
How to change a multitrack session after I it exported in a file of multitrack mixer
You reopen the multitrack session, change you need and then re - export
-
My internal hard drive went bad in my laptop, easy to replace and relatively inexpensive. However, the laptop came not with the windows disk. So, how can I reinstall windows once I replaced the hard drive?
Basically, you have two choices. You can communicate with the person who made the computer and see if they can provide either a set of Windows Vista restore disks (I would assume) or an installation for Windows Vista (probably OEM) DVD. If the second choice, determine if you will need to download device drivers or software packages from their web site. OR, you can purchase the operating system of your choice, retail. The wisdom is that, if this is your choice, you see if you will need the device drivers and get those of the web site of the manufacturer.
Once you have the disks, install in the usual way.
Tom Ferguson
-
How can you reactvate windows after changing a HARD drive and reinstall the operating system
My hard drive crashed. I bought another HARD drive, installed, reinstalled windows. Windows is not enabled and does not except the key
How to activate Windows 7 manually (activate by phone)
1) click Start and in the search for box type: slui.exe 4
(2) press the ENTER"" key.
(3) select your "country" in the list.
(4) choose the option "activate phone".
(5) stay on the phone (do not select/press all options) and wait for a person to help you with the activation.
(6) explain your problem clearly to the support person.
http://support.Microsoft.com/kb/950929/en-us -
How to change the Windows settings to allow for the camera driver must be installed
My laptop doesn't recognize my digital camera. The correct software is responsible for the camera. An error message indicates that Windows will not allow access to the driver. How can I change the settings in Windows so that the driver for the camera is recognized?
Help please!
Hi Brian,.
1. are you able to install all device drivers?
2. which antivirus program is installed on your computer?
3. don't you make changes to the computer before the show?The question seems to be as a program is blocked.
I suggest you perform the clean boot and check if the problem persists. Clean boot helps eliminate conflicts of software that occur when you install a program or an update or when you run a program in Windows. You can also troubleshoot or determine what conflict is causing the problem by performing a clean boot.How to perform a clean boot in Windows
http://support.Microsoft.com/kb/929135Note: Follow How to reset the computer to start as usual after a clean boot troubleshooting article KB929135 to reset the computer in normal mode.
I hope this helps.
-
How to change the Windows Vista sound recorder
Does anyone have information on how to editing can be done in sound recorder in Windows Vista, such as the removal of noise, etc. ?
You would not be able to change the sound by using the Windows Vista sound recorder after recording is done, you would need a different for that one application. In this case, you can instead to fix the problem before registration, you can refer to the link below to get instructions on how to reduce POPs, clicks or other distortions.
http://support.Microsoft.com/kb/936693
For more information about how to troubleshoot audio recording in Windows Vista, you can check the link below as well.
http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-audio-recording-problems
-
How to change the windows server 2003 standard Edition sp2 activation key
I'm going to conver physical server to a child in HyperV.
When I create the machine of the child after that I converted with disk2vhd.exe small tool the physical server to the .vhd file, I got the message to reactivate windows, because it's new material.
How can I do this?
The operating system is windows server 2003 sp2 standard edition
Thank you!
Support is located in the Windows Server Forums:
http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer/ -
How to change email Windows Live's Hotmail to MSN account?
WANT TO CHANGE MY EMAIL FROM HOTMAIL TO MSN ADDRESS AND DO NOT KNOW HOW DO
WANT TO CHANGE MY EMAIL FROM HOTMAIL TO MSN ADDRESS AND DO NOT KNOW HOW DO
Hotmails and Msn questions should be posted in Windows Live Solution Center. Here is the link to the Hotmail forum:
http://windowslivehelp.com/forums.aspx?ProductID=1 . for the benefits of others looking for answers, please mark as answer suggestion if it solves your problem. -
How to open the window Defragmenter that shows the status of the defragmentation operation?
I was not able to open the window that shows the operation of Defrag in action to get an idea of how bad is the State of my PC Defragmenter.
Professional XP and previous systems, it opens automatically. In Vista does not work and I was not able to find it.
Is it Vista? How can I open it?
1 million thanks!
Mike, NJ
Hello
Vista does not have this option which was under XP to see the progress of the defragmentation.
Please read this response of mine who helped another person in these Forums:
The Vista defrag works quietly in the background without intervention on your part
http://support.Microsoft.com/kb/942092
In Windows Vista, there are a lot of improvements in the defrag engine and handling of fragmentation. By default, Windows Vista uses Task Scheduler to automatically keep the defragmented hard drive. This Automatic defragmentation does not affect the performance of the Windows Vista operating system...
If you want to use a much better defragmentation program which is free and where you can see the results, I suggest this one:
http://www.Auslogics.com/en/software/disk-defrag/
See you soon.
-
How to activate my windows after installing windows 7 on linux
I used to have 10 updated since windows windows 7, and after a while, I spent my hard drive and installed linux mint. Now, I have installed windows 7 on linux but now my windows product key won t work. All solutions?
Have you tried to restart by phone?
How to activate Windows 7 manually (activate by phone)
1) click Start and in the search for box type: slui.exe 4
(2) press the ENTER"" key.
(3) select your "country" in the list.
(4) choose the option "activate phone".
(5) stay on the phone (do not select/press all options) and wait for a person to help you with the activation.
(6) explain your problem clearly to the support person.
http://support.Microsoft.com/kb/950929/en-us
Maybe you are looking for
-
12.4.1.6 cannot create a new version of iTunes
with the new itunes 12.4.1.6 I have been unable "to create a new version for ipad or iphone.
-
Hello I have a T530 I a new ssd with windows 7 ultimate, when I start up I get error 0271 real time clock 2200 machine type and serial number invalid 2201 invalid uuid. Is there a fix for these errors please help.
-
Why DAQmx read 200714 error when you save the file?
In particular vi that I created, I have 3 analog inputs coming in and are graphically represented. If I choose to save the information to a file, a dialog box appears and I can choose what to save it under. If I take too long to save the file (aka
-
What happens if the analogue output exceeds the range of +-10v?
I use the DAQ usb-6211 of my request card. Sometimes, there will be cases when the analog output would exceed the range + 10 volts. What will happen in this case for a DAQmx? The task just write + 10 volts? Or keep the last value wrote to the analogu
-
compuer ran great.do you have a small email campaign using mailchimp marketingeverything was going well and next day compuer will not re-start.all we see is a blank screen and the arrow on the pointer.It does not restart in safe mode. When it goes to