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: Set region in DVD Player with ARD



At 06:18 PM 5/4/2006, Mikael Westergard wrote:
[snip]
I have 32 new iMac G5s and our students have their home folders on an
Xserver. The DVD is unusable until the region is set by an local admin and a DVD is inserted in the machine.
I would like to be able to set the region code to 2 remotely via ARD.
Is this possible or do I have to use my feet?

Someone asked this before, and I thought about how I might do it. I never tried it myself, and I never heard back from the person to find out if they tried my proposed method or not. The command is /usr/bin/setregion, but the man page says that is has no command line interface. But it could be that Apple just did not want to document it (just a guess!)


See:
http://lists.apple.com/archives/Remote-desktop/2005/Sep/msg00025.html

This following perl script is written to show the arguments and environment, then echo the results. The region will not actually be set because it never calls the real "setregion" command (only calls "echo")

-------------------------------------------------
#!/usr/bin/perl -w

open (LOG, ">/tmp/setregion.log");

print LOG "Environment:\n";
print LOG "------------\n";
$env = `env`;
print LOG "$env";

print LOG "\nArguments:\n";
print LOG  "----------\n";

foreach (@ARGV) {
        print LOG "$_\n";
}

close (LOG);

@args = ("echo");

push(@args, @ARGV);

system (@args) ;


_______________________________________________ Do not post admin requests to the list. They will be ignored. Remote-desktop mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/remote-desktop/email@hidden

This email sent to email@hidden
References: 
 >Set region in DVD Player with ARD (From: Mikael Westergard <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.