Delete all groups and layers that are turned off, even if they are locked
Hello
I need help with a script that will do the following:
Delete all groups (including the layers inside) and layers so they are not visible - with the following requirements
a. even if the group or layer is locked
(b) even if the layers within the group are locked
c. same layers within the group are visible, although the parent group is off
Then... the required logic would be
Is it group or layer turns off? Yes, then delete all independently of any other thing, OTHERWISE move on to the next layer/group
Basically, I have a lot of groups and layers here and I want to analyze the layers to leave just the layers that are visible in the final document. Visible merge or flatten the will does not work as I want to keep visible and visible layers. Layers remove hidden does not work. And file/scripts/deleting empty layers does not work because the layers are not empty. They are simply not necessary.
In collaboration with CS6.
Thank you
The other is round, but this should unlock all layers, after that delete hidden layers should work.
// unlock all layers; // based on code to link layer masks by paul riggott; // 2014, use it at your own risk; #target "photoshop-70.032" app.bringToFront(); if(app.documents.length != 0) { unlockLayers(); }; ////// unlock layers ////// function unlockLayers(){ var ref = new ActionReference(); ref.putEnumerated( charIDToTypeID('Dcmn'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') ); var count = executeActionGet(ref).getInteger(charIDToTypeID('NmbL')) +1; var Names=[]; try{ activeDocument.backgroundLayer; var i = 0; }catch(e){ var i = 1; }; for(i;i
Tags: Photoshop
Similar Questions
Hello, I have a great difficulty using the file/collection a large file I did months ago, because when I use it, the file is created, but it takes 2.5 to space! compared to others of my works, taking almost 1 TB of files, this one is too big and I think by deleting some files, but I don't want to make a mistake, so I wanted to ask here, if it is possible to take a main composition and only do a file/collection of this composition, objects and elements that serve there (the last I made on my account at least, with the elements used on that, because I think that there are many (if not a large part of them) files and elements that are not used in the final version, as scenes of the version beta of my work, the problem is the composition is too long and have a lot of different archives or drop movies then it could take forever to do it manually...
Thanks for reading me! I hope that this is a solution...
It's a two-step process:
1. reduce your project to the desired composition.
2 recover your files.
PS6 Navigator and layers windows are locked together. How to unlock them?
Whenever I open the browser and layers windows in PS6, they are locked together side by side.
Does anyone know how to unlock them. This does not happen when I opened all the other windows.
I use a PC.
Is - this photoshop 6 or photoshop cs6?
Generally, we can just separate them by dragging the name of the Panel.
(for example, drag the name of the browser)
In photoshop cs6, you can reset the workspace by selecting window > workspace or if you have a custom of your panels, you
should get everything that you want, and then save your own workspace named, so you can reset whenever things go wrong.
Delete a few files TEMP this morning and AOL and Firefox no longer works. AOL will again and removed all traces of the first installation of Firefox and downloaded a new version of Firefox. The program opens, but it immediately goes into a status of "not responding" and appears in the tab 'connection '. Cannot click on anything on the Firefox screen. Need to go to the Task Manager to kill the program. Have removed and reinstalled several times. Disconnected the firewall and antivirus. Again and always get the same result. Tried in safe mode. Same result. Going on 8 hours of work on this thing. Need help badly. The system is a version update of XP.
Thank you all, but I gave up. Tried all the suggestions without success. Put at disposal of the HDD with Windows XP and the problem of Firefox and loaded Windows 7 on a new drive. I had saved a file backup Favorites from the XP machine and successfully migrate the new hard drive. Thanks again.
Original title: it's a virus that's causing this?
It happened a few times now. While I use my computer, all applications and the windows are closed at the same time, I am disconnected and the computer is off, as if someone manually stops the computer. I turn on the computer and log in and everything seems to be okay. No data deleted, not that I could find and detect anyway. One day when I turned on the computer, it run chkdsk before doing the usual startup. I use the computer for 2 years and this is the first time, she never did a chkdsk on its own. I used Microsoft Essentials and no viruses were found.
Should I worry?
Hello
You can read the following article and try to download the Microsoft Safety Scanner and perform a full scan on your computer and check.
Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.
Check if there are logs of events related to the issue in the event viewer which may help us to solve the problem of the:
What are the information contained in the logs of the event (Event Viewer)?
The list of all the Resource Pools that are part of a group of ESXi
Hello
I'm trying to get a piece of code work that will list all the resource pools that are present in a cluster of ESXi.
- I know I can find what list of resources of a virtual machine resides in. I don't want that.
// Find a matching resource pool on an ESXi hosts var esxiCluster = esxiHost.parent; var esxiClusterResourcePools = esxiCluster.resourcePool_ResourcePool; System.log("what is the ESXi cluster: " + esxiCluster.name); System.log("vimtype: " + esxiCluster.vimType); System.log("what pools exists: " + esxiClusterResourcePools);So I know that the vimType will come back with what I expect (ClusterComputeResource). The question I have is the object "resourcePool" is reference to the root resource list (in my case, it is 'resources').
What I want is all DRS resource pools are configured. I need something like "resourcePool_ResourcePool.children".
Any help is appreciated.
Thank you
B
Hello
Check if this code example that works in your case:
var esxiCluster = esxiHost.parent; var esxiClusterResourcePools = esxiCluster.resourcePool_ResourcePool; var pools = System.getModule("com.vmware.library.vc.resourcePool").getAllChildResourcePool(esxiClusterResourcePools); // dump names of child pools for each (var pool in pools) { System.log(pool.name); }in the blue screen it rights something that suddenly turns off and restarts again.
in the blue screen that he rights something that suddenly turns off and restarts again.my at startup of windows and after it notifies wait me and it stays like that for a long time and restarts again. Help
Hello
Look in the Event Viewer to see if something is reported on those.
http://www.computerperformance.co.UK/Vista/vista_event_viewer.htmMyEventViewer - free - a simple alternative in the standard Windows Event Viewer.
TIP - Options - Advanced filter allows you to see a period of time instead of the entire file.
http://www.NirSoft.NET/utils/my_event_viewer.html-------------------------------------------------------------------------
Also this, so you can see the probable bluescreens.Windows Vista restarts automatically if your computer encounters an error that requires him to plant.
http://www.winvistatips.com/disable-automatic-restart-T84.html-------------------------------------------------------------------------
Here are a few ways to possibly fix the blue screen issue. If you could give the info from the blue screen that would be
Help. Such as ITC and 4 others entered at the bottom left. And any other information such as STOP error
codes and info like IRQL_NOT_LESS_OR_EQUAL or PAGE_FAULT_IN_NONPAGED_AREA and similar messages.As examples:
BCCode: 116
BCP1: 87BC9510
BCP2: 8C013D80
BCP3: 00000000
BCP4: 00000002or in this format:
Stop: 0 x 00000000 (oxoooooooo oxoooooooo oxoooooooo oxooooooooo)
Tcpip.sys - address blocking 0 x 0 00000000 000000000 DateStamp 0 x 000000000It is an excellent tool for displaying the blue screen error information
BlueScreenView scans all your minidump files created during 'blue screen of death '.
hangs and displays information about all accidents of a table - free
http://www.NirSoft.NET/utils/blue_screen_view.htmlBlueScreens many are caused by old or damaged drivers, video drivers in particular, but there are other causes.
You can follow these steps in the Safe Mode if necessary or the command prompt Vista DVD or Options of recovery if your
system installed by the manufacturer.This tells you how to access the System Recovery Options and/or a Vista DVD
http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspxYou can try a system restore to a point before the problem started when one exists.
How to make a Vista system restore
http://www.Vistax64.com/tutorials/76905-System-Restore-how.html-------------------------------------------------------------------------
Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN
Enter this at the command prompt - sfc/scannow
How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
generates in Windows Vista cbs.log
http://support.Microsoft.com/kb/928228The log can give you the answer if there is a corrupted driver. (Says not all possible driver problems).
Also run CheckDisk, so we cannot exclude as much as possible of the corruption.
How to run the check disk at startup in Vista
http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html-------------------------------------------------------------------------
Often drivers up-to-date will help, usually video, sound, network card (NIC), WiFi, 3rd party keyboard and
smile, as well as of other major device drivers.
Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htmHow to install a device driver in Vista Device Manager
http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.htmlHow to disable automatic driver Installation in Windows Vista - drivers
http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx
-------------------------------------------------------------------------
How to fix BlueScreen (STOP) errors that cause Windows Vista to shut down or restart unexpectedly
http://support.Microsoft.com/kb/958233Troubleshooting, STOP error blue screen Vista
http://www.chicagotech.NET/Vista/vistabluescreen.htmUnderstanding and decoding BSOD (blue screen of death) Messages
http://www.Taranfx.com/blog/?p=692Windows - troubleshooting blue screen errors
http://KB.wisc.edu/page.php?id=7033-------------------------------------------------------------------------
In some cases, it may be necessary.
The Options or Vista recovery disk Startup Repair
How to do a startup repair
http://www.Vistax64.com/tutorials/91467-startup-repair.htmlThis tells you how to access the System Recovery Options and/or a Vista DVD
http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspxI hope this helps.
Rob - bicycle - Mark Twain said it is good.Groups and layers of slow movement CS6
I have this PC brand new, got last week, core i7, SSD, 16 GB of ram drive.
When I open my PSD doc with my drawing (about 43 MB psd file), then the application photoshop memory usage peaks, to 3.5 GB (from 120 MB) and moving groups and layers around is DEAD SLOW, horrible lag.
I got CS3 on my previous PC, which was Core2 Duo with 4 GB of ram, and the speeds were similar on the same document psd.
I also tried CS5.1 on a similar form of PC as my new PC hardware, and move groups and layers around is much faster.
Is - this just CS6? Why is it so slow?
.. .because many problems are not as simple as make you it sound?
.. because some problems occur only with certain types of layers?
.. because some problems occur only with some default preferences settings?
.. because some problems are very, very specific document - and we do need a sample to determine the cause?
.. because some problems involve grouping layer very complex?
.. because some problems are not still in Photoshop but automation plugins and scripts that we don't have in our systems?
.. because if you had sent me a sample file I could have corrected the problems already?
Someone sent me a crazy sample file earlier this week, and I've already found and fixed more problems than the presentation of their case.
If you have a problem - let us know and work with us to get it resolved. Assuming everyone is seen the same problem and waiting to be fixed when we cannot even reproduce the problem - well, that's not going to help.
If I'm offline (e) all emails deleted id (removed from the phone) also turned off contacts deleted history in safari where contact information would come from contacts
Of the previous function of recipients.
I have an Apire one laptop with Windows xp service pace 3. I had to restore it to factory about 3 years ago. Some time after that the sound system began to slow and the Synaptics mouse stop working properly. I can move the pointer, but the left click does not work. It works in safe mode but not in normal windows. I used the Acer eRecovery for correct, but it did not work. I tried to download the driver for the mouse on the internet, but some how it could stop the download. I gave up at tring to fix. Some time in late March or early April, I couldn't access internet and after 22:30. I ran the diagnosis that is provided by internet explore and he said that the HTTP and HTTPS worked but the FTP did not work. AVG later told me my firewall is disabled and there was the possibility to reactivate it and I did. After internet explore stop allowing you to enter certain sites that I wanted to enter, I ran the Diagnostics again and he told me that a firewall client has been the cause of the problem. I tried to control my firewall setting, but had that "due to a problem not identified, windows cannot display the firewall settings". I thought AVG was the problem, so I have unintalled then he returned and attempted to access the firewall but got the same message. I typed in Google MySapce and found this site. I followed a few directions given to others in the thread started by joecarpenter33 and discovered that my firewall has been deleted and Base filtering engine has been deleted also. I downloaded and ran Malwarebytes ANti-Malware and SUPERAntiSpyware Free Edition and tdsskiller. MBAM has found a Trojan. The results of the analysis is less to:
Malwarebytes Anti-Malware (Trial) 1.75.0.1300
www.Malwarebytes.orgDatabase version: v2013.04.10.14
Windows XP Service Pack 3 x 86 NTFS (secure/setting network Mode)
Internet Explorer 8.0.6001.18702
Ziadie Berry: BERRY-LAPTOP [Director]Protection: disabled
10/04/2013-17:44:54
MBAM-log-2013-04-10 (17-44-54) .txtScan type: quick scan
Analyze the options enabled: memory | Startup | Registry | File system | Heuristic or Extra | Heuristics/Shuriken | PUPPY | PUM
Analyze the options disabled: P2P
Objects scanned: 271656
Time elapsed: 43 minute (s), 42 second (s)The process of memory detected: 0
(No malicious items detected)Modules of memory detected: 0
(No malicious items detected)The registry keys detected: 0
(No malicious items detected)The registry values detected: 0
(No malicious items detected)Registry data items detected: 0
(No malicious items detected)Files detected: 0
(No malicious items detected)Files detected: 1
C:\RECYCLER\S-1-5-21-4674304-3331980883-3375822000-500\$7832f44fdd2ba165f6ea01bec7f363fd\n (Trojan.0Access)-> quarantined and deleted successfully.(end)
Malwarebytes Anti-Malware (Trial) 1.75.0.1300
www.Malwarebytes.orgDatabase version: v2013.04.10.14
Windows XP Service Pack 3 x 86 NTFS
Internet Explorer 8.0.6001.18702
Ziadie Berry: BERRY-LAPTOP [Director]Protection: enabled
10/04/2013 23:43:49
MBAM-log-2013-04-10 (23-43-49) .txtScan type: quick scan
Analyze the options enabled: memory | Startup | Registry | File system | Heuristic or Extra | Heuristics/Shuriken | PUPPY | PUM
Analyze the options disabled: P2P
Objects scanned: 269636
Elapsed time: 49 minute (s), 41 second (s)The process of memory detected: 0
(No malicious items detected)Modules of memory detected: 0
(No malicious items detected)The registry keys detected: 0
(No malicious items detected)The registry values detected: 0
(No malicious items detected)Registry data items detected: 0
(No malicious items detected)Files detected: 0
(No malicious items detected)
Files detected: 1
C:\WINDOWS\assembly\GAC\Desktop.ini (Rootkit.0access)-> quarantined and deleted successfully.(end)
I ran the Diagnostics today after Internet explore and my other browsers stop allowing me to internet access. That's what came back:
Diagnosis of last run time: 17/04/13 17:48:14 WinSock Diagnostic
WinSock statusattmpting error information to validate the Winsock base providers: 2
error not all entries could be found in the basic services provider winsock catalog. A reboot is required.
user redirection of information in support of the appealDiagnosis of network adapter
Network location detectionInfo to help home Internet connection
Identification of network adapter
Info network connection: name = Local, peripheral network connection = Realtek RTL8102E Family PCI - E Fast Ethernet NIC, MediaType = LAN, type = LAN
Info network connection: name = wireless, peripheral network connection = Atheros AR5007EG Wireless Network Adapter, MediaType = LAN, type = Wireless
Info both Ethernet connections and wireless available, ask the user for selection
required user input action: select network connection
Info Wireless connection selected
State of the network adapterInfo network connection status: connected
HTTP, HTTPS, FTP Diagnostic
HTTP, HTTPS, FTP connectivityWARN HTTPS: error 12029 connecting to www.microsoft.com: a connection with the server could not be established
warn HTTP: error 12029 connecting to www.microsoft.com: a connection with the server could not be established
warn HTTP: error 12029 connecting to www.hotmail.com: a connection with the server could not be established
WARN HTTPS: error 12029 connecting to www.passport.net: a connection with the server could not be established
WARN FTP (passive): error 12029 connecting to FTP.Microsoft.com: a connection with the server could not be established
WARN FTP (active): error 12029 connecting to FTP.Microsoft.com: a connection with the server could not be established
error could not make an HTTP connection.
error could not make an HTTPS connection.
error could not make an FTP connection.
Still, he remains connected to the wirelesss connection, but won't let me access the internet. Right now I use a proxy to help, but access to the sites are limited.I used the tweaking software and my firewall is back but, I have yet to visit some sites and the laptop now turns off by itself.
Hello
Follow these methods.
Method 1.
Start the computer in safe mode with network and run a full scan of computer viruses.
To start the computer in safe mode: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/boot_failsafe.mspx?mfr=true
Run a full scan of the computer with the Microsoft Safety Scanner to make sure that the computer is virus-free.
Microsoft safety scanner: http://www.microsoft.com/security/scanner/en-us/default.aspx
Warning of Security Scanner: there could be a loss of data while performing an analysis using the Microsoft safety scanner to eliminate viruses as appropriate.
Method 2.
If the steps above do not help, then try to scan the computer using Windows defender in offline mode and check if that helps.
Search for spyware and other potentially unwanted software: http://windows.microsoft.com/en-US/windows7/Scan-for-spyware-and-other-potentially-unwanted-software
What is Windows Defender Offline? : http://windows.microsoft.com/en-US/windows/what-is-windows-defender-offline
Warning of Security Scanner: there could be a loss of data while performing an analysis using the Microsoft safety scanner to eliminate viruses as appropriate.
Method 3.
You can create a new user account and check. Once the new user account works fine, then copy the data from the old user account for the user account.
How to copy data from a user profile damaged to a new profile in Windows XP: http://support.microsoft.com/kb/811151
Let us know if you need assistance with any windows problem. We will be happy to help you.
Why my OS took so much space and how can I turn off automatic Back-ups?
Hi, I'm opperating on Windows Vista Basic Home Edition on top of a HP540 Tower, which has 160 GB hard drive.
Except for the 20 GB Partition, I stayed with 129 GB to install a fresh on o/s.
After installing my o/s and updates the 7Gig to clean Documents saved from after installation.
I was left with 99 Go!
Something wrong without a doubt!
Even more, I'm losing memory on my hard drive like there is no tomorrow, 30 GB in 4 days!
It seems every time I'm streaming videos, or even just to watch videos, an external hard drive.
I lose about 1 or 2 GB!
Using a number of antivirus programs, I scanned for a virus, but all programs concluded that the
the system is clean and that there is no virus!
This led me to believe that the system backup and restore several coppies of his car, then
I have used the disk clean up to remove all but the most recent backup file.
All of a sudden my disk space is increased from 69BG to 99 GB.
I still don't know what happened to the other Go 20 or 21.
Although this seems to be a difficulty, with in a few minutes that the backup has been busy writing far still and in
15 minutes that I had fallen to 97.3 GB and deminuishing.
Why my OS took so much space and how can I turn off automatic Back-ups?
Thank you very much!
Nothing wrong as far as I can see. A Windows installation will take about 20 GB to 30 GB so it's fine, and you will lose even more space for virtual memory to system management file, hibernation, system restore points file and so on. Although the "30 GB in four days" is perhaps a little on the high side, considering that you have just installed Windows, there are a lot of household, creating files and so forth go on these days.
With the help of disk cleanup to delete these files from system restore is a bad choice, because they are created to ensure the security of your system and allow you to recover from any problems that may require them.
If disk space is as big a problem to get a bigger hard drive and let the system restore to do its job.
Had to reinstall my CS3 because of faulty hard drive. It does not accept my serial number as it says it is already used the maximum number of activations and says I should turn off. I can't as the hard disk failed! Please help.
Have already tried to contact Adobe and they told me to reinstall the program. I did this and the same issue. It's crazy. I can not turn off something that I did not more...
Thank you.
No - I had, of course, tried all these things. Finally, I had someone (after several days) on the personal chat group that could fix and it did it in a few minutes. Too bad that nobody else seemed to be able to do. Adobe is very soft.
I can't thank enough the other person - it was amazing.
I click on tools/options/privacy / show cookies. I delete all cookies and click on OK.
I repeat the process to display the cookies. They're all here.
Also I can not delete single cookiesYou may have installed an extension like TACO (Abine) or do not Track Plus that manages a set of OPT-OUT cookies if you can't delete cookies permanently.
In this case, you will need to uninstall the extension to remove the opt-out cookies.
- Follow no more: https://addons.mozilla.org/firefox/addon/donottrackplus/
Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).
- Do not click on the reset button on the start safe mode window or make changes.
- https://support.Mozilla.org/KB/safe+mode
- https://support.Mozilla.org/KB/troubleshooting+extensions+and+themes
If clearing cookies doesn't work, then it is possible that the cookies.sqlite file that stores the cookies is corrupted.
Rename (or delete) cookies.sqlite (cookies.sqlite.old) and delete other files to present as cookie cookies.sqlite - journal in the profile folder of Firefox in the case where the cookies.sqlite file has been corrupted.My keyboard and the touchpad are locked, does not respond to what it is.
My keyboard and the touchpad are locked, do not respond to what it is. I activated the screen keyboard on and it works. It is a G71-340US, Windows 7. I think it happened when the battery died while in a Word doc. computer is turned off. Plugged. Turned, password screen appears, could not type anything in the box. The mouse works. My keyboard and the touchpad are locked, do not respond. Restarted, no help. Pulled the battery, no help. At least I can use the keyboard to the screen! Thanks for your help.
Did a restore of the system and all is well! Went back 3 days of the last update of windows. I hope this helps others!
How and when the computer turns off automatically?
Listen to internet radio, Sys Pref > saving energy on the default setting, wake up and radio program cut.
This is great... .buth how and when the computer turns off? When I reopen it wifi comes back, I'm correct when she stops she also turns off wifi?
Hello allan299,
Thank you for using communities of Apple Support.
According to your post, I see that you have any questions on how and when your computer shuts down, and how the WiFi on your Mac is affected. I know it's nice to be able to properly manage what happens when your computer stops and starts in mode 'sleep'. I'm happy to help you find the best resolution.
You're right, when your computer stops completely it will turn the Wi - Fi. If you enable the wake for network access, Wi - Fi remains lit, and you can access shared resources on your computer, such as printers or iTunes shared playlists even when your computer is in "sleep". Definition of a calendar closing and start on your Mac can also be useful.
Check out the following resources that will help the set options that control the energy use of your computer, sleep, and wake-up times for your Mac and the calendar from your Mac to turn on or turn off or go to sleep:
OS X Yosemite: energy saver Preferences
OS X Yosemite: set sleep and wake up on time for your Mac
OS X Yosemite: A schedule for your Mac to turn on or turn off or go to sleep
Best regards.
Maybe you are looking for
-
Updated by Satellite Pro 6000 with a DVD burner - technical question
Hi all, I just bought a DVD burner that is adapted to the Bay of selection to replace the old DVD player...He came 'naked', so I thought I'd just disassemble the frame of the old drive and put it on the new... But: not the slightest Phillips screwdri
-
authorising officer itunes on new windows vista Home premium
can someone tell this dinosaur technophobe how to allow my new PC to iTunes? It keeps asking for a serial number I gave, but sometimes incorrect.
-
Examples UHD Segmentation Fault
Hi all I'm having some trouble trying to use the UHD examples. Some of them I can use. However, some of them give me a Segmentation fault ========================================================== Rafael@Rafael-Inspiron-7537: / usr/lib/uhd/examples$.
-
album art with size restrictions?
Hello. Being new to the "rocket" I wonder if there is a size restriction concerning the album art files? I copied many of my audio files directly to the "rocket". View the album art included as folder.jpg in the respective album folder. That has work
-
Vector.addElement problem to 4.6.0
I'm having a problem with addElement incoherent adding items to a vector vChecklists. When the program is run, the following code runs as I predicted for the first couple of iterations. However, on the third iteration, the addElement method adds an a