create an empty file?
create an empty file?
- Subject: create an empty file?
- From: Robert Poland <email@hidden>
- Date: Fri, 23 Aug 2002 14:15:03 -0400
Got the answer to my question below back from Thorsten Lemke
(GraphicConvertor author). How do you create an empty file?, and
what's the logic there?
GC 4.4.4 Carbon
AS 1.8.3
OX 10.1.5
set destFldr to ""
set destFldr to (choose folder with prompt "Choose a
destination folder:") as text
Snip...
display dialog "save as window 1 in " & destFldr &
theName & ".jpg"
save window 1 in (destFldr & theName & ".jpg") as JPEG
close window 1 saving no
end tell
end ProcessFile
This script always saves to the path of the original file and not the
path selected and indicated in the display dialog.
--
Bob Poland - Sumter, SC
email@hidden
Check out my garage sale
http://www.ibrb.org/
Hello,
please create an empty file first with the finder.
Thorsten
--
Bob Poland - Sumter, SC
email@hidden
Check out my garage sale
http://www.ibrb.org/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.