How to put all answers in two arrays?
Hi,
I'm working on a script with an UI element.
I want all values of the 2. cloumn (Rasterkeilfarbe) returned in one array and all values of the 3. column (Klischeenr.) returned in another arry.
Could anyone please explain me how to do this?
Thanks
var farben = ["black", "red", "blue", "green", "bla", "blupp"]
var myName = myInput (farben);
// rest of the script
alert (myName);
function myInput (farben)
var myWindow = new Window ("dialog", "Farbmanager");
myWindow.orientation = "row";
myWindow.alignChildren = "top";
var docFarbGroup = myWindow.add ("group");
docFarbGroup.orientation = "column";
docFarbGroup.alignChildren="left";
docFarbGroup.add ("statictext", undefined, "Dok-Farbe");
for (i=0; i<farben.length; i++){
docFarbGroup.add ("statictext", undefined, farben[i]);
var rastkeilGroup = myWindow.add ("group");
rastkeilGroup.orientation = "column";
rastkeilGroup.alignChildren="left";
rastkeilGroup.add ("statictext", undefined, "Rasterkeilfarbe");
for (i=0; i<farben.length; i++){
var artNr = rastkeilGroup.add ("edittext", undefined, farben[i]);
artNr.characters = 15;
var klischeeGroup = myWindow.add ("group");
klischeeGroup.orientation = "column";
klischeeGroup.alignChildren="left";
klischeeGroup.add ("statictext", undefined, "Klischenummer");
for (i=0; i<farben.length; i++){
var klNr = klischeeGroup.add ("edittext", undefined, "");
klNr.characters = 15;
var myButtonGroup = myWindow.add ("group");
myButtonGroup.alignment = "right";
myButtonGroup.add ("button", undefined, "OK");
myButtonGroup.add ("button", undefined, "Cancel");
if (myWindow.show () == 1)
return [artNr.text];
else
myWindow.close ();
try this one, see my comments
var farben = ["black", "red", "blue", "green", "bla", "blupp"]
var myName = myInput (farben);
// rest of the script
alert (myName);
function myInput (farben)
var myWindow = new Window ("dialog", "Farbmanager");
myWindow.orientation = "row";
myWindow.alignChildren = "top";
var docFarbGroup = myWindow.add ("group");
docFarbGroup.orientation = "column";
docFarbGroup.alignChildren="left";
docFarbGroup.add ("statictext", undefined, "Dok-Farbe");
for (i=0; i<farben.length; i++){
docFarbGroup.add ("statictext", undefined, farben[i]);
var rastkeilGroup = myWindow.add ("group");
rastkeilGroup.orientation = "column";
rastkeilGroup.alignChildren="left";
rastkeilGroup.add ("statictext", undefined, "Rasterkeilfarbe");
var artNr = []; // to hold an array of StaticText Objects
for (i=0; i<farben.length; i++){
artNr[i] = rastkeilGroup.add ("edittext", undefined, farben[i]);
artNr.characters = 15;
var klischeeGroup = myWindow.add ("group");
klischeeGroup.orientation = "column";
klischeeGroup.alignChildren="left";
klischeeGroup.add ("statictext", undefined, "Klischenummer");
var klNr = []; // to hold an array of StaticText Objects
for (i=0; i<farben.length; i++){
klNr[i] = klischeeGroup.add ("edittext", undefined, "");
klNr.characters = 15;
var myButtonGroup = myWindow.add ("group");
myButtonGroup.alignment = "right";
myButtonGroup.add ("button", undefined, "OK");
myButtonGroup.add ("button", undefined, "Cancel");
if (myWindow.show () == 1) {
var Rasterkeilfarbe = []; // to hold an array of StaticText Values
var Klischenummer = []; // to hold an array of StaticText Values
for (j=0; j<klNr.length; j++) {
Rasterkeilfarbe[j] = artNr[j].text; // populate the arrays
Klischenummer[j] = klNr[j].text; // populate the arrays
return Rasterkeilfarbe + "\r" + Klischenummer; // return the array vlaues
else
myWindow.close ();
Similar Messages
-
HT4994 how to put all ur contact on your sim card
How do you put all your contacts that are on your phone on to the sim card ??
You don't since doing so is not an available option, which is extremely limited to the name, a couple of phone numbers and maybe an email address.
-
How to put all my songs into a playlist
Hey, I want to know if there's an easy way to put all of my songs into a play list so I'm able to share it with my friends. I just use the My Music thing to listen to my songs. The only way I can see how to do it is to add the songs individually but that's going to be annoying. Thanks.
select all your songs Ctrl + A = Select All-- or --Ctrl + Click = indiviual select Then drag them into a list
-
How to put photos back into two film rolls which are now emply.
For a few months my iPhoto has been unable to do things it should be able to do according to iPhoto documentation, such as put slideshows in a folder.
Yesterday I titled about 50 film rolls that previously were unnamed and deleted quite a few slideshows. Now, when I look in two very important film rolls in my iPhoto 6.0.4 Library, their over 1,000 photos are no longer there. My iPhoto trash is empty.
I have 3 recent backups. One, a zip backup is (along with my iPhoto Library) in my pictures folder. A backup iPhoto Library & zipped Library are on an external drive.
Can I get just the missing photos from one of these backups into my current library? ______ How? __
1 Ghz PowerPC G4 Mac OS X (10.4.7) iPhoto 6.0.4
1 Ghz PowerPC G4 Mac OS X (10.4.7)I was under the impression it was there so you can back up all your files.
iCloud is not intended as a backup, but rather as a central storage for your documents and data, so you can keep them up to date and accessible on all devices.
For your photos in iCloud you will need iCloud Photo Library. This is still a Beta version, and has not yet been released for the Mac, but is already available on iPads and iPhones with iOS 8.
See this support document: iCloud Photo Library beta FAQ
You can enable iCloud Photo Library beta on your iPad, and then your photos will be stored in iCloud. Your Mac can see these photos using the Photos Beta app on the icloud webpage at www.icloud.com .
In a few weeks or so, when Apple will release MacOS X 10.10.3, the new Photos.app on the Mac will be able to migrate your iPhoto Library to iCloud Photo Library, as described here: Apple - OS X - Photos Preview
Just wait a bit longer, until iCloud id ready for your Photos library. -
How to put all pictures in a document in one layer
OK, I have a huge document on 1730 pages and all text and pictures are in the same layer.
How can I mark all the pictures and put them all in one (other) layer, without doing it manually, page by page?
(maybe using Find/change - Object?)
Can anyone help me?This will select all your linked files in the active document and embed them:
* a slight modification *
for(i = app.activeDocument.placedItems.length - 1; i >= 0 ; i--) {
app.activeDocument.placedItems[i].selected = true;
app.activeDocument.placedItems[i].embed();
cheers;
Message was edited by: sonicDream -
How to put data from database into array
I need to answer hot to put data from database directly into array.
I tried like the code below but the error message said: java.lang.ArrayIndexOutOfBoundsException: 0, and it points to this line: numbers [row][0]= rs.getString("ID");
Hope you can help.
ResultSet rs = stmt.executeQuery(query);
int row=0;
String [] [] numbers=new String [row][10];
// output resultset
while ( rs.next() )
numbers [row][0]= rs.getString("ID");
numbers [row][1]= rs.getString("name");
row++;
// close resultset
rs.close();
thanks,DeviThe exception is been thrown simply because you assigned '0' to the 'row' variable, indicating a zero length of the array. In fact you should assign the row count to it.
After all, don't do that. Make use of the Collection framework and map the ResultSet to a Collection of DTO's.
List<User> users = new ArrayList<User>();
while (resultSet.next()) {
User user = new User();
user.setID(resultSet.getString("ID"));
user.setName(resultSet.getString("name"));
users.add(user);
} -
How to put all actionscript in one frame instead of on buttons themselves?
so i have a simple project where I have my actions script on each button itself.
I'd like to have one actionscript file on the main timeline controlling everything instead of having to drill down to change the AS for a button.
I have two scenes. Scene none has a button forcing to scene 2. When i put code on main timeline it broke my button that is on Scene 2 that allows me to jump around in that timeline to different frame labels.
what did I do wrong?
Original AS on Button instance bldg1_thumb1:
on (release) {
_parent.gotoAndStop ("Building 1 Big 1");
New AS on Controlling Frame in Main Timeline:
bldg1_thumb1.onRelease=function () {
_parent.gotoAndStop ("Building 1 Big 1");try:
var tl:MovieClip=this
bldg1_thumb1.onRelease=function () {
tl.gotoAndStop ("Building 1 Big 1"); -
How to put all RMAN-files in one backupset?? (so preventing RMAN-06023)
((Please see also this thread: Re: Restoring Database causes ORA-19612
How can I manage that ALL files, ALL pieces, Controlfile, SPfile etc. etc. is available in ONE backup-file.
When I do "Backup Database" and I copy the created files to another location: restoring the database keeps asking for older backuppieces.
(Rman-error: RMAN-06023: no backup or copy of datafile 1 found to restore"
When i type on the target:
RMAN> list backup of datafile 1;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
12 Full 70.03G DISK 00:44:49 02-APR-12
BP Key: 12 Status: EXPIRED Compressed: NO Tag: TAG20120402T213111
Piece Name: G:\RMANBACKUP\0KN7EQSV_1_1
List of Datafiles in backup set 12
File LV Type Ckp SCN Ckp Time Name
1 Full 2945781693 02-APR-12 D:\ORACLEDATA\CISORA1\SYSTEM01.DBF
RMAN>
I see that the Missing file is in a backupset of 1 day ago. That's NOT what i want. I want EVERY DAY a FULL backupset.
please advise how to achive.
thanks
Edited by: AvRossem on 3-apr-2012 5:36AvRossem wrote:
((Please see also this thread: Re: Restoring Database causes ORA-19612
How can I manage that ALL files, ALL pieces, Controlfile, SPfile etc. etc. is available in ONE backup-file.
When I do "Backup Database" and I copy the created files to another location: restoring the database keeps asking for older backuppieces.
(Rman-error: RMAN-06023: no backup or copy of datafile 1 found to restore"
When i type on the target:
RMAN> list backup of datafile 1;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
12 Full 70.03G DISK 00:44:49 02-APR-12
BP Key: 12 Status: EXPIRED Compressed: NO Tag: TAG20120402T213111
Piece Name: G:\RMANBACKUP\0KN7EQSV_1_1
List of Datafiles in backup set 12
File LV Type Ckp SCN Ckp Time Name
1 Full 2945781693 02-APR-12 D:\ORACLEDATA\CISORA1\SYSTEM01.DBF
RMAN>
I see that the Missing file is in a backupset of 1 day ago. That's NOT what i want. I want EVERY DAY a FULL backupset.
please advise how to achive.
thanks
Hi,
How can I manage that ALL files, ALL pieces, Controlfile, SPfile etc. etc. is available in ONE backup-file.The short awnser is: You cannot do that.
RMAN divides some files types in different backupset.
This is a rule:
Datafiles use your own Backupset
Controlfile and SPFILE use your own Backupset
ARCHIVELOG use your own Backupset
For each BACKUPSET you can have many Backuppiece (i.e files on disk). As rule you always have relationship of one (Backupset) to one or more (Backuppiece).
So, respecting the rule above you can do following:
You can use the option FILESPERSET to keep all datafiles in same backuppiece. (In my case below 200 datafiles will be in same backuppiece)
{code}
RMAN> backup database tag='my_backup' filesperset 200 include current controlfile ;
Starting backup at 03-APR-12
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00001 name=/u01/app/oracle/oradata/dbrcv/system01.dbf
input datafile file number=00002 name=/u01/app/oracle/oradata/dbrcv/sysaux01.dbf
input datafile file number=00003 name=/u01/app/oracle/oradata/dbrcv/undotbs01.dbf
input datafile file number=00004 name=/u01/app/oracle/oradata/dbrcv/users01.dbf
channel ORA_DISK_1: starting piece 1 at 03-APR-12
channel ORA_DISK_1: finished piece 1 at 03-APR-12
piece handle=/u01/app/oracle/fast_recovery_area/DBRCV/backupset/2012_04_03/o1_mf_nnndf_MY_BACKUP_7qppmnn7_.bkp tag=MY_BACKUP comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:45
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
including current control file in backup set
including current SPFILE in backup set
channel ORA_DISK_1: starting piece 1 at 03-APR-12
channel ORA_DISK_1: finished piece 1 at 03-APR-12
piece handle=/u01/app/oracle/fast_recovery_area/DBRCV/backupset/2012_04_03/o1_mf_ncsnf_MY_BACKUP_7qppo4ls_.bkp tag=MY_BACKUP comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 03-APR-12
RMAN> backup archivelog all filesperset 200 ;
Starting backup at 03-APR-12
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting archived log backup set
channel ORA_DISK_1: specifying archived log(s) in backup set
input archived log thread=1 sequence=16 RECID=1 STAMP=779332254
input archived log thread=1 sequence=17 RECID=2 STAMP=779374813
input archived log thread=1 sequence=18 RECID=3 STAMP=779393222
input archived log thread=1 sequence=19 RECID=4 STAMP=779436085
input archived log thread=1 sequence=20 RECID=5 STAMP=779472067
input archived log thread=1 sequence=21 RECID=6 STAMP=779511653
input archived log thread=1 sequence=22 RECID=7 STAMP=779580131
input archived log thread=1 sequence=23 RECID=8 STAMP=779648029
input archived log thread=1 sequence=24 RECID=9 STAMP=779649107
input archived log thread=1 sequence=25 RECID=10 STAMP=779649189
input archived log thread=1 sequence=26 RECID=11 STAMP=779649436
channel ORA_DISK_1: starting piece 1 at 03-APR-12
channel ORA_DISK_1: finished piece 1 at 03-APR-12
piece handle=/u01/app/oracle/fast_recovery_area/DBRCV/backupset/2012_04_03/o1_mf_annnn_TAG20120403T171718_7qppphtb_.bkp tag=TAG20120403T171718 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:35
Finished backup at 03-APR-12
{code}
Now I have 3 files:
{code}
RMAN > List BACKUSET;
BS Key Type LV Size Device Type Elapsed Time Completion Time
447 Full 314.02M DISK 00:00:37 03-APR-12
BP Key: 450 Status: AVAILABLE Compressed: NO Tag: MY_BACKUP
Piece Name: /u01/app/oracle/fast_recovery_area/DBRCV/backupset/2012_04_03/o1_mf_nnndf_MY_BACKUP_7qppmnn7_.bkp
List of Datafiles in backup set 447
File LV Type Ckp SCN Ckp Time Name
1 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/system01.dbf
2 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/sysaux01.dbf
3 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/undotbs01.dbf
4 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/users01.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
448 Full 9.36M DISK 00:00:04 03-APR-12
BP Key: 451 Status: AVAILABLE Compressed: NO Tag: MY_BACKUP
Piece Name: /u01/app/oracle/fast_recovery_area/DBRCV/backupset/2012_04_03/o1_mf_ncsnf_MY_BACKUP_7qppo4ls_.bkp
SPFILE Included: Modification time: 03-APR-12
SPFILE db_unique_name: DBRCV
Control File Included: Ckp SCN: 444147 Ckp time: 03-APR-12
BS Key Size Device Type Elapsed Time Completion Time
492 300.38M DISK 00:00:26 03-APR-12
BP Key: 495 Status: AVAILABLE Compressed: NO Tag: TAG20120403T171718
Piece Name: /u01/app/oracle/fast_recovery_area/DBRCV/backupset/2012_04_03/o1_mf_annnn_TAG20120403T171718_7qppphtb_.bkp
List of Archived Logs in backup set 492
Thrd Seq Low SCN Low Time Next SCN Next Time
1 16 234488 30-MAR-12 261258 31-MAR-12
1 17 261258 31-MAR-12 286957 31-MAR-12
1 18 286957 31-MAR-12 303448 31-MAR-12
1 19 303448 31-MAR-12 329357 01-APR-12
1 20 329357 01-APR-12 351967 01-APR-12
1 21 351967 01-APR-12 375454 02-APR-12
1 22 375454 02-APR-12 409423 02-APR-12
1 23 409423 02-APR-12 443037 03-APR-12
1 24 443037 03-APR-12 443868 03-APR-12
1 25 443868 03-APR-12 443928 03-APR-12
1 26 443928 03-APR-12 444188 03-APR-12
{code}
See it:
BackupSet :
447 = Datafiles
448 = Controfile and SPFILE
492 = Archivelogs
Now I want create a copy of these backupset to offsite purpose:
{code}
RMAN> backup backupset 447,448,492 tag='my_backup_offsite' format '/u01/app/offsite/%U';
Starting backup at 03-APR-12
using channel ORA_DISK_1
channel ORA_DISK_1: input backup set: count=17, stamp=779649348, piece=1
channel ORA_DISK_1: starting piece 1 at 03-APR-12
channel ORA_DISK_1: backup piece /u01/app/offsite/0hn7h0a4_1_2
piece handle=/u01/app/offsite/0hn7h0a4_1_3 comment=NONE
channel ORA_DISK_1: finished piece 1 at 03-APR-12
channel ORA_DISK_1: backup piece complete, elapsed time: 00:00:25
channel ORA_DISK_1: input backup set: count=18, stamp=779649393, piece=1
channel ORA_DISK_1: starting piece 1 at 03-APR-12
channel ORA_DISK_1: backup piece /u01/app/offsite/0in7h0bh_1_2
piece handle=/u01/app/offsite/0in7h0bh_1_3 comment=NONE
channel ORA_DISK_1: finished piece 1 at 03-APR-12
channel ORA_DISK_1: backup piece complete, elapsed time: 00:00:03
channel ORA_DISK_1: input backup set: count=19, stamp=779649439, piece=1
channel ORA_DISK_1: starting piece 1 at 03-APR-12
channel ORA_DISK_1: backup piece /u01/app/offsite/0jn7h0cv_1_2
piece handle=/u01/app/offsite/0jn7h0cv_1_3 comment=NONE
channel ORA_DISK_1: finished piece 1 at 03-APR-12
channel ORA_DISK_1: backup piece complete, elapsed time: 00:00:45
Finished backup at 03-APR-12
RMAN> list backupset tag='my_backup_offsite';
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
447 Full 314.02M DISK 00:00:37 03-APR-12
BP Key: 624 Status: AVAILABLE Compressed: NO Tag: MY_BACKUP_OFFSITE
Piece Name: /u01/app/offsite/0hn7h0a4_1_3
List of Datafiles in backup set 447
File LV Type Ckp SCN Ckp Time Name
1 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/system01.dbf
2 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/sysaux01.dbf
3 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/undotbs01.dbf
4 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/users01.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
448 Full 9.36M DISK 00:00:04 03-APR-12
BP Key: 625 Status: AVAILABLE Compressed: NO Tag: MY_BACKUP_OFFSITE
Piece Name: /u01/app/offsite/0in7h0bh_1_3
SPFILE Included: Modification time: 03-APR-12
SPFILE db_unique_name: DBRCV
Control File Included: Ckp SCN: 444147 Ckp time: 03-APR-12
BS Key Size Device Type Elapsed Time Completion Time
492 300.38M DISK 00:00:26 03-APR-12
BP Key: 626 Status: AVAILABLE Compressed: NO Tag: MY_BACKUP_OFFSITE
Piece Name: /u01/app/offsite/0jn7h0cv_1_3
List of Archived Logs in backup set 492
Thrd Seq Low SCN Low Time Next SCN Next Time
1 16 234488 30-MAR-12 261258 31-MAR-12
1 17 261258 31-MAR-12 286957 31-MAR-12
1 18 286957 31-MAR-12 303448 31-MAR-12
1 19 303448 31-MAR-12 329357 01-APR-12
1 20 329357 01-APR-12 351967 01-APR-12
1 21 351967 01-APR-12 375454 02-APR-12
1 22 375454 02-APR-12 409423 02-APR-12
1 23 409423 02-APR-12 443037 03-APR-12
1 24 443037 03-APR-12 443868 03-APR-12
1 25 443868 03-APR-12 443928 03-APR-12
1 26 443928 03-APR-12 444188 03-APR-12
RMAN>
{code}
When you perform restore you can use the tag='my_backup_offsite'.
This files belong a same policy of "configure retention policy ... " of RMAN. So, this files will be obsolete when it is out the policy.
Hope this helps,
Levi Pereira -
How to see all sides of an array
I have this code:
ColoringAttributes coloringattributes=new ColoringAttributes(color,1);
appearance.setColoringAttributes(coloringattributes);
points[0] = new Point3f(-0.5f, -0.9f, -0.5f);
points[1] = new Point3f( 0.5f, -0.9f, -0.5f);
points[2] = new Point3f( 0.5f, -.25f, 0.5f);
points[3] = new Point3f(-0.5f, -.25f, 0.5f);
quad.setCoordinate(0, points[0]);
quad.setCoordinate(1, points[1]);
quad.setCoordinate(2, points[2]);
quad.setCoordinate(3, points[3]);
Vector3f normal2 = new Vector3f(0.0f, 0.0f, 1.0f);
quad.setNormal(0, normal);
quad.setNormal(1, normal2);
quad.setNormal(2, normal);
quad.setNormal(3, normal2);
setGeometry(quad);
setAppearance(appearance);and with this I can only see one side of the array and I want to see both
Edited by: powerbronx on Apr 6, 2009 7:30 AMcreate an Appearance app.
create PolygonAttributes.
polygonAtt.setCull(PolygonAttribute.CULL_NONE);
app.setPolygonAttributes(polygonAtt);
and set the appearance to your shape3D...
should work... -
How to put all contacts in gmail
I am facing issues while emoving contacts to gmail, I can see my contacts backup in live.com but need that list in gmail as well. When I export contacts in csv then due to number pattern issues some of my contacts gets changed to exponential number or if they have a 0 at start then it get removed.
I want to put contacts list as it is of my phone to gmail.
Using phone Nokia Lumia 800Strange. I did the same but just the other way around. Took CSV file from my Windows Live and and put it to my Google account in order to be able to use them with my Android phone. Works OK.
I've never tried to transfer Google account contacts to Windows Live but maybe I should experiment with that as well in order to find out whether it's acting the way you described -
Hi fellow apple munchers, I need to keep my personal contacts off iCloud and separated from my work ones which I'd like to share on iCloud with workmates but I can't find an option to do that, please help!
Hello App Muncher,
Welcome to the Apple Support Communities. This can be done by having the contacts imported into iCloud that you want, the following up with a sync with iTunes for the personal contacts. You can import the contacts directly into the iCloud website. The first article will go over importing the contacts into iCloud.com.
iCloud: Import a vCard
http://support.apple.com/kb/PH3605
These articles will go over the contact sync with iTunes depending on your Operating System.
iTunes 11 for Mac: Sync contacts, calendars, and other info with iPod, iPhone, or iPad
http://support.apple.com/kb/PH12117
iTunes 11 for Windows: Sync contacts, calendars, and other info with iPod, iPhone, or iPad
http://support.apple.com/kb/PH12317
Regards,
-Norm G. -
How do I put all the episodes from a TV show into one iTunes folder?
Can someone tell me how to put all the episodes from a TV show into one folder? I'm not sure how I did this, but while converting my dvd's to digital on my computer, one TV show (Firefly) created one folder with the Firefly name, and within that folder are all the episodes. I've tried to recreate this with MASH, but it just puts each episode into the TV library. This gets very messy with alot of different TV shows. Help! Thanks!!
In principle TV Shows are grouped on the Show field and within a show sub-grouped on Season No. In practice recent builds of iTunes and/or Apple TV firmware seem to be taking account of Album, Artist & Album Artist in certain views. For consistency I would suggest the following approach:
Show = Album = <Show Name>
e.g. "30 Rock"
Artist = Album Artist = <Show Name> Cast (or something like that)
e.g. "30 Rock Cast"
Season No. = <Season No.> or <Blank> (Separate seasons or all listed together)
e.g. 1-3
Episode ID = s##e## (This field, sorted alphabetically, controls order)
e.g. s01e01 - s03e58 (use s##e### when >99 episodes)
Episode No. = Track No. = <Absolute Episode No.>
(Can also be per season, but abs. is better) e.g. 1 - 58
Disc No. = <Season No.> (Can be set even if merging seasons)
e.g. 1-3
Taking this approach you can always merge or split into individual seasons simply by clearing or setting the Season No. field.
For general tips on organizing media in iTunes see Grouping tracks into albums.
tt2 -
How to put some space b/w two components in panelGrid
Hi,
Can any one tell me how to put some space between two components in a panelgrid.I am trying to put between the components in panelGrid,but it is not allowing me.
I tried by putting <div> tags also...I am getting space on the top of the panelGrid...
please tell me.
ThanksApply CSS. Make use of the margin/padding properties.
If you never heard of CSS, start here: http://www.google.com/search?q=css+tutorial
It's one of the essential knowledges (near HTML/JS/DOM) for webdevelopment. -
So i have a mac book air. And i am trying to type a paper but none of the tools are on m document for easy access. I have to go in and try to change everything under the settings manual. I was wondering how i put all of the easy acces tools such as font spacing and styles all on the front part of my screen not up at the top menu area. I just want it where its suppossed to be not hidden. How do i do that? Thanks.
Thank you so much
Kiss Kiss Kiss Kiss
Life saver
Best wishes and Many thanks
Samantha -
How to put links (name anchors) in a dynamic generated page
I have a page (results.asp) that gets dynamically generated
from a db using a DW and MySQL app. The page (a table) looks
sometihng like this:
Year Card #
1951 01
1951 02
1951 03
1952 01
1952 02
1953 01
1953 02
1953 03
and so on
I've made the "Year" column a text link and added a Pop-Up
Menu behavior so that users could select a year and jump directly
to a specific section of the page (table). However, I'm not sure
how to put a <a href> name anchor in for each of the years.
For instance calling :
<a name="1951">1951</a>
from a declaration of:
<a href="#1951">Go to year 1951</a>
I would want to call each year (1951, 1952...1973) using name
anchors. But again, I'm not sure how to put all the named anchors
in a document that gets dynamically generated. It is a a table that
gets its data generated via a Repeated Region. Hope this question
makes sense. Any suggestions/comments appreciated. Thanks.If you year card allways follows that format then you could
use the
following code on the page.
Outside of the repeat region have this statement
<%
Dim TestYear, CurrentYear, ThisYearCard
TestYear = "0000"
%>
Then in the repeat region where you want the anchor to appear
use this code
<%
ThisYearCard = recordset.fields.item("YearCard").value
CurrentYear = Left(ThisYearCard, 4)
If TestYear <> CurrentYear then
response.write("A name='") & CurrentYear & "'>"
TestYear = CurrentYear
End if
%>
Where you want the Year card to appear you would then use
<%=ThisYearCard%>
rather than the recordset element.
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"obcbeatle" <[email protected]> wrote in
message
news:e67pg5$rp0$[email protected]..
>I have a page (results.asp) that gets dynamically
generated from a db using
>a
> DW and MySQL app. The page (a table) looks sometihng
like this:
>
> Year Card #
> 1951 01
> 1951 02
> 1951 03
> 1952 01
> 1952 02
> 1953 01
> 1953 02
> 1953 03
> and so on
>
> I've made the "Year" column a text link and added a
Pop-Up Menu behavior
> so
> that users could select a year and jump directly to a
specific section of
> the
> page (table). However, I'm not sure how to put a <a
href> name anchor in
> for
> each of the years. For instance calling :
>
> <a name="1951">1951</a>
>
> from a declaration of:
>
> <a href="#1951">Go to year 1951</a>
>
> I would want to call each year (1951, 1952...1973) using
name anchors.
> But
> again, I'm not sure how to put all the named anchors in
a document that
> gets
> dynamically generated. It is a a table that gets its
data generated via a
> Repeated Region. Hope this question makes sense. Any
> suggestions/comments
> appreciated. Thanks.
>
Maybe you are looking for
-
My iphone battery died and on charging the phone it asked me to connect to itunes and restore the phone. If i restore the phone how can i get my data back and how can i check when i last backed up my phone
-
Having the '\' character in a string
I get errors when I try to construct a string, say like this: String blahblah = new String("IBM\ROOT\IMAGE"); Basically it seems like I can't store that '\' character in a string at all. Is this true? Thanks in advance.
-
Direct materials in classic scenario - any restriction in backend?
Dear SAP gurus, I have read that when we use classic scenario, procurement for direct materials actually using extended classic. But as per SRM 7 EHP 2 the true classic PO (leading PO in ECC) now possible. I just want to confirm is there any restrict
-
Why does the organizer no longer recognize my camera when I try to download?
Why does Photoshop Elements Organizer no longer recognize my camera when I try to download? Is there a new way to downolad?
-
Hi all, I'd be greatful if anyone of you could guide me for the bapi, Is there is any bapi for knvv table text. In KNVV table we have four fields (VKBUR, VKGRP, KVGR1, KVGR2) and the related text we can get in table TVKBT TVGRT TVV1T TVV2T. plz tell