• 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
Cumulus. Changing an assets path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cumulus. Changing an assets path


  • Subject: Cumulus. Changing an assets path
  • From: Kelvin Aitken <email@hidden>
  • Date: Wed, 31 Jul 2002 08:35:06 +1000
  • Organization: Marine Themes Stock Library

I want a script that changes the path of an asset in Cumulus. So far I have this script that gets the path of a given record:

tell application "Cumulus S5.0"
activate
tell front collection
set myPath to path of asset reference 1 of record 1
get myPath
end tell
end tell

The "get" command shows this in the results window:

"*:Big Mother:Macintosh HD:Desktop Folder:My images:Houses:Domestic:WLG 33399.jpg"

which shows the complete path to the first record's asset.

My question is: after manipulating the path string how do I set the new path in Cumulus. e.g. How would I do something like "set the asset reference 1 of record 1 to myNewPath"

Kelvin.
_______________________________________________
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: Cumulus. Changing an assets path
      • From: Dana McDonald <email@hidden>
  • Prev by Date: RE: Problems with system file of MacOS 9.1 or 9.2
  • Next by Date: Re: dates (was: linking document file attributes into a FileMaker Pro )
  • Previous by thread: RE: Problems with system file of MacOS 9.1 or 9.2
  • Next by thread: Re: Cumulus. Changing an assets path
  • Index(es):
    • Date
    • Thread