|
#1
|
|||
|
|||
trying to automate sleep
I have a couple applescripts that work in isolation. One is just to tell Finder to sleep. The other tells SD to quit and then Finder to sleep. The latter I got the idea from a thread on VersionTracker referring to an error that that person's script wouldn't work because it SD wouldn't quit. With each script, when put into the options pane and SD run, I get the following error in the log.
|05:23:50 PM|Error| ## Component Manager: attempting to find symbols in a component alias of type (imdc/IV32/intl) Any ideas? I can't wait for version 2. mf |
#2
|
||||
|
||||
Well, mf, that particular error just looks like something that gets sent to the console, and not an error in SD! as such (in either case, it's not an SD! error but a scripting problem).
I don't have enough information here, though, to diagnose. Where exactly are you putting these commands? Are they in a shell script and set in the "Customization Script" part of options? (They have to be...) Can you run that shell script by hand? A bit more info and I should be able to point you to a solution...
__________________
--Dave Nanian |
#3
|
|||
|
|||
[QUOTE=dnanian]Well, mf, that particular error just looks like something that gets sent to the console, and not an error in SD! as such (in either case, it's not an SD! error but a scripting problem).
For sure not SD!, didn't mean to imply. The line was copied from SD!'s log. [QUOTE=dnanian]I don't have enough information here, though, to diagnose. Where exactly are you putting these commands? Are they in a shell script and set in the "Customization Script" part of options? (They have to be...) It is an AppleScript saved as a Run Only Application. Not a shell script. It is set Run customization script in the Options pane. [QUOTE=dnanian]Can you run that shell script by hand? It runs in Applescript Studio and it runs stand-alone. That is, I can select it in Finder, double-click it, and it does what I want. My first attempt was such a script merely telling Finder to sleep. It worked fine but I got the same error. I gave up until I noticed the other thread here about shell scripts and someone's script not working because it couldn't get SD! to quit. So, I added that to the script. (Well, I saw this particular point in VersionTraker, I think.) Quote:
Dang! I just double-clicked it and it gave the Connection is Invalid. Being as I am I immediately double-clicked it again and it ran. I wonder if that has anything to do with it. I think I'll head for some Applescript forums. When messing with the script saved as Application (Run only not checked in dialog window) every single attempt gave the Connection is Invalid. Only once has a trial of the Run Only save gave that error. Don't spend too much time onme. I can wait for v.2 to come out. And now the text, clearly nothing fancy! tell application "SuperDuper!" quit end tell tell application "Finder" sleep end tell |
#4
|
||||
|
||||
Yes, quite simple... the error definitely seems to be in a QuickTime component, though... maybe you missed the request above: could you provide a list of what's in /Library/QuickTime?
__________________
--Dave Nanian |
#5
|
|||
|
|||
Yeah, I read it and then forgot it. Sorry.
in /Library/QuickTime are FLAC_Decoder.component OggVorbis.component Toast Video CD Support ToastVideoCDSupport.component there is no ~/Library Quicktime in /System/Library/QuickTime ApplePixletVideo.component QuickTime Updater QuickTime3GPP.component QuickTimeBMPUpdate.component QuickTimeComponents.component QuickTimeFirewireDV.component QuickTimeIIDCDigitizer.component QuickTimeMPEG.component QuickTimeMPEG2.component QuickTimeMPEG4.component QuickTimeStreaming.component QuickTimeVR.component |
#6
|
||||
|
||||
OK. Let's try moving the four components in /Library/QuickTime to a folder on your desktop and rebooting. See if that resolves the problem. If so, add them back one at a time until you get a failure... and when you do, that's the conflicting component...
(I'm guessing it's going to be one of the Toasts...)
__________________
--Dave Nanian |
#7
|
||||
|
||||
By the way, an error like that indicates a problem with a QuickTime component installed in /Library/QuickTime... any 3rd party entries in there, from DiVX for example? (it looks like it is supposed to deal with AVI files)
__________________
--Dave Nanian |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
An (Applescript) hack to automate mounting and unmounting external volumes | kbradnam | General | 12 | 07-30-2007 07:12 AM |
Getting SD to Allow Sleep after Copy | Pixx | General | 5 | 02-19-2005 07:38 PM |