Javascript code to retrieve metadata - must run twice to work
Hi all
This is frustrating the hell out of me. I've got a script to batch add headers/footers (via watermarks) to a range of pdf documents by using the respective document's metadata (title, subject).
Checked everything: Script running ok, metadata all there and fine.
However - I need to run the script twice in order for the metadata to be processed. What I mean: I open a given document, run the script on it and the metadata is not displayed in the header/footer. Save the document and close. I then run the script on the same document again and all works fine, i.e. the metadata title is displayed in the header and the metadata subject is displayed in the footer. Driving me nuts.
What am I **** wrong? How can I get this to work on the first run? Guessing it might have to do with some specific form of variable declaration or pre-parsing the metadata?!
Script below (please not, I've also tried declaring 2 variables and assigning the metadata title & subject to them, then calling those variables in the watermark statements ... same result):
/* Batch Header - DocProp Title */
var i = 0
this.addWatermarkFromText({
cText: this.info.title,
nTextAlign: app.constants.align.center,
cFont: "Century Gothic",
nFontSize: 8,
nHorizAlign: app.constants.align.center,
nVertAlign: app.constants.align.top,
nHorizValue: 10, nVertValue: -10,
nScale: -1
this.addWatermarkFromText({
cText: "Q-Pulse Id " + this.info.Subject,
nTextAlign: app.constants.align.left,
cFont: "Century Gothic",
nFontSize: 8,
nHorizAlign: app.constants.align.left,
nVertAlign: app.constants.align.bottom,
nHorizValue: 20, nVertValue: 10
this.addWatermarkFromText({
cText: "Active 10/12/2014",
nTextAlign: app.constants.align.center,
cFont: "Century Gothic",
nFontSize: 8,
nHorizAlign: app.constants.align.center,
nVertAlign: app.constants.align.bottom,
nVertValue: 10
Hope someone can help with this. Guessing it's something simple code related that I'm not aware of - I'm a complete novice.
My guess is your watermarks are overwriting one another, as they are all
saved under an OCG with the same name. Try flattening the page after adding
them, or use a different method, like a form field or an annotation.
Similar Messages
-
Must run twice for daq to work
I have an application I am working on that is giving some minor problems. When I first boot up the computer, it doesn't seem the DAQ is working at initial startup. I am using a Daqpad 6016 (I think that is the model, it is the USB daq) and have some digital outs that should turn on some units under test whent he program first runs. It doesn't turn them on. If I stop the program, and restart it, it works fine, it just doesn't work on the initial startup. After that, it works again, until I reboot the computer, than I have to go through that again.
Unfortunately, I don't have the code on this computer, so I can't do that right now, although I'm not sure what screen capture to send, as it is a pretty large project. Let me try to describe further what my program does.
When started, it pops up a couple of boxes for user input, basically setting up the test (each box is its own sub vi, and no data aquistion is involved). From there, it moves on to another sub vi which powers up my units that will be tested with the software. That vi (at least to this point) only contains a DAQmx write to a digital channel (setting to true) which turns on a relay supplying power to my UUTs. At that point, none of the UUTs turn on (and the digital line never goes high either). If I stop the program, and restart it from there, it works fine.
All that said, when you talk about initializing the DAQ, I wasn't aware there was anything to initialize. All I am doing is using a DAQmx write with a task created in the Measurement Explorer (or whatever its called). -
PLSQL code in a javascript code
Can i write the PLSQL code in a javascript code?
Actually i want to pass a value into a PLSQL code. First in javascript code i have to read a value of page item :PX_ITEM, then i have to pass that value in PLSQL code.Can i write the PLSQL code in a javascript code?No.
PL/SQL runs in the database on the server. JavaScript runs in the browser on the client. Never the twain shall meet.
Passing values between them requires a page submit or AJAX call. -
SPItemEventReceiver ItemAdded running twice
I have searched the web to find a way to start workflows on items created by anonymous users. The consensus seems to be to create an event receiver fired on the ItemAdded event. I have managed to get my code to cancel the workflow created by the anonymous
user and then start the workflow as the system admin. I do this with a
RunWithElevatedPrivileges section.
I noticed when debugging that for some reason the code inside the ItemAdded event runs twice. This was having the effect of creating two instances of the workflow when I was starting the workflow synchronously. When I changed it to Asynchronous it creates
an instance and then throws an exception when trying to create a second instance. So at least this gives me my desired effect of just having one instance of workflow started. But I would like to know why it fires twice and how I can stop it.
site.WorkflowManager.StartWorkflow(item, wf, string.Empty, SPWorkflowRunOptions.Asynchronous);
Any ideas/help greatly appreciated.Hi,
Theoretically it's not possible to create the same list item twice. Can you check the list item id? Are their IDs same for first and second ItemAdded event? Also does the workflow creates another list item, which might cause to fire Item Add event again?
Are you trying to run SharePoint 2013 workflow or SharePoint 2010? As I know you can't use RunWithElevatedPrivileges to run SharePoint 2013 workflow. You need a valid user (not system) account. Possibly you can try to use 'app step' as described at
http://msdn.microsoft.com/en-us/library/office/jj822159(v=office.15).aspx. As described in he link:
You need to create an app-level permission (full control)
wrap your code block in 'app step' which will use 'full control' permission irrespective of current logged in user
And it'll work win non-app sites (as long as you have app service application configured)
Thanks,
Sohel Rana
http://ranaictiu-technicalblog.blogspot.com -
Retrieving Java.vendor into Javascript code
Hi, I need to check whether the user has the "Use Java 2 version<??> <applet>" (i.e. is using Sun, rather than Microsoft) checked in advanced options under 'internet options' in IE6.
I tried to do this by using the code examples in this thread to pull back the java.vendor value (see below for html and applet)
However, even if the check box is not ticked, I recieve the Java.vendor value "Sun Microsystems"
However, when I run the following example applet (written by someone else who has managed to pull back system info), I get back the the Java.vendor value of "Microsoft" correctly, when the above box is unchecked, and the value of "Sun Microsystems" when the value is checked. <http://www.codeconduct.com/java/SysInfoDemo/SysViewerDemo.htm>
I also noticed that when I ran my script, the Java symbol pops up in the system tray.
Why the discrepancy? and how can I alter my code to send back the correct java.vendor to my Javascript code.
Thanks for your help
Roger
//////////////DETECTPLUGIN.HTML///////////////////////////////
<HTML>
<HEAD>
<TITLE>Detect Java Runtime</TITLE>
</HEAD>
<SCRIPT LANGUAGE="JavaScript">
var browsername;
function getJava()
var applet = document.myApplet;
if(applet == null)
document.writeln("Java Runtime Environment not installed");
document.writeln("JRE Version: " + document.myApplet.getJavaVersion());
</SCRIPT>
<body onLoad="getJava()">
<OBJECT id="myApplet" classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
WIDTH = 1
HEIGHT = 1 >
<PARAM NAME = CODE VALUE = "DetectPluginApplet.class" >
<PARAM NAME="scriptable" VALUE="true" >
<embed type="application/x-java-applet;version=1.3"
code = DetectPluginApplet width = 2 height = 2 MAYSCRIPT = "true" >
</embed>
</EMBED>
</object>
</BODY>
</HTML>
//////////////////DetectPluginApplet.java/////////////////
import java.awt.*;
public class DetectPluginApplet extends java.applet.Applet
public void init()
add(new Label("DetectPluginApplet"));
public String getJavaVersion()
return System.getProperty("java.vendor");
}I should add that I have Sun's Java 2 Runtime Environment 1.4.0_02 installed on my machine. Also, the checbox in 'advanced options' is under "Java(Sun)"
-
getting Exception: "@Scratchpad/1:1 exception" while running simple javascript code in mozilla scrachpad
Does this also happen if you run the code in the Web Console (Firefox/Tools > Web Developer)?
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
*Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
*Do NOT click the Reset button on the Safe Mode start window
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
How to automatically run javascript code from Captivate 3?
Howdy everyone,
My company uses a custom webpage to display the finished SWF files generated by Captivate 3. This page has menu buttons on the side that link to other videos that are related to the video being watched.
We want to add a little bit of spice to the menu, and highlight the next video in the series after the current SWF has finished playing.
Now I know that Captivate 3 will launch a Javascript code when either a button is pushed, a text box is used, or a clickbox is activated, but we are looking for a way for Captivate 3 to launch a Javascript code apart from user input. Any suggestions?Hi there
One of the options you have available when Captivate finishes playing a movie is to Execute JavaScript. Perhaps use that?
Click Edit > Preferences...
Cheers... Rick
Click here for Adobe Certified Captivate and RoboHelp HTML Training
Click here for the SorcerStone Blog
Click here for RoboHelp and Captivate eBooks -
Hi
I am using Photoshop Elements 6.0 on Windows Vista and I have added Elements+ (http://simplephotoshop.com/elementsplus/index.htm). Now suddenly I cannot launch the Elements+ functionality. I get the error message "Javascript code was missing". Does anyone here have any ideas on where I should start looking for the error? The javascript code for Elements+ is located at
c:\ProgramData\Adobe\Photoshop Elements\6.0\E+\Scripts\
(and probably somewhere else to...)
Best regards,
FredrikIt can be noted that the scripts run as expected when issuing them from the file manager (associating .jsx files with Photoshop Elements). I guess there must be something wrong with paths. Any ideas?
Best regards,
Fredrik -
OS X Yosemite: Finder crashing / running twice
Hi,
Since I upgraded to Yosemite on my MBA mid 2011 Finder keeps crashing every day. Suddenly it stops working. You cannot click on the icon to open a new Finder or you can not empty the trash the message is not appearing.
Sometimes it helps to "killall Finder" via terminal. But it takes forever to restart the Finder.
Today I realized that the Finder is running twice (process overview to kill apo).
Any ideas what happened here?
JJ11/11/14 7:47:52.709 PM com.apple.xpc.launchd[1]: (com.apple.Finder) ThrottleInterval set to zero. You're not that important. Ignoring.
11/11/14 7:48:00.715 PM Finder[318]: lock contention for shared file list item 0x6380001729c0
11/11/14 7:48:00.751 PM Finder[318]: lock contention for shared file list item 0x638000172a80
11/11/14 7:48:00.753 PM Finder[318]: lock contention for shared file list item 0x638000172c00
11/11/14 7:48:00.753 PM Finder[318]: lock contention for shared file list item 0x638000172cc0
11/11/14 7:48:00.755 PM Finder[318]: lock contention for shared file list item 0x638000172e40
11/11/14 7:48:00.803 PM Finder[318]: lock contention for shared file list item 0x638000172f00
11/11/14 7:48:10.583 PM Finder[318]: Can't open input server /Library/InputManagers/CTLoader
11/11/14 7:48:14.014 PM Finder[318]: assertion failed: 14A389: libxpc.dylib + 97940 [9437C02E-A07B-38C8-91CB-299FAA63083D]: 0x89
11/11/14 7:48:17.016 PM Finder[318]: CoreDockSetTrashFull returned error -4956
11/11/14 7:48:19.000 PM kernel[0]: Sandbox: Finder(318) System Policy: deny file-write-unlink /Users/vadik/Library/Saved Application State/com.apple.finder.savedState/restorecount.plist
11/11/14 7:48:20.671 PM Finder[318]: CoreDockSetTrashFull returned error -4956
11/11/14 7:48:23.676 PM Finder[318]: CoreDockSetTrashFull returned error -4956
11/11/14 7:49:49.409 PM Finder[318]: objc[318]: Class ACCFinderObject is implemented in both /Applications/Utilities/Adobe Creative Cloud/CoreSyncExtension/ACCFinderBundleLoader_64.app/Contents/Frameworks/ACCFin derExtension.bundle/Contents/MacOS/ACCFinderExtension and /Applications/Utilities/Adobe Creative Cloud/CoreSyncExtension/ACCFinderBundleLoader_64.app/Contents/Frameworks/ACCFin derInnerExtesion.bundle/Contents/MacOS/ACCFinderInnerExtesion. One of the two will be used. Which one is undefined.
11/11/14 7:49:58.583 PM Google Drive[458]: GsyncAppDeletegate.py : Finder debug level logs : False
11/11/14 7:51:06.320 PM WindowServer[227]: disable_update_timeout: UI updates were forcibly disabled by application "Finder" for over 1.00 seconds. Server has re-enabled them.
11/11/14 7:51:06.368 PM WindowServer[227]: common_reenable_update: UI updates were finally reenabled by application "Finder" after 1.05 seconds (server forcibly re-enabled them after 1.00 seconds)
11/11/14 7:51:13.305 PM WindowServer[227]: disable_update_timeout: UI updates were forcibly disabled by application "Finder" for over 1.00 seconds. Server has re-enabled them.
11/11/14 7:51:15.237 PM WindowServer[227]: common_reenable_update: UI updates were finally reenabled by application "Finder" after 2.93 seconds (server forcibly re-enabled them after 1.00 seconds)
11/12/14 7:14:19.590 AM com.apple.xpc.launchd[1]: (com.apple.Finder) ThrottleInterval set to zero. You're not that important. Ignoring.
11/12/14 7:14:25.046 AM Finder[324]: Can't open input server /Library/InputManagers/CTLoader
11/12/14 7:14:25.741 AM Finder[324]: assertion failed: 14A389: libxpc.dylib + 97940 [9437C02E-A07B-38C8-91CB-299FAA63083D]: 0x89
11/12/14 7:14:29.712 AM Finder[324]: CoreDockSetTrashFull returned error -4956
11/12/14 7:14:32.714 AM Finder[324]: CoreDockSetTrashFull returned error -4956
11/12/14 7:14:35.719 AM Finder[324]: CoreDockSetTrashFull returned error -4956
11/12/14 7:14:38.725 AM Finder[324]: CoreDockSetTrashFull returned error -4956
11/12/14 7:15:11.140 AM Google Drive[444]: GsyncAppDeletegate.py : Finder debug level logs : False
11/12/14 7:15:33.042 AM Finder[324]: objc[324]: Class ACCFinderObject is implemented in both /Applications/Utilities/Adobe Creative Cloud/CoreSyncExtension/ACCFinderBundleLoader_64.app/Contents/Frameworks/ACCFin derExtension.bundle/Contents/MacOS/ACCFinderExtension and /Applications/Utilities/Adobe Creative Cloud/CoreSyncExtension/ACCFinderBundleLoader_64.app/Contents/Frameworks/ACCFin derInnerExtesion.bundle/Contents/MacOS/ACCFinderInnerExtesion. One of the two will be used. Which one is undefined.
11/12/14 7:37:21.306 AM SubmitDiagInfo[448]: Submitted problem report file:///Library/Logs/DiagnosticReports/Finder_2014-11-11-172718_G5.hang
11/12/14 7:37:21.347 AM SubmitDiagInfo[448]: Submitted problem report file:///Library/Logs/DiagnosticReports/Finder_2014-11-11-184341_G5.hang
11/12/14 8:21:55.671 AM Finder[324]: *** remoteObjectProxyWithErrorHandler failed: Error Domain=NSCocoaErrorDomain Code=4097 "Couldn’t communicate with a helper application." (connection to service named com.apple.internetaccounts) UserInfo=0x630000070780 {NSDebugDescription=connection to service named com.apple.internetaccounts}; {
NSDebugDescription = "connection to service named com.apple.internetaccounts";
11/12/14 8:24:11.107 AM Google Chrome[751]: Cannot find function pointer SampleCMPluginFactory for factory 3487BB5A-3E66-11D5-A64E-003065B300BC in CFBundle/CFPlugIn 0x83c79d40 </Users/vadik/Library/Contextual Menu Items/A Better Finder Context Menu.plugin> (not loaded)
Process: dynamiclinkmanager [5355]
Path: /Library/Application Support/Adobe/*/dynamiclinkmanager.app/Contents/MacOS/dynamiclinkmanager
Identifier: com.adobe.dynamiclinkmanager
Version: 6.0.0 (6.0.0)
Code Type: X86 (Native)
Parent Process: ??? [1]
Responsible: dynamiclinkmanager [5355]
User ID: 501
Date/Time: 2014-11-08 15:29:51.218 -0800
OS Version: Mac OS X 10.10 (14A389)
Report Version: 11
Anonymous UUID: 6FC7D8D0-AFED-A5D3-1480-74806996DAC2
Time Awake Since Boot: 21000 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
terminating
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x9035c69e __pthread_kill + 10
1 libsystem_pthread.dylib 0x91f94fd5 pthread_kill + 101
2 libsystem_c.dylib 0x9a4aaefe abort + 156
3 libc++abi.dylib 0x956162f9 abort_message + 169
4 libc++abi.dylib 0x956393a2 default_terminate_handler() + 47
5 libc++abi.dylib 0x95636ac0 std::__terminate(void (*)()) + 14
6 libc++abi.dylib 0x95636b5e std::terminate() + 94
7 com.adobe.dynamiclinkmanager 0x00006714 main + 772
8 com.adobe.dynamiclinkmanager 0x00003c26 start + 54
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x9035d8d2 kevent64 + 10
1 libdispatch.dylib 0x9048973f _dispatch_mgr_invoke + 245
2 libdispatch.dylib 0x904893a2 _dispatch_mgr_thread + 52
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0xa0e426d0 ecx: 0xbffff1fc edx: 0x00000000
edi: 0xa05231d4 esi: 0x00000006 ebp: 0xbffff218 esp: 0xbffff1fc
ss: 0x00000023 efl: 0x00000206 eip: 0x9035c69e cs: 0x0000000b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0xa0e40a00
Logical CPU: 0
Error Code: 0x00080148
Trap Number: 132
Binary Images:
0x1000 - 0x53ff3 +com.adobe.dynamiclinkmanager (6.0.0 - 6.0.0) <182DDE06-F536-C156-6D32-4C0725A3C4E2> /Library/Application Support/Adobe/*/dynamiclinkmanager.app/Contents/MacOS/dynamiclinkmanager
0xe5000 - 0xebff7 +com.adobe.boost_date_time.framework (6.0.0 - 6.0.0.0) <09A2FC8A-015D-10D9-E24E-31E02B370F7F> /Library/Application Support/Adobe/*/dynamiclinkmanager.app/Contents/Frameworks/boost_date_time.fram ework/Versions/A/boost_date_time
0x10b000 - 0x119ff3 +com.adobe.boost_threads.framework (6.0.0 - 6.0.0.0) <E64D388C-A773-3232-BF7C-7A822E5C919D> /Library/Application Support/Adobe/*/dynamiclinkmanager.app/Contents/Frameworks/boost_threads.framew ork/Versions/A/boost_threads
0x13d000 - 0x2f7fef +com.adobe.dvacore.framework (6.0.0 - 6.0.0.0) <7B46AC03-C7A1-4647-C60A-764C1CD2FC43> /Library/Application Support/Adobe/*/dynamiclinkmanager.app/Contents/Frameworks/dvacore.framework/Ve rsions/A/dvacore
0x50d000 - 0x510fff +com.adobe.boost_system.framework (6.0.0 - 6.0.0.0) <FFA9E16A-F75C-0926-6A9A-454E173B2906> /Library/Application Support/Adobe/*/dynamiclinkmanager.app/Contents/Frameworks/boost_system.framewo rk/Versions/A/boost_system
0x518000 - 0x541ff3 +com.adobe.dvamediatypes.framework (6.0.0 - 6.0.0.0) <99FECDBB-2293-8336-9EB9-C5E7903F1006> /Library/Application Support/Adobe/*/dynamiclinkmanager.app/Contents/Frameworks/dvamediatypes.framew ork/Versions/A/dvamediatypes
0x578000 - 0x5d5ffb +com.adobe.dvatransport.framework (6.0.0 - 6.0.0.0) <4EAE9BF9-5CBC-A2C4-2F15-C39E4A178F12> /Library/Application Support/Adobe/*/dynamiclinkmanager.app/Contents/Frameworks/dvatransport.framewo rk/Versions/A/dvatransport
0x655000 - 0x68dfff +com.adobe.dvamarshal.framework (6.0.0 - 6.0.0.0) <75D2CE81-FEED-DD94-3028-AAC6B79A8DAA> /Library/Application Support/Adobe/*/dynamiclinkmanager.app/Contents/Frameworks/dvamarshal.framework /Versions/A/dvamarshal
0x726000 - 0x906fe7 +com.adobe.dynamiclink.framework (6.0.0 - 6.0.0.0) <D57C61FB-C2D2-836D-8AB7-5C2C84B3066B> /Library/Application Support/Adobe/*/dynamiclinkmanager.app/Contents/Frameworks/dynamiclink.framewor k/Versions/A/dynamiclink
0x8fe7e000 - 0x8feb1e03 dyld (353.2.1) <EBFF7998-58E8-32F5-BF0D-9690278EC792> /usr/lib/dyld
0x90008000 - 0x9005efff libc++.1.dylib (120) <D8DE4962-66CD-3491-904E-9291EEE5E570> /usr/lib/libc++.1.dylib
0x9005f000 - 0x90065ff3 libsystem_platform.dylib (63) <509993B7-3F26-3360-B899-0BBB15152516> /usr/lib/system/libsystem_platform.dylib
0x90066000 - 0x900d2ffb com.apple.datadetectorscore (6.0 - 396.1) <77C29022-34D1-3556-95F6-FDBE4576CAF9> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDe tectorsCore
0x900d6000 - 0x901cdfff libFontParser.dylib (134) <95F8F2D1-B28D-3687-95A9-45033FEE0504> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontParser.dylib
0x901ce000 - 0x901cffff libremovefile.dylib (35) <49DCAF7B-4466-3775-9E58-EA5D7CBA8AE0> /usr/lib/system/libremovefile.dylib
0x901d0000 - 0x9022bffb libTIFF.dylib (1231) <14F5E31A-4ABC-3DF7-AB85-9DB406D3613C> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x9022c000 - 0x9022efff libCVMSPluginSupport.dylib (11.0.7) <A87C589A-DA64-3D62-8BDE-065784993B1A> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginS upport.dylib
0x90343000 - 0x90362fff libsystem_kernel.dylib (2782.1.97) <9F86CA37-93FC-31F0-8ACC-53D244AF9EC2> /usr/lib/system/libsystem_kernel.dylib
0x90363000 - 0x903b6ff7 com.apple.HIServices (1.22 - 519) <5B54AB76-C487-367B-ACD5-2AF6BC85E1B9> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x903b7000 - 0x903d6ffb libresolv.9.dylib (57) <C2C3810A-A45E-3375-B41D-6E1BECE1BA3C> /usr/lib/libresolv.9.dylib
0x90427000 - 0x90484ff3 com.apple.print.framework.PrintCore (10.0 - 451) <2563665B-7B7F-3B8A-83B1-E5AC8D389909> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x90485000 - 0x904acfff libdispatch.dylib (442.1.4) <B26A176C-39F7-3362-B128-27B1211068B9> /usr/lib/system/libdispatch.dylib
0x904ad000 - 0x904c4ff3 libLinearAlgebra.dylib (1128) <B20FAAAA-1C76-3B20-B100-5FC90F7FE023> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLinearAlgebra.dylib
0x90e74000 - 0x90e7fff7 com.apple.NetAuth (5.0 - 5.0) <D6C31218-47E4-3553-9208-D1091A81044E> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
0x90f71000 - 0x90f73ff7 libsystem_sandbox.dylib (358.1.1) <12A90EA1-A218-3B6B-A441-E1A8F866FA44> /usr/lib/system/libsystem_sandbox.dylib
0x90f90000 - 0x90f98ffb com.apple.NetFS (6.0 - 4.0) <141BFE7E-634E-32A0-8EC9-0A1A4DFEA7D9> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x90f99000 - 0x910afff7 com.apple.CoreText (352.0 - 454.1) <02F310BE-E185-328C-A461-6D6B762D4A6D> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
0x910b0000 - 0x910b0fff liblaunch.dylib (559.1.22) <2FDDB7A5-C022-3C40-A263-1DC74F0B446D> /usr/lib/system/liblaunch.dylib
0x910b1000 - 0x910b2fff libSystem.B.dylib (1213) <77FA0B3F-4412-31F6-A798-21D068AE16C3> /usr/lib/libSystem.B.dylib
0x91129000 - 0x91129fff libunc.dylib (29) <CE960997-9D4A-3848-BAC7-B2255E6765FD> /usr/lib/system/libunc.dylib
0x911b9000 - 0x911d2fff libsystem_malloc.dylib (53.1.1) <58CD8BC7-55D1-3862-8E5D-728EE2EBE447> /usr/lib/system/libsystem_malloc.dylib
0x911eb000 - 0x91318ff7 com.apple.coreui (2.1 - 305) <8D2978A1-8152-32CB-B265-4C923FDF3017> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x91319000 - 0x9135cfff libGLU.dylib (11.0.7) <3519CD46-386A-3702-A5EE-AE59923C5AA7> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x91381000 - 0x91383ffb libRadiance.dylib (1231) <2F86BE82-404D-335C-B83E-F71D3C4969B8> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.d ylib
0x9143e000 - 0x91444ff7 libsystem_trace.dylib (72.1.3) <E1985F9C-78FC-3098-8683-81F0DCEE54BB> /usr/lib/system/libsystem_trace.dylib
0x91445000 - 0x9144eff7 libsystem_notify.dylib (133.1.1) <B8503E99-214B-3AC3-A7CA-CC837ABD7B25> /usr/lib/system/libsystem_notify.dylib
0x9156c000 - 0x91586ff7 liblzma.5.dylib (7) <D0BC984D-5B33-328C-8F1E-7E9C41813433> /usr/lib/liblzma.5.dylib
0x91587000 - 0x91589fff libsystem_configuration.dylib (699.1.5) <CDD8D1DA-3414-3A19-B340-EA116D52EA21> /usr/lib/system/libsystem_configuration.dylib
0x9158a000 - 0x9159bff3 libsystem_coretls.dylib (35.1.2) <87AE2CBB-A397-3392-A152-02AEA6D194D6> /usr/lib/system/libsystem_coretls.dylib
0x9159c000 - 0x91636fff com.apple.ColorSync (4.9.0 - 4.9.0) <091CDCEC-1B25-3FE7-94C2-8AEFA6564E95> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x918ff000 - 0x918fffff libOpenScriptingUtil.dylib (162) <9872C464-DF90-37C2-9871-8A3F53C615EC> /usr/lib/libOpenScriptingUtil.dylib
0x91900000 - 0x91909fff libGFXShared.dylib (11.0.7) <AFC7CCD1-D935-3968-8CE3-303C13354F2B> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.d ylib
0x9190a000 - 0x9195bfff libcups.2.dylib (408) <08C5D411-533C-345A-B820-092C96215F2E> /usr/lib/libcups.2.dylib
0x9195c000 - 0x919d6fff com.apple.ApplicationServices.ATS (360 - 375) <7E075657-314E-3130-97A7-AFD826000C7B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
0x919d7000 - 0x919e3ff3 libcommonCrypto.dylib (60061) <024B3913-15C6-3005-9E5A-EB24918F6977> /usr/lib/system/libcommonCrypto.dylib
0x919e4000 - 0x919e8fff libheimdal-asn1.dylib (398.1.2) <71FCB9F7-A330-3C02-89F3-B483B1C67E54> /usr/lib/libheimdal-asn1.dylib
0x919e9000 - 0x91a3cfff libstdc++.6.dylib (104.1) <D0EB2C99-5939-3ABA-9C18-D9AD75CE23A1> /usr/lib/libstdc++.6.dylib
0x91a3d000 - 0x91a7dfff com.apple.Symbolication (1.4 - 56045) <BE1C4846-DA11-365D-9B46-3FF130401839> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolicat ion
0x91a7e000 - 0x91eb9feb com.apple.vImage (8.0 - 8.0) <56F6B317-9D70-3DC5-9868-BB6D7CB6E55D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x91eba000 - 0x91ebbfff libsystem_blocks.dylib (65) <5D98F022-E863-31D4-8ADE-D53B2AE0D331> /usr/lib/system/libsystem_blocks.dylib
0x91ef1000 - 0x91f55ff7 com.apple.AE (681 - 681) <EEE62980-421B-33BD-BB88-6BDE269A3060> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
0x91f56000 - 0x91f59fff libdyld.dylib (353.2.1) <6533C0BC-6FE5-3E43-A44D-EF2193978EC0> /usr/lib/system/libdyld.dylib
0x91f90000 - 0x91f98fff libsystem_pthread.dylib (105.1.4) <D90BD4F4-8DFA-3683-9C26-313D2F4F8C41> /usr/lib/system/libsystem_pthread.dylib
0x91f99000 - 0x91fc8fff com.apple.CoreVideo (1.8 - 145.1) <A59466FC-6B5A-3B36-BDD4-AC9CD581B7A1> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x91fc9000 - 0x91ff3fff libxslt.1.dylib (13) <0F55B64A-6C55-304E-ACE0-B531027AA066> /usr/lib/libxslt.1.dylib
0x92026000 - 0x9206dff3 com.apple.AppleJPEG (1.0 - 1) <C14A2B49-A664-3EDE-9B9B-6A678ED7F8DE> /System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG
0x9206e000 - 0x92070ffb libsystem_secinit.dylib (18) <3CBA3BD3-8BA2-358D-BD1A-A1C3DF5D84E6> /usr/lib/system/libsystem_secinit.dylib
0x92071000 - 0x920abff7 com.apple.DebugSymbols (115 - 115) <D01FFA10-1734-31C5-B5A1-9CB61463FC15> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbol s
0x920ac000 - 0x920befff com.apple.Sharing (328.3 - 328.3) <460DD833-B33A-369E-A5EF-B21D5AA231EF> /System/Library/PrivateFrameworks/Sharing.framework/Versions/A/Sharing
0x920bf000 - 0x9212aff7 com.apple.framework.CoreWiFi (3.0 - 300.4) <632A811D-4706-3ED7-85E3-DD2CDB47CF8F> /System/Library/PrivateFrameworks/CoreWiFi.framework/Versions/A/CoreWiFi
0x9212b000 - 0x9212dfff libsystem_coreservices.dylib (9) <20E66A47-8D67-344A-A393-73926F0E5FB2> /usr/lib/system/libsystem_coreservices.dylib
0x9212e000 - 0x92420ffb com.apple.CoreImage (10.0.33) <75B23F45-8D99-3521-89AE-AF2AF4487096> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage .framework/Versions/A/CoreImage
0x92422000 - 0x924d1fff com.apple.Bluetooth (4.3.0 - 4.3.0f10) <6BE1AED1-C590-36BE-B796-2F3856318633> /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth
0x92533000 - 0x9270f2ef libobjc.A.dylib (646) <EF789AF0-508F-3D49-A988-376CE2E1107C> /usr/lib/libobjc.A.dylib
0x92710000 - 0x927b0fff com.apple.QD (301 - 301) <4DFE3689-59DE-3FBC-806B-6A4056573E52> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x927b2000 - 0x9289efe7 libvMisc.dylib (512) <56B7DE45-36B1-32BE-B823-DB14F315EEB9> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x928ee000 - 0x929fafe3 libvDSP.dylib (512) <54403134-29AE-3806-89D7-2CBA7B455736> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x92a51000 - 0x92a8eff7 libsystem_network.dylib (411) <4D5BCDE3-5155-3D97-84C5-778D56A5122A> /usr/lib/system/libsystem_network.dylib
0x9339d000 - 0x933adff7 com.apple.LangAnalysis (1.7.0 - 1.7.0) <DBECFAD5-DB53-390C-AE92-09549733C861> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x933e5000 - 0x933eefff com.apple.CommonAuth (4.0 - 2.0) <88D8A3D8-5F27-3545-8CD2-456FFDE5383D> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
0x933ef000 - 0x93465ff7 com.apple.SearchKit (1.4.0 - 1.4.0) <B6F346D2-BF88-3925-B962-E59267FA2268> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x937e9000 - 0x938e9ff7 com.apple.LaunchServices (644.10 - 644.10) <9A64517C-7DAE-3247-AD6E-FD3FB49A54D8> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
0x938fa000 - 0x93908ff3 libxar.1.dylib (254) <D7C4FDEB-61AA-3FC1-8B7B-0AE3A3A64492> /usr/lib/libxar.1.dylib
0x93909000 - 0x939a6fff com.apple.ink.framework (10.9 - 213) <F47949BC-ABEE-329B-B568-71C6FEF761F6> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x939a7000 - 0x939d6ff7 com.apple.DictionaryServices (1.2 - 229) <1F5C35C7-67AA-30A0-A366-EB4B361152A3> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
0x93f41000 - 0x94329ff7 libLAPACK.dylib (1128) <4E3D1289-2C98-3E53-BB8D-AD911357FF66> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x9432a000 - 0x9432cfff com.apple.loginsupport (1.0 - 1) <47A71885-BB14-3DB8-AE19-F74ABA120290> /System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsu pport.framework/Versions/A/loginsupport
0x94335000 - 0x94361fff com.apple.ChunkingLibrary (2.1 - 163.1) <2B0CBB85-EF91-351A-8750-A185996E4CDB> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/Chunking Library
0x94364000 - 0x943cdff7 libcorecrypto.dylib (233.1.2) <F188C1A7-E88F-3EC5-A6AA-22C02E3F0C93> /usr/lib/system/libcorecrypto.dylib
0x94e3c000 - 0x94e44fff com.apple.CoreServices.FSEvents (1210 - 1210) <FC372799-6E8E-3290-9816-6981D39BC9D6> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvent s.framework/Versions/A/FSEvents
0x94e45000 - 0x94e52ff7 com.apple.speech.synthesis.framework (5.2.6 - 5.2.6) <DD10F01B-45E7-31A0-A19B-2AEEB689C6C4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x950d9000 - 0x950e8ff3 com.apple.opengl (11.0.7 - 11.0.7) <C4738E5F-C178-3A01-B941-C638E6A14D7C> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x950e9000 - 0x9522dfff com.apple.ImageIO.framework (3.3.0 - 1038) <98EC2248-5270-3CB5-84FD-CD225A9875D4> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x9522e000 - 0x9525cff7 libarchive.2.dylib (30) <8758D35F-ADF8-30F6-8EB2-9B852876EAC8> /usr/lib/libarchive.2.dylib
0x9525d000 - 0x952aefff com.apple.opencl (2.4.2 - 2.4.2) <33B19D84-C463-3762-B1AB-C5CB8F7DC87F> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x952af000 - 0x952b2fff com.apple.xpc.ServiceManagement (1.0 - 1) <942B9491-B97C-36DB-A9F0-3EA3273FCD2C> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManage ment
0x952b3000 - 0x952b8ff7 libcompiler_rt.dylib (35) <6630682F-AB76-3E55-BE51-0A3E61B6CFC2> /usr/lib/system/libcompiler_rt.dylib
0x953c8000 - 0x953d5fff com.apple.OpenDirectory (10.10 - 187) <94A3ED17-CD64-3D4A-8470-69C937CABF50> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x953d6000 - 0x95409fe3 libsystem_m.dylib (3086.1) <951F633F-57B7-398B-912F-F6ED4DB1C597> /usr/lib/system/libsystem_m.dylib
0x9540a000 - 0x95418ff7 com.apple.SpeechRecognitionCore (2.0.32 - 2.0.32) <637E7AB2-1077-319C-A6A2-D0D0F01951BA> /System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/Sp eechRecognitionCore
0x95419000 - 0x9541dffb libGIF.dylib (1231) <9DE811E6-6151-32B2-8C89-AD97EC7815B3> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x9541e000 - 0x95614fff libicucore.A.dylib (531.30) <BD09E200-FF42-3E9D-814C-0BC8F2C0EAC9> /usr/lib/libicucore.A.dylib
0x95615000 - 0x9563bff3 libc++abi.dylib (125) <E9AF8CA1-D54D-37E3-8363-A3E8C0840F71> /usr/lib/libc++abi.dylib
0x95666000 - 0x9568cffb libPng.dylib (1231) <A9ACFC7E-9F25-3F15-AFAB-C74C3DAA1D06> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x95790000 - 0x95b86ff3 com.apple.CoreGraphics (1.600.0 - 772) <0D322365-219E-3D67-96BB-2B2416ACB4F5> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x95cfd000 - 0x95da2fff com.apple.Metadata (10.7.0 - 916) <2776B7E6-9047-3E30-9297-DD5CF53D7C42> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x95da3000 - 0x95dc2ff7 com.apple.GenerationalStorage (2.0 - 209.11) <34CF76B2-8052-359D-816D-092608FB6919> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/Gene rationalStorage
0x95dc3000 - 0x961f6ff3 com.apple.vision.FaceCore (3.1.6 - 3.1.6) <EF92C25B-3E33-379F-A862-75C2FCA8B386> /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
0x961f7000 - 0x961feff3 libunwind.dylib (35.3) <29D9343F-9A0A-3535-B0AE-E7CC761D95EE> /usr/lib/system/libunwind.dylib
0x96221000 - 0x9623afff com.apple.Kerberos (3.0 - 1) <92735F11-CF1C-3FA6-8682-9A30AC9E2651> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x9623b000 - 0x9623efff libextension.dylib (55) <E191881E-EAFD-3FD4-A8C1-7620DDC6F125> /usr/lib/libextension.dylib
0x964db000 - 0x964dbfff com.apple.ApplicationServices (48 - 48) <76C301A4-705B-33DE-BA11-C89DCF1EDCDD> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x964dc000 - 0x96502ffb libxpc.dylib (559.1.22) <CB6B442F-8BE4-37B6-9A00-4753BC1C368C> /usr/lib/system/libxpc.dylib
0x96503000 - 0x96707ff3 com.apple.CFNetwork (720.0.9 - 720.0.9) <7CDEA161-4DDC-381D-A2EF-B5F7B2154B8A> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x96708000 - 0x96715ff7 libbz2.1.0.dylib (36) <6BC7B049-8F03-3217-9840-B1804CCBF742> /usr/lib/libbz2.1.0.dylib
0x96716000 - 0x9672bffb com.apple.MultitouchSupport.framework (260.30 - 260.30) <2E28AF1C-AC6C-364F-B181-C5926A7F5A4D> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/Multit ouchSupport
0x96761000 - 0x96765ffb libcache.dylib (69) <55501A00-AF64-3554-8F46-8D5AFEDEC332> /usr/lib/system/libcache.dylib
0x96766000 - 0x9676ffff com.apple.DiskArbitration (2.6 - 2.6) <D906604A-1D8C-31BF-8F22-EA219FFC858F> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x97815000 - 0x97b6dfff libmecabra.dylib (666) <2248841A-A8F6-3F98-AFA2-F60F7539B788> /usr/lib/libmecabra.dylib
0x97b6e000 - 0x97baeffb libGLImage.dylib (11.0.7) <1F2F2EFE-1EFA-398F-80D6-8AC6EA5160DB> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x97baf000 - 0x97bbffff libGL.dylib (11.0.7) <2AF64D8C-3447-3C85-B4A1-77F03456E402> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x97bc6000 - 0x97be9ffb com.apple.framework.Apple80211 (10.0 - 1000.57.3) <73620B5D-1E69-37DE-B186-AE9E8E7834D8> /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
0x97bea000 - 0x97bfbfff libbsm.0.dylib (34) <C9F0C608-2794-3F6B-8078-583FC0046039> /usr/lib/libbsm.0.dylib
0x97bfc000 - 0x97c08ff7 libkxld.dylib (2782.1.97) <779DF7F9-9B34-3FD9-9BC1-482CDA59E17A> /usr/lib/system/libkxld.dylib
0x97c09000 - 0x97c09fff com.apple.Accelerate (1.10 - Accelerate 1.10) <180BFBE5-2218-3A6F-A1B2-CCA1C92B66F7> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x97c0a000 - 0x97c27fff libCRFSuite.dylib (34) <781A92EF-410E-39B2-953D-FEE12748D834> /usr/lib/libCRFSuite.dylib
0x97c28000 - 0x97c30fff libsystem_dnssd.dylib (561.1.1) <45CDAF46-03DE-33DB-A627-14F245993EF2> /usr/lib/system/libsystem_dnssd.dylib
0x97c31000 - 0x97ca7fff com.apple.securityfoundation (6.0 - 55126) <64E4CE02-8BE6-3408-99A5-23E5CF7545BC> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
0x97ca8000 - 0x97ca9fff libDiagnosticMessagesClient.dylib (100) <3EE83437-AA9C-356B-810B-589346B73797> /usr/lib/libDiagnosticMessagesClient.dylib
0x97cc5000 - 0x97ce2ffb com.apple.Ubiquity (1.3 - 313) <9ED23769-0725-3D4B-B7F4-AF08020D73C3> /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity
0x97ce3000 - 0x97cf6fff libcmph.dylib (1) <2449B048-208E-36FB-9DFA-47E0F3BCF132> /usr/lib/libcmph.dylib
0x97cf7000 - 0x97cfbffb com.apple.IOSurface (97 - 97) <ADB57CD2-455A-317C-818E-6379BF427D10> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x97d30000 - 0x97e34ff7 libJP2.dylib (1231) <77B25D2E-F9DE-3565-894A-970DE207B0EB> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x97e5f000 - 0x97e5ffff com.apple.audio.units.AudioUnit (1.12 - 1.12) <64ED443E-25D5-3A2C-A028-0D0C7FAF57C6> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x97e60000 - 0x98a4cfff com.apple.AppKit (6.9 - 1343.14) <8A4EA92C-E6DE-3F03-9B88-A183FCDD6644> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x98a4d000 - 0x98b63ff3 com.apple.desktopservices (1.9 - 1.9) <01A07F2E-9F9A-3847-AB11-C550827B3778> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x98b64000 - 0x98ba4fff libauto.dylib (186) <1609D0F9-6E3A-3C67-87EF-BB0BD93EDAC9> /usr/lib/libauto.dylib
0x98ba5000 - 0x98f7bff7 com.apple.HIToolbox (2.1.1 - 756) <5204085A-4D56-3430-889F-11C42E43729B> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x98f7c000 - 0x98fd1ff3 com.apple.audio.CoreAudio (4.3.0 - 4.3.0) <F5A586C3-A440-3E0E-966A-7841A182E5B2> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x98fd2000 - 0x99161ff3 libsqlite3.dylib (168) <C3F78985-C19B-3320-9F71-543969632128> /usr/lib/libsqlite3.dylib
0x99172000 - 0x99176ffb com.apple.TCC (1.0 - 1) <BFA66EA1-2839-3648-80F6-96AE136A6838> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
0x99177000 - 0x99177fff com.apple.CoreServices (62 - 62) <FF296ED2-0F90-3055-BBE4-7BF9E42322EF> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x99178000 - 0x9917ffff com.apple.speech.recognition.framework (5.0.9 - 5.0.9) <5D268178-3812-3777-92A6-D7D3395405B8> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x99180000 - 0x992f1ffb libBLAS.dylib (1128) <ACEF468C-5DB1-38F3-BCB2-6F3D7F2B2040> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x9930b000 - 0x99319ff7 libz.1.dylib (55) <DF3B8F77-8931-3A6B-8BDF-DB67315050E6> /usr/lib/libz.1.dylib
0x9931a000 - 0x99324ffb com.apple.audio.SoundManager (4.2 - 4.2) <4312D0A7-4B6F-3A1E-9A47-24C6E8C65E51> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
0x99353000 - 0x994deffb com.apple.audio.toolbox.AudioToolbox (1.12 - 1.12) <44BCEAB8-306D-307F-92C8-6656F3578220> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x994df000 - 0x996a3ff3 com.apple.QuartzCore (1.10 - 361.11) <9CED60CF-9B7F-3288-A7E9-3AE087F9E076> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x99757000 - 0x99757fff libkeymgr.dylib (28) <06DDCEF8-EB84-3F68-9E19-FD1A12B764FD> /usr/lib/system/libkeymgr.dylib
0x99758000 - 0x9975bfff libpam.2.dylib (20) <E2F34522-448A-3392-BC1D-6625BEB612B9> /usr/lib/libpam.2.dylib
0x999f6000 - 0x99a7dfff com.apple.CoreServices.OSServices (640.3 - 640.3) <8DD52AC8-238C-3E5C-ADBB-ABDA770D708A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x99a7e000 - 0x99a84ff7 libsystem_networkextension.dylib (167.1.10) <FC20E3AD-A53D-3346-AC71-829E82832AE8> /usr/lib/system/libsystem_networkextension.dylib
0x99a85000 - 0x99af9fff com.apple.Heimdal (4.0 - 2.0) <5D2BE254-CFCD-3A15-9A89-1CBBDE0FF265> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
0x99b16000 - 0x99b93ff3 com.apple.framework.IOKit (2.0.2 - 1050.1.21) <C3A9E799-0B67-3292-AF44-43CCA846C169> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x99c60000 - 0x99c86ff7 com.apple.IconServices (47.1 - 47.1) <9C537499-B375-3F84-BF4A-EEF757FC26A9> /System/Library/PrivateFrameworks/IconServices.framework/Versions/A/IconService s
0x99d4b000 - 0x99e3cffb libiconv.2.dylib (42) <4AF77F10-0BEC-3BE0-99DF-C5170EDB316B> /usr/lib/libiconv.2.dylib
0x99e3d000 - 0x99eb0ffb com.apple.framework.CoreWLAN (5.0 - 500.35.2) <F46A7092-ADC6-3596-B046-8026F2814D8D> /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN
0x99eb1000 - 0x99ebafff libcopyfile.dylib (118.1.2) <FAF3268F-C580-33D3-A5B4-74B8A8713216> /usr/lib/system/libcopyfile.dylib
0x99ece000 - 0x99f4dfff com.apple.SystemConfiguration (1.14 - 1.14) <89A67A1E-850F-3ED1-AB7D-9057A5B0FF0D> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x99f4e000 - 0x9a080ffb com.apple.UIFoundation (1.0 - 1) <00A59CFF-A217-3998-B22E-6E452278A302> /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundatio n
0x9a081000 - 0x9a085fff libCoreVMClient.dylib (79) <85CBF1F3-3CE1-304F-88DF-15608C9A2367> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClien t.dylib
0x9a39b000 - 0x9a3befff libJPEG.dylib (1231) <33D03A5B-CED8-3FDC-8892-723DD6E423FB> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x9a3bf000 - 0x9a44bff3 com.apple.PerformanceAnalysis (1.0 - 1) <CB175B15-8AA3-3ECA-88ED-E561D7722DFB> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/Perf ormanceAnalysis
0x9a44c000 - 0x9a4e1ff3 libsystem_c.dylib (1044.1.2) <819FD4E2-3B29-38F0-AC5C-BEE865489F5F> /usr/lib/system/libsystem_c.dylib
0x9a4e2000 - 0x9a895fff com.apple.CoreFoundation (6.9 - 1151.16) <2F4FE1E8-D09B-3C62-B884-7A41111F4FBB> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x9ab8f000 - 0x9ae8dff7 com.apple.CoreServices.CarbonCore (1108.1 - 1108.1) <C18EC809-6E67-3D9C-82D5-34170A81254C> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x9ae8e000 - 0x9aeb7ff7 libsystem_info.dylib (459) <4F7A7111-7F0D-3891-9DC9-41F5D79949FE> /usr/lib/system/libsystem_info.dylib
0x9aeb8000 - 0x9aed3ff7 com.apple.CFOpenDirectory (10.10 - 187) <12F3D599-88CE-3952-8987-7F6CEA2A809A> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpen Directory.framework/Versions/A/CFOpenDirectory
0x9aed4000 - 0x9b233ffb com.apple.Foundation (6.9 - 1151.16) <76BF64BB-34C4-3409-BB6F-CAACDEE7681A> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x9b234000 - 0x9b4c7ff7 com.apple.CoreData (110 - 526) <C2C79A0B-70B1-3D88-951D-1C19D35B78E1> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x9b975000 - 0x9b975fff com.apple.Accelerate.vecLib (3.10 - vecLib 3.10) <96675103-6E3D-326A-83C0-82D3A34C3A1A> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x9b976000 - 0x9b9a8ff7 com.apple.GSS (4.0 - 2.0) <36CBBD76-19AC-333E-AB52-A93800ABC89A> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
0x9b9a9000 - 0x9ba72fff com.apple.backup.framework (1.6 - 1.6) <3CE096B0-65A6-3696-8726-E0B28D062834> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
0x9ba73000 - 0x9ba78ff7 libmacho.dylib (862) <48DE74F8-09E3-344F-A82F-665083A3BF8F> /usr/lib/system/libmacho.dylib
0x9ba9c000 - 0x9bd18ff3 com.apple.security (7.0 - 57031.1.35) <4721C22E-D6C2-3202-B80D-5E67169466D2> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x9bd19000 - 0x9bd74fff com.apple.LanguageModeling (1.0 - 1) <9B39E059-F48E-31AF-B1B3-B0872F362627> /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/Languag eModeling
0x9bd75000 - 0x9be6bff7 libxml2.2.dylib (26) <2F37833C-4D55-3A09-9A0C-5904E8B6892A> /usr/lib/libxml2.2.dylib
0x9be6c000 - 0x9beb5ffb libFontRegistry.dylib (134) <023BB8A2-8BBA-30DC-B0C2-A5F0AE3667D8> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x9c020000 - 0x9c05cff3 com.apple.RemoteViewServices (2.0 - 99) <2839C2F1-88DA-3843-87BF-441A374A8967> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/Remot eViewServices
0x9c05d000 - 0x9c0effff com.apple.CoreSymbolication (3.1 - 56072) <BADFFEF1-5CD8-37BC-B8FD-7C955EF0D0A1> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSy mbolication
0x9c144000 - 0x9c14fff7 com.apple.CrashReporterSupport (10.10 - 629) <BB92BB57-6F2F-3348-BEF4-58036DF40FA4> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/Cra shReporterSupport
0x9c153000 - 0x9c154fff liblangid.dylib (117) <34A0F807-755F-300B-B01F-AABAE3838451> /usr/lib/liblangid.dylib
0x9c155000 - 0x9c168fff com.apple.CoreBluetooth (1.0 - 1) <DF406F6F-C173-3598-8785-8A2014F770EF> /System/Library/Frameworks/CoreBluetooth.framework/Versions/A/CoreBluetooth
0x9c172000 - 0x9c174fff libquarantine.dylib (76) <9ADD861F-A66E-3AD1-A77E-C622E91BD203> /usr/lib/system/libquarantine.dylib
0x9c324000 - 0x9c33bfff libsystem_asl.dylib (267) <85BD88AD-618E-3325-AC31-10DBAB8E9AF3> /usr/lib/system/libsystem_asl.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 1
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 11908
thread_create: 1
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=152.7M resident=48.7M(32%) swapped_out_or_unallocated=104.0M(68%)
Writable regions: Total=61.0M written=1708K(3%) resident=2060K(3%) swapped_out=0K(0%) unallocated=59.0M(97%)
REGION TYPE VIRTUAL
=========== =======
Kernel Alloc Once 4K
MALLOC 51.7M
MALLOC (admin) 48K
Stack 64.1M
VM_ALLOCATE 1212K
VM_ALLOCATE (reserved) 16K reserved VM address space (unallocated)
__DATA 6576K
__IMAGE 528K
__LINKEDIT 47.0M
__OBJC 2208K
__TEXT 105.8M
__UNICODE 544K
mapped file 103.1M
shared memory 4K
=========== =======
TOTAL 382.4M
TOTAL, minus reserved VM space 382.4M
System Profile:
Network Service: Ethernet 1, Ethernet, en0
Bluetooth: Version 4.3.0f10 14890, 3 services, 19 devices, 1 incoming serial ports
PCI Card: NVIDIA GeForce GT 120, Display Controller, Slot-1
PCI Card: CalDigit USB3 Adapter, USB eXtensible Host Controller, Slot-2@9,0,0
PCI Card: pci1b4b,9123, AHCI Controller, Slot-2@8,0,0
PCI Card: pci1b4b,91a4, IDE Controller, Slot-2@8,0,1
Thunderbolt Bus:
FireWire Device: built-in_hub, Up to 800 Mb/sec
FireWire Device: > LaCie d2 DVD-RW Firewire, LaCie Group SA, Up to 400 Mb/sec
FireWire Device: My Book, WD, Up to 800 Mb/sec
Memory Module: DIMM 1, 1 GB, DDR3 ECC, 1066 MHz, 0x802C, 0x394A53463132383732415A2D314731443120
Memory Module: DIMM 2, 2 GB, DDR3 ECC, 1066 MHz, 0x857F, 0x463732353655363446393333334700000000
Memory Module: DIMM 3, 1 GB, DDR3 ECC, 1066 MHz, 0x802C, 0x394A53463132383732415A2D314731443120
Memory Module: DIMM 4, 1 GB, DDR3 ECC, 1066 MHz, 0x802C, 0x394A53463132383732415A2D314731443120
Memory Module: DIMM 5, 2 GB, DDR3 ECC, 1066 MHz, 0x857F, 0x463732353655363446393333334700000000
Memory Module: DIMM 6, 1 GB, DDR3 ECC, 1066 MHz, 0x802C, 0x394A53463132383732415A2D314731443120
Memory Module: DIMM 7, 1 GB, DDR3 ECC, 1066 MHz, 0x802C, 0x394A53463132383732415A2D314731443120
Memory Module: DIMM 8, 1 GB, DDR3 ECC, 1066 MHz, 0x802C, 0x394A53463132383732415A2D314731443120
USB Device: My Book
USB Device: Hub
USB Device: Keyboard Hub
USB Device: Apple Keyboard
USB Device: Vendor-Specific Device
USB Device: HP USB Laser Mouse
USB Device: Hub
USB Device: Display iSight
USB Device: Apple LED Cinema Display
USB Device: Display Audio
USB Device: BRCM2046 Hub
USB Device: Bluetooth USB Host Controller
USB Device: Backup+ Desk
USB Device: USB-SATA Bridge
Serial ATA Device: HL-DT-ST DVD-RW GH41N
Serial ATA Device: Hitachi HDS723020BLA642, 2 TB
Serial ATA Device: WDC WD10EADS-00L5B1, 1 TB
Serial ATA Device: Hitachi HDS722020ALA330, 2 TB
Serial ATA Device: WDC WD20EADS-11R6B1, 2 TB
Serial ATA Device: MARVELL VIRTUALL
Model: MacPro4,1, BootROM MP41.0081.B07, 8 processors, Quad-Core Intel Xeon, 2.26 GHz, 10 GB, SMC 1.39f5
Graphics: NVIDIA GeForce GT 120, NVIDIA GeForce GT 120, PCIe, 512 MB -
Stored Proc running twice using DBMS_Scheduler
Hello all,
I have a vb front end that calls a main stored proc which submits scheduler jobs to execute several stored procs asynchronously. Everything is working, except the part that the several stored procs are running twice. In the troubleshooting, I have eliminated the front end from being the culprit and the stored procs themselves. Essentially, when I call the stored proc using dbms_scheduler.create_job, it runs twice, even manually. I am about at wits end trying to figure out why: Using Oracle 11gR2
I started off setting up the programs
begin
--create program
dbms_scheduler.create_program
( program_name => 'prog_name'
,program_type => 'STORED_PROCEDURE'
,program_action => 'usp_sub_proc_1'
,number_of_arguments => 8
,enabled => FALSE
dbms_scheduler.DEFINE_PROGRAM_ARGUMENT
( program_name=> 'prog_name'
,argument_position=>1
,argument_name => 'name'
,argument_type=>'VARCHAR2'
/*the remaining 7 arguments are in code but not display for space reasons*/
dbms_scheduler.enable('prog_name');
end;Then the main stored proc executes this code:
declare v_job_name varchar2(100);
v_1 varchar(50) := 'All';
v_2 varchar(50) := 'All';
v_3 varchar(50) := 'All';
v_4 varchar(50) := 'All';
v_5 varchar(50) := 'TEST';
i_6 integer := 1;
v_7 varchar(50) := 'TEST_NE';
ts_8 timestamp := current_timestamp;
begin
v_job_name := 'uj_dmo_1';
dbms_scheduler.create_job (v_job_name
,program_name => 'prog_name'
,job_class => 'UCLASS_1'
,auto_drop => TRUE
--set parameters
dbms_scheduler.set_job_argument_value(v_job_name,1, v_1);
dbms_scheduler.set_job_argument_value(v_job_name,2, v_2);
dbms_scheduler.set_job_argument_value(v_job_name,3, v_3);
dbms_scheduler.set_job_argument_value(v_job_name,4, v_4);
dbms_scheduler.set_job_argument_value(v_job_name,5, v_5);
dbms_scheduler.set_job_argument_value(v_job_name,6, to_char(i_6));
dbms_scheduler.set_job_argument_value(v_job_name,7, v_7);
dbms_scheduler.set_job_argument_value(v_job_name ,8, to_char(ts_8));
--enable job
dbms_scheduler.enable(v_job_name);
--execute job
dbms_scheduler.run_job(job_name => v_job_name , use_current_session => FALSE);
end;
...And this is where I get the double execution of the job, but I am just not seeing it in my syntax, dba_scheduler_jobs, logging, etc. Any help is greatly appreciated, thanks!!Well apparently I will not win any Captain Obvious awards;
With 34MCA2K2's response with "what doesn't work" for some reason turned the light on. After some more testing here is what I found.
This code works as expected :
Exhibit A
begin
dbms_scheduler.create_job (job_name =>'TESTER'
,job_type => 'PLSQL_BLOCK'
,job_action => 'declare test1 integer := 1; begin test1 := test1 + 5; end;'
,auto_drop => True
/*dbms_scheduler.enable('TESTER'); */
dbms_scheduler.run_job(job_name => 'TESTER', use_current_session =>FALSE);
end;As does this:
Exhibit B
begin
dbms_scheduler.create_job (job_name =>'TESTER'
,job_type => 'PLSQL_BLOCK'
,job_action => 'declare test1 integer := 1; begin test1 := test1 + 5; end;'
,auto_drop => True
dbms_scheduler.enable('TESTER');
/*dbms_scheduler.run_job(job_name => 'TESTER', use_current_session =>FALSE); */
end;Exhibit A will create the job and is visible in the schedulerjobs view, and the RUN_JOB will execute it even when not enabled, but the pl/sql will not drop the job.
Exhibit B will create the job and once enabled, executes the job and then drops from schedulerjobs view.
Therefore, my desired results for running the jobs once asynchronously and dropping immediately is....
begin
v_job_name := 'uj_dmo_1';
dbms_scheduler.create_job (v_job_name
,program_name => 'prog_name'
,job_class => 'UCLASS_1'
,auto_drop => TRUE
--set parameters
dbms_scheduler.set_job_argument_value(v_job_name,1, v_1);
dbms_scheduler.set_job_argument_value(v_job_name,2, v_2);
dbms_scheduler.set_job_argument_value(v_job_name,3, v_3);
dbms_scheduler.set_job_argument_value(v_job_name,4, v_4);
dbms_scheduler.set_job_argument_value(v_job_name,5, v_5);
dbms_scheduler.set_job_argument_value(v_job_name,6, to_char(i_6));
dbms_scheduler.set_job_argument_value(v_job_name,7, v_7);
dbms_scheduler.set_job_argument_value(v_job_name ,8, to_char(ts_8));
/*enable job*/
dbms_scheduler.enable(v_job_name);
/*execute job (Do not execute the code below, it will lead to multiple executions)
dbms_scheduler.run_job(job_name => v_job_name , use_current_session => FALSE); */
end; -
DBMS scheduler jobs running twice
Hi,
I have 4 DBMS scheduler jobs , which checks for a specific job status in DB and sends an email , when i started the schedule for the first week the jobs executed fine from next week I am getting two emails from each job , when i check the logs USER_SCHEDULER_JOB_RUN_DETAILS I see only one run , which seems weird to me so i disabled one job and left the three jobs in schedule , next time i got two emails from 3 jobs and one from disabled job . After checking logs i see that there is no entry of the disabled job execution . I am not sure where is the problem i can't find any log from where the disabled job executing. Please help me
Job schedule is to run every Saturday
Interval setup :
start_date => trunc(SYSDATE)+ 8.5/24,
repeat_interval => 'TRUNC(LEAST(NEXT_DAY(SYSDATE,''SATURDAY'') )) + 8.5/24'
SureshHi,
I tried to schedule the same jobs using DBMS_JOB but i still get the same problem , I created the procedure with all code in and scheduled it using dbms job , first day it run once second day it run twice ( sending two emails) Inow i am not sure if issue is with my code or scheduler
Procedure
Declare
v_count number;
v_Recipient VARCHAR2(400) := '[email protected]';
v_Subject VARCHAR2(80) := 'TEST_Email';
v_Mail_Host VARCHAR2(30) := 'localhost';
v_Mail_Conn utl_smtp.Connection;
crlf VARCHAR2(2) := chr(13)||chr(10);
BEGIN
select count(*) into v_count from TEC_CODERETURN@RPRD where interface like 'FOR002B' and trunc(rundate) =trunc(sysdate);
if v_count = 0
then
v_Mail_Conn := utl_smtp.Open_Connection(v_Mail_Host, 25);
utl_smtp.Rcpt(v_Mail_Conn, '[email protected]');
UTL_SMTP.OPEN_DATA(v_Mail_Conn);
utl_smtp.WRITE_RAW_DATA(v_Mail_Conn, UTL_RAW.CAST_TO_RAW(
'Date: ' || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || UTL_TCP.CRLF ||
'From: ' || '[email protected]' || UTL_TCP.CRLF ||
'Subject: '|| v_Subject || UTL_TCP.CRLF ||
'To: ' || v_Recipient || UTL_TCP.CRLF ||
'This is a test Alert'|| UTL_TCP.CRLF
UTL_SMTP.CLOSE_DATA(v_mail_conn);
utl_smtp.Quit(v_mail_conn);
end if;
EXCEPTION
WHEN utl_smtp.Transient_Error OR utl_smtp.Permanent_Error then
raise_application_error(-20000, 'Unable to send mail: '||sqlerrm);
END;
DBMS job creation
DECLARE
jobno NUMBER;
BEGIN
DBMS_JOB.submit
(job => jobno,
what => 'TEST_ALERT;',
next_date => trunc(sysdate)+0.1/24,
interval => 'SYSDATE + 1',
no_parse => TRUE );
DBMS_OUTPUT.put_line ('Created Job - the job number is:' || TO_CHAR (jobno));
COMMIT;
END;
Suresh -
Using the rewriter to include javascript code on an external webpage
-We are running Sun Portal Server 6.2
-When users go to GOOGLE.COM through our gateway. I want the google page to be rewritten in such a way that it includes a piece of javascript code. (Written by me)
In all the examples of the Sun documentation, I noticed only possibilities of rewriting tags so that it includes the gateway URL. Is it possible to actually replace a specific HTML tag with your own code or just even add code using the Sun Portal Rewriter service ???
Anybody any clues ?I may have a (very bad) solution.
You explode the /opt/SUNWps/libgateway.jar. In ressources subdir you have SRAPConvertSystem.js.
It seems to be the javascript code the rewriter add at the beginning of the page.
Try to edit the file, add some javascript at the end, redo the jar file and put it back in /opt/SUNps/lib.
I did not try this. Maybe it's working, maybe not. -
Constructor in document class runs twice?
Hi Folks,
I'm working on my document class and the contructor is running twice, hence it is running almost all of my code twice. I'm not quite sure why this is the case. Any help is appreciated.
I've attached my code below.
package {
import flash.display.MovieClip;
import flash.display.DisplayObject;
import flash.events.*;
import flash.geom.*;
import flash.net.*;
import flash.utils.getDefinitionByName;
public class ASIFL048_DND extends MovieClip {
private var startDragX:Number = new Number();
private var startDragY:Number = new Number();
private var xmlPath:String = "../ObjectFiles/xmlIFL0480016.xml";
private var itemList:Array = new Array();
private var targetList:Array = new Array();
private var gameArray:Array = new Array();
private var myXML:XML = new XML();
private var myTargetName:String = new String();
private var XMLLoader:URLLoader = new URLLoader();
private var XMLRequest:URLRequest = new URLRequest(xmlPath);
trace("RUNNING ONCE!");
public function ASIFL048_DND() {
stage.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
stage.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
XMLLoader.addEventListener(Event.COMPLETE, completeHandler);
trace("RUNNING TWICE?");
loadXML();
private function loadXML():void {
//var XMLLoader:URLLoader = new URLLoader();
//var XMLRequest:URLRequest = new URLRequest(xmlPath);
XMLLoader.load(XMLRequest);
//XMLLoader.addEventListener(Event.COMPLETE, completeHandler);
private function completeHandler(e:Event):void {
myXML = XML(e.target.data);
var i:int = 0;
var j:int = 0;
for each (var item:XML in myXML..equip) {
itemList[i] = item.@name;
for each (var target:XML in item..myTarget) {
targetList[j] = [i,target];
j++;
i++;
//trace(targetList);
selectDragItems(10);
private function selectDragItems(gameLength:int):void {
var randomSeed:Number = new Number();
var randomItem:Number = new Number();
for (var k:int = 0; k<gameLength; k++) {
randomSeed = targetList.length;
randomItem = Math.floor(Math.random() * targetList.length);
gameArray = targetList.splice(randomItem, 1);
trace(gameArray+"\n");
//display game array
//trace("CLASS:\t"+itemList[gameArray[k][0][0]]);
//var ClassReference:Class = getDefinitionByName(itemList[gameArray[k][0]]) as Class;
//var instance:Object = new ClassReference();
//addChild(DisplayObject(instance));
private function mouseDownHandler(e:MouseEvent):void {
startDragX = e.target.x;
startDragY = e.target.y;
trace(startDragX + " " + startDragY);
e.target.startDrag(true,new Rectangle(e.target.width/2,e.target.height/2, stage.stageWidth-e.target.width, stage.stageHeight-e.target.height));
private function mouseUpHandler(e:MouseEvent):void {
stopDrag();
myTargetName = "fwdLHWindscreen_mc";
var myTarget:DisplayObject = getChildByName(myTargetName);
//trace(" TARGET VAR: "+myTarget.name);
if (e.target.dropTarget != null && e.target.dropTarget.parent == myTarget) {
trace("correct");
e.target.x = e.target.dropTarget.parent.x;
e.target.y = e.target.dropTarget.parent.y;
e.target.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
e.target.removeEventListener(MouseEvent.MOUSE_UP,mouseUpHandler);
} else {
trace("incorrect");
e.target.x = startDragX;
e.target.y = startDragY;My bad. The order of output is:
RUNNING ONCE!
RUNNING TWICE?
The first trace is a static initializer, while the second is in the constructor. -
I can't debug javascript code in JDeveloper 11
Hi all!
I'm trying to debug a javascript code in JDeveloper 11. I created a simple html page with a simple javascrit. The page and the call to javascript are ok. When I start the debug I receive some messages,please see below. I can see through window task manager that firefox is started, but it doesn't appear and therefore it is impossible to debug, The messages I receive in JDeveloper console are:
"C:\Arquivos de programas\Mozilla Firefox\firefox.exe" file:/C:/JDeveloper/mywork/js/js/public_html/test.html -oraclejsdebugport=2006
Waiting for debugger to attach on port 2006...
Debugger connected to local process.
Error: emItemsElement has no properties in file: file:///C:/Arquivos%20de%20programas/Mozilla%20Firefox/components/nsExtensionManager.js at line: 2621 and position: 0Debugger unable to connect to local process.Hi Roger,
It was a bug that got fixed recently. Please download the latest version and try. If you are still able to reproduce please let me know the build (Help -->> About).
Another workaround
unselect "Stop on Exception" it can be found from.
Project Properties >> Run/Debug/Profile >> Select JavaScript run configurations >> Edit >> select JavaScript >> unselect "Stop on Exception"
-Vikram -
How to execute javascript code in VBScript?
I'd like to execute similar javascript code for some particular PDF files(parameters for pagenumber are quite different),such as:
this.setPageLabels(0, [ "A", "", 3] );
this.setPageLabels(1, [ "r", "", 1] );
this.setPageLabels(16, [ "D", "", 1] );
How to write the code in VBScript?
Thanks in advance!
P.S. I try to add code but end up with error messages
=================================================================
path = "E:\test.pdf"
'//Write the first and last pagenumbers and label to a txt.
set oWs = CreateObject ("Wscript.Shell")
set fs = CreateObject("Scripting.FileSystemObject")
oWs.run "Acrobat.exe"
While not oWs.AppActivate("Adobe Acrobat") : Wscript.Sleep 1000 : Wend
Set objArgs = WScript.Arguments
if objArgs.Count = 1 then path = ObjArgs(0)
Set gApp = CreateObject("AcroExch.App")
Set AVDoc = CreateObject("AcroExch.AVDoc")
If (AVDoc.Open(Path,"")) Then
Set AVDoc = gApp.GetActiveDoc()
Set PDDoc = AVDoc.GetPDDoc()
Set JSO = PDDoc.GetJSObject
'// Write Bookmark JS to a variable
Ex = " var vTOC = """"; "&vbLF _
& " var s = """"; "&vbLF _
& " var i=0; "&vbLF _
& " p = i+1; "&vbLF _
& " vTOC += ( this.getPageLabel(i) +""|""); "&vbLF _
& " i= this.numPages-1 ; "&vbLF _
& " p = i+1; "&vbLF _
& " vTOC += ( this.getPageLabel(i) +""|""+p+""|""); "
' // Execute the JavaScript
Set AForm = CreateObject("AFormAut.App") 'from AFormAPI
AForm.Fields.ExecuteThisJavaScript EX
' // Write Bookmarks to CSV (PageNr;Level;Text)
Set JSO = PDDoc.GetJSObject '//->renew JSO for some unknown reasons
xf = jso.vToc
Set objIE = CreateObject("InternetExplorer.Application")
objIE.Navigate("about:blank")
objIE.document.parentwindow.clipboardData.SetData "text", xf
objIE.Quit
CsvFN = left(path, InstrRev(path, ".")-1) &"_page.txt"
set FL = fs.OpenTextFile(CsvFN, 2, true) '//-> 2=ForWriting
xWr = split(xf,"|")
for x=0 to UBound(xWr)
FL.WriteLine xWr(x)
next
FL.Close
Else
MsgBox "Failed to Open: " & Path
End If
Set JSO = Nothing
Set PDDoc = Nothing
Set AVDoc = Nothing
Set AForm = Nothing
Set gApp = NothingIf I remember right, I wrote this script a while back to demonstrate how java script can be direct executed and how you can get back the results. Didn't I wrote a commentary to that?
However the parts you need:
' // Write JS code from help file or whatever to a VBS variable:
JsFromHelp = " this.setPageLabels(0, [ ""A"", """", 3] ); "&vbLF _
& " this.setPageLabels(1, [ ""r"", """", 1] ); "&vbLF _
& " this.setPageLabels(16, [ ""D"", """", 1] ); "
' // Execute the JavaScript
Set AForm = CreateObject("AFormAut.App") 'from AFormAPI
AForm.Fields.ExecuteThisJavaScript JsFromHelp
From the rest keep only:
end if
set .. = nothing
Untested, but should work - as far as you have a little bit more then only Reader.
HTH, Reinhard
Maybe you are looking for
-
How do you download pictures from an I photo album to a thumb drive?
How does one download pictures from an IPhoto album to a thumb drive?
-
Can i use more than 1 account on my Macbook pro?
I have a macbook pro (wich i'm now gonna keep) Can i create and use 2 different App store accounts on the same mac?? And use Aplications like pages from 1 account, and iMovie from the second at the same time ??
-
My G3 has been connected to a 21" Dell (really a Sony Trinitron CRT flat-screen) for over 6-1/2 years, and worked flawlessly. One day, on start-up, I get a blank screen with a terse message- "NO SIGNAL." (!!) Checked all the connectors, pulled & rese
-
REGARDING ALV BLOCK DISPLAY AND GRID DISPLAY
HI FRIENDS, I HAVE A TROUBLE IN DISPLAYNG TWO TABLES TOGETHER IN THE GRID DISPLAY, BUT I CAN DISPLAY USING BLOCKS. I DONT WANT TO USE JOIN STATEMENT IN THE SELECT QUERY. HELP WITH BY DISPLAYING THE RESPECTIVE CODES FOR THAT. THANK U IN ADVANCE
-
Onetime vendor-will the sensitive field functionality work
In case of Onetime vendor,even though sensitive fields are defined will it not ask for confirmation on changing the bank adress during the invoice.