Re: AppleScript-Users Digest, Vol 4, Issue 639
Re: AppleScript-Users Digest, Vol 4, Issue 639
- Subject: Re: AppleScript-Users Digest, Vol 4, Issue 639
- From: Marc Glasgow <email@hidden>
- Date: Thu, 13 Dec 2007 05:24:29 -0500
Jesus,
As a Mac consultant, my answer is to recommend you reinstall the OS
fresh as it shipped from the factory and see if the problem
disappears. You've already put your finger on that issue in talking
about how the applications are fired up via Rosetta (the PPC emulator
for the intels)...
If the OS reinstall doesn't resolve the issue, then you need to
question which version of QuickTime you are using and whether the
dictionary for it has changed in any way from the version running on
the other two macs.
The other consideration is whether either of the other two mac-mini's
are intel-based running 10.4.10 -- if so, you should be able to
install a direct copy of their full hard drive contents, bless the
system, and set the new machine running. To do this, I use a free
utility called CarbonCopyCloner, which saves you from a heap of shell
commands and let you copy such things as kernels, invisible mach
files, etc.
Cheers
=-= Marc Glasgow
Date: Tue, 11 Dec 2007 18:08:56 -0600
From: "Jesus Ross" <email@hidden>
Subject: Login Item AS Application Bundle Not Targeted
To: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=ISO-8859-1
@ @ @ @ @ @ @ @ @ @ @ @ @
Hello list.
I hope you can help me.
I am a longtime mac user but still pretty green at AppleScripting.
At my employer, we run 2 HD tv's off of 2 mac mini's. The mini's auto
login to an account where the login item is an applescript that
launches a
QuickTime stream and displays it full screen. With the Energy Saver
preference pane, the mini's turn on and shut down at scheduled
times each
day.
We have had two screens up and running for months now and the
script has
been working fine. But now I was trying to set up a 3rd and have
run into
a problem.
The script loads on the 3rd Mini, but it just bounces in the dock,
waiting
to clicked on before it will run. The same exact script will NOT
need to
be clicked on to be the frontmost, active, application on the other 2
mini's.
So what are the differences?
I have double checked, and it is NOT saved as a startup application.
The new Mini has been updated to 10.4.11. The other two are 10.4.10.
Does anyone know for certain if this new Login Item behavior can be
attributed to 10.4.11?
I was hoping to make a master DISK IMAGE out of the 3rd Mini. So to
reduce the image size as much as possible I used the program
MONOLINGUAL
to strip out some info from the 10.4.11 system. To be exact, I
removed all
language and keyboard support apart from English and US English. AND I
removed all underlying architectures, i.e. all POWER PC support. These
Mini's are newish INTEL machines, so I figured that was okay.
Then I found out that Applescript exports Applications as PowerPC.
These
Applications would not boot AT ALL. Just bounce a couple times in
the dock
and then quit.
Then I found out that using an "Application Bundle" would put a
Universal
"wrapper" around the script and it would launch. So far it has. In
testing
it works great. If I am all ready logged in.
But when I set the Application Bundle to be an automatic Login
Item, it
launches but is not selected. The script contains a countdown
dialog box.
That countdown does not begin until the application is selected.
I tried saving a bundle on the 10.4.10 mini's. It worked fine and
automatically put itself in the foreground on start up.
Can anyone tell me exactly why the script is acting different on the
10.4.11, Monolingual'ed machine? Is there a known issue or change with
10.4.11? If so, are there any work arounds?
I would ask if anyone knew the Applescript commands to make a script
application choose itself and set itself to the "frontmost"
application,
but from what I've seen so far, the script doesn't even begin to
run until
you click it.
Any thoughts or insight anyone could share would be greatly
appreciated.
Thank you,
Jesus Ali Ross
ps: I will paste the script below fyi:
@ @ @ @ @ @ @ @ @ @ @ @ @
Jesus Ali Ross, 414-847-3327, email@hidden
Time-Based Media Tech, Milwaukee Institute of Art & Design
@@@@@@@
display dialog "TBM Stream Will Load in 30 Seconds" as string
giving up
after 30 buttons {"I Can't Wait!"} default button 1
tell application "QuickTime Player"
activate
open location "rtsp://xxx.xxx.xxx.xxx/TBM02.sdp"
use high quality video setting when available
present document 1 scale normal
play document
end tell
@@@@@@@
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden