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

Re: Cumulus. Changing an assets path


  • Subject: Re: Cumulus. Changing an assets path
  • From: Dana McDonald <email@hidden>
  • Date: Tue, 30 Jul 2002 23:09:11 -0400

Give this a try

tell application "Cumulus 5.0"
set the asset of record x of front collection to myPath
end tell

pretty sure myPath needs to be a string

Dana McDonald
LHWH Advertising
Myrtle Beach, SC


> From: Kelvin Aitken <email@hidden>
> Organization: Marine Themes Stock Library
> Reply-To: email@hidden
> Date: Wed, 31 Jul 2002 08:35:06 +1000
> To: email@hidden
> Subject: Cumulus. Changing an assets path
>
> 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.

References: 
 >Cumulus. Changing an assets path (From: Kelvin Aitken <email@hidden>)

  • Prev by Date: Re: simple script or kbd shortcut
  • Next by Date: Re: Set Multiple variables to one value
  • Previous by thread: Cumulus. Changing an assets path
  • Next by thread: Today's Question - poke a character in a string
  • Index(es):
    • Date
    • Thread