Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Splash screen for AppleScript bundle Apps?



I had forgotten all about a little problem with copying folders with a bg picture ... the bg file for the copy is the same as the original. This means that you can't use "Set Background Pict" to get a (passive) splash screen because you will always be copying and trashing the application bundle (as in upload, download).

The solution is to create an "active" splash screen. First create aliases 'pictFile' and 'folderRef' to a picture file and empty folder in your application bundles Resources folder. Then, every time you want to open the folder for the splash screen, you set its bg picture first.

Something like this ...

tell application "Finder"
...
set background picture of icon view options of (window of folderRef) to pictFile
open window of folderRef
...
end tell


The window does not have to be open to set the bg picture.

On Jun 6, 2007, at 11:35 PM, Brett Conlon wrote:

This is proving harder than originally thought. While using Luther's
droplet script to create the background image in a folder is working
nicely, the moment I update the saved bundle script (containing the splash
screen folder) or move the script to another location the folder defaults
back to no picture and different size/location.

_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-users/email@hidden Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Re: Splash screen for AppleScript bundle Apps? (From: Brett Conlon <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.