At least one certficate has expaired
HI experts,
i have installed NetWeaver 2004s server and when i try to start the J2ee instance
server0 process is never come up and it is giving exit code -1 in the alrests i am
getting an error message ' at least one certficate has expaired'
what could be reason.
any suggestion wiuld be appriciated
With Regards
Shobhan
just create a summary column (and a formula column that returns 1 or 0 or define you checkbox to be 1- checked, else - 0).
regards
Similar Messages
-
Can't print a photo. When I select print it comes up with the error message "No available themes" There were no themes located. Until at least one theme has been installed, this feature will be unavailable. ugh. Uploaded latest update but it still doesn't work. Was going to try and load the software again but can't find the source as a download.
Cheers,
PapasailorYOu need to reinstall iPhoto.
To re-install iPhoto
1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
2a: On 10.5: Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
2b: On 10.6: Those receipts may be found as follows: In the Finder use the Go menu and select Go To Folder. In the resulting window type
/var/db/receipts/
2c: on 10.7 or later they're at
/private/var/db/receipts
A Finder Window will open at that location and you can remove the iPhoto pkg files.
3. Re-install.
If you purchased an iLife Disk, then iPhoto is on it.
If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
If you purchased it on the App Store or have a Recent Mac you can find it in your Purchases List. -
After years of no problems I sddenly can't print photos. When I select print I get the message "There are no themes located. Until at least one theme has been installed this feature will be unavailable. What are themes? How do I install them? Why has this problem suddenly arisen?
Re-installing does not affect your Library in any way. You don't delete it, only the app.
To re-install iPhoto
1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
2a: On 10.5: Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
2b: On 10.6: Those receipts may be found as follows: In the Finder use the Go menu and select Go To Folder. In the resulting window type
/var/db/receipts/
2c: on 10.7 they're at
/private/var/db/receipts
A Finder Window will open at that location and you can remove the iPhoto pkg files.
3. Re-install.
If you purchased an iLife Disk, then iPhoto is on it.
If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
If you purchased it on the App Store or have a Recent Mac you can find it in your Purchases List.
Regards
TD -
I have been using IPhoto for three years. Now I cannot print a photo because I get this message: "There were no themes located. Until at least one theme has been installed, this feature will be unavailable."
You need to reinstall iPhoto. To do so you'll have to delete the current application and all files with "iPhoto" in the file name with either a .PKG or .BOM extension that reside in the:
HD/Library/Receipts folder (10.5 and earlier)
or from the /var/db/receipts/ folder (10.6) .
or from the /private/var/db/receipts folder (10.7 or later)
Then install iPhoto from the source it came from originally.
OT -
When I select a photo to print from I Photo the following msg appears " There were no themes located. Until at least one theme has been installed, this feature will be unavailable " What procedure is required to install a theme to print photos?
To re-install iPhoto
1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
2a: On 10.5: Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
2b: On 10.6: Those receipts may be found as follows: In the Finder use the Go menu and select Go To Folder. In the resulting window type
/var/db/receipts/
2c: on 10.7 they're at
/private/var/db/receipts
A Finder Window will open at that location and you can remove the iPhoto pkg files.
3. Re-install.
If you purchased an iLife Disk, then iPhoto is on it.
If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
If you purchased it on the App Store or have a Recent Mac you can find it in your Purchases List. -
When i try to print a photo: select photo>file>print a box comes up stating 'no available themes' ' There were no themes located. Until at least 1 theme has been installed this feature will be unavailable'. Mac OS X/10.8.3, iPhoto 9.4.3, HP printer driver up to date. Any suggestions? Thanks.
YOu need to reinstall iPhoto.
To re-install iPhoto
1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
2a: On 10.5: Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
2b: On 10.6: Those receipts may be found as follows: In the Finder use the Go menu and select Go To Folder. In the resulting window type
/var/db/receipts/
2c: on 10.7 or later they're at
/private/var/db/receipts
A Finder Window will open at that location and you can remove the iPhoto pkg files.
3. Re-install.
If you purchased an iLife Disk, then iPhoto is on it.
If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
If you purchased it on the App Store or have a Recent Mac you can find it in your Purchases List. -
Check that at least one variable is set
I have 10 variables/parameters and i want to ensure that at least one of those is not empty/null. What is the best way to check that?
Example of parameters:
p_item_category1 varchar2,
p_item_category2 varchar2,
p_item_category3 varchar2,
p_item_category4 varchar2,
p_item_category5 varchar2,
p_item_category6 varchar2,
p_item_category7 varchar2,
p_item_category8 varchar2,
p_item_category9 varchar2,
p_item_category10 varchar2
Should the best way be as:
if (p1 is not null) or
(p2 is not null) or
(p10 is not null) then
--at least one parameter has value, ok,
else
--all parameters are empty, give error message
This code looks long, is there cleaner* better way to achieve the same?
Maybe there is a system function "AtLeastOnInSetIsNotNull", something like
if AtLeastOnInSetIsNotNull(p1,p2,..,p10) then...
That would be more handful.Seems like coalesce is even better, thx.
declare
p1 varchar2(1) := null;
begin
dbms_output.PUT_LINE(coalesce(null,'1',null,'2'));-- outputs: 1
if coalesce(null,p1,null,null) is null then
dbms_output.PUT_LINE('all parameters are null');--outputs: all parameters are null
end if;
end; -
I am using an iPad.
In iCal, whenever I try to turn to the month of March, the app closes.
I know of at least one other person who has had the same problem.
Has anyone had a similar experience and know of any solution?Chiave2,
Why does the month March 2013 not show...: Apple Support Communities, and Why can I NOT select March 2013 Month...: Apple Support Communities may provide you with a solution for your problem. -
Our Forums' FICO High Achievers: Who has at least one FICO Score of 760 or above?
I've noticed that some Forum members have improved their scores, and now have at least one FICO score of 760 or above. Others, have had 760+ scores longer. This is not a contest or competition to see who has the highest FICO scores. Rather, I'd like to see which Forum members are FICO High Achievers. Who has at least one FICO Score of 760 or above?
Message Edited by psychic on 04-02-2008 02:59 AMGood thread Psy, I have been close monitoring this forum in hoping to one day reach 800. From my previous posts, my fico scores been from mid 650's to now 750-760 on TU,EX, and EQ. These changes reflect from only a month that I started to monitor my scores. Since 650's, a month ago, I have since removed 1 late payment, got my util to down to 14% with activities showing on 9 out of 16 c.c.'s, and finished my payment on a leased car. I took a 10 point loss on TU, 6 point loss on EX and 4 point loss on EQ for using a zero balance c.c. few weeks back. Just wondering tho, if I got my util to 1-3%, what kind of increase I could see on my scores...I did the simulator but the point increase doesn't seem to be accurate since it doesn't take in to consideration that I will have most of my c.c. reporting a zero balance except for 1 or 2 accounts so I can maximize my points. I still have a c.c. from BofA that I opened up last September that shows as new account but I'm hoping that it will be removed from the negative factor to boost me up in few more points... I just want to be safely over 760's to maximize my interest when I'm ready to buy my first house. But 800+ would be just dandy.
-
Hi, I'm using SP13 and InfoPath2013.
I created a custom form and published it to SP13 document library. This form has many MSLB. Depending on the checkboxes selected in the 1st MSLB, the other MSLB will either hide or show. Each MSLB is in its own section. The requirement
is to have each MSLB to have at least one checkbox selected. Well, the problem is that when that MSLB isnot checked in the 1st MSLB it is not visible and shouldn't require any checkbox to be selected. However, the form can't get submitted instead
an error dialog would pop up and ask user to make a selection for MSLB that is not even displayed. Is there any way to fix this besides unchecking all MSLB to be not required at least one selection? Thank you.Eric,
I follow your reply post here and still doesn't work. I also noticed your screen shot of selecting a field is not the same as what I see in InfoPath 2013.
Here is what I did,
1.Check At least one selection required for
these Multiple-selection List Boxes
as you want .
2.Create a Formatting rule for the 2nd
Multiple-selection List Box.
3.Add a Condition as below:
4. I get a validation error if I don't
select at least one checkbox in the hidden MSLB control when submitting.
I think I'm following all the steps correctly
but please let me know if I'm not. -
I cannot find a photo I did a lot of work to create. I have several libraries that look similar but I found at least one photo that was in one and not the others. Can someone tell me if I can merge these libraries, and how, and what to watch for that might cause problems.
the paid version of iPhoto library manager can merge libraries safely
Why do you have several libraries? Why are you not just using the one that has what you want?
LN -
Hi all,
I'm getting really frustrated by this Access error. It happens when I export the result of a query through an Access macro to Excel, the first time it runs well but the next time, there is a chance that the query won't run and the error "Query
must have at least one destination field" will be displayed. After that, I try to check the query SQL code and discover the code has vanished. I'm using simple Select query without joins, only "where", "group by" and "order by"
statements.
Thank you in advance for your help,
Jesus
Edit:
One of these queries are like the following (all of them are of this type):
SELECT Field1, field2, field3, field4, field5, Sum(Field6) AS SumOfField6, Sum(Field7) AS SumOfField7
FROM Table1
WHERE Field6 is not null
GROUP BY Field1, field2, field3, field4, field5
Order By Sum(Field6) descHi Peter,
Thank you for your response, I updated the original question with one of the codes.
Thanks,
Jesus -
Deployment exception : The deployment of at least one item aborted
Hello Everybody,
I am getting error in deploying any applications on WAS server.
It gives me following error.
just one application . other applications is OK
Help, anyone?
2009-6-26 17:47:32 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[005]Deployment aborted
Settings
SDM host : JT-PLDEV
SDM port : 50018
URL to deploy : file:/C:/DOCUME1/perplpe/LOCALS1/Temp/temp57144FI_SEARCH_BXD.ear
Result
=> deployment aborted : file:/C:/DOCUME1/perplpe/LOCALS1/Temp/temp57144FI_SEARCH_BXD.ear
Aborted: development component 'FI_SEARCH_BXD'/'local'/'LOKAL'/'0.2009.06.26.17.47.22'/'0':Caught exception during application deployment from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Cannot deploy application local/FI_SEARCH_BXD.. Reason: Exception during generation of components of application local/FI_SEARCH_BXD in container webdynpro.; nested exception is: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application local/FI_SEARCH_BXD in container webdynpro. (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Deployment exception : The deployment of at least one item aborted
2009-6-26 17:35:20 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
[004]Additional log information about the deployment
<!LOGHEADER[START]/>
<!HELP[Manual modification of the header may cause parsing problem!]/>
<!LOGGINGVERSION[1.5.3.7185 - 630]/>
<!NAME[/usr/sap/TD1/JC00/SDM/program/log/sdmcl20090626093509.log]/>
<!PATTERN[sdmcl20090626093509.log]/>
<!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
<!ENCODING[UTF8]/>
<!LOGHEADER[END]/>
Jun 26, 2009 5:35:09 PM Info: -
Starting deployment -
Error handling strategy: OnErrorStop
Prerequisite error handling strategy: OnPrerequisiteErrorStop
Update strategy: UpdateAllVersions
Starting deployment prerequisites:
Loading selected archives...
Loading archive '/usr/sap/TD1/JC00/SDM/program/temp/temp57143FI_SEARCH_BXD.ear'
Selected archives successfully loaded.
Actions per selected component:
Update: Selected development component 'FI_SEARCH_BXD'/'local'/'LOKAL'/'0.2009.06.26.17.35.09'/'0' updates currently deployed development component 'FI_SEARCH_BXD'/'local'/'LOKAL'/'0.2009.06.26.17.17.23'/'0'.
Ending deployment prerequisites. All items are correct.
Saved current Engine state.
Starting: Update: Selected development component 'FI_SEARCH_BXD'/'local'/'LOKAL'/'0.2009.06.26.17.35.09'/'0' updates currently deployed development component 'FI_SEARCH_BXD'/'local'/'LOKAL'/'0.2009.06.26.17.17.23'/'0'.
SDA to be deployed: /usr/sap/TD1/JC00/SDM/root/origin/local/FI_SEARCH_BXD/LOKAL/0/0.2009.06.26.17.35.09/temp57143FI_SEARCH_BXD.ear
Software type of SDA: J2EE
Begin of SAP J2EE Engine Deployment (J2EE Application) *****
Begin of log messages of the target system:
09/06/26 17:35:12 - ***********************************************************
Start updating EAR file...
start-up mode is lazy
- EAR file updated successfully for 237ms.
- Start updating...
- EAR file uploaded to server for 823ms.
- ERROR: Not updated. Deploy Service returned ERROR:
java.rmi.RemoteException: Cannot deploy application local/FI_SEARCH_BXD..
Reason: Exception during generation of components of application local/FI_SEARCH_BXD in container webdynpro.; nested exception is:
com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application local/FI_SEARCH_BXD in container webdynpro.
at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:683)
at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1278)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:219)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application local/FI_SEARCH_BXD in container webdynpro.
at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:406)
at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)
at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:164)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3186)
at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:671)
... 10 more
Caused by: java.lang.NullPointerException
at com.sap.engine.services.webdynpro.util.Procedures.switchio(Procedures.java:40)
at com.sap.engine.services.webdynpro.ArchiveParser.extractEntry(ArchiveParser.java:127)
at com.sap.engine.services.webdynpro.ArchiveParser.process(ArchiveParser.java:101)
at com.sap.engine.services.webdynpro.PApplication.process(PApplication.java:170)
at com.sap.engine.services.webdynpro.WebDynproContainer.deploy(WebDynproContainer.java:949)
at com.sap.engine.services.webdynpro.WebDynproContainer.makeUpdate(WebDynproContainer.java:1281)
at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:400)
... 16 more
For detailed information see the log file of the Deploy Service.
09/06/26 17:35:15 - ***********************************************************
Jun 26, 2009 5:35:15 PM Info: End of log messages of the target system.
Jun 26, 2009 5:35:15 PM Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
Jun 26, 2009 5:35:15 PM Error: Aborted: development component 'FI_SEARCH_BXD'/'local'/'LOKAL'/'0.2009.06.26.17.35.09'/'0':
Caught exception during application deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Cannot deploy application local/FI_SEARCH_BXD..
Reason: Exception during generation of components of application local/FI_SEARCH_BXD in container webdynpro.; nested exception is:
com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application local/FI_SEARCH_BXD in container webdynpro.
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Jun 26, 2009 5:35:15 PM Info: Starting to save the repository
Jun 26, 2009 5:35:17 PM Info: Finished saving the repository
Jun 26, 2009 5:35:17 PM Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
Jun 26, 2009 5:35:17 PM Error: -
At least one of the Deployments failed -
Edited by: Gavin Zheng on Jun 26, 2009 6:16 PM
Edited by: Gavin Zheng on Jun 26, 2009 6:16 PM
Edited by: Gavin Zheng on Jun 26, 2009 6:17 PMHi,
1) Please check if J2EE engine is up or not. Please make sure that its up and running.
2) Please close the project, NWDS and then again open NWDS, project. Deploy the application.
3) Contact your BASIS consultant and explain the problem to him. Many time, BASIS consultant do carry out some BASIS activities and at that time you get this type of error.
4) If nothing works out, get your Portal restarted.
Regards,
Gary -
Inbound idoc error in 51 Status of at least one serial number of item
Dear Experts,
There is one inbound IDOC which is in error with status 51 showing error Status of at least one serial number of item is not allowed.
Can you please advice why this error is coming.
Thanks & Regards,
Nikhil Kanegaonkar.An inbound IDOC in error will have the status 51, & it is marked for deletion it has a status of 68.
http://www.dataxstream.com/2009/10/mass-status-change-sap-idoc/
http://wiki.sdn.sap.com/wiki/display/ABAP/IDoc+Statuses
Edited by: Krupaji on May 6, 2011 2:38 PM -
[AS] How to test the presence of at least one table?
Hello everyone,
I would like to test for the presence of at least one table in a document before starting a process (on edge strokes).
I found this, but I do not know if this is really effective:
set CountOfTables1 to count of tables of every story
set CountOfTables2 to every table of every story
The first gives me a list of the number of table in each story; the second gives me the objects reference of every table.
Is there another way?
TIA.
Oli.Marc
The test I did for nested tables stank (table pasted in rectangle and that rectangle pasted in a table ). It does not work for nested tables
I tested .isValid and it's a lot slower.
Uwe
Yes, I noticed that difference after posting my eeakk comment.
Using slice(0) after the getElements can make a big difference but still the simple length going to be quicker in this case.
Also the getElements without the slice(0) will return "too many elements" if there are to many elements (between 1500 - 15,000).
On the other hand for repeated access of the variable (looping) it's as know normally quicker to use the getElements().slice(0).length than just length
In summary
1) Your anyItem() method is going to be very quick on a document which has a high ratio of stories containing tables.
2) Although your method could and possibly probably be 100 times quicker than mine I would definitely use my method in terms of typing time and space verses the 1/2 second it might save on execution time per 10,000 tables.
3) The only accurate method (in this thread) for counting the tables including nested and footnotes is Marc's Grep method.
So I guess the 3 of us can share first place.
I just wonder if using the same technique as Marc used in our discussion sometime back on nested buttons might get to a quick count than using the Grep method here.
Clearly needs to be repeated on different types of document setups one can try the below
if (!app.properties.activeDocument) {alert ("Really!?"); exit()};
var scriptCount = 1;
// Script 1 table.length
var doc = app.activeDocument,
start = Date.now(),
t = doc.stories.everyItem().tables.length,
finish = Date.now();
$.writeln ("\rtable.length Script (" + scriptCount++ + ") took " + (finish - start) + "ms\r" + ((t) ? t + " Table" + ((t>1) ? "s" : "") : "Diddlysquat"));
// Script 2 getElements
var doc = app.activeDocument;
var start = Date.now();
var t = doc.stories.everyItem().tables.everyItem().getElements().length;
var finish = Date.now();
$.writeln ("\rgetElements Script (" + scriptCount++ + ") took " + (finish - start) + "ms\r" + ((t) ? t + " Table" + ((t>1) ? "s" : "") : "Diddlysquat"));
// Script 3 getElements.slice(0)
var doc = app.activeDocument;
var start = Date.now();
var t = doc.stories.everyItem().tables.everyItem().getElements().slice(0).length;
var finish = Date.now();
$.writeln ("\rgetElements.slice(0) Script (" + scriptCount++ + ") took " + (finish - start) + "ms\r" + ((t) ? t + " Table" + ((t>1) ? "s" : "") : "Diddlysquat"));
// Script 4 isValid
var start = Date.now();
var t = doc.stories.everyItem().tables.everyItem().isValid;
var finish = Date.now();
$.writeln ("\risValid Script (" + scriptCount++ + ") took " + (finish - start) + "ms\rThe document contains " + ((t) ? "tables" : "no tables"));
// Script 5 Marc's Grep
var start = Date.now();
var t = countTables();
var finish = Date.now();
$.writeln ("\rMarc's Grep Script as said only accurate one but slow (" + scriptCount++ + ") \rtook " + (finish - start) + "ms\r" + ((t) ? t + " Table" + ((t>1) ? "s" : "") : "Diddlysquat"));
// Script 6 very lot of anyItem
var start = Date.now();
var myResult = atLeastOneTableInDoc(app.documents[0]);
var finish = Date.now();
$.writeln ("\rUwes Anyone for Bingo Script (" + scriptCount++ + ") took " + (finish - start) + "ms\rThe document contains " + ((myResult) ? "tables" : "no tables"));
// Script 7 anyItem length
var start = Date.now();
var myResult = detectATable();
var finish = Date.now();
$.writeln ("\ranyItem length Script (" + scriptCount++ + ") took " + (finish - start) + "ms\rThe document contains " + ((myResult) ? "tables" : "no tables"));
// Script 8 anyItem elements length
var start = Date.now();
var myResult = detectATable2();
var finish = Date.now();
$.writeln ("\ranyItem elements length Script (" + scriptCount++ + ") took " + (finish - start) + "ms\rThe document contains " + ((myResult) ? "tables" : "no tables"));
//FUNCTION USING anyItem() EXTENSIVELY:
function atLeastOneTableInDoc(myDoc){
var myResult = 0;
if(myDoc.stories.length === 0){return myResult};
var myStories = myDoc.stories;
//LOOP length == length of all Story objects
//using anyItem() for checking length of Table objects
for(var n=0;n<myStories.length;n++){
if(anyStory = myStories.anyItem().tables.length > 0){
myResult = 1;
return myResult;
//FALL-BACK, if anyItem() will fail:
//EDIT: if(!myResult){
for(var n=0;n<myStories.length;n++){
if(myStories[n].tables.length > 0){
myResult = 2;
return myResult;
//EDIT: };
return myResult;
}; //END function atLeastOneTableInDoc(myDoc)
function detectATable(){
s=app.documents[0].stories;
if(s.anyItem().tables.length){
return true; // Bingo
for(var n=0;n<s.length;n++){
if(s[n].tables.length) return true
return false
function detectATable2(){
s=app.documents[0].stories;
if(s.anyItem().tables.length){
return true; // Bingo
var sl = app.documents[0].stories.everyItem().getElements().slice(0);
for(var n=0;n<s.length;n++){
if(s[n].tables.length) return true
return false
function countTables()
app.findTextPreferences = null;
app.findTextPreferences.findWhat = "\x16";
var t = app.properties.activeDocument||0;
return t&&t.findText().length;
P.s.
Marc,
A bit of homework. I didn't test it on the above but I found the your highRes function trimmer seems to have a large favoritism to the first function to compare.
I was testing 2 prototypes and swapping the order swapped the result. One can make the prototypes the same and see the time difference.
Maybe you are looking for
-
Request vs Actual Start Date in Scheduler Jobs
Hi, I want to run a PL/SQL block, all days, at 1:00 AM I've defined the following scheduler job, in a new (and empty) Job Class: <font face="Courier New"> SQL> select job_name, repeat_interval, job_class, job_priority from dba_scheduler_jobs where jo
-
BI Idoc Type IS NOT THE SAME AS SOURCE SYSTEM IDOC TYPE
Hi all, how can we solve the IDoc miss match in source system (ECC6). Error : BI Idoc Type ZSTC029 IS NOT THE SAME AS SOURCE SYSTEM IDOC TYPE ZSTC031 please provide me solutions.. Thanks in advance, Venkatesh
-
I click to open the mail application but it never opens. After waiting a few minutes the amount of notifications I have is shown on the icon but it still won't open. Mail worked fine on my mac until I updated to Mavericks. Please help!! I've alrea
-
Avoiding server duplication of the same picture used in multiple pages
I've scanned hundreds of family slides and would like to share them on iWeb grouped by person (face). I've identified family members with Faces and created Smart Albums for each face grouping. I'm concerned I will have lot of redundancy of the same p
-
HD video is pixelated on a SD DVD in Encore
Hello I've encountered pixelated video taking a HD 1080i clip from Premiere and placing it on a SD DVD. I've tried placing the Premiere content on a SD timeline and scaling it down the video and then exporting it as a SD clip, using the dynamic link