Re: How can I set a background image to a Volume ?
Re: How can I set a background image to a Volume ?
- Subject: Re: How can I set a background image to a Volume ?
- From: Kevin Walzer <email@hidden>
- Date: Wed, 21 Dec 2005 14:13:02 -0500
- Organization: WordTech Software
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Emile Schwarz wrote:
> I do not know if this is possible to do that with AppleScript, but it is
> possible to do it (how ?).
>
>
> When I downloaded FireFox, I get a dmg file with an image in the
> background. To be completely clear, I get on the Image Disk volume:
>
> .background Folder with a file named background.png
>
> I also got a file named: .VolumeIcon.icns
>
>
> I know, these files are invisible and (Mac OS X 10.3.9) AppleScript can
> only read the .visible property, thus the question.
>
>
> A large search on Apple Web site, a search in the Nov Doc .dmg does not
> lead to light - but I want to see the light ! -
>
> Every piece of help is welcome.
>
> Thanks,
>
> Emile
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Applescript-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
>
> This email sent to email@hidden
>
>
"Do shell script" is probably your best bet. Something like:
do shell script "cp ~/Desktop/image.icns /path/to/dmg/.VolumeIcons.icns"
Shell scripts have no problems with invisible files.
- --
Cheers,
Kevin Walzer, PhD
WordTech Software - "Tame the Terminal"
http://www.wordtech-software.com
sw at wordtech-software.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFDqak9JmdQs+6YVcoRAnKaAJ0ZzPi8C7tK5pXEJ1xLfnqwjDv9rgCfcJz0
QquO4CSXzp9WcFumgWSKyxo=
=UGDb
-----END PGP SIGNATURE-----
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden