How to set the start time of QuickTime movie in AppleScript?
I've been tasked with finding a way to play videos to QuickTime in full screen at a specific time.
It seems that I have to use AppleScript, which I've never used it before. I wrote this, that does everything, but from the beginning of time says:
Tell application "QuickTime Player"
Open the file "Macintosh Users:...: video56.mp4.
present the document before
play
tell the end
I found the dictionary AppleScript of QT (1. Open the Script Editor. 2. Choose file > open dictionary. 3. Select the reader QuickTime Player.) and think I want to use the document, currently.
Where I'm stuck, but I can't understand how to use the document command. All other orders that I used (open game) end in a 'v' and the document ends with a 'n', which is probably relevant. How, I have no idea.
Thanks in advance for any help!
El Capitan 10.11.3 OSX
21.5 "iMac late 2009
QT worm 10.4 (855)
Hello
The script must set the current time property of the document, like this
------------
Tell application "QuickTime Player"
set tDoc to open the file "Macintosh Users:...: video56.mp4.
tDoc said
at the time current 36 - the start time of the movie (in seconds).
present
play
tell the end
tell the end
-----------
Shortman43 wrote:
I found the dictionary AppleScript of QT (1. Open the Script Editor. 2. Choose file > open dictionary. 3. Select the reader QuickTime Player.) and think I want to use the document, currently.
Where I'm stuck, but I can't understand how to use the document command. All other orders that I used (open game) end in a 'v' and the document ends with a 'n', which is probably relevant. How, I have no idea.
The v designates a file object.
And the n is a document object.
Examples:
read the document 1
document before playing
read the document 2
play tDoc - the tDoc variable contains a document object
or with a block of tell
tDoc said
play
tell the end
tell document before
play
tell the end
Tags: Mac OS & System Software
Similar Questions
-
How to synchronize the start time in the waveform graph
Hi all
I just find a solution in the forum to select the data you want in a grap of waveform with cursors, however, I don't know how to synchronize the time of beginning of waveform for the second graph. How can I extract start time of the waveform with the index data?
Something like that? It is a bit gross, but is what I think you're asking, should be able to use it as a starting point.
The Max - Min is to make sure that the cursor is always valid.
-
How to set the server time zone at the Site level profile option
Hello
I have the problem that is mentioned in the note of support ' cannot display the chart of status or does not work after upgrade (Doc ID 304685.1). This note offers this solution:
To implement the solution, please perform the following steps:
1 set the profile server time zone at the level of the Site (which should be set to the value of database time zone).
2 bounce the Apache server.
I also read the notes 275876.1 , but I was not able to understand what exactly I need to do...
Please, can you explain in words simple (or orders) how can I 'set the server profile zone at the level of the Site (which should be set to the value of timezone database)?>
1 set the profile server time zone at the level of the Site (which should be set to the value of database time zone).
>PL identify the zone where the database server. Using responsibility of the system administrator, search profile--> system, application of the profile to the site level, and then select the time zone appropriate to the LOV. Then save.
HTH
Srini -
How to set the start page for the new tab page?
I have my boot settings to open my windows and tabs from last time. If I leave Firefox with one of the new tab page, the next time I start up my home page indicates. New windows displays the homepage too. I want my homepage to remain such what. I had defined it like that before and had no problem. It's always like that? Thank you.
If you always want to start with the subject: newtab page then you can open the properties of the desktop Firefox shortcut and add a space and: target newtab at the command line to specify from this page.
Otherwise, you start with the home page or the pages of the previous era as shown in the startup parameter.
A new window will always open by the home page unless you have an installed extension for that to change. -
How to set the starting point of a variable width profile anchor point?
Hello
I have a square with a dotted on her. I can't be a variable race, so I loaded 'Width profile 2' in the profiles. The problem I'm having, is that Illustrator uses by default to start the biggest points in the lower right corner, and I would like the "starting point" to be in the middle of the line, if you know what I mean. I'm always happy for the dotted lines start big, then gradually decrease in size, but I want to control where is the "beginning".
I have attached pictures to show what I'm working with.
Thanks in advance!
Morgane.
Genius! You reminded me of a quote from Khalil Gibran.
What is obvious is that who has never seen until that someone expresses it all simply.
Thank you.
-
OfficeJet 4632: how to set the exact time display?
We'll not duration displayed on the screen. How do reset you?
Hey @desert_scene,
Welcome to the Forum from HP Support.
I understand that you're looking to adjust the settings of your HP Officejet 4630 e-all-in-one printer. I would like to help.
From the front panel of the printer, use the arrow keys to navigate the printer menu. Select Preferences and then the Date and time. From there, you can make the desired changes and click OK to complete the setting.
If I helped you to solve the problem, feel free to give me a virtual h.o.t. by clicking the "Thumbs Up" icon below and by clicking to accept this solution.
Thanks for posting in the Forum from HP Support. Have a great day!
-
How to set the current time on the toolbar?
I run Vista Business. How can I get the time shown on the toolbar at the bottom. I can get a clock on the desktop but not the lower toolbar
Right click on the bar of tasks-> choose Properties-> on the taskbar and menu properties click on Notification area, under the system icon click here to put a brake on the box that says "" clock ".
Missing in Vista notification area icons
http://www.Winhelponline.com/blog/notification-area-icons-missing-in-Vista/I hope I could help
-
How to adjust the starting point of predefined text animation
Hi all
I am applying the standard presets - group multi-line text animation. Use the presetI is production.ffx. It works fine, but I can't understand how to set the start time. The animation starts in about 3 seconds, but I need to start earlier (about 1 second).
Please, advise
Thank you!
Select the text layer. Press u to reveal all the keyframes. Move keyframes.
-
How to: set the time zone on a new event before adding it to the calendar?
I want to add a new event to the calendar, but when I do gets set to a time zone from the casablanca time which means GMT, I want to solve it the current time zone of users. What is happening now is that if the user manually changes the time zone then the start time of the event changes too.
Here is my code so far:
EventList _eventList = null; try{ _eventList = (EventList)PIM.getInstance().openPIMList(PIM.EVENT_LIST, PIM.READ_WRITE); }catch(PIMException e){ Dialog.inform("PIMException : " + e.getMessage()); // return false; } BlackBerryEvent bbEvent = (BlackBerryEvent)_eventList.createEvent(); java.util.Calendar cal = java.util.Calendar.getInstance(); long start = cal.getTime().getTime(); if (_eventList.isSupportedField(Event.START)) { bbEvent.addDate(Event.START, 0, start); } if (_eventList.isSupportedField(Event.END)) { bbEvent.addDate(Event.END, 0, start + 3600000); } if (_eventList.isSupportedField(Event.SUMMARY)) { bbEvent.addString(Event.SUMMARY, 0, title); } if (_eventList.isSupportedField(Event.LOCATION)) { bbEvent.addString(Event.LOCATION, 0, address+", "+city); } if (_eventList.isSupportedField(Event.)) { bbEvent.addString(Event.LOCATION, 0, address+", "+city); } Invoke.invokeApplication( Invoke.APP_TYPE_CALENDAR, new CalendarArguments(CalendarArguments.ARG_NEW, bbEvent) ); //
How can I set the time zone before calling Invoke.invokeApplication?
OK, never mind, my Simulator has been updated with the different time zone, I thought he would pick uop, the right one. Once I manually put itt o the right zoneit works as expected today.
-
How to set the time that my screen stays on?
How to set the time that my screen lights up. I have an iPod Touch 6?
Settings > general > auto-lock
-
How to set the time between slides in a slideshow (iPhoto, el capitan)
How to set the time to say - 5 seconds or 20 seconds - between slide show photos in iPhoto. I use el capitan.
See the Settings button at the bottom right of the toolbar (at the bottom of the slide show). Click on it and you have a small window with two tabes, refers to all the slides, the other to the selected slide. You can make your choice
-
How to set the date and time on my HP Officejet pro 8600 more?
How to set the date and time on my HP officejet pro 8600 more? It just on a printed journal Jan-oo-oo fax shows 00:00 AM. There are no instructions on how to change this. I need proof that I sent a fax to a certain date and time. Help, please. Thank you
Hello
Below are the steps to set the Date and time for your device:
- On the Control Panel, press the right arrow key ( ), press Setup ( ).
-
How can I enter BIOS compaq610 screen and set the date, time
How can I enter BIOS compaq610 screen and set the date, time
Hello
See Page 94 or Page 100 (according to what's relevant) of your & Maintenance Guide.
Kind regards
DP - K
-
Hello
I'm trying to follow the steps described in the following link:
How to set the Date and time on a remote target in Measurement & Automation Explorer (MAX)?
It is said
The software on the target currently supports only the time zoneand deletes the old files?
I need set the date and time
and remove all the old unwanted files
the calendar was gray does not allow me to change the current date.
Anyone know how to change
Hi all!
According to this the below Knowledge Base article, Remote Configuration System Support must be installed on the target for time settings to change in MAX.
If you don't know what version of the system supported remote Configuration software that you have installed on your device target, it is likely that it is not yet installed. Add this software by clicking below your target to the MAX software option and selecting "Add/Remove Software". This is where you will install the System Configuration Remote Support software.
Please let us know if you have any questions!
-
How to set the date and time hp7500a wide
How to set the time and day there is no im the screen of the printer option
I have re installed and it showed as you say the preferences... Thank you
Maybe you are looking for
-
Portege R400 - how to get the fingerprint device to HDD unlock
Portege R400 model PPR40E-00901LEN I've had this laptop since 2007 new (approximately). I put the BIOS and disk passwords HARD and the biometric to unlock the BIOS, HARD and Vista drive. It worked well until recently. Result of an incident when someo
-
Update of Mac app Store system problem
Hello I have a problem with my Mac App Store. It displays some system updates (Safari 9.1 update secrurity 2016-002 7.2 command line tools 10.10.5) but it doesn´t install those. I can click on update, it starts for a few seconds and then nothing happ
-
contamenated my hotmail virus list guard sending contcts & others I have mail didnpt send
-
How stop Windows Media Player from the analysis of USB drive when it is mounted
When I get a USB drive, WMP scans the disc to add media items to the library. It takes resources and would prevent me from disassembly of the drive. I would like to than WMP to analyze only the selected folder listed in the watched folders option. Wh
-
Windows 7 bugcheck 0 x 00000027 - ataport.sys
Hello I have a freshly built PC Windows 7 Professional, who runs since October 2010 with no new software installed and all the latest updates installed Windows. This PC will act as the Golden Image PC for all future installations of PC. Friday the