First time script ... help for debugging
First time script ... help for debugging
- Subject: First time script ... help for debugging
- From: SVEN AERTS <email@hidden>
- Date: Sat, 17 Jan 2004 14:59:14 +0100
- Dear: lastname
What's wrong with this ?
--Allows user to select a file in which there are files that need
--.jpg added to them.
-- Find files that have no .jpg at the end of the filename
-- Replace the last four digits by .jpg
Display dialog
"Welcome, this script replaces the last 4 characters of a filename with .jpg
if the filename has no .jpg at the end. What folder are the files in ?"
choose folder with promt
Select Folder
if name ends with ".jpg"
then goto next name
else
replace name -4 to -1 by ".jpg"
-----------------------------------------
Thank you,
Sven-Brussels
GSM: +32 (0)485/389679
OSX.2.4.Jaguar-IBook-500MHz-640MB SDRAM-14GB HD-Airport-qwerty Keyboard
CHAT : ICQ UIN: 113835655 - YahooID: aertssven -
AOL Instant Messenger Screen Name: aertssven1 -
MSN Messenger Passport ID: email@hidden
For eco-techs & game for a better world, visit:
http://homepage.mac.com/aertssven
-----------
Have a nice day...
_______________________________________________
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.