How to use applescript photoshop batch
Hello, good afternoon.
I'm trying to make an applescript that will run a batch procedure in photoshop and I don't know how to wirte its code. Let me show my script :
set pasta_evento to choose folder with prompt "Select folder of the event: "
set pasta_tratadas to (pasta_evento as string) & "Tratadas:" as alias
set arq_log to (pasta_evento as string) & "Log_Erros.txt"
tell application "Finder"
if not (exists file arq_log) then
make new file at pasta_evento with properties {name:"Log_Erros.txt"}
end if
end tell
set Fotos to files of pasta_evento as alias list
tell application "Adobe Photoshop CS6"
activate
set display dialogs to never
batch "13 x 19 + sharpen" from files Fotos from "My Actions" with options {destination:folder, destination folder:pasta_tratadas, error file:alias arq_log}
end tell
I think I have two problems. I realized that if I change the instruction as below, it works. So, there's something wrong with the variable Fotos and with the batch options (I tried to read the photoshop applescript ref, but I don't know what's wrong.
tell application "Adobe Photoshop CS6"
activate
set display dialogs to never
batch "13 x 19 + sharpen" from files {"Disk:Users:Me:Pictures:Macros:Tratadas:0002.JPG", "Disk:Users:Me:Pictures:Macros:Tratadas:0025.JPG"} from "My Actions"
Could anybody help me correct this code ? I'm not definetively an expert!
Tks !
Hi Muppet, tks for the help !
I tried to feed it strings by many ways friend, but I as I told you I'm not an expert and couldn't make it work... So sad ...
When I run :
batch "13 x 19 + sharpen" from files Fotos from "My Actions"
In the results it comes :
batch "13 x 19 + sharpen" from files {alias "Disk:Users:Me:Pictures:Macros:Tratadas:0002.JPG", alias "Disk:Users:Me:Pictures:Macros:Tratadas:0025.JPG"} from "My Actions"
And it doesn't work, Photoshop opens a dialog informing : There were no source files that could be opened by Photoshop.
When I write the alias list manually it starts the batch command.
batch "13 x 19 + sharpen" from files {"Disk:Users:Me:Pictures:Macros:Tratadas:0002.JPG", "Disk:Users:Me:Pictures:Macros:Tratadas:0025.JPG"} from "My Actions"
In the Applescript Photoshop Ref:
batch v : run the batch automation routine
batch text : the name of the action to play (note that the case of letters in the Action name is important and must match the case of the name in the Actions palette)
from files list of alias : list of input files to operate on
from text : the name of the action set containing the action being played (note that the case of letters in the Action Set name is important and must match the case of the name in the Actions palette)
[with options batch options] : options for Batch
AND
batch options n : options for the Batch command
properties
destination (folder/none/save and close) : final destination of processed files ( default: none )
destination folder (alias) : folder location when using destination to a folder
error file (alias) : file to log errors encountered, leave this blank to stop for errors
file naming (list of ddmm/ddmmyy/document name 3/document name lower/document name mixed/extension lower/extension upper/mmdd/mmddyy/serial letter lower/serial letter upper/serial number four/serial number one/serial number three/serial number two/yyddmm/yymmdd/yyyymmdd) : list of file naming options 6 max.
macintosh compatible (boolean) : make final file name Macintosh compatible ( default: true )
override open (boolean) : override action open commands ( default: false )
override save (boolean) : override save as action steps with destination specified here ( default: false )
startingserial (integer) : starting serial number to use ( default: 1 )
suppress open (boolean) : suppress file open options dialogs ( default: false )
suppressprofile (boolean) : suppress color profile warnings ( default: false )
unix compatible (boolean) : make final file name Unix compatible ( default: true )
windows compatible (boolean) : make final file name Windows compatible ( default: true )
When I try to use the batch options Photoshop it says the batch command is invalid or not supported.
With these informations do you could help me ?
I'm loosing my hopes ...
Tks !
Similar Messages
-
How to use AppleScript to set "character fill color" in Pages 5.2?
For Pages 5.2 on OSX 10.9.3, what is the correct applescript for changing the "character fill" of text in pages.
If you highlight text, you do this via your mouse in the inspector by clicking "style," "advanced option (the gear wheel to the right of bold, italics, and underline), "character fill color (clicking on the multi-color circle, not the dropdown menu), and then choosing a color that comes up in the "colors" dialogue box.
I've looked all over and cannot find how to use applescript to set the character fill color in pages.
In some examples (not directly related) I see "character fill" used.
In others, I see "colorfill."
Basically, I want to use applescript, embedded in a keyboard maestro macro, to change the background color of the text (not the text color itself) to particular colors.
Given the changes and updates to Pages this year, and to applescript, what's the easy way to do this?
Thanks!
ChuckPages v5.2 still does not include selection-object, or character background color entries in its AppleScript dictionary, as does Pages ’09. Indirectly, using System Events, you can get the text selection in Pages v5.2, but then you can do nothing to change the selection. No assurances as to if or when Apple will mature the AppleScript dictionary support for Pages v5 series.
-
Anyone knows how to use Adobe Photoshop CS6 on Mac?
Anyone knows how to use Adobe Photoshop CS6 on Mac? I've downloaded from cnet and it seems not working. Asking for a stable Adobe application Manager. Downloaded and not working..
System requirements are v10.6.8 and v10.7 > System requirements | Adobe Creative Suite 6
Not v10.8 -
How to Use BAPI_OUTB_DELIVERY_CHANGE for Batch Split
Hi Experts, I have the follow delivery:
Item Material Deliv.Qty Un
10 739911 2 PQT
And I want to obtain this:
Item Material Deliv.Qty Un Batch
10 739911 0 PQT
900001 739911 1 PQT ZZ00060
900002 739911 1 PQT ZZ00061
But, after using the Bapi I obtained this:
Item Material Deliv.Qty Un Batch
10 739911 1,372 PQT
900001 739911 0,314 PQT ZZ00060
900002 739911 0,314 PQT ZZ00061
So as you can see the problem is with the "Deliv.Qty". I expected:
Item Deliv.Qty
10 0
900001 1
900002 1
But I obtained:
Item Deliv.Qty
10 1,372
900001 0,314
900002 0,314
The parameters that I am using in the Bapi are:
HEADER_DATA
DELIV_NUMB = 801174646
HEADER_CONTROL
DELIV_NUMB = 801174646
DELIVERY = 801174646
TECHN_CONTROL
UPD_IND = U
ITEM_DATA (three records):
DELIV_NUMB = 801174646
DELIV_ITEM = 000010
MATERIAL = 739911
FACT_UNIT_NOM = 1
FACT_UNIT_DENOM = 1
DELIV_NUMB = 801174646
DELIV_ITEM = 900001
MATERIAL = 739911
BATCH = ZZ00060
HIERARITEM = 000010
USEHIERITM = 1
DLV_QTY = 1
DLV_QTY_IMUNIT = 1
FACT_UNIT_NOM = 1
FACT_UNIT_DENOM = 1
DELIV_NUMB = 801174646
DELIV_ITEM = 900002
MATERIAL = 739911
BATCH = ZZ00061
HIERARITEM = 000010
USEHIERITM = 1
DLV_QTY = 1
DLV_QTY_IMUNIT = 1
FACT_UNIT_NOM = 1
FACT_UNIT_DENOM = 1
ITEM_CONTROL (three records):
DELIV_NUMB = 801174646
DELIV_ITEM = 000010
CHG_DELQTY = X
DELIV_NUMB = 801174646
DELIV_ITEM = 900001
CHG_DELQTY = X
DELIV_NUMB = 801174646
DELIV_ITEM = 900002
CHG_DELQTY = X
So I am missing something but I don't know what.
Can any one help me with this please?
PD: I have looked the following forums in order to use the Bapi:
How to Use BAPI_OUTB_DELIVERY_CHANGE for Batch Split
batch split using BAPI_OUTB_DELIVERY_CHANGE
Re: Help in BAPI_OUTB_DELIVERY_CHANGE(batch-split)
BAPI_OUTB_DELIVERY_CHANGE - Batch Splits don't work
Help for BAPI_OUTB_DELIVERY_CHANGEHey,
My code is for the inbound delivery but it should work the same.
Give this a try.
REPORT z_delivery_batch_split.
DATA:header_data LIKE bapiibdlvhdrchg,
header_control LIKE bapiibdlvhdrctrlchg,
delivery LIKE bapiibdlvhdrchg-deliv_numb,
ls_return LIKE bapiret2,
item_data TYPE TABLE OF bapiibdlvitemchg,
item_control TYPE TABLE OF bapiibdlvitemctrlchg,
ls_item_data LIKE bapiibdlvitemchg,
ls_item_control LIKE bapiibdlvitemctrlchg,
return TYPE TABLE OF bapiret2 WITH NON-UNIQUE KEY type.
header_data-deliv_numb = '1800005005'.
header_control-deliv_numb = '1800005005'.
delivery = '1800005005'.
ls_item_data-deliv_numb = '1800005005'.
ls_item_data-deliv_item = '900001'.
ls_item_data-material = '000000000020067722'.
PERFORM create_batch CHANGING ls_item_data-batch.
ls_item_data-hieraritem = '000010'.
ls_item_data-usehieritm = '1'.
ls_item_data-dlv_qty = 80.
ls_item_data-dlv_qty_imunit = 80.
ls_item_data-fact_unit_nom = '1'.
ls_item_data-fact_unit_denom = '1'.
ls_item_data-sales_unit = 'EA'.
ls_item_data-base_uom = 'EA'.
APPEND ls_item_data TO item_data.
ls_item_data-deliv_numb = '1800005005'.
ls_item_data-deliv_item = '900002'.
ls_item_data-material = '000000000020067722'.
PERFORM create_batch CHANGING ls_item_data-batch.
ls_item_data-hieraritem = '000010'.
ls_item_data-usehieritm = '1'.
ls_item_data-dlv_qty = 60.
ls_item_data-dlv_qty_imunit = 60.
ls_item_data-fact_unit_nom = '1'.
ls_item_data-fact_unit_denom = '1'.
ls_item_data-sales_unit = 'EA'.
ls_item_data-base_uom = 'EA'.
APPEND ls_item_data TO item_data.
ls_item_control-deliv_numb = '1800005005'.
ls_item_control-deliv_item = '900001'.
ls_item_control-chg_delqty = 'X'.
APPEND ls_item_control TO item_control.
ls_item_control-deliv_numb = '1800005005'.
ls_item_control-deliv_item = '900002'.
ls_item_control-chg_delqty = 'X'.
APPEND ls_item_control TO item_control.
break cgavin.
CALL FUNCTION 'BAPI_INB_DELIVERY_CHANGE'
EXPORTING
header_data = header_data
header_control = header_control
delivery = delivery
* TECHN_CONTROL = TECHN_CONTROL
TABLES
* HEADER_PARTNER = HEADER_PARTNER
* HEADER_PARTNER_ADDR = HEADER_PARTNER_ADDR
* HEADER_DEADLINES = HEADER_DEADLINES
item_data = item_data
item_control = item_control
* ITEM_SERIAL_NO = ITEM_SERIAL_NO
* EXTENSION1 = EXTENSION1
* EXTENSION2 = EXTENSION2
return = return
* TOKENREFERENCE = TOKENREFERENCE
* HANDLING_UNIT_HEADER = HANDLING_UNIT_HEADER
* HANDLING_UNIT_ITEM = HANDLING_UNIT_ITEM
* PARTIAL_GR_OBJECTS = PARTIAL_GR_OBJECTS
READ TABLE return
INTO ls_return
WITH TABLE KEY type = 'E'.
IF sy-subrc = 0.
MESSAGE ID ls_return-id TYPE ls_return-type NUMBER ls_return-number WITH ls_return-message_v1 ls_return-message_v2
ls_return-message_v3 ls_return-message_v4.
ENDIF.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
break cgavin.
*& Form CREATE_BATCH
* text
* <--P_LS_ITEM_DATA_BATCH text
FORM create_batch CHANGING p_ls_item_data_batch.
DATA: ls_bncom TYPE bncom.
ls_bncom-matnr = ls_item_data-material.
ls_bncom-werks = 'C333'.
ls_bncom-lgort = '3000'.
SELECT SINGLE mtart
FROM mara
INTO ls_bncom-mtart
WHERE matnr = ls_bncom-matnr.
CALL FUNCTION 'VB_NEXT_BATCH_NUMBER'
EXPORTING
matnr = ls_bncom-matnr
werks = ls_bncom-werks
check_batch = 'X'
check_material = ''
message_when_auto = ' '
x_bncom = ls_bncom
lock_batch = ' '
IMPORTING
new_charg = p_ls_item_data_batch
EXCEPTIONS
no_material = 1
no_plant = 2
material_not_found = 3
plant_not_found = 4
no_batch_handling = 5
batch_exist = 6
no_number = 7
illegal_batch_number = 8
interval_not_found = 9
object_not_found = 10
interval_overflow = 11
error_automatic_batch_number = 12
cancelled = 13
automatic_batch_num_not_active = 14
OTHERS = 15.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
ENDIF.
ENDFORM. " CREATE_BATCH -
How to use BAPI_INB_DELIVERY_CONFIRM_DEC do batch split
Hi, everyone:
I want to do batch split in inbound or outbound delivery by function.
I found BAPI_INB_DELIVERY_CONFIRM_DEC, but our system is not a Decentralized System and I wandered in so many parameters.
How to use this fuction?
Thanks.Hi Junwen,
Did you call the BAPI_TRANSACTION_COMMIT afterwards?
Before this the data is not saved. After that it is saved.
Regards,
Rob. -
How to use Applescript to print out a certain calendar at 7am every morning?
Hey guys,
I am trying to use AppleScript to print out one of my calendars each day at 7am every morning.
I have come up with this so far:
tell application "Calendar"
view calendar "My Appointments" at (my (current date))
switch view to day view
activate
tell application "System Events"
keystroke "p" using command down
delay 1 -- (seconds)
tell process "Calendar"
tell window "Print"
if value of checkbox "Calendar Keys" is not 0 then
click checkbox "Calendar Keys"
end if
end tell
end tell
end tell
end tell
The problem with this is that it will print out whatever calendars are currently viewable. I can't figure out how to tell it to deselect other calendars and just select the one I want. I also want to tell it to print this out at 7am every morning.
Any help would be very appreciated!If you wanted to do the printout over multiple days, you would be best to loop through each day's events in the way the current script does, but to put a new loop around it that gets each new day's data:
--opens a temporary file
set fileRef to open for access ((path to desktop) as string) & "meetings.txt" with write permission
--effectively empties the file
set eof fileRef to 0
tell application "Calendar"
set dayCount to 9 --this will be the number of days to look forward (not including today)
repeat with currentDay from 0 to dayCount
set startList to {}
--get's today's date
--set startRange to ((current date) + 12 * days) -- I used this for testing, to point to a day that had many appointments. I've left it so you can use it, too.
set startRange to ((current date) + (currentDay * days))
--set the start of the range to previous midnight
set hours of startRange to 0
set minutes of startRange to 0
set seconds of startRange to 0
--set end of the range to next midnight
set endRange to (startRange + 1 * days)
--get today's events
set todaysEvents to get (events of calendar "My Appointments" whose (start date is greater than startRange) and (end date is less than endRange))
--make a new list with start time of the event for sort purposes
repeat with theEvent in todaysEvents
set end of startList to {startdate:start date of theEvent, eventID:theEvent}
end repeat
--sort using a bubble sort (suitable for short lists)
repeat with i from 1 to (count of startList) - 1
repeat with j from i + 1 to count of startList
if startdate of item j of startList < startdate of item i of startList then
set temp to item i of startList
set item i of startList to item j of startList
set item j of startList to temp
end if
end repeat
end repeat
--empty the original list
set todaysEvents to {}
--repopulate the list in correct chronological order
repeat with theEvent in startList
set end of todaysEvents to eventID of theEvent
end repeat
--write today's date to the file
write (date string of startRange & return & return) to fileRef
--if there are no events, write this to the file as well
if length of todaysEvents is 0 then
write "No events" & return & return to fileRef
else
--process each event into format: hh:mm-hh:mm/new line/event summary
repeat with theEvent in todaysEvents
set startdate to start date of theEvent
set enddate to end date of theEvent
set startHours to hours of startdate as string
if length of startHours is 1 then set startHours to "0" & startHours
set startMins to minutes of startdate as string
if length of startMins is 1 then set startMins to "0" & startMins
set starttime to startHours & ":" & startMins
set endHours to hours of enddate as string
if length of endHours is 1 then set endHours to "0" & endHours
set endMins to minutes of enddate as string
if length of endMins is 1 then set endMins to "0" & endMins
set endTime to endHours & ":" & endMins
--write the event to the file
set theSummary to (starttime & "-" & endTime & return & summary of theEvent & return & return) as string
write theSummary to fileRef
end repeat
end if
write return to fileRef
end repeat
end tell
--close the file
close access fileRef
--print the file
set theFile to (((path to desktop) as text) & "meetings.txt") as alias
tell application "TextEdit"
print theFile without print dialog
end tell -
How to use applescript to enter a contact in Microsoft Word
I am new to applescript, but I am trying to find a good way to use applescript in Microsoft Word along with Dragon Dictate for Mac to automate writing a letter. Dictate allows me to use applescript upon saying a command. What I would like to do is to be able to say "write a letter to ..." and it open my letter template and enter the persons contact info from the address book. There is a contacts menu item in Word that you can double click on the contact and it will paste it into the document, but it would be nice to be able to have it do it automatically without having to keep clicking.
Any help is appreciated.
Thanks!
EthanIt's a sheet, not a "modal". This script should tell you if it's up or not:
tell application "System Events"
tell process "Safari"
tell window 1
if exists sheet 1 then
display dialog "Sheet is Up"
else
display dialog "No sheet"
end if
end tell
end tell
end tell -
How to use applescript to open speech calibration window
I am having a problem with applescript. I am trying to open the speech calibration window in System Prefrences using applescript. I am really bad at GUI Scripting. I don't know if there is some other way to open the window, but I would like to have it appear when the user clicks a button. I am using Xcode ApplescriptObjC, but I don't think that matters. Could someone show me a script that opens the accessibility (or universal access) pane, click speakable items, then the "calibrate" button.
Another way to do this in Captivate 3, to open new window
using javascript with multiple files:
Create button and choose Execute Javascript:
Click the "..." button and type command using the following
format:
JavaScript:mynameLaunch();
["myname" is the name of the javascript function in relation
to the file you want to open]
Publish the Cp file.
Copy the file to be opened over to the root of the htm file
folder (for this example "myname.pdf").
Place the below javascript in the head of the main htm file
after publishing.
<head>
<script src="standard.js"
type="text/javascript"></script>
<script type="text/javascript">
function mynameLaunch(){window.open("myname.pdf",
"","toolbar=no,location=1,top=50,left=50,status=no,menubar=no,scrollbars=yes,resizable=ye s,width=400,height=575");
</script>
</head>
Test on a web server. -
Hello !
I'm trying to make an applescript that will run a batch procedure in photoshop and I don't know how to write its code. Let me show my script :
set pasta_evento to choose folder with prompt "Select folder of the event: "
set pasta_tratadas to (pasta_evento as string) & "Tratadas:" as alias
set arq_log to (pasta_evento as string) & "Log_Erros.txt"
tell application "Finder"
if not (exists file arq_log) then
make new file at pasta_evento with properties {name:"Log_Erros.txt"}
end if
end tell
set Fotos to files of pasta_evento as alias list
tell application "Adobe Photoshop CS6"
activate
set display dialogs to never
batch "13 x 19 + sharpen" from files Fotos from "My Actions" with options {destination:folder, destination folder:pasta_tratadas, error file:alias arq_log}
end tell
When I run it, Photoshop opens a dialog informing : "There were no source files that could be opened by Photoshop".
I realized that if I change the instruction as below, it works. So, there's something wrong with the variable Fotos - I tried to feed it with strings but didn't know how to do it.
tell application "Adobe Photoshop CS6"
activate
set display dialogs to never
batch "13 x 19 + sharpen" from files {"Disk:Users:Me:Pictures:Macros:Tratadas:0002.JPG", "Disk:Users:Me:Pictures:Macros:Tratadas:0025.JPG"} from "My Actions"
When I run the same script with the batch, Photoshop says there's something wrong with the batch command. I tried to read the photoshop applescript ref, but I don't know what's wrong.
Could anybody help me correct this code ? I'm not definetively an expert!
Some refs about batch and batch options :
batch v : run the batch automation routine
batch text : the name of the action to play (note that the case of letters in the Action name is important and must match the case of the name in the Actions palette)
from files list of alias : list of input files to operate on
from text : the name of the action set containing the action being played (note that the case of letters in the Action Set name is important and must match the case of the name in the Actions palette)
[with options batch options] : options for Batch
batch options n : options for the Batch command
properties
destination (folder/none/save and close) : final destination of processed files ( default: none )
destination folder (alias) : folder location when using destination to a folder
error file (alias) : file to log errors encountered, leave this blank to stop for errors
file naming (list of ddmm/ddmmyy/document name 3/document name lower/document name mixed/extension lower/extension upper/mmdd/mmddyy/serial letter lower/serial letter upper/serial number four/serial number one/serial number three/serial number two/yyddmm/yymmdd/yyyymmdd) : list of file naming options 6 max.
macintosh compatible (boolean) : make final file name Macintosh compatible ( default: true )
override open (boolean) : override action open commands ( default: false )
override save (boolean) : override save as action steps with destination specified here ( default: false )
startingserial (integer) : starting serial number to use ( default: 1 )
suppress open (boolean) : suppress file open options dialogs ( default: false )
suppressprofile (boolean) : suppress color profile warnings ( default: false )
unix compatible (boolean) : make final file name Unix compatible ( default: true )
windows compatible (boolean) : make final file name Windows compatible ( default: true )
Tks !List of files must be not an alias, but a text string.
Adding something like that to your code must help:
set PhotoshopFiles to files of folder_to_run as alias list
set FileNames to {}
repeat with i from 1 to the count of PhotoshopFiles
set current_file to item i of PhotoshopFiles
copy current_file as text to the end of FileNames
end repeat
tell application "Adobe Photoshop CS6"
activate
try
set Batch_Options to {class:batch options, destination:save and close, error file:Error_File, file naming:{document name lower, extension lower}, macintosh compatible:true, override open:false, override save:true, suppress open:true, suppressprofile:true, unix compatible:true, windows compatible:true}
batch script_name from files FileNames from action_set_name with options Batch_Options
end try
end tell -
How do I do Photoshop batch (running an action) from Lightroom?
Images going up on the website get watermarked. The watermark is 3D, diagonal watermark that run across the entire image and is composed of the image content so it's just slightly visible and doesn't interfere with viewing. It gets implemented via a Photoshop action.
In Bridge, this is trivial. Just select the images, and tell Photoshop to batch process them, running the action that does the watermarking.
How do I do this in Lightroom?I followed the above instructions and found a slightly better way.
When I made my action, I made sure to OPEN a file PS has never open before, then I ran whatever action is within my action, then I SAVED the file (which brings up the save settings dialogue), and you choose whatever settings you want and save. Then you create the droplet per the instructions above. The difference is if you use save as for your PS action, it will save another copy of the file and you will have to import the files into LR again, and you would have two set of files (one set from the original LR export, one set from the save as command from the PS action). If you just use save, it will save directly over the files LR exported, which presumable is already in your LR catelog and you wouldn't have to micro your files as much.
However, make sure you only run this over new exported files as this is destructive and saves over the exported files. Also, when you're creating your PS action with the save command, you will save over that file as well, so make sure you have another copy of that file. -
If I'm using the marquee tool to crop an image, how can I save the new cropped image as a jpeg file type rather than as a PSD, PDD file type?
What seems to do the job for me is File - Save As, and choose the format I want (e.g., JPEG).
Another option is File - Save for Web.
These answers are clearly obvious, so maybe it would be good if you would describe why you aren't able to do so (and what version of Photoshop you're running on what OS). Older versions of Photoshop had more stringent requirements of the document (such as what Curt describes above) before you could save in certain formats.
-Noel -
How to use better photoshop for product alteration?
Have a look at the product line here - these are custom suits that we have shot inhouse. We want to be able to change the colors and patterns of the fabric on the suits. We have seen many similar sites just doing it via photoshop. Can you recommend or point in the direction of how we can achieve that?
Here's a start:
I want to correct only part of my image. What tools do I use? -
My question is about how to use adobe photoshop.
Yesterday I thought I downloaded phoshop. It is Adobe assist CS5. I need to use it for my pics. How do I get the side bar beside a picture to do improvements?
Wesneli57 wrote:
Yesterday I thought I downloaded phoshop. It is Adobe assist CS5.
First off, Adobe doesn't provide downloads for Photoshop CS5 any more.
Secondly, the phrase "Adobe assist CS5" doesn't ring any bells with me.
Can you slow down and be a bit more thorough in your explanation of what you're trying to do, on what kind of computer, and where you're looking for downloads?
Thanks.
-Noel -
How to use AppleScript to clean up desktop?
I am writing a script that will take all the image documents on my desktop and place them into a newly created folder on the desktop called "desktop images". It'll take all the .dmgs and put them in another folder, etc. Then the remaining icons should arrange themselves by name. Disks should be ejected and caches dumped. Then the trash should be emptied. After all this, a dialog displays "Mission Accomplished. Would you like to Shut down, Restart, or Continue."
I have nearly everything I need put together except for the blasted desktop clean up. Here's how I have it right now:
tell application "Finder"
clean up window of desktop by name
end tell
{Finder got an error: Can't get window of desktop.}
tell application "Finder"
activate
clean up window 1 by name
end tell
--this one works on opened windows, but not on the desktop.
I have also tried other various methods to no avail. Help me please.Thanks for the input Tony D and ByTheLightOfQuiveringAspens.
'm curious, why not do it in Automator?
I guess the biggest reason is because I'm learning AppleScript. I want to know how to do everything in AppleScript. Then, I also plan on making an AppleScript App using X Code stuff that implements all of my cool scripts I put together.
Some of the ones I have so far are a finder refresher, a show hidden files, an app unfreeze, bring all windows to left of monitor 1, and a really huge one that uses gui scripting to help people set up their ip printers at my college.
Now to the point at hand
2.) Do you know that Scipt Editor in reference to the Finder is recordable, and that you could set all of the icons...
I tried to use the record button but with no luck. Under OS 10.5, it just records every movement of the icons as "select window of desktop". And when I move the icons, it doesn't add to the script at all.
1.) How, specifically, do you want to "clean up" the desktop?
I tried selecting "Arrange By>Name" but it still doesn't record the action. The AS dictionary for the Finder says that it's possible; however, I can only get it to work in opened windows on the desktop using this script:
tell application "Finder"
activate
clean up window 1 by name
end tell
If there is no wat to do it with a traditional AS, if a shell script existed that could do it, I'd be happy to know it. -
How to use applescript to calculate a value
I have an applescript like this named myTestFile and I have placed it in the applescript folder of AppleWorks
on test
return 5
end test
then in the appleworks spread sheet I put this in one of the cells:
=MACRO("myTestFile", 2, "test")
however when I try to evaluate the cell it give me the error, "An unexpected error occurred. #23316." I have been trying to get around this error for two days now and I am about to pull my hair out. Please help me! I am using version 6.2.9 of appleworks.
Thank you in advance for any help.
iMac Mac OS X (10.4.3)Have you read Yvan's User Tip explaining how to do this?
<http://discussions.apple.com/thread.jspa?messageID=607577򔕙>
See Point B on the above page.
Maybe you are looking for
-
Import Spreadsheet App not working
I am trying use the Import Spreadsheet App in Sharepoint 2013 and always get the same error: "Could not lead an object because it is not available on this machine" This was working on a previous install of SharePoint 2013 I had. Is something not inst
-
Shell Script to send email with .txt file as attachment
Dear Al, Could any one help me with code, for sending email with .txt file as attachment using shell script. Thank You!
-
unable to remove or download i/tunes from XP desktop, the feture you are trying to remove is on a network resource that is not available plus my computer thinks the i/phone is a scanner or camera. can anyone tell me how to delete i/tunes so i can re-
-
Looking for a New Subscription that will work for ...
I am currently living in Indonesia and I do not have 24/7 access to WIFI so I purchased a Skype Number and then have all my calls forwarded to my Indonesian cell phone, so that I am able to communicate with family and friends back home in America. Th
-
It is saying account limit reached please help me to activate
it is saying account limit reached please help me to activate