• 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
Re: Getting FMP to print to .ps via AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting FMP to print to .ps via AppleScript


  • Subject: Re: Getting FMP to print to .ps via AppleScript
  • From: email@hidden
  • Date: Fri, 14 Feb 2003 19:50:08 +0000

At 13:31 +0000 14/2/03, Nigel Smith wrote:
<snip>
Are you *sure* you are getting the path to the file correct at the rename
stage?


That way, you get the chance to pick the file yourself. If the script still
fails it is some other problem but, if it works, you aren't getting the
correct path to the file you want to rename.

Coincidentally someone else wrote a solution for someone else on another list, and this works:

Set commonFolderPath to "Folder1:Folder2:"
Copy cell "FullName" of current record to fullname
Copy cell "SKU" of current record to SKU
Copy SKU & ".jpg" to SKU
Set FullPath to commonFolderPath & FullName

Tell application "Finder"
Set name of file FullPath to SKU
End tell

Thanks for everyone who tried to help me with my problem.

Kind regards


Oz
_______________________________________________
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.

References: 
 >Re: Getting FMP to print to .ps via AppleScript (From: Nigel Smith <email@hidden>)

  • Prev by Date: Read/write as record
  • Next by Date: Need Help with a command to open a DMG file
  • Previous by thread: Re: Getting FMP to print to .ps via AppleScript
  • Next by thread: Re: Getting FMP to print to .ps via AppleScript
  • Index(es):
    • Date
    • Thread