• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
First time script ... help for debugging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: First time script ... help for debugging
      • From: Emmanuel <email@hidden>
    • Re: First time script ... help for debugging
      • From: Craig Sutherland <email@hidden>
References: 
 >Re: Looking for script that replaces last chars and replace it by .jpg (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: Looking for script that replaces last chars and replace it by .jpg
  • Next by Date: Re: First time script ... help for debugging
  • Previous by thread: Re: Looking for script that replaces last chars and replace it by .jpg
  • Next by thread: Re: First time script ... help for debugging
  • Index(es):
    • Date
    • Thread