Adding Dates to Events
I have imported video from an old camera that does not have time data codes. I would like to create a 1989 "folder" since I know the date of the video so it is organized properly along with other imported video. Further, I'd like to then create subfolders for the months and possibly even the days. So my questions are:
1. How do I create folders or place time data codes on video so that it does the above?
2. How do you view the time data code on a particular video clip?
Thanks!
Two ways to do this.
1) right-click on clip in Event. Select adjust date and time.
2) Another way. Rename the clips in this format:
clip-yyyy-mm-dd hh;mm;ss.ext
Where hh is hour in 24 hour time and ext is the current extension.
Then import into iMovie.
This way is more work, but it enables you to see date and time as you skim.
Similar Messages
-
Adding data dynamically to JTable with a filter - getting error
Hello,
I am using JTable, and adding data and displaying it worked fine
until I tried adding a filter,
can anyone tell me what am I doing wrong or
why am I getting this Error?
The Error message
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at javax.swing.DefaultRowSorter.convertRowIndexToModel(DefaultRowSorter.java:501)
at javax.swing.JTable.convertRowIndexToModel(JTable.java:2620)
at javax.swing.JTable.getValueAt(JTable.java:2695)
at javax.swing.JTable.prepareRenderer(JTable.java:5712)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2075)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1977)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1773)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:143)
at javax.swing.JComponent.paintComponent(JComponent.java:763)
at javax.swing.JComponent.paint(JComponent.java:1027)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paint(JComponent.java:1036)
at javax.swing.JViewport.paint(JViewport.java:747)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paint(JComponent.java:1036)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5122)
at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:277)
at javax.swing.RepaintManager.paint(RepaintManager.java:1217)
at javax.swing.JComponent._paintImmediately(JComponent.java:5070)
at javax.swing.JComponent.paintImmediately(JComponent.java:4880)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:803)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)I am also using my own class that extends "AbstractTableModel"
as TableModel,
public class MyTableModel extends AbstractTableModel {
ArrayList<TableData> tableData=new ArrayList<TableData>(10);
String[] columnNames=new String[]{"S/N"," Time (mili)","SD","SA","SSAP","DA","DSAP","FC","DATA"};
public void addRow(TableData data){
tableData.add(data);
fireTableDataChanged();
@Override
public int getRowCount() {
return tableData.size();
public TableData getRow(int i){
return tableData.get(i);
@Override
public int getColumnCount() {
return columnNames.length;
@Override
public String getColumnName(int col) {
return columnNames[col];
@Override
public Object getValueAt(int rowIndex, int columnIndex) {
return tableData.get(rowIndex).getValue(columnIndex);
}The Row Filter class
class myRowFilter extends RowFilter<MyTableModel,Integer>{
@Override
public boolean include(Entry<? extends MyTableModel, ? extends Integer> entry) {
// Entry < SomeCostumTableModel , Integer> entry ; Integer =Identifier= Row Number
boolean frame_type;
MyTableModel model=entry.getModel();
TableData data=model.getRow(entry.getIdentifier());
frame_type=((SD1&&data.SD==TableData.SD1) ||
(SD2&&data.SD==TableData.SD2) ||
(SD3&&data.SD==TableData.SD3) ||
(SD4&&data.SD==TableData.SD4) ||
(SC&&data.SD==TableData.SC) );
return frame_type;
}and How I add the filter to the Table
private MyTableModel myTableModel=new MyTableModel();
private RowSelectionListener rowSelectionListener=new RowSelectionListener();
TableRowSorter<MyTableModel> sorter=new TableRowSorter<MyTableModel>(myTableModel);
private FilterFrame filterFrame=new FilterFrame(this);
// then in the constructor of the main frame
// I call this
sorter.setRowFilter(filterFrame.filter);
MainTable.setRowSorter(sorter);
sorter.setSortsOnUpdates(true);Edited by: YellowMurdoch on Nov 17, 2009 6:31 AM
Edited by: YellowMurdoch on Nov 17, 2009 6:31 AMThanks for noting that.
you mean like this?
public void addEntry(TableData data){
myTableModel.addRow(data);
javax.swing.SwingUtilities.invokeLater(new Runnable(){
@Override
public void run(){
myTableModel.fireTableRowsInserted(0,0);
}both work,
would putting "invokeLater" inside "addEntry" somehow mess other things?
i guess that means addRow() is not supposed to update the table graphically?
Edited by: YellowMurdoch on Nov 17, 2009 9:30 AM
Edited by: YellowMurdoch on Nov 17, 2009 9:33 AM -
I added a calendar event to repeat every two weeks, but it repeats every day.
I've added a calendar event to repeat every two weeks, but it repeats every day. The original event was set up for all Day on Wednesday, Nov 5. Setting up for a single day worked fine. Add the repeat option and select every two weeks...and it shows up every day until the end date. I've re-booted the phone and tried other start dates. Same result. This is in the base iPhone calendar. No other calendars have been installed. iPhone 6 iOS 8.0.2. Any suggestions?
Found a workaround:
Just change each attribute 1 item at a time.
Create the calendar entry for one day only with no other settings.
Go back in and edit it so that its every two weeks, then leave and confirm this worked.
Open calendar back up and add in the end date.
That's the only way I could get it to accept those settings, one attribute at a time.
Misc. bug I suppose. I miss the "It just works" days. Living in silicon valley, the QA engineering buds I have at apple go on rants about the undisclosed/undiscovered but known bugs in ios every time we're having drinks. From what I hear, internally IOS8/8.1 weren't ready for prime time push just yet. -
Using GREP to bold Date and Event Name
Hi
I am stumped at how to properly apply a bold style to a combination of dates and event names using GREP. I am including three examples below. I do have Paragraph and Characters styles set up. The area I would like to effect the change is in all caps. I am trying to add a bold style only to the dates and the title of the event with out changing the rest of the information.
I started of with this GREP Style:
\d{1,2}\/\d{1,2}|\d\-?\s|\u
It is bolding the dates and the name of the event. But it's not bolding the small dash between events that have a beginning and end dates or the en dash. It is randomly bolding other numbers and capital letters that it should not. Very frustrating. Each time I alter the GREP Style above, it makes it worse. This is as close as I got to the desired effect. Any ideas how to fix this?
12/6-8 — HEALING WEEKEND AT TRUE NORTH HOLISTIC CENTER. Friday 11am-5pm. Private Integrated Healing sessions, Friday 6:30pm-Sunday noon. “Blue Christmas” Retreat: Coping with Sadness at the Holidays; Sunday 3-7pm. Public Integrated Reiki™ clinic. Hubbardston, MA www.truenorthholisticcenter.org. (978) 820-1139.
12/6-12/8 — READ AND PLAY MUSIC IN A WEEKEND! World famous seminars turns beginners into musicians, revitalizes and inspires even pro musicians. 169 Mass Ave, Boston. (781) 599-1476 or http://signup.understandingofmusic.com or [email protected]
12/7 — REIKI CERTIFICATION. Wilton, NH. Libby Barnett, MSW. 32 years experience. Reiki Energy Medicine author. Notebook, pin, certificate awarded. Credit cards accepted. CEU’s/contact hours. Call (603) 654-2787 or www.reikienergy.com. Reiki II: 12/8Thanks! That works. I am using a paragraph style for the body and have a bold character style for the information that needs to be bolded. I notice there are some listings that uses a colon and the bolding continued into the description where the first period appears (see samples below). I added a colon (to the shorter GREP style you suggested) in addition to the perod and excalamation point to search for.. Now the bolding stops at the colon but does not include up to the word "CARRY" (see first example). The second example, the bolding should stop after "FAIRE" but cotinues to the word Wisdom because of the period.
I wish there was a option in the GREP drop menu to search for All Caps only and not Any Uppercase Letter. Is it a case were I need to manually edit those instances so it conforms to the norm? Or is there away to modify the GREP expression ^.+?[.!] to also include other instance like the example below?
I alread try to add an additional rule using the Postive Look Ahead and nothing. And using the Any Uppercase Letter option, either forces the text back to the begining looking unstylized or it forces any capital letters to be bolded.
12/8-12/13 — WESTERN REIKI MASTERS: BE ATTUNED TO CARRY Japan’s Gendai Reiki lineage: Usui Mikao-Kan’Ichi Taketomi-Kimiko Koyama-Hiroshi Doi-Audrey Pearson. Learn to teach all 4 levels of Japan’s Gendai Reiki Ho. www.yogapathways.com. (508) 740-9870 or Facebook: ‘Gendai Reiki America’
11/23 — PSYCHIC AND HOLISTIC FAIRE at Women of Wisdom. North Easton, MA. Psychics, angel readings, mediums, crystal healings, Gaiadon Heart, chair massage, Reiki and more! Sign yourself up for a few appointments and bring your friends! www.womenofwisdominc.com (508) 230-3680. -
Validation in Form Data add Event
Dear All,
I am developing an add-on m facing some problems in the Form_Data_ADD Event. I have created a form using screen painter and i have done some validations for few fields those fields are mandatory. after entering some data iam closing the form it will show a messageBox saying do you want to save the changes or not n if i give yes its saving data. but it has to show the error message saying certain fields are mandatory.please suggest some solution regarding how to validation in such a condition.
Regards,
Anand.Hi Anand,
I do my validations either in the Form Data Add event, when BusinessObjectInfo.BeforeAction = True or in the ItemPressed Item Event, when pVal.BeforeAction = True. In both cases, if I need to stop b1 from adding the record, I set BubbleEvent to False.
I guess that in your case it's not working because you're catching the BusinessObjectInfo.BeforeAction = false or because you're not setting BubbleEvent to False.
Regards,
Vítor Vieira -
Hi Experts,
I have checked one condition in FORM DATA ADD EVENT and also I have stop the action using BUBBLE EVENT = False. But its stopping whole add-on. When ever my condition is false , am getting error and its stopping the whole add on.
Any idea for this error ??
Regards
Smith.Hi Tomy,
If you want to do validation or checking before adding data,
Why dont you do it on Item Event, on Add button, event = click, and before action = true,
if condition false then bubble event = false, exit sub
else , go tru..
nd.Q -
Revision: 5827
Author: [email protected]
Date: 2009-03-31 15:24:20 -0700 (Tue, 31 Mar 2009)
Log Message:
Added import flash.events.Event to LayoutBase.
QE Notes: Fixing broken build.
Doc Notes:
Bugs:
Reviewer:
Modified Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LayoutBase.asPersonne n'a une quelconque piste ??
Please help ! -
Adding data to a specific row in excel
Hi there,
I have problems with my data collection from serial read block. I get every time 16 bytes when I write certain command to my serial device. But after a continuous data written to excel, that is let say six rows of data and after that I get one byte of data which I do not want to save in current updating excel sheet.
For that now, I have taken a case structure with two cases, one case contains nothing when I read the one byte and another case contains the code(Spreadsheet file VI) for adding data to excel when 16 bytes received one by one. Still, I am not getting what I wish for. The one byte case adding zero to the current excel file at row 6 and then continuous with 16bytes of data in remaining rows and again after 6 continuous rows it adds zero and so on. I don't know why it is adding zero even i did not put any code inside the case of it.
How could I eliminate this adding of zeros?
Here it looks like in my excel sheet.
row1: 15 16 17 18 19 20
row2: 15 16 17 18 19 20
row3: 15 16 17 18 19 20
row4: 15 16 17 18 19 20
row5: 15 16 17 18 19 20
row6: 0 (This when one byte reception case which contains no spreadsheet file VI)
row7: 15 16 17 18 19 20
row8: 15 16 17 18 19 20
row9: 15 16 17 18 19 20
row10: 0
Any help here around!You misunderstood my point. I have no code inside the adding zero case. It adding by no meaning. I have only written in one case to add continuous data to excel when ever I receive more than one byte. If I receive one byte exactly, I would not like to append this to excel but currently my program is doing that.
I have added my code snippet which is not the current working code. I am out of access to my current code. But instead I have attached similar one. You merely assume that the data is coming form serial read block.
Thanks for your efforts.
Attachments:
Excel.vi 11 KB -
Adding data labels to column graph
I work in the financial industry and I have to add data labels to all bars that appear in my ten year performance graphs (see http://fundinvestor.calamos.com/ClosedEndFunds/CEFund.aspx?name=CHI under the "Performance" tab as an example). Is there a script that can do this? I saw there's this technique that Adobe offers for column totals: http://livedocs.adobe.com/en_US/Illustrator/13.0/help.html?content=WS714a382cdf7d304e7e07d 0100196cbc5f-619e.html but that's not working. What am I doing wrong? Adding data labels to bars is ridiculously simple in Excel, why can't I find the way to do it easily in Illustrator?
http://help.adobe.com/en_US/Illustrator/14.0/WS714a382cdf7d304e7e07d0100196cbc5f-619ea.htm l
That should do the trick.
Mylenium -
Adding data to Manual Distribution Rule from DIAPI
Hi
I am searching for the object to insert the data to OMDR (manual distribution rule) using DI API. Can any one help me out.
I found many questions related to adding data to manual distribution rule using DIAPI which were not answered.
Thanks in Advance.hi.
Just check the below posts.
object type of distribution rules
Distribution rules setup.. -
Adding data to multiple tables using one form in Access 2010?
Hi All,
I have a access database with two tables and I want to create a single form to enter data into that tables.
How to adding data to multiple tables using one form in Access 2010?
I don't have to much knowledge of access database?
Please help me
Thanks
BalajiYou really don't enter identical data into 2 tables. You enter dat into one single table, and then you have an unique identifier that maps to another table (you have a unique relationship between two tables).
Maybe you need to read this.
http://office.microsoft.com/en-001/access-help/database-design-basics-HA001224247.aspx
Think about it this way... What is you update data in 2 tables, and then the data in one of those tables changes, but the data in the other table does NOT change. WHOOPS!! Now, you've got a BIG problem. For instance, you have a customer
named Bill Gates. In one Table you update Bill's address to 1835 73rd Ave NE, Medina, WA 98039 and in the other table you accidentally update Bill's address to 183 73rd Ave NE, Medina, WA 98039. Now you have 2 addresses for Bill. Why would
you want that??? Which is right? No one knows. If you have one address, you just have to update one address and if there is a mistake, you just have to update one address, but you don't have to waste time trying to figure out which is right
and which is wong...and then update the one that is wrong.
Post back with specific questions.
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it. -
Adding data in internal table using extracted data
Hi Experts,
Good day!
I have a requirements in our historical data of material price which adding data that are not existing based on data extracted from standard tables such as A004 and KONP.
Now, i need to use the VALIDFROM (DATAB) value as basis for the latest price.
To make it more clear, see the example below:
Extracted data:
Material Number Valid From Valid to Price
100101 01/01/2008 02/01/2008 100.00
100101 02/02/2008 04/02/2008 100.00
100101 04/03/2008 08/01/2008 200.00
100101 08/02/2008 01/31/2009 300.00
100102 05/02/2008 07/01/2008 10.00
100102 07/02/2008 10/31/2008 15.00
100102 11/01/2008 01/31/2009 20.00
Output:
Material Number Calmonth Price
100101 01/2008 100.00
100101 02/2008 100.00
100101 03/2008 100.00
100101 04/2008 200.00
100101 05/2008 200.00
100101 06/2008 200.00
100101 07/2008 200.00
100101 08/2008 300.00
100101 09/2008 300.00
100101 10/2008 300.00
100101 11/2008 300.00
100101 12/2008 300.00
100101 01/2009 300.00
100102 05/2008 10.00
100102 06/2008 10.00
100102 07/2008 15.00
100102 08/2008 15.00
100102 09/2008 15.00
100102 10/2008 15.00
100102 11/2008 20.00
100102 12/2008 20.00
100102 01/2009 20.00
Text that are in bold are the added data. What is the best code to do with this?
How can i come up with this output? Help me please
Thanks and Godbless,
nipsHi Nips,
Logic shud b sumthing on similar lines
lv_count = 1.
Loop at itab into watab.
if lv_count > 12.
lv_count = 1.
endif.
if watab-date+0(2) = lv_count.
append watab to gt_output.
continue.
else.
concatenate lv_count sy-datum+4(4) into watab-date.
append watab to gt_output.
endif.
endloop.
Best regards,
Prashant -
One thing I am finding a little awkward; Adding data in the grid. It would be nice to be able to use tab to get to the next cell. At present it just highlights the cell and typing doesn't do anything until the cell is clicked. Equally hitting return I would expect it to give me a new blank row. I would like to be able to add a couple of rows of data without resorting to using the mouse at each turn.
Very good initial impressions though.Yes we should do this as it's what everyone will expect from Excel.
-kris -
Adding data from one matrix to another
Hay guys.I'm having trouble with adding data, that is situated in a Matrix on form A and bound to a userdatasource,
to a Matrix on form B that is bound to a dbdatasource.
For some reason the data either does not display at all, or it only displays the last records' data as many times
as there are records in the original matrix from form A.
Here's the code I've tried: (Displays only last record x times)
For i = 1 To oMatrixSync.RowCount
oFormTime.DataSources.DBDataSources.Item("@TB_TIMEDET").SetValue("U_Activity", _
oMatrixTime.RowCount, _
oFormSync.DataSources.UserDataSources.Item("U_Act").ValueEx)
oMatrixTime.AddRow()
next
And this code displays zip:
For i = 1 To oMatrixSync.RowCount
oCheckBox = oMatrixSync.Columns.Item("c_Check").Cells.Item(i).Specific
If oCheckBox.Checked = True Then
oEditS = oMatrixSync.Columns.Item("c_Activity").Cells.Item(i).Specific
oFormTime.DataSources.DBDataSources.Item("@TB_TIMEDET").SetValue("U_Activity", _
oMatrixTime.RowCount, _
oEditS.Value)
oMatrixTime.AddRow()
oMatrixTime.LoadFromDataSource()
next
Any help would be greatly appreciated, thanx all!
Message was edited by: Tjaard Du PlessisThanks, Jaro!
You are right. The code should look like this:
Dim oDBDSTime As DBDataSource = oFormTime.DataSources.DBDataSources.Item("@TB_TIMEDET")
Dim oUDSSync As UserDataSource = oFormSync.DataSources.UserDataSources.Item("U_Act")
For i = 1 To oMatrixSync.RowCount
oMatrixSync.GetLineData(i)
oDBDSTime.InsertRecord(i)
oDBDSTime.SetValue("U_Activity", _
i, _
oUDSSync.ValueEx)
Next
oMatrixTime.LoadFromDataSource()
Regards,
Frank -
Hi Guys,
I have another problem on adding data source on EID. When I try adding a data source on EID as a JDBC source I get error that says "Could not establish a connection"..Do you tell me step by step what I have to do when I add a data source on Endeca? My data has based on SQL 2008.The Studio Administration and Customization Guide includes the information on creating and managing data sources.
Adding and editing data sources in the Data Source Library
I don't know anything about the specific format of a connection URL for SQL 2008. That should be fairly standard, though.
Maybe you are looking for
-
What is the most Frames Per Second NI-CAN can do?
My goal is to send 1000 Frames per Second on my CAN bus using the NI-CAN PCI 2 slot card I have. However the closest I have been able to do is 666 frames per second. This is sending 8 frames every 12 MS using an edited readmult example. Is there a
-
System-config-printer-gnome freezes when trying to "Add" a printer
I have the same issue that was discussed in the thread system-config-printer-gnome utility freezes when "adding" printer. Specifically, when I try to add a printer using system-config-printer gui, the window freezes and throws back the following code
-
Applescript app to batch files using ffmpeg and command
i'm not a technical person and i hoping that i can get a help to create a custom applescript app. i'd like to create an applescript app to run video files from any folder to encode (using ffmpeg) and save the re-encoded version in a new folder inside
-
Just upgraded to os 5 on my 3rd gen iPod Touch. Photo albums appear in list (on Ipod), but have no photos to view. Complete lib is very incomplete. Line graph on iTunes show correct capacity used, but LOTS of pictures are not transfering to iPod.
-
DatabaseMetaData getColumns :- type_name returns 'int identity' (SQLServer)
Hi all, I am using the JDBC DatabaseMetaData API, getColumns() method. The back end is SQLServer 2005. Now according to how the API is specified, I am using index 6(I think)(type_name) to retrieve the data type name from the resultset for each column