Applscript- Use List to Select Specifc Photoshop Action










0















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 '18 at 16:18












  • Thanks for replying, updated, should be a bit clearer what im struggling with now,

    – JdG
    Nov 11 '18 at 16:41
















0















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 '18 at 16:18












  • Thanks for replying, updated, should be a bit clearer what im struggling with now,

    – JdG
    Nov 11 '18 at 16:41














0












0








0








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 '18 at 16:51







JdG

















asked Nov 11 '18 at 15:58









JdGJdG

74




74












  • "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 '18 at 16:18












  • Thanks for replying, updated, should be a bit clearer what im struggling with now,

    – JdG
    Nov 11 '18 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 '18 at 16:18












  • Thanks for replying, updated, should be a bit clearer what im struggling with now,

    – JdG
    Nov 11 '18 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 '18 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 '18 at 16:18














Thanks for replying, updated, should be a bit clearer what im struggling with now,

– JdG
Nov 11 '18 at 16:41






Thanks for replying, updated, should be a bit clearer what im struggling with now,

– JdG
Nov 11 '18 at 16:41













1 Answer
1






active

oldest

votes


















0














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 '18 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 '18 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 '18 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 '18 at 18:06












  • This is Brilliant, Thank you so much for your help!!

    – JdG
    Nov 12 '18 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',
autoActivateHeartbeat: false,
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









0














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 '18 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 '18 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 '18 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 '18 at 18:06












  • This is Brilliant, Thank you so much for your help!!

    – JdG
    Nov 12 '18 at 20:27















0














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 '18 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 '18 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 '18 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 '18 at 18:06












  • This is Brilliant, Thank you so much for your help!!

    – JdG
    Nov 12 '18 at 20:27













0












0








0







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 '18 at 18:05

























answered Nov 12 '18 at 6:15









pbellpbell

1,9431810




1,9431810












  • 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 '18 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 '18 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 '18 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 '18 at 18:06












  • This is Brilliant, Thank you so much for your help!!

    – JdG
    Nov 12 '18 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 '18 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 '18 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 '18 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 '18 at 18:06












  • This is Brilliant, Thank you so much for your help!!

    – JdG
    Nov 12 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 at 18:06














This is Brilliant, Thank you so much for your help!!

– JdG
Nov 12 '18 at 20:27





This is Brilliant, Thank you so much for your help!!

– JdG
Nov 12 '18 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.




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







Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Edmonton

Crossroads (UK TV series)