Results 1 to 4 of 4
Thread: Run applescript on start-up
-
09-10-2007, 03:25 PM #1
- Member Since
- Aug 19, 2006
- Posts
- 33
Run applescript on start-upHello,
I was wondering if there is anyone out there who knows how I can have, without any kind of input, applescript run and hide itself. I am trying to set up a display at a university on a G4 with OS 9 that will boot a movie on start up and run it. I've written the applescript, but I need to have it be able to run the movie without someone physically pressing "run" and then have the applescript prompt window disappear. Any help will be greatly appreciated!
Thanks!
Slugzzz
-
09-10-2007, 04:37 PM #2
- Member Since
- Mar 22, 2007
- Location
- UK
- Posts
- 1,463
- Specs:
- Lenovo Z560 Hackintosh -:- '06 iMac -:- iPod Touch 2ndGen
On OSX you can open User Accounts in Prefs, display the logon items list and drag icons into it - that might work...?
[URL="http://beadia.net"]Beadia[/URL - Jewelry Business Management Software]I judge you when you use poor grammar.
-
09-10-2007, 05:09 PM #3
- Member Since
- Mar 11, 2004
- Posts
- 1,964
I recorded this AppleScript by using a movie I downloaded and named movie (because I'm so original) and left on the desktop. But if you put the movie somewhere else, you'd have to supply the pathway in the third line, such as:
select file "movie.mov" of folder "Movies"of folder "Media" of startup disk.
tell application "Finder"
activate
select file "movie.mov"
open selection
end tell
tell application "QuickTime Player"
activate
play movie "movie.mov"
end tell
Save the AppleScript as an application (next to where it says Format), and make sure Never Show Startup Screen is checked. Then place the AppleScript in the Startup Items folder inside the System Folder.
-
09-11-2007, 01:51 AM #4
- Member Since
- Aug 19, 2006
- Posts
- 33
I figured it out. I just had to save it as an applet. I was wondering, now, if anyone knows what to add to a script to get the movie to loop itself automatically.. something like
tell application "Full Screen Video Player"
loop
yes, I've tried the above script, and it does not work. Any ideas?
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
How to use a shortcut to run an applescript?
By nightfury2986 in forum macOS - Development and DarwinReplies: 2Last Post: 01-18-2015, 05:02 PM -
AppleScript to run Oblivion, plz help.
By Loki0s in forum macOS - Apps and GamesReplies: 0Last Post: 10-14-2011, 04:02 PM -
Run Applescript when I copy to clipboard?
By Goosio in forum macOS - Operating SystemReplies: 1Last Post: 06-25-2011, 10:24 PM -
Use Applescript to run a terminal command
By Turk182 in forum macOS - Development and DarwinReplies: 1Last Post: 02-12-2009, 12:08 PM -
Applescript - Run
By MacAddikt in forum macOS - Apps and GamesReplies: 3Last Post: 02-08-2005, 08:41 AM