AppleScript to resize images in Photoshop CS4 will not work in CS6 - help!
Hi people.
I am new to this lark script and hope someone can help...
Our Nigel, unfortunately is no longer with us, wrote a cunning to convert script photographs large size smaller using Photoshop CS4.
The workflow is the following:
You open Photoshop
You have two files, one with the original files and the other which is empty.
You drag the folder with the original files on the .app and he asks a destination folder (tell you him to use the empty folder).
The images are then opened one by one, resized, some tape removed and are then registered to the empty folder (formerly).
Lovely jubbly.
The problem is when you try to use this app with Photoshop CS6 - it fails at the point of backup files in the new folder which gives this error:
Adobe Photoshop CS6 has been an error: "unable to get document"075.jpg". (- 1728)
I fiddled with the script a little and it seems don't not like the section "with options" command 'Save document' (it works fine if I completely remove the fuse "with options" - but I need than LZW compression). I have trawled through a few similar questions on these forums, but have not been able to track down the problem. It probably doesn't help that I'm not a programmer (just try to translate as I oppose using the Photoshop CS6 AppleScript reference guide).
Did everyone there knows the problem please?
The script is below.
on Open ()pourla)
set theDestination of (choose folder with guest 'set the destination for the files processed...) ") as text
tell application "Finder"
set isContainer to fake
set theItem to agenda 1 of pourla as string
if last character of theItem is ":" then
set list of files to files of all of the content of agenda 1 of pourla
on the other
set list of files to pourla
end if
Repeat with x in list of files
set Dittos to x as texte
set theFileName to name of x as texte
set outFilePath to theDestination & theFileName
if theFileName ends by ".db" then
--
on the other
tell application "Adobe Photoshop CS6"
-I was skilled enough change the foregoing of "Adobe Photoshop CS4".
set units of the rule of parameters to units of mm
Open alias theFile
set theWidth to width of document theFileName
set theHeight to height of document theFileName
if theWidth > theHeight then
Resize image document theFileName width 65 resolution 400 resample method bicubic
on the other
Resize image document theFileName height 65 resolution 400 resample method bicubic
end if
convert document theFileName profile ' Coated FOGRA39 (ISO 12647-2: 2004) " intent perceptive with blackpoint compensation without dithering .
{ adjust layer of art 'History' of the document theFileName with curves with options { }class:curves points of the curve: {{0, 0}, {128, 128}, {243, 255}}}
{ Save document theFileName in outFilePath like TIFF adding tiny extension with options { }byte order:Mac OS embed the color profile:fake image compression:LZW} without copy
close document 1 saving no
fin say
fin if
-display outFilePath dialog box
fin Repeat
fin say
end open
file name
Try this.
game of myOptions to {class:TIFF to save options, the byte order:Mac OS, embed the color profile:false, image compression:LZW}
Save document theFileName in outFilePath as TIFF with options myOptions by adding the extension lowercase without copy
HTH.
Tags: Photoshop
Similar Questions
-
Gradient in Photoshop CS4 will not work properly, please Help!
I just bought a new computer, it has windows 7 quad i7 processor (Q820 1.73 GHz with technology turbo boost to 3.06), operating system and 500 GB hard drive of 64 and 8 GB of Ram, card graph NVIDIA 1 G of Ram. I installed CS4 and when I try to use the gradient tool leading normal mode to transparent and apply it the first time, it seems to work, but when you submit a new application to adjust the angle or what it continues just fill the page and, eventually, the entire page is filled with the foreground color and transparency will disappear. I have unchecked the Open GL in preferences and increased the amount of RAM photoshop can use of 5185 and cache to 6 levels.
That I am I doing wrong and what else can I try? He has a problem with CS4 and there patches there. I looked in the forum and online and I have not really found something about it. The other gradients seem to work very well as long as you're not leading to transparency!
Someone else has this problem and what can I do about it?
I really appreciate your help
Correct behavior. A tool is a tool and a comits activities immediately to the content of a layer pixel. If you need the modified gradients, using gradient overlay layer styles.
Mylenium
-
Compatibility Application Applications App the sharper image weather station programs will not work on Windows 7
It is the responsibility of the manufacturer of the device to provide device drivers that allow the device works in an operating system. You will need to contact the manufacturer of the device for info and software.
-
Photoshop CS5 will not work now that I've updated to El Capitan?
Photoshop CS5 will not work now that I've updated to El Capitan?
CS5 is quite old and does not test on 10.11. Sometimes the upgrade interrupts the installation of CS5. First of all make sure that you are upgraded to 10.11.1
Uninstall, run the cleanup tool use the Adobe Creative Cloud cleaning tool to solve installation problems and reinstall.
If you are prompted for Java, installing this one: Java for OS X 2015-001
-
I have Win7/64. But I don't know, how I have my USB webcam to work. The cameras settle the program will not work. Please help me!
Thank you more:Steve Vidacs /HungaryOn Monday, November 5, 2012 20:14:15 + 0000, istvanvidacs wrote:
I have Win7/64. But I don't know, how I have my USB webcam to work. The cameras settle the program will not work. Please help me!
You must have installed a Windows 7 64-bit driver (if it exists)
for this. Do you have? Otherwise, navigate to the web site of the camera
manufacturer, search, download and install it.Ken Blake, Microsoft MVP
-
I used Photoshop CS 2 with my DimAge A2 for 5 years in the RAW format. Now it will not work with RAW with my camera. I'm using Vista 64.eu all the answers? Thank you
It seems to me that you probably had to reinstall Photoshop CS 2. If this is the case, then, you must download and install Camera Raw 3.7. The version that was on your installation disc has been updated several times. And one of these probably included updates support for your camera. Install RTAs 3.7 and see if that helps.
-
Adobe Indesign CS4 will not work with windows 7, work stoppage
InDesign CS4 does not work with Windows 7
InDesign CS4 stop working on Windows 7, we have Vb 6 application that opens Indesign cs4 to create multi-page document.
but after a few Indesign CS4 pages stop working, if we run the same with version CS3 on Windows 7 it works fine.
and if we use Indesign CS4 with Windows Xp, it works but create problem with Windows 7.
You must have a configuration problem on your system.
6 inDesign (CS4) works perfectly well on the 32-bit and 64-bit Windows 7 versions. Many users as same Adobe employees use or have used this version of InDesign in these environments of operating system without problem that it is associated with the operating system.
-Dov
-
I asked this question yesterday on the forum, and the answers I got were not useful. This forum has decided to mark my question as answered and he did NOT.
I still have the problem. According to Adobe, I should be able to make the plugin work for CS6, in accordance with this link... Installer Camera Raw Adobe Photoshop CC and CS6
I did everything it said to do, (several times)... and it still does not work. Please help me. And PLEASE don't mark my question 'answered' until it is actually responded.
Different question.
The Action requires that Camera Raw as a filter (in the menu Filter) which is only available with the versions of Photoshop Cloud (CC).
As explained in your other thread, Camera Raw is available as a plug-in for CS6 only so that you can open Raw files and edit. Camera Raw takes place automatically as soon as you try one open a Raw file.
In CC, Camera Raw is also available as a filter (in the menu filter in Photoshop) - who depend on this Action. It won't work in CS6 because Camera Raw is not available as a filter in CS6.
In other words, the Action is not compatible with the CS6. It only works with CC.
-
my iMac need a reset to the factory settings. I reinstalled photoshop cs4, but my key gets a big fat Red Cross. I installed the trial so far
Thank you - the support team helped me through a live chat. It's all sorted out
Karen Collis
-
Photoshop Cs4 does not work :(
Hello! I'm Italian, I apologize because I speak very well English!
I have a problem with Photoshop CS4:
My OS is windows vista 64 bit, I installed several times the trial version of Photoshop Cs4, the installation went well, but now I try to use Photoshop, windows told me "the program has stopped working" and it is closed all the...
I looked in the Visual display of windows event unit, in the records of the section of windows and the error that appears is the following:
"' Request that it generated the error Photoshop.exe, 11.0.0.0 version, time stamp 0x48d3882e, module that generated the error nvoglv32.dll, version 8.17.12.58 96, time stamp 0x4c378f09, exception code 0xc0000005, offset error 0x000a85db, ID 0xe14, date and time to start the 0x01cb706c671eed10 application process. '"
I hope someone can help me, thanks!
Hello
This forum is linked to questions about the application "Adobe Community Help". For queries of Photoshop, post your query on the PS Windows forum.
Kind regards
Sandeep
-
Cloud/lightroom/photoshop creation will not work
I downloaded these yesterday and they lead me to the top of the wall. They will not run. I get error 16. Help file was told to uninstall and reinstall which I tried to do it, but got nowhre. I am now in a good picle. I just want to empty lot and start again, but could not find a way to do this. I'm totally hacked off the coast with that. I'm no computer wiz kid, but this should be easier?
Uninstall lr, ps and your desktop cc application.
clean through the use of the Adobe Creative Cloud cleaning tool to solve installation problems
Restart your computer
install the application of office cc, https://creative.adobe.com/products/creative-cloud
Use the application to install ps
test the ps. If no problem install lr.
When a problem, explainm
-
Layered image links to pages will not work. How can I make it work?
I am designing a site for a client. I made the website and then they asked if I could put something that resembles the curtains open on the sides of the site. I did an overlay, but now, many of my links do not work. I got the nav links working by simply giving them a slightly higher z-index. But the links in the main areas of content and footer do not work any index-z I give them. In addition, some of these links have behaviors like the hover (mainly links Facebook and twitter in the footer) who are not no longer works. How can I get to function? The link to the Web page is http://www.beaniecapdesign.net/about.html thanks in advance for all your help!
The curtains can be divided into a curtain of left and right curtain each in a separate overlay. This will keep the clear contents of the overlay.
-
Lightroom to photoshop panorama does not work properly please help!
I do an online tutorial about editing a series of way milky way photos in lightroom and their fusion in a panorama in photoshop. I followed the instructions exactly as they are in the video, with the same settings, but when my panorama created layers (?) are not properly mixed. I don't know what I am doing wrong, or how to solve this problem, since I am quite new to photoshop!
I have synced settings in lightroom, choose "change in" and then "merge to panorama" in photoshop. Once it has opened in photoshop, I left the settings on 'Auto' and 'mix images ".
I hope someone can help. So I'm back on this whole photoshop thing and end up still very confused!
The Photomerge in Photoshop script, which is what you are citing here, can be divided into its essential components - Edit > Auto align first, then Auto Blend. Try this just to check if the basic features are there.
For this you need to have files stacked like layers in Photoshop and all selected layers. Put the central image at the bottom of the stack, it's the other alignment to.
It could be this mixture does not work because you don't have enough overlap from real image data. Yes, there is much overlap in the area here, but white spots on a monochrome background may not be enough, especially if the noise starts to compete with the stars, or the stars are slightly out of alignment. So try another game also.
-
I tried the support centre and followed their advice, but no luck yet.
Hello
Description of errors related to the 10 Code that generates the Device Manager in Windows on computers
http://support.Microsoft.com/kb/943104/Please make all below even if you have done some before as it is often the set of operations which solves the problem.
Try this - Panel - Device Manager - CD/DVD - double-click on the device - driver tab - click
Update the drivers (this will probably do nothing) - then RIGHT click the drive - UNINSTALL - REBOOT
This will refresh the default driver stack.Then, work your way through these - don't forget the drive might be bad, could be a loose cable or
slight corrosion on the contacts (usually for a laptop) and other issues.Your CD or DVD drive is missing or is not recognized by Windows or other programs
http://support.microsoft.com/kb/314060 - a Mr FixitThe CD drive or the DVD drive does not work as expected on a computer that you upgraded to Windows Vista
http://support.Microsoft.com/kb/929461When you insert a CD or a DVD, Windows Vista may not recognize the disc
http://support.Microsoft.com/kb/939052Your CD or DVD drive cannot read or write media - A Mr Fixit
http://support.Microsoft.com/GP/cd_dvd_drive_problemsCD/DVD drive does not appear in Windows Vista, or you receive this error during the installation of Windows Vista after booting from the DVD (AHCI)
http://support.Microsoft.com/kb/952951
Drive CD - R or CD - RW Drive is not recognized as a recordable device
http://support.Microsoft.com/kb/316529/Another possibility is that the cables are loose. Remove ALL power, then make sure that the cables in both
ends. Remove and replace, do not just tight. For laptops, you can often clean power and
contacts data with a pencil eraser.Hope these helps.
Rob - bicycle - Mark Twain said it is good. -
By Magentic screen saver will not work! Any help out there?
I am running Windows Vista on a Dell Studio nine
I've got everything I can think of including related: put in startup, uninstall/reinstall, which makes my choice by default, even turning off security on downloads & installs. But Vista refuses to launch... (And I do not understand it is maybe not the best choice, but it makes me happy... & I need that now..) Please any help will be appreciated! Thank you!Hello MakMeHappy,
Thank you for using the Microsoft answers Forum
We want to assure you that Magentic is compatible with Windows Vista. I downloaded this background screen program on my laptop but got errors repeated that he could not install. You are using a version of this software which is known to be compatible with Windows Vista? Is there an another Vista machine that you tried this software and it worked? Are there errors that either Vista or the Magentic software gives which would give us more information as to why it does not work. Have you contacted Magentic support to ask if the software is compatible or if they have a version that will work correctly on Windows Vista?
Additional information you can provide on this problem would be useful.
Judd
Engineer Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.
Maybe you are looking for
-
The lower half is empty and useless.
-
Had a weird start this morning problem. If I dial a number, even on speaker, the Cliq says it connects, but I never hear ringing or anyone pick it up. It's complete volumes and the speaker. I don't have a landline to see if it sounds or not, but I ca
-
Exception unhandled for photo gallery
Not junk I am running XP, I get an error message on the photo gallery and it won't let me not shut down the computer, or even turn it off. I'll paste in the error at the end. The problem started after I tried to remove an old trial version of InDesig
-
frustrated, the overdrive software download player! I tried everything I can think of to download this audio book. whenever I try, I get a message error that says "the version of this file is not compatible with the version of windows your race. chec
-
Missing file: advrcntr2.dll
I'm missing "advrcntr2.dll" from my laptop. How can I reinstall it for free?