Applscript- Use List to Select Specifc Photoshop Action









up vote
0
down vote

favorite












Ive been trying to write a Applescript using the bits of knowledge I have



current stumbling blocks are



-getting the returned list selection to run the photoshop action



-how to repeat the action on multiple images.



Aim
I want to use a list to extract different cobinations of files (with set naming conventions) from a defined folder,
I would then like that same list selection to choose between mutliple photoshop actions and run the extracted file combination through that action.



Stage 1
-on running open a list



-List to conatain a set of names relating to photoshop actions



-select from list



Stage 2
-choose folder with source images (always 14 images always with the same last 9 characters _0000.tif to _0013.tif)



-Choose a save folder



Stage 3
-dependant on original list selection, automatically gather files from source image folder and run them through a coresponsing photoshop action



e.g If "Action 1" selceted from List select image "_0001.tiff & _0010.tif" from source folder and do photoshop action "Action1"



Stage4
save in chosen "save folder"



The Script So Far



--Stage 1--



set PhotoshopActionList to "Action1", "Action2", "Action3", "Action4", "Action5"

set ActionrequiredAnswer to choose from list PhotoshopActionList with title "Actions Picker" with prompt "Choose Action?"


if ActionrequiredAnswer is false then
error number -128 (* user cancelled *)
else
set ActionrequiredAnswer to ActionrequiredAnswer's item 1 (* extract choice from list*)
end if

end run


--Stage 2--



property SourceFolder : missing value
property destinationFolder : missing value

if SourceFolder = missing value then
set SourceFolder to (choose folder with prompt "Choose Base Images:")
set destinationFolder to (choose folder with prompt "Choose Save Location:")
else

tell application "Finder"
set theFolders to every item of entire contents of SourceFolder as list
repeat with thisFolder in theFolders
make new alias file at destinationFolder to thisFolder
end repeat
end tell
end if


--Stage 3--



tell application "Finder"
set filesList to files of entire contents of SourceFolder contains "_001", "_002", "003" as alias list
end tell

tell application "Adobe Photoshop"
repeat with aFile in filesList
open aFile

do action "Action1" from "Actionsfolder"
end tell


--Stage 4--



save currentDocument in folder destinationFolder as JPEG









share|improve this question























  • "I'm struglling to pull all the core areas together" - can you please edit your question to clarify where the stumbling block is exactly?
    – cybernetic.nomad
    Nov 11 at 16:18











  • Thanks for replying, updated, should be a bit clearer what im struggling with now,
    – JdG
    Nov 11 at 16:41















up vote
0
down vote

favorite












Ive been trying to write a Applescript using the bits of knowledge I have



current stumbling blocks are



-getting the returned list selection to run the photoshop action



-how to repeat the action on multiple images.



Aim
I want to use a list to extract different cobinations of files (with set naming conventions) from a defined folder,
I would then like that same list selection to choose between mutliple photoshop actions and run the extracted file combination through that action.



Stage 1
-on running open a list



-List to conatain a set of names relating to photoshop actions



-select from list



Stage 2
-choose folder with source images (always 14 images always with the same last 9 characters _0000.tif to _0013.tif)



-Choose a save folder



Stage 3
-dependant on original list selection, automatically gather files from source image folder and run them through a coresponsing photoshop action



e.g If "Action 1" selceted from List select image "_0001.tiff & _0010.tif" from source folder and do photoshop action "Action1"



Stage4
save in chosen "save folder"



The Script So Far



--Stage 1--



set PhotoshopActionList to "Action1", "Action2", "Action3", "Action4", "Action5"

set ActionrequiredAnswer to choose from list PhotoshopActionList with title "Actions Picker" with prompt "Choose Action?"


if ActionrequiredAnswer is false then
error number -128 (* user cancelled *)
else
set ActionrequiredAnswer to ActionrequiredAnswer's item 1 (* extract choice from list*)
end if

end run


--Stage 2--



property SourceFolder : missing value
property destinationFolder : missing value

if SourceFolder = missing value then
set SourceFolder to (choose folder with prompt "Choose Base Images:")
set destinationFolder to (choose folder with prompt "Choose Save Location:")
else

tell application "Finder"
set theFolders to every item of entire contents of SourceFolder as list
repeat with thisFolder in theFolders
make new alias file at destinationFolder to thisFolder
end repeat
end tell
end if


--Stage 3--



tell application "Finder"
set filesList to files of entire contents of SourceFolder contains "_001", "_002", "003" as alias list
end tell

tell application "Adobe Photoshop"
repeat with aFile in filesList
open aFile

do action "Action1" from "Actionsfolder"
end tell


--Stage 4--



save currentDocument in folder destinationFolder as JPEG









share|improve this question























  • "I'm struglling to pull all the core areas together" - can you please edit your question to clarify where the stumbling block is exactly?
    – cybernetic.nomad
    Nov 11 at 16:18











  • Thanks for replying, updated, should be a bit clearer what im struggling with now,
    – JdG
    Nov 11 at 16:41













up vote
0
down vote

favorite









up vote
0
down vote

favorite











Ive been trying to write a Applescript using the bits of knowledge I have



current stumbling blocks are



-getting the returned list selection to run the photoshop action



-how to repeat the action on multiple images.



Aim
I want to use a list to extract different cobinations of files (with set naming conventions) from a defined folder,
I would then like that same list selection to choose between mutliple photoshop actions and run the extracted file combination through that action.



Stage 1
-on running open a list



-List to conatain a set of names relating to photoshop actions



-select from list



Stage 2
-choose folder with source images (always 14 images always with the same last 9 characters _0000.tif to _0013.tif)



-Choose a save folder



Stage 3
-dependant on original list selection, automatically gather files from source image folder and run them through a coresponsing photoshop action



e.g If "Action 1" selceted from List select image "_0001.tiff & _0010.tif" from source folder and do photoshop action "Action1"



Stage4
save in chosen "save folder"



The Script So Far



--Stage 1--



set PhotoshopActionList to "Action1", "Action2", "Action3", "Action4", "Action5"

set ActionrequiredAnswer to choose from list PhotoshopActionList with title "Actions Picker" with prompt "Choose Action?"


if ActionrequiredAnswer is false then
error number -128 (* user cancelled *)
else
set ActionrequiredAnswer to ActionrequiredAnswer's item 1 (* extract choice from list*)
end if

end run


--Stage 2--



property SourceFolder : missing value
property destinationFolder : missing value

if SourceFolder = missing value then
set SourceFolder to (choose folder with prompt "Choose Base Images:")
set destinationFolder to (choose folder with prompt "Choose Save Location:")
else

tell application "Finder"
set theFolders to every item of entire contents of SourceFolder as list
repeat with thisFolder in theFolders
make new alias file at destinationFolder to thisFolder
end repeat
end tell
end if


--Stage 3--



tell application "Finder"
set filesList to files of entire contents of SourceFolder contains "_001", "_002", "003" as alias list
end tell

tell application "Adobe Photoshop"
repeat with aFile in filesList
open aFile

do action "Action1" from "Actionsfolder"
end tell


--Stage 4--



save currentDocument in folder destinationFolder as JPEG









share|improve this question















Ive been trying to write a Applescript using the bits of knowledge I have



current stumbling blocks are



-getting the returned list selection to run the photoshop action



-how to repeat the action on multiple images.



Aim
I want to use a list to extract different cobinations of files (with set naming conventions) from a defined folder,
I would then like that same list selection to choose between mutliple photoshop actions and run the extracted file combination through that action.



Stage 1
-on running open a list



-List to conatain a set of names relating to photoshop actions



-select from list



Stage 2
-choose folder with source images (always 14 images always with the same last 9 characters _0000.tif to _0013.tif)



-Choose a save folder



Stage 3
-dependant on original list selection, automatically gather files from source image folder and run them through a coresponsing photoshop action



e.g If "Action 1" selceted from List select image "_0001.tiff & _0010.tif" from source folder and do photoshop action "Action1"



Stage4
save in chosen "save folder"



The Script So Far



--Stage 1--



set PhotoshopActionList to "Action1", "Action2", "Action3", "Action4", "Action5"

set ActionrequiredAnswer to choose from list PhotoshopActionList with title "Actions Picker" with prompt "Choose Action?"


if ActionrequiredAnswer is false then
error number -128 (* user cancelled *)
else
set ActionrequiredAnswer to ActionrequiredAnswer's item 1 (* extract choice from list*)
end if

end run


--Stage 2--



property SourceFolder : missing value
property destinationFolder : missing value

if SourceFolder = missing value then
set SourceFolder to (choose folder with prompt "Choose Base Images:")
set destinationFolder to (choose folder with prompt "Choose Save Location:")
else

tell application "Finder"
set theFolders to every item of entire contents of SourceFolder as list
repeat with thisFolder in theFolders
make new alias file at destinationFolder to thisFolder
end repeat
end tell
end if


--Stage 3--



tell application "Finder"
set filesList to files of entire contents of SourceFolder contains "_001", "_002", "003" as alias list
end tell

tell application "Adobe Photoshop"
repeat with aFile in filesList
open aFile

do action "Action1" from "Actionsfolder"
end tell


--Stage 4--



save currentDocument in folder destinationFolder as JPEG






list applescript action photoshop tiff






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 11 at 16:51

























asked Nov 11 at 15:58









JdG

73




73











  • "I'm struglling to pull all the core areas together" - can you please edit your question to clarify where the stumbling block is exactly?
    – cybernetic.nomad
    Nov 11 at 16:18











  • Thanks for replying, updated, should be a bit clearer what im struggling with now,
    – JdG
    Nov 11 at 16:41

















  • "I'm struglling to pull all the core areas together" - can you please edit your question to clarify where the stumbling block is exactly?
    – cybernetic.nomad
    Nov 11 at 16:18











  • Thanks for replying, updated, should be a bit clearer what im struggling with now,
    – JdG
    Nov 11 at 16:41
















"I'm struglling to pull all the core areas together" - can you please edit your question to clarify where the stumbling block is exactly?
– cybernetic.nomad
Nov 11 at 16:18





"I'm struglling to pull all the core areas together" - can you please edit your question to clarify where the stumbling block is exactly?
– cybernetic.nomad
Nov 11 at 16:18













Thanks for replying, updated, should be a bit clearer what im struggling with now,
– JdG
Nov 11 at 16:41





Thanks for replying, updated, should be a bit clearer what im struggling with now,
– JdG
Nov 11 at 16:41













1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










I did not found a way to select entire contents of folder AND filter extension 'tif', 'tiff',.. AND filter files whose name contains your patterns.



As work around, I did 2 steps:



1) select in entire contents only files with target extensions.



2)I loop through these files to check is file name contains the target pattern. This is done by routine FnameOK.



You need to complete the script bellow with your Photoshop action and the 'save as':



set PhotoshopActionList to "Action1", "Action2", "Action3", "Action4", "Action5"
set ListOK to "_001", "_002", "003"
set ActionRequiredAnswer to choose from list PhotoshopActionList with title "Actions Picker" with prompt "Choose Action?"
if ActionRequiredAnswer is false then
error number -128 (* user cancelled *)
else
set ActionRequiredAnswer to ActionRequiredAnswer's item 1 (* extract choice from list*)
end if

set SourceFolder to (choose folder with prompt "Choose Base Images:")
set DestinationFolder to (choose folder with prompt "Choose Save Location:")

tell application "Finder" to set filesList to files of entire contents of SourceFolder whose name extension is in "tiff", "tif"

repeat with aFile in filesList
tell application "Finder" to set NameF to name of aFile
if FNameOK(NameF, ListOK) then -- the file name contains a valid pattern, then process the file
tell application "Adobe Photoshop"
open (aFile as alias)
-- perform action selected
-- save as to Destination Folder
end tell
end if
end repeat

on FNameOK(Local_Name, LocalList) -- check if the file name contains an element of the list
set LocalCheck to false
repeat with OneItem in LocalList
if Local_Name contains OneItem then
return true
end if
end repeat
return false
end FNameOK





share|improve this answer






















  • Hi, Thanks for the reply, I've just tried the script a and its getting stuck when creating the alias list? Ive tried changing this from an alias list to just a list but then gets stuck when setting the NameF. Any ideas of help much appreciated. Thanks J
    – JdG
    Nov 12 at 8:49











  • This script is perfectly working on my mac. The only difference is that I am calling "Adobe Photoshop CS3" because I have an old Photoshop version. But is does not impact the list of files. Are you sure you have used same syntax as in the script ? what is your error ? which line ? (note, of course, if you change the syntax I used you get the list of alias, you may not longer get alias...then next instruction will failed.
    – pbell
    Nov 12 at 15:17










  • thanks again for the reply I'm getting the below error error "Can’t make every file of «class ects» of alias ":Users:User:Desktop:Base Image Folder:" whose name extension = "tiff", "tif" into type alias list." number -1700 from every file of «class ects» of alias ":Users:User:Desktop:Base Image Folder:" whose name extension = "tiff", "tif" to «class alst» Thanks J
    – JdG
    Nov 12 at 16:06











  • Sorry, my mistake. I have incorrectly copy my script. The line is now updated, as well as open line.
    – pbell
    Nov 12 at 18:06











  • This is Brilliant, Thank you so much for your help!!
    – JdG
    Nov 12 at 20:27










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53250511%2fapplscript-use-list-to-select-specifc-photoshop-action%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote



accepted










I did not found a way to select entire contents of folder AND filter extension 'tif', 'tiff',.. AND filter files whose name contains your patterns.



As work around, I did 2 steps:



1) select in entire contents only files with target extensions.



2)I loop through these files to check is file name contains the target pattern. This is done by routine FnameOK.



You need to complete the script bellow with your Photoshop action and the 'save as':



set PhotoshopActionList to "Action1", "Action2", "Action3", "Action4", "Action5"
set ListOK to "_001", "_002", "003"
set ActionRequiredAnswer to choose from list PhotoshopActionList with title "Actions Picker" with prompt "Choose Action?"
if ActionRequiredAnswer is false then
error number -128 (* user cancelled *)
else
set ActionRequiredAnswer to ActionRequiredAnswer's item 1 (* extract choice from list*)
end if

set SourceFolder to (choose folder with prompt "Choose Base Images:")
set DestinationFolder to (choose folder with prompt "Choose Save Location:")

tell application "Finder" to set filesList to files of entire contents of SourceFolder whose name extension is in "tiff", "tif"

repeat with aFile in filesList
tell application "Finder" to set NameF to name of aFile
if FNameOK(NameF, ListOK) then -- the file name contains a valid pattern, then process the file
tell application "Adobe Photoshop"
open (aFile as alias)
-- perform action selected
-- save as to Destination Folder
end tell
end if
end repeat

on FNameOK(Local_Name, LocalList) -- check if the file name contains an element of the list
set LocalCheck to false
repeat with OneItem in LocalList
if Local_Name contains OneItem then
return true
end if
end repeat
return false
end FNameOK





share|improve this answer






















  • Hi, Thanks for the reply, I've just tried the script a and its getting stuck when creating the alias list? Ive tried changing this from an alias list to just a list but then gets stuck when setting the NameF. Any ideas of help much appreciated. Thanks J
    – JdG
    Nov 12 at 8:49











  • This script is perfectly working on my mac. The only difference is that I am calling "Adobe Photoshop CS3" because I have an old Photoshop version. But is does not impact the list of files. Are you sure you have used same syntax as in the script ? what is your error ? which line ? (note, of course, if you change the syntax I used you get the list of alias, you may not longer get alias...then next instruction will failed.
    – pbell
    Nov 12 at 15:17










  • thanks again for the reply I'm getting the below error error "Can’t make every file of «class ects» of alias ":Users:User:Desktop:Base Image Folder:" whose name extension = "tiff", "tif" into type alias list." number -1700 from every file of «class ects» of alias ":Users:User:Desktop:Base Image Folder:" whose name extension = "tiff", "tif" to «class alst» Thanks J
    – JdG
    Nov 12 at 16:06











  • Sorry, my mistake. I have incorrectly copy my script. The line is now updated, as well as open line.
    – pbell
    Nov 12 at 18:06











  • This is Brilliant, Thank you so much for your help!!
    – JdG
    Nov 12 at 20:27














up vote
0
down vote



accepted










I did not found a way to select entire contents of folder AND filter extension 'tif', 'tiff',.. AND filter files whose name contains your patterns.



As work around, I did 2 steps:



1) select in entire contents only files with target extensions.



2)I loop through these files to check is file name contains the target pattern. This is done by routine FnameOK.



You need to complete the script bellow with your Photoshop action and the 'save as':



set PhotoshopActionList to "Action1", "Action2", "Action3", "Action4", "Action5"
set ListOK to "_001", "_002", "003"
set ActionRequiredAnswer to choose from list PhotoshopActionList with title "Actions Picker" with prompt "Choose Action?"
if ActionRequiredAnswer is false then
error number -128 (* user cancelled *)
else
set ActionRequiredAnswer to ActionRequiredAnswer's item 1 (* extract choice from list*)
end if

set SourceFolder to (choose folder with prompt "Choose Base Images:")
set DestinationFolder to (choose folder with prompt "Choose Save Location:")

tell application "Finder" to set filesList to files of entire contents of SourceFolder whose name extension is in "tiff", "tif"

repeat with aFile in filesList
tell application "Finder" to set NameF to name of aFile
if FNameOK(NameF, ListOK) then -- the file name contains a valid pattern, then process the file
tell application "Adobe Photoshop"
open (aFile as alias)
-- perform action selected
-- save as to Destination Folder
end tell
end if
end repeat

on FNameOK(Local_Name, LocalList) -- check if the file name contains an element of the list
set LocalCheck to false
repeat with OneItem in LocalList
if Local_Name contains OneItem then
return true
end if
end repeat
return false
end FNameOK





share|improve this answer






















  • Hi, Thanks for the reply, I've just tried the script a and its getting stuck when creating the alias list? Ive tried changing this from an alias list to just a list but then gets stuck when setting the NameF. Any ideas of help much appreciated. Thanks J
    – JdG
    Nov 12 at 8:49











  • This script is perfectly working on my mac. The only difference is that I am calling "Adobe Photoshop CS3" because I have an old Photoshop version. But is does not impact the list of files. Are you sure you have used same syntax as in the script ? what is your error ? which line ? (note, of course, if you change the syntax I used you get the list of alias, you may not longer get alias...then next instruction will failed.
    – pbell
    Nov 12 at 15:17










  • thanks again for the reply I'm getting the below error error "Can’t make every file of «class ects» of alias ":Users:User:Desktop:Base Image Folder:" whose name extension = "tiff", "tif" into type alias list." number -1700 from every file of «class ects» of alias ":Users:User:Desktop:Base Image Folder:" whose name extension = "tiff", "tif" to «class alst» Thanks J
    – JdG
    Nov 12 at 16:06











  • Sorry, my mistake. I have incorrectly copy my script. The line is now updated, as well as open line.
    – pbell
    Nov 12 at 18:06











  • This is Brilliant, Thank you so much for your help!!
    – JdG
    Nov 12 at 20:27












up vote
0
down vote



accepted







up vote
0
down vote



accepted






I did not found a way to select entire contents of folder AND filter extension 'tif', 'tiff',.. AND filter files whose name contains your patterns.



As work around, I did 2 steps:



1) select in entire contents only files with target extensions.



2)I loop through these files to check is file name contains the target pattern. This is done by routine FnameOK.



You need to complete the script bellow with your Photoshop action and the 'save as':



set PhotoshopActionList to "Action1", "Action2", "Action3", "Action4", "Action5"
set ListOK to "_001", "_002", "003"
set ActionRequiredAnswer to choose from list PhotoshopActionList with title "Actions Picker" with prompt "Choose Action?"
if ActionRequiredAnswer is false then
error number -128 (* user cancelled *)
else
set ActionRequiredAnswer to ActionRequiredAnswer's item 1 (* extract choice from list*)
end if

set SourceFolder to (choose folder with prompt "Choose Base Images:")
set DestinationFolder to (choose folder with prompt "Choose Save Location:")

tell application "Finder" to set filesList to files of entire contents of SourceFolder whose name extension is in "tiff", "tif"

repeat with aFile in filesList
tell application "Finder" to set NameF to name of aFile
if FNameOK(NameF, ListOK) then -- the file name contains a valid pattern, then process the file
tell application "Adobe Photoshop"
open (aFile as alias)
-- perform action selected
-- save as to Destination Folder
end tell
end if
end repeat

on FNameOK(Local_Name, LocalList) -- check if the file name contains an element of the list
set LocalCheck to false
repeat with OneItem in LocalList
if Local_Name contains OneItem then
return true
end if
end repeat
return false
end FNameOK





share|improve this answer














I did not found a way to select entire contents of folder AND filter extension 'tif', 'tiff',.. AND filter files whose name contains your patterns.



As work around, I did 2 steps:



1) select in entire contents only files with target extensions.



2)I loop through these files to check is file name contains the target pattern. This is done by routine FnameOK.



You need to complete the script bellow with your Photoshop action and the 'save as':



set PhotoshopActionList to "Action1", "Action2", "Action3", "Action4", "Action5"
set ListOK to "_001", "_002", "003"
set ActionRequiredAnswer to choose from list PhotoshopActionList with title "Actions Picker" with prompt "Choose Action?"
if ActionRequiredAnswer is false then
error number -128 (* user cancelled *)
else
set ActionRequiredAnswer to ActionRequiredAnswer's item 1 (* extract choice from list*)
end if

set SourceFolder to (choose folder with prompt "Choose Base Images:")
set DestinationFolder to (choose folder with prompt "Choose Save Location:")

tell application "Finder" to set filesList to files of entire contents of SourceFolder whose name extension is in "tiff", "tif"

repeat with aFile in filesList
tell application "Finder" to set NameF to name of aFile
if FNameOK(NameF, ListOK) then -- the file name contains a valid pattern, then process the file
tell application "Adobe Photoshop"
open (aFile as alias)
-- perform action selected
-- save as to Destination Folder
end tell
end if
end repeat

on FNameOK(Local_Name, LocalList) -- check if the file name contains an element of the list
set LocalCheck to false
repeat with OneItem in LocalList
if Local_Name contains OneItem then
return true
end if
end repeat
return false
end FNameOK






share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 12 at 18:05

























answered Nov 12 at 6:15









pbell

1,9181810




1,9181810











  • Hi, Thanks for the reply, I've just tried the script a and its getting stuck when creating the alias list? Ive tried changing this from an alias list to just a list but then gets stuck when setting the NameF. Any ideas of help much appreciated. Thanks J
    – JdG
    Nov 12 at 8:49











  • This script is perfectly working on my mac. The only difference is that I am calling "Adobe Photoshop CS3" because I have an old Photoshop version. But is does not impact the list of files. Are you sure you have used same syntax as in the script ? what is your error ? which line ? (note, of course, if you change the syntax I used you get the list of alias, you may not longer get alias...then next instruction will failed.
    – pbell
    Nov 12 at 15:17










  • thanks again for the reply I'm getting the below error error "Can’t make every file of «class ects» of alias ":Users:User:Desktop:Base Image Folder:" whose name extension = "tiff", "tif" into type alias list." number -1700 from every file of «class ects» of alias ":Users:User:Desktop:Base Image Folder:" whose name extension = "tiff", "tif" to «class alst» Thanks J
    – JdG
    Nov 12 at 16:06











  • Sorry, my mistake. I have incorrectly copy my script. The line is now updated, as well as open line.
    – pbell
    Nov 12 at 18:06











  • This is Brilliant, Thank you so much for your help!!
    – JdG
    Nov 12 at 20:27
















  • Hi, Thanks for the reply, I've just tried the script a and its getting stuck when creating the alias list? Ive tried changing this from an alias list to just a list but then gets stuck when setting the NameF. Any ideas of help much appreciated. Thanks J
    – JdG
    Nov 12 at 8:49











  • This script is perfectly working on my mac. The only difference is that I am calling "Adobe Photoshop CS3" because I have an old Photoshop version. But is does not impact the list of files. Are you sure you have used same syntax as in the script ? what is your error ? which line ? (note, of course, if you change the syntax I used you get the list of alias, you may not longer get alias...then next instruction will failed.
    – pbell
    Nov 12 at 15:17










  • thanks again for the reply I'm getting the below error error "Can’t make every file of «class ects» of alias ":Users:User:Desktop:Base Image Folder:" whose name extension = "tiff", "tif" into type alias list." number -1700 from every file of «class ects» of alias ":Users:User:Desktop:Base Image Folder:" whose name extension = "tiff", "tif" to «class alst» Thanks J
    – JdG
    Nov 12 at 16:06











  • Sorry, my mistake. I have incorrectly copy my script. The line is now updated, as well as open line.
    – pbell
    Nov 12 at 18:06











  • This is Brilliant, Thank you so much for your help!!
    – JdG
    Nov 12 at 20:27















Hi, Thanks for the reply, I've just tried the script a and its getting stuck when creating the alias list? Ive tried changing this from an alias list to just a list but then gets stuck when setting the NameF. Any ideas of help much appreciated. Thanks J
– JdG
Nov 12 at 8:49





Hi, Thanks for the reply, I've just tried the script a and its getting stuck when creating the alias list? Ive tried changing this from an alias list to just a list but then gets stuck when setting the NameF. Any ideas of help much appreciated. Thanks J
– JdG
Nov 12 at 8:49













This script is perfectly working on my mac. The only difference is that I am calling "Adobe Photoshop CS3" because I have an old Photoshop version. But is does not impact the list of files. Are you sure you have used same syntax as in the script ? what is your error ? which line ? (note, of course, if you change the syntax I used you get the list of alias, you may not longer get alias...then next instruction will failed.
– pbell
Nov 12 at 15:17




This script is perfectly working on my mac. The only difference is that I am calling "Adobe Photoshop CS3" because I have an old Photoshop version. But is does not impact the list of files. Are you sure you have used same syntax as in the script ? what is your error ? which line ? (note, of course, if you change the syntax I used you get the list of alias, you may not longer get alias...then next instruction will failed.
– pbell
Nov 12 at 15:17












thanks again for the reply I'm getting the below error error "Can’t make every file of «class ects» of alias ":Users:User:Desktop:Base Image Folder:" whose name extension = "tiff", "tif" into type alias list." number -1700 from every file of «class ects» of alias ":Users:User:Desktop:Base Image Folder:" whose name extension = "tiff", "tif" to «class alst» Thanks J
– JdG
Nov 12 at 16:06





thanks again for the reply I'm getting the below error error "Can’t make every file of «class ects» of alias ":Users:User:Desktop:Base Image Folder:" whose name extension = "tiff", "tif" into type alias list." number -1700 from every file of «class ects» of alias ":Users:User:Desktop:Base Image Folder:" whose name extension = "tiff", "tif" to «class alst» Thanks J
– JdG
Nov 12 at 16:06













Sorry, my mistake. I have incorrectly copy my script. The line is now updated, as well as open line.
– pbell
Nov 12 at 18:06





Sorry, my mistake. I have incorrectly copy my script. The line is now updated, as well as open line.
– pbell
Nov 12 at 18:06













This is Brilliant, Thank you so much for your help!!
– JdG
Nov 12 at 20:27




This is Brilliant, Thank you so much for your help!!
– JdG
Nov 12 at 20:27

















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53250511%2fapplscript-use-list-to-select-specifc-photoshop-action%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

How to read a connectionString WITH PROVIDER in .NET Core?

Node.js Script on GitHub Pages or Amazon S3

Museum of Modern and Contemporary Art of Trento and Rovereto