How do I customize the date in the menu bar to rearrange items, etc.?
I know about "System Preferences -> Date & Time -> Clock", so I'm not asking about that. What I want to is in, in Lion, how do I rearrange items for the date in the menu bar? Right now, it shows as "Mon 31 Oct", and I'd prefer "Mon, Oct. 31".
It used to be easy to make these changes in versions prior to Lion with the "Format" tab, but not anymore apparently. This "hack" no longer works.
I'm also curious as to why it shows as "31 Oct" rather than "Oct 31" for me; I suspect that it's because I'm in Canada, even though I set "Month Day" to be the default date format for all dates on Lion.
Well you may be right with suspicion about having something to do with Canada - here is a screenshot of my date:
I'm in the US - have you tried changing to the US to see if that would work?
Similar Messages
-
Unfortunately, I lost by an update all the apps on my iPad 2. Now I can not pull the data from the cloud to my iPad. How is this possible?
If you just installed iCloud does that mean you updated the iOS that's running on your iPad? If so, you'll want to restore all the programs you have from the backup you hopefully made.
Refer to these articles for help.
iTunes: Backing up, updating, and restoring iOS software.
If you don't want to use iCloud, simply don't activate it.
You can also download the programs again.
If you live in a country that supports re-downloading apps then you can re-download them. You can refer to this article for more help.
Downloading past purchases from the App Store and iTunes Store
What to know if your country supports downloading past purchases?
iTunes in the Cloud Availability -
How can I select a radio button in a table regarding the data in the cells?
Hi everyone
This is the issue: I need to select the RadioButton which is in a table with data related to transfers in the cells next to it, so I need to select the correct radio regarding the data next to it.
This is the whole process: First I go to the Add Recurring Transfer section and select the parameters of the transfer (Accounts, date, amount, months etc), then with VB code I capture those parameters from the page and store them into Global variables for further usage on my E-tester script.
Right after that I need to select the radiobutton regarding the data of the transfer that I already created in order to delete it or modify it (Please see Attachment selectradio1.jpg)
So How can I move along the table and compare each cell with the variables that I created with the transfer information, so when I finish comparing a row cell by cell and if all the comparison match well in that row, I could select the radiobutton of the row.
Note: Second Attachment selectradio2.jpg shows the source code of the table...If you need more info please let me know
Could you please help me with this problem?? I'm Kind of frustrated with this issue jejejeHere is an example. I uploaded mock html so that you can actually try this code. I think this does exactly what you are asking.
Private Sub RSWVBAPage_afterPlay()
Dim tbl As HTMLTable
Dim tblRow As HTMLTableRow
Dim tblCell As HTMLTableCell
Dim strValue As String
Dim rButton As HTMLInputElement
' ******** This would be your global variable. I put this so that values are seperated by a semicolin you can use what ever format works for you.
strValue = "03/22/2008;03/22/2008;*************1977;*************1977;$25.25;Jan, Jun, Jul, Dec"
' Strip out the ; for inner text comparison
strValue = Replace(strValue, ";", "")
' This will get the table but can be modifoed to be more specific
Set tbl = RSWApp.om.FindElement(, "TABLE")
' This loops through all the rows in the table until a match to the strValue is found
' then clicks the radio button. Findelements allows you to specify a root element
' once the correct root row is found, FindElemets can get the correct radio button
For Each tblRow In tbl.rows
If tblRow.innerText = strValue Then
Set rButton = RSWApp.om.FindElement("account", "INPUT", "NAME", , , tblRow)
rButton.click
End If
Next
End Sub
I also uploaded the script I created. You should be able to run it and see how it works.
This should get you going. -
i am receiving the data through the rs232 in labview and i have to store the data in to the word or text file only if there is a change in the data. I have to scan the data continuasly. how can i do that. I was able to store the data into the text or word file but could not be able to do it. I am gettting the data from rs232 interms of 0 or 1. and i have to print it only if thereis a change in data from 0 to 1. if i use if-loop , each as much time there is 0 or 1 is there that much time the data gets printed. i dont know how to do this program please help me if anybody knows the answer
I have attatched the vi. Here in this it receives the data from rs232 as string and converted into binery. and indicated in led also normally if the data 1 comes then the led's will be off. suppose if 0 comes the corresponding data status is wrtten into the text file. But here the problem is the same data will be printed many number of times. so i have to make it like if there is a transition from 1 to o then only print it once. how to do it. I am doing this from few weeks please reply if you know the answer immediatly
thanking you
Attachments:
MOTORTESTJIG.vi 729 KB -
My iPhone, iPad and iPod are all associated with the same Apple ID. How can I remove the iPod and associate it with a new Apple ID without affecting the data on the other devices (note: there is no data on the iPod I want to keep)?
Very simple. Turn off Find my iDevice, then Tap Settings, General, Erase, Erase all content and settings.
-
I lost my iTunes library on my pc when the hard drive crashed. None of the data on the drive was recoverable and I did not have a backup either locally or on the cloud. Much of the music is from old vinyl and podcasts which are no longer available.
How can I get the music that resides on my ipod nano (4th generation) back onto the new hard drive on my pc.
I have been reluctant to install iTunes on the new hard drive out of fear that I will lose all the contents on the ipod if I try to synch to the new hard drive.
Help!No backup is a huge mistake.
You can redownload some itunes purchases in some countries:
Downloading past purchases from the App Store ... - Apple - Support -
I cant seem to download and install the latest iphone software update. I have tried since the release and have been unsuccessful on more than 7 occasions and lost all the data on the process. Anyone have that problem an how do I fix this problem?
Hi
Thanks but I have tried doing the above - when I said 7 times I was modest, its more like 15 times.
And I am referring to the 5.1 software update. I dont have wifi so I guess I will have to try that seeing that my husband also has the same problem - he has also tried downloading several times. It always times out en says that the connection is lost but yet there are always an internet connection and a decent signal once it stopped. Think it said error 32052 or something!
I am disappointed because the update includes inprovement on the battery life - did you guys notice any difference? -
I use a translation stage for the experiment.For each user in the lab the stage position (to start an experiment) is different.I defined one end of the stage as zero. I want to save the position , date and time of the stage with respect to zero.I want all these in one file, nd everytime I run it it should save to the same file, like this:
2/12/03 16:04 13567
2/13/03 10:15 35678
So I will track the position from day to day.If naybody helps, I appreciate it.Thanks.evolution wrote in message news:<[email protected]>...
> How can I save my data and the date,the time into the same file when
> I run this VI at different times?
>
> I use a translation stage for the experiment.For each user in the lab
> the stage position (to start an experiment) is different.I defined one
> end of the stage as zero. I want to save the position , date and time
> of the stage with respect to zero.I want all these in one file, nd
> everytime I run it it should save to the same file, like this:
> 2/12/03 16:04 13567
> 2/13/03 10:15 35678
>
> So I will track the position from day to day.If naybody helps, I
> appreciate it.Thanks.
Hi,
I know the function "write to spreadsheet file.vi"
can append the data
to file. You can use the "concatenate strings" to display the date,
time as well as data... Hope this help.
Regards,
celery -
How to validate the dates in the table control ?
How to validate the dates in the table control ?
Can I write like this ?
LOOP AT it_tab .
CHAIN.
FIELD : it_tab-strtdat,it_tab-enddat.
module date_validation.
ENDCHAIN.
ENDLOOP.
Module Date_validation.
ranges : vdat type sy-datum.
vdat-sign = 'I'.
VDAT-LOW = it_tab-STRTDAT.
VDAT-HIGH = it_tab-ENDDAT.
VDAT-OPTION = 'BT'.
APPEND VDAT.
WHAT CODE I have to write here to validate ?
and If I write like this How can we know which is the current row being add ?
It loops total internal table ..?
Bye,
Muttu.Hi,
I think there is no need to put chain endchain.
To do validation you have to write module in PAI which does required validations.
Thanks
DARSHAN PATEL -
How to delete the dat afrom the Ztable in GRP
Hello Experts,
How we can delete the data from the Ztable created by the developer , in the Production server ,please give a brief idea about it , thanks in advance.see this:
to delete data from z table
also follow this mentioned by jagadish in above thread:
start tr. se16n
type the table name and press ENTER.
Then type the string "&sap_edit" into the command line and strike Enter
again.
enter your selection criteria.
run.(F8)
now you can easily delete the lines you want (and then save)
All Changes are noted in the tables
SE16N_CD_DATA and
SE16N_CD_KEY. -
I unfortunately just got my IPhone 4s stolen.I thought I had the find my iPhone enabled but I didn't because I cannot locate the phone when I sign in ICloud.I have a password on the phone but i'm not sure if I turned on the option where the phone resets if you incorrectly put the password more than ten time. I immediately called my phone company (Verizon) and reported the phone stolen.So I know whoever took the phone cannot place calls or use the phone. But can they still access my data on the phone if they manage to unlock the phone? If so how can I erase all data on the phone so the thief can't access my personal information? is there any other way other than Find my IPhone to wipe off the data on the phone? I really don't want my personal information such as pictures, text messages, notes and social networks profile available to a stranger!!? Help please!!!
Hello thewrongway,
I'm sorry to hear about your phone! I understand the need for an active device. You are able to activate an old device and process an insurance claim for your iPhone 4s within 60days from the incident date. Keep in mind if the old phone is not a smartphone and you currently have unlimited data that feature will fall off. If you have a tier data plan no changes will be made. Please let me know if you have any additional questions. Thank you.
TominqueBo
VZW Support
Follow us on Twitter at @VZWSupport -
My Iphone was sync with Itunes on a computer then this computer broke down and i purchased another one. I was able to extract all the data from the old one. now how can i sync my phone with the new tunes without loosing any data?
Yes, windows to Mac too.
iTunes: How to move [or copy] your music [library] to a new computer [or another drive] - http://support.apple.com/kb/HT4527
Quick answer if you use iTunes' default preferences settings: Copy the entire iTunes folder (and in doing so all its subfolders and files) intact to the other drive. Open iTunes and immediately hold down the Option (alt) key (shift on Windows), then guide it to the new location of the library.
Windows users see tip at: https://discussions.apple.com/message/18879381 -
How to print the data in the grid?
Hi all,
I'm new to java. So, I need some helps.
I want to print the data in the grid. Data could be more than one page. But I have no idea how to start writing code.
Please let me know if you know.
Thank you.
DT.Follow this steps.
1- the Grid which you wish to print must locate in a class which implements Printable() interface.
e.g.
import javax.swing.table.*;
import java.awt.print.*;
import javax.infobus.*;
public class myGridControl extends GridControl implements Printable{
// add the following statements in the definition section of your class
int m_maxNumPage =1;
JTable m_table;
TableModel m_tableModel;
ScrollableRowsetAccess myRs;
// add the folowing statemnts in the
//constructor or init method or start method
//(Notice:if you couldn't print, possible
//you didn't put these stetment on the right
//location and one or all of them
//are "null".change the location and make
//sure they are not null when you issue a
//print order)
m_table = new JTable();
m_table = masterGrid.getTable();
m_tableModel = m_table.getModel();
myRs = (ScrollableRowsetAccess)masterGrid.getDataItem();
3- add following methods to your class(myGridControl). just cut and paste.
// Print Methods
public void printData() {
try {
PrinterJob prnJob = PrinterJob.getPrinterJob();
prnJob.setPrintable(this);
if (!prnJob.printDialog())
return;
prnJob.print();
catch (PrinterException e) {
e.printStackTrace();
System.err.println("Printing error: "+e.toString());
public int print(Graphics pg, PageFormat pageFormat,int pageIndex) throws PrinterException {
JLabel m_title=new JLabel("Alexus Report : "+titleName);
if (pageIndex >= m_maxNumPage)
return NO_SUCH_PAGE;
pg.translate((int)pageFormat.getImageableX(),
(int)pageFormat.getImageableY());
int wPage = 0;
int hPage = 0;
if (pageFormat.getOrientation() == pageFormat.PORTRAIT) {
wPage = (int)pageFormat.getImageableWidth();
hPage = (int)pageFormat.getImageableHeight();
else {
wPage = (int)pageFormat.getImageableWidth();
wPage += wPage/2;
hPage = (int)pageFormat.getImageableHeight();
pg.setClip(0,0,wPage,hPage);
int y = 0;
pg.setFont(m_title.getFont());
pg.setColor(Color.black);
Font fn = pg.getFont();
FontMetrics fm = pg.getFontMetrics();
y += fm.getAscent();
pg.drawString(m_title.getText(), 0, y);
y += 20; // space between title and table headers
Font headerFont = m_table.getFont().deriveFont(Font.BOLD);
pg.setFont(headerFont);
fm = pg.getFontMetrics();
TableColumnModel colModel = m_table.getColumnModel();
int nColumns = colModel.getColumnCount();
int x[] = new int[nColumns];
x[0] = 0;
int h = fm.getAscent();
y += h; // add ascent of header font because of baseline
// positioning (see figure 2.10)
int nRow, nCol;
for (nCol=0; nCol<nColumns; nCol++) {
TableColumn tk = colModel.getColumn(nCol);
int width = tk.getWidth();
if (x[nCol] + width > wPage) {
nColumns = nCol;
break;
if (nCol+1<nColumns)
x[nCol+1] = x[nCol] + width;
String title = (String)tk.getIdentifier();
pg.drawString(title, x[nCol], y);
pg.setFont(m_table.getFont());
fm = pg.getFontMetrics();
int header = y;
h = fm.getHeight();
int rowH = Math.max((int)(h*1.5), 10);
int rowPerPage = (hPage-header)/rowH;
m_maxNumPage = Math.max((int)Math.ceil(m_table.getRowCount()/
(double)rowPerPage), 1);
int iniRow = pageIndex*rowPerPage;
int endRow = Math.min(m_table.getRowCount(),
iniRow+rowPerPage);
// take an array to store columns header
String colNames[] = new String[nColumns];
for (nCol=0; nCol<nColumns; nCol++) {
colNames[nCol] = myRs.getColumnName(nCol+1).toString();
try{
for (nRow=iniRow; nRow<endRow; nRow++) {
y += h;
// set RowSet on the specific row
myRs.absolute(nRow+1);
for (nCol=0; nCol<nColumns; nCol++) {
/* the next 3 lines are old code
int col = m_table.getColumnModel().getColumn(nCol).getModelIndex();
Object obj = m_tableModel.getValueAt(nRow, col);
String str = obj.toString();
// take the values column by columns
ImmediateAccess ia = (ImmediateAccess)myRs.getColumnItem(colNames[nCol]);
String str = ia.getValueAsString();
if (str.equals("")) str=" ";
/* this if is usefull if we'd like to have coloring in printing
if (obj instanceof ColorData)
pg.setColor(((ColorData)obj).m_color);
else
pg.setColor(Color.black);
pg.drawString(str, x[nCol], y);
}catch(Exception e){
e.printStackTrace();
System.gc();
return PAGE_EXISTS;
public void printData() {
try {
PrinterJob prnJob = PrinterJob.getPrinterJob();
prnJob.setPrintable(this);
if (!prnJob.printDialog())
return;
prnJob.print();
catch (PrinterException e) {
e.printStackTrace();
System.err.println("Printing error: "+e.toString());
public int print(Graphics pg, PageFormat pageFormat,int pageIndex) throws PrinterException {
JLabel m_title=new JLabel("Alexus Report : "+titleName);
if (pageIndex >= m_maxNumPage)
return NO_SUCH_PAGE;
pg.translate((int)pageFormat.getImageableX(),
(int)pageFormat.getImageableY());
int wPage = 0;
int hPage = 0;
if (pageFormat.getOrientation() == pageFormat.PORTRAIT) {
wPage = (int)pageFormat.getImageableWidth();
hPage = (int)pageFormat.getImageableHeight();
else {
wPage = (int)pageFormat.getImageableWidth();
wPage += wPage/2;
hPage = (int)pageFormat.getImageableHeight();
pg.setClip(0,0,wPage,hPage);
int y = 0;
pg.setFont(m_title.getFont());
pg.setColor(Color.black);
Font fn = pg.getFont();
FontMetrics fm = pg.getFontMetrics();
y += fm.getAscent();
pg.drawString(m_title.getText(), 0, y);
y += 20; // space between title and table headers
Font headerFont = m_table.getFont().deriveFont(Font.BOLD);
pg.setFont(headerFont);
fm = pg.getFontMetrics();
TableColumnModel colModel = m_table.getColumnModel();
int nColumns = colModel.getColumnCount();
int x[] = new int[nColumns];
x[0] = 0;
int h = fm.getAscent();
y += h; // add ascent of header font because of baseline
// positioning (see figure 2.10)
int nRow, nCol;
for (nCol=0; nCol<nColumns; nCol++) {
TableColumn tk = colModel.getColumn(nCol);
int width = tk.getWidth();
if (x[nCol] + width > wPage) {
nColumns = nCol;
break;
if (nCol+1<nColumns)
x[nCol+1] = x[nCol] + width;
String title = (String)tk.getIdentifier();
pg.drawString(title, x[nCol], y);
pg.setFont(m_table.getFont());
fm = pg.getFontMetrics();
int header = y;
h = fm.getHeight();
int rowH = Math.max((int)(h*1.5), 10);
int rowPerPage = (hPage-header)/rowH;
m_maxNumPage = Math.max((int)Math.ceil(m_table.getRowCount()/
(double)rowPerPage), 1);
int iniRow = pageIndex*rowPerPage;
int endRow = Math.min(m_table.getRowCount(),
iniRow+rowPerPage);
// take an array to store columns header
String colNames[] = new String[nColumns];
for (nCol=0; nCol<nColumns; nCol++) {
colNames[nCol] = myRs.getColumnName(nCol+1).toString();
try{
for (nRow=iniRow; nRow<endRow; nRow++) {
y += h;
// set RowSet on the specific row
myRs.absolute(nRow+1);
for (nCol=0; nCol<nColumns; nCol++) {
/* the next 3 lines are old code
int col = m_table.getColumnModel().getColumn(nCol).getModelIndex();
Object obj = m_tableModel.getValueAt(nRow, col);
String str = obj.toString();
// take the values column by columns
ImmediateAccess ia = (ImmediateAccess)myRs.getColumnItem(colNames[nCol]);
String str = ia.getValueAsString();
if (str.equals("")) str=" ";
/* this if is usefull if we'd like to have coloring in printing
if (obj instanceof ColorData)
pg.setColor(((ColorData)obj).m_color);
else
pg.setColor(Color.black);
pg.drawString(str, x[nCol], y);
}catch(Exception e){
e.printStackTrace();
System.gc();
return PAGE_EXISTS;
4- execute printData() method to print.
e.g. myGridControl.printData();
let me know if you still cannot print.
Ali -
How to get the date for the first monday of each month
Dear Members,
How to get the date for the first monday of each month.
I have written the following code
SELECT decode (to_char(trunc(sysdate+30 ,'MM'),'DAY'),'MONDAY ',trunc(sysdate+30 ,'MM'),NEXT_DAY(trunc(sysdate+30 ,'MM'), 'MON')) FROM DUAL
But it look bith complex.
Abhishek
Edited by: 9999999 on Mar 8, 2013 4:30 AMUse IW format - it will make solution NLS independent. And all you need is truncate 7<sup>th</sup> day of each month using IW:
select sysdate current_date,
trunc(trunc(sysdate,'mm') + 6,'iw') first_monday_the_month
from dual
CURRENT_D FIRST_MON
08-MAR-13 04-MAR-13
SQL> Below is list of first monday of the month for this year:
with t as(
select add_months(date '2013-1-1',level-1) dt
from dual
connect by level <= 12
select dt first_of_the_month,
trunc(dt + 6,'iw') first_monday_the_month
from t
FIRST_OF_ FIRST_MON
01-JAN-13 07-JAN-13
01-FEB-13 04-FEB-13
01-MAR-13 04-MAR-13
01-APR-13 01-APR-13
01-MAY-13 06-MAY-13
01-JUN-13 03-JUN-13
01-JUL-13 01-JUL-13
01-AUG-13 05-AUG-13
01-SEP-13 02-SEP-13
01-OCT-13 07-OCT-13
01-NOV-13 04-NOV-13
FIRST_OF_ FIRST_MON
01-DEC-13 02-DEC-13
12 rows selected.
SQL> SY. -
How to binnding the data in the adobe interactive forms for making a table?
Hi, experts,
Function:
Through the sharing context node between adobe interactive form and a WDA for ABAP, display the data of the sflight_node in the ADOBE.
version:
Acrobat Reader 8.1.0
currently both of the SAP-ABA and SAP-BASIS SP level: 9
ADS : Successful.
The following is my action:
1. Create a interface (Z_SFLIGHT_INTF) with a attribute node (SFLIGHT_NODE) that type is "sflight" using the transaction code "sfp"
2. Create a form (Z_SFLIGHT_FORM) using the transaction code "sfp" with the interface Z_SFLIGHT_INTF.
3. Trag the sflight_node in the Z_SFLIGHT_INTF to the form( Z_SFLIGHT_FORM).
4. Open the layout tab in the form(Z_SFLIGHT_FORM), and create a table(table1). Click the table created just now, select the binding tab in the object tab, and in the Default Binding, select the SFLIGHT_NODE under the Z_SFLIGHT_FORM.
Problem 1:
Do you tell me whether is right for binding the context SFLIGHT_NODE using this way? If bind 3 context attributes in the sflight, how can I do it?
5. Create a WDA for abap (ZZ_02_SFLIGHT), and create a view(MAINVIEW) using transaction code "se80" in the sap-gui with adobe interactive form. Set the templatesource(Z_SFLIGHT_FORM) in the adobe interactive form properties and saved, and then, datasource is "MAINVIEW_Z_SFLIGHT_FORM" automatically.
6. But I only found the attribute SFLIGHT_NODE under the context node(Z_SFLIGHT_NODE), and I don't found the NODE ( SFLIGHT_NODE ) context in the context tab in the WDA for abap so that I don't set data to the context NODE (SFLIGHT_NODE).
Problem 2:
Do you tell me what can I do it so that I get the node SFLIGHT_NODE rather than attribute in the WDA for setting the data to the CONTEXT NODE (SFLIGHT_NODE)?
Thanks a lot.
Best regards,
TaoHi, experts,
You can reply back to me via e-mail if you think we should discuss this internally at [email protected] or [email protected]
Thanks a lot.
Best regards,
tao
Maybe you are looking for
-
when I click on the box to expand mini-player, it says there is an error and disappears. If I hit the play button, it starts at the top of my list, but I have no access to the library or the playlists. I originally downloaded itunes, and everything w
-
Can anyone share with me how you write Javadoc?
Can anyone share with me how their companies write Javadoc? Are your developers solely responsible for it? Do your technical writers own it or review it? How do you make sure it's good? Right now, my software developers are mostly responsible for wri
-
Windows 7 Pro will not boot up in Bootcamp and won't recognize keyboard or mouse in Safe Mode
Windows 7 usually crashes after about 30-60 minutes of use and now I can't get it to even boot after doing a Windows Update. I tried to boot into Safe Mode with Networking but I can't login to Windows because they mouse and keyboard don't seem to be
-
How does clamshell mode work when connected to monitor?
I have connected my MacBook via the external port to an HD TV and can 'mirror' the screen image. I want to close the lid and continue to use the TV monitor but the MacBook insists in going to sleep... What can I do or is this not possible? Ideas an
-
How to write rfc when value change in the screen (browser) in webdynpro.
Hi, I want to know how can i write an RFC when screen value change in webdynpro. I already designed a rfc where all the value can be seen in the webdypro screen. Now when user change the value how can i pick the changed value in R/3 so that i can sav