Ask a Question related to Adobe Acrobat Windows, Design and Development.
-
Garrett_Cobarr@adobeforums.com #1
JavaScript? Trying to get a handle on doc.icons -Issue 1
I got this right out of the Acrobat Javascript Ref with the only difference being that I made it a document level function script that I call from the console, they just typed the whole thing in the console.
//list all named icons for doc
function getIconList()
{
for (var i = 0; i < this.icons.length; i++) { console.println("icon[" + i + "]=" + this.icons[i].name); } }
But I got this error...
getIconList()
TypeError: this.icons has no properties
4:Document-Level:getIconList
undefined
Isn't 'this' kosher at the document level in reference to the doc object?
Garrett_Cobarr@adobeforums.com Guest
-
Help!! Little yellow javascript icons
Can anyone help me with this problem... there are little yellow javascript icons that I can't delete from the page in contribute it just keeps... -
TreeItemRenderer and Icons Issue
Hi, i'm having the following problem with my custom TreeItemRenderer. I have 3 kinds of nodes. Company (tipo = 0), User (Tipo = 1) and... -
View Menu selection options (Large icons, Small icons, List, Details or Thumbnails)
In the View Menu option of the File Save or File Open menus (4th icon to the right of the Save In or Look In drop-down boxes) Acrobat 5.0 gives you... -
PHP/Javascript issue
hi, I wrote the following code to display thumbnails of all images in a certain folder ($rep). clicking on the image should open a popup in full... -
Tool Palette Icons Won't Show Additional Icons
Have deleted Preferences file for PS 7, uninstalled and reinstalled the program and still I can't see any of the icons below the ones on top. Other... -
George_Johnson@adobeforums.com #2
Re: JavaScript? Trying to get a handle on doc.icons -Issue 1
If there are no icons in the PDF then you will get that error. Before you attempt to use the icons object, you should check to make sure it returns somthing other than null.
George
George_Johnson@adobeforums.com Guest
-
Garrett_Cobarr@adobeforums.com #3
Re: JavaScript? Trying to get a handle on doc.icons -Issue 1
Thanks George! Now I am not chasing that ghost.
Garrett_Cobarr@adobeforums.com Guest



Reply With Quote

