Insight into working of acroexch.rect

I'm new to using the adobe object & request your help:
here is my problem: i have a pdf document where there are key-words that always appear, but not at the exact same place everytime. i have to locate a target-word, that is either 1 line above / below this key-word. this is my approach so far:
get all text from the page using acroexch.hilite
then, search for my key-word.
the, get it's bounding rect (top, bottom, left, right) - this is where my problem is!! i can't seem do get this
then, add / subtract pixels to reach my target-word
print my key-word --- target-word.
i have started writing some code, but require some help. below is what i have done so far:
Dim acroApp, acroAVDoc, acroPDDoc, acroRect, PDTextSelect ,avDoc, str
Dim gPDFPath, nElem, strPageNo, strDate, strPDFDate, strTime, strPDFTime, strStdTime, strTime2
Dim strarray, strstring1, strnum1, strstring2, strnum2, blnRetFlag
Dim blnFlag
Dim i,strDte,strMonth,strDay,strYear
Dim blnNumericCheckFlag
Dim blnCheckFlag
Dim strPDFPageNo,strExpectedPageNo,strPageFormatType,strarr1,strtemp1,strarr2,strMinute, strHour, strAMPM
dim strText()
Set AcroApp = CreateObject("Acroexch.App")
For I =0 to AcroApp.GetNumAVDocs - 1
Set avDoc = AcroApp.GetAVDoc(0)
'Msgbox(AcroApp.GetNumAVDocs)
If avDoc.IsValid Then
Set AcroPDDoc = avDoc.GetPDDoc()
If not AcroPDDoc is nothing Then
'Msgbox "pd doc created"
else
msgbox "pd doc not created"
exititerationaction()
End If
Set acroRect = Create Object( "AcroExch.Rect" )
If not acroRect is nothing Then
'Msgbox "Rect Object Created"
else
msgbox "Rect obj not created"
End If
acroRect. Bottom = 100 : acroRect. Top = 450 'i need these dynamic ally.
acroRect. Left = 150 : acroRect. Right = 500
Set PDTextSelect = AcroPDDoc.CreateTextSelect( 0, acroRect )
If not PDTextSelect is nothing Then
'Msgbox "text select obj created"
else
msgbox "text select obj not created"
exit test
End If
If PDTextSelect Is Nothing Then
Exit Test()
End If
Call avDoc.SetTextSelection(PDTextSelect)
Call avDoc.ShowTextSelect()
Re Dim preserve strText(PDTextSelect.GetNumText())
For nElem = 0 To PDTextSelect.GetNumText() - 1
'Msgbox (nElem & ":" & PDTextSelect.GetText(nElem))
strText(nElem)=PDTextSelect.GetText( nElem ) & vbcrlf
str = str & strText(nElem)
Next
msgbox str
Call PDTextSelect.Destroy()
'End If
End If
Next
'AcroApp.CloseAllDocs()
'AcroApp.Exit()
Set PDTextSelect = Nothing : Set acroRect = Nothing
Set AcroApp = Nothing : Set AcroAVDoc = Nothing
another sample::
Dim i, j
i = 1
j = 0
flag = false
start = 0
increment = 10
Set app = CreateObject("Acroexch.App")
For j. = 0 to app.getnumavdocs-1
Set myAVDoc = app.GetAVDoc(j.) I Get the first logical Acrobat Viewer Doc
Set myPDDoc = myAVDoc.GetPDDoc() Get the physical document object
Set avpageview = myAVDoc.GetAVPageView() Get the page view doc object
'i Page is the page no. of the PDF where the annot is
While flag = false
Set acrohilist = create object("acroexch.hilitelist")
Call acrohilist.add(start,increment)
avpageview.goto(0) '
Set acropdpage = avpageview.getpage()
Set acropdtextsel = acropdpage.createpagehilite(acrohilist)
If acropdtextsel is nothing Then
msgbox "page hilite could not b. created"
exit test()
End If
Call myAVDoc.settextselection(acropdtextsel)
Call myAVDoc.showtextselect()
If acropdtextsel.getnumtext >1 Then
increment = 10
For k. = 0 to acropdtextsel.getnumtext-2
' you can put in any target word if u. like.. replace ": business" with a variable (this variable can be an array element, if multiple words have to be checked)
If in str(1, lcase(trim(acropdtextsel.gettext(k.))) ,"business",vbtextcompare) > 0 then ' and in str(1, lcase(trim(acropdtextsel.gettext(k.+1))) ,"unit" ,vbtextcompar

thanks for the reply aandi..
another restriction is: i work only with vbscript, i can't get a full blown vb ide installed. so, i'm limited to working with only vbscript. to my knowledge, there are certain syntactical differences when working with vbscript & i don't have that documentation. any help in this direction would benefit me..
thanks in advance.

Similar Messages

  • Can't get completion insight to work

    Hi all,
    I just can't get completion insight to work on the newer releases of sqldeveloper. It works fine until Version 1.5.5 Build MAIN-5969. However on both Version 2.1.0.62 Build MAIN-62.61 and Version 2.1.0.63 Build MAIN-63.73 it justn't work no matter what settings I use.
    I have run both the builds from \sqldeveloper\bin\sqldeveloper.exe and no exceptions are reported.
    This is the console output from 2.1.0.63
    Finished parsing = 16
    UsersCache.fillIn() time = 2015 ret==null?: false
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    *...?aux t2?, parse time = 172
    Finished parsing = 0
    Finished parsing = 0
    InsightableOracleDatabase.fetch() time = 2609
    select 'TABLE' type, user owner, name object_name, null column_name, null column
    id, null datatype FROM sys.obj$ o
    where o.owner# = 173
    and o.name not like 'BIN%'
    and o.type# = 2
    and rownum <=50
    union all
    select 'VIEW' type, user owner, name object_name, null column_name, null column_
    id, null data_type FROM sys.obj$ o
    where o.owner# = 173
    and o.name not like 'BIN%'
    and o.type# = 4
    and rownum <=50
    Code completion time = 3516
    Finished parsing = 0
    *...?aux tok2?, parse time = 31
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    InsightableOracleDatabase.fetch() time = 38828
    select 'TABLE' type, ''||o.owner# owner, name object_name, null column_name, nul
    l column_id, null data_type FROM sys.obj$ o
    where o.name not like 'BIN%'
    and o.type# = 2
    and rownum <=50
    and name like ?
    union all
    select 'VIEW' type, ''||o.owner# owner, name object_name, null column_name, null
    column_id, null data_type FROM sys.obj$ o
    where o.name not like 'BIN%'
    and o.type# = 4
    and rownum <=50
    and name like ?
    union all
    select 'TABLE' type, user owner, synonym_name object_name, null column_name, nul
    l column_id, null data_type
    from all_synonyms
    where synonym_name like ?
    and rownum <=50
    and owner in (user,'PUBLIC')
    AP_I%
    AP_I%
    AP_I%
    Code completion time = 38984
    Any help to get this working would be much appreciated.
    Thanks

    This console output says that the completion insight queries are executing - the first example took ~ 3.5 seconds and the second example took ~ 39 seconds. Unfortunately, it doesn't tell you how many records it returned.
    If you copy the queries out of the console output and run them manually, do you get any results? For example, the second query would be:
    select 'TABLE' type, ''||o.owner# owner, name object_name, null column_name, null column_id, null data_type
    FROM sys.obj$ o
    where o.name not like 'BIN%'
    and o.type# = 2
    and rownum <=50
    and name like 'AP_I%'
    union all
    select 'VIEW' type, ''||o.owner# owner, name object_name, null column_name, null column_id, null data_type
    FROM sys.obj$ o
    where o.name not like 'BIN%'
    and o.type# = 4
    and rownum <=50
    and name like 'AP_I%'
    union all
    select 'TABLE' type, user owner, synonym_name object_name, null column_name, null column_id, null data_type
    from all_synonyms
    where synonym_name like 'AP_I%'
    and rownum <=50
    and owner in (user,'PUBLIC')theFurryOne

  • Completion Insight not working

    A customer is using the same version of SQL Developer on the same workstation platform as myself.  My Completion Insight works, his does not.
    SQL Developer version 3.1.07 on Windows 7 Professional.
    Completion Insight is enabled under Tools->Preferences->Completion Insight.  Regardless of this setting the ctl + <space> shortcut works instantly for me, but under no circumstances for the customer.
    I made a test account on the DB that mirrors customer's privileges - my Completion Insight using the test account still works, so the problem must be with local to his install.
    I verified his SQL Developer files came from the same zip file I used for my own installation.
    Any ideas what is preventing his Completion from working?

    You might consider upgrading your customer to the latest release, v3.2.20.09
    In the meantime, I've noticed completion insight NOT working when there's a syntax/parsing issue. For example, what's in the worksheet code wise when they try it?
    With an empty worksheet, if they type select * from <ctrl><space>, does nothing come back?

  • After an upgrade Firefox now throws my Mac into Work Offline mode repeatedly. What action needs to be taken so Firefox permanently disables Work Offline mode?

    Immediately after an upgrade Firefox beginning throwing my Mac into Work Offline mode. Apparently, this is done anytime my connection blips out. I have tried a work-around, but to no avail. The computer is thrown into Work Offline when I daily turn on the computer, as well as in-between website windows.

    We've seen more post about being in Offline mode on a Mac. I haven't seen any explanation or solution to this problem.
    *[[/questions/919242]]
    *[[/questions/917014]]

  • UI Editor refresh problems and Insight not working

    Hi all, i'm having 2 problems which are really annoying. Everything used to work fine but suddenly one day 2 problems arose. Number 1, code insight isn't working... I checked my options, played with the delay but when I hit . nothing happens.
    My second problem is with the UI Editor.. everytime I try and drag a component it disappears but when I release the mouse it reappears. So lining up components is very painfull to say the least. The component gets "replaced" with a dark gray box and when I drag it around it keeps coloring the editor a dark gray. So if I move the component back to an area it already was, you don't know exactly where it is. God this is so hard to explain.. but if you have experieced it you know what i'm talking about. Any suggestions?
    Thanks
    Dave

    Check to make sure your source directory structure matches your package structure. Open up your Project Settings, and go to "Common->Input Paths" panel, and look at the Java Source Path. Suppose it is something like:
    Source Path = g:\jdev_home\jdev\mywork\Workspace1\Project1\src
    If your class is located in:
    (Source Path)\mypackage1\SomeClass.java
    then SomeClass.java should also have a package statement for "mypackage1". If you don't want to use packages in your source file, move your source file up one directory.
    Although it is legal to have directory & package structures not match, it is generally not recommended. JDev 9i currently requires that these hierarchies match in order for code insight to work - it can be quite a performance hit otherwise if they do not match if code insight has to search through all your directories to locate a given class.
    - Jimmy

  • The user is hanging up around 3-4 hours into working with this transaction

    The user is hanging up around 3-4 hours into working with this transaction(ZAP0009) They bring up the report and then drill down into a bunch of the POu2019s(around 80-100) and they keep applying filters as they go(keep adding certain POu2019s, Vendors, etc to the filter)

    is this standard or Custom transaction, trace the user using ST12 and see whats happening.

  • TIP - Trick Gmail into working as IMAP!!

    I searched around and found several methods of tricking Gmail into working as an IMAP server. This is not an ideal situation, but it works. This is the best one I found:
    http://www.macuser.com/internet/gettingyour_gmail_to_doimap.php
    I tried this using AOL Mail (free), because it also has 2GB of storage. Surprise, surprise: it worked and works quite well.
    Let me know if y'all try it and how it works out for you!

    Keeping Mail from constantly downloading and refreshing the All Mail folder (different from the Inbox as I am sure you know) might be a benefit, particularly if you are using many different connections when away from home.
    See:
    http://en.wikipedia.org/wiki/Push_technology
    where it says: Email is also a push system: the SMTP protocol on which it is based is a push protocol (see Push e-mail). However, the last step—from mail server to desktop computer—typically uses a pull protocol like POP3 or IMAP. Modern e-mail clients make this step seem instantaneous by repeatedly polling the mail server, frequently checking it for new mail. The IMAP protocol includes the IDLE command, which allows the server to tell the client when new messages arrive.
    I am not sure the Gmail server and Mail play nice with the IDLE command, and I have not selected it on my setup, but don't remember why as Gmail is not my principal email source? If you have selected to use the IDLE command, then you may want to experiment with deselecting it, and have Mail check for new messages every 5 or 10 minutes. I will further research Gmail with IDLE on Mail.
    Ernie

  • Trying to remote log into work and they require OS X v.10.7 Lion.  I have OS X 10.9.5 - same thing or how do I even know?

    Trying to remote log into work and they require OS X v.10.7 Lion.  I have OS X 10.9.5 - same thing or how do I even know?

    Thanks for the suggestions AyeSee - but I already know how to configure the mouse to perform a single task (e.g., rotating the mouse wheel = vertical scrolling OR rotating the mouse wheel = switching between desktops).  Per my original post I am wondering if there is a way to configure the mouse so that the functionality differs depending on whether I am working on desktops (rotating the mouse wheel = vertical scrolling) or in mission control (rotating the mouse wheel = switching between desktops). 
    For those also wanting to gain some MacBook trackpad-like functionality with their Logitech mouse when running OS X Lion (or later), as a workaround, I currently have a logitech M110 mouse configured as follows:
    > rotating the mouse wheel = vertical scrolling (equivalent to trackpad two-finger swipe up and down)
    > pessing the mouse wheel = open Mission Control (equivalent to trackpad three-finger swipe up)
    > titlting wheel left or right = switch between desktops, both when working in a given desktop or when in mission control (equivalent to track-pad three-finger swipe left or right).
    Instructions for configuring a Logitech mouse are available within help in the Logitrech Contol Center (appears under "Other" section of System Preferences).

  • Any insight into this Kernel Panic MB Pro Mid 2012

    Any insight into this would be helpful. I was literally browsing the web when this happened. I would love to be able to decipher this. Any help would be appreciated!
    Anonymous UUID:       9885FC36-F89A-F710-67C2-50FADB72C204
    Sat Nov  2 20:25:24 2013
    panic(cpu 0 caller 0xffffff80094dc19e): Kernel trap at 0xffffff800930e058, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0xffffff8088954000, CR3: 0x000000000b72b000, CR4: 0x00000000001606e0
    RAX: 0x0000000000000000, RBX: 0x0000000000000002, RCX: 0x0000000000000001, RDX: 0x00000000000000ff
    RSP: 0xffffff8088953dd8, RBP: 0xffffff8088953e20, RSI: 0xffffff8088c6d0f0, RDI: 0xffffff8088953ffe
    R8:  0x0000000000000000, R9:  0xffffff8009a01910, R10: 0x00000000000003ff, R11: 0xffffffffffffffff
    R12: 0xffffff8088953f0e, R13: 0x0000000000000000, R14: 0xffffff8088953e00, R15: 0xffffff8015840000
    RFL: 0x0000000000010203, RIP: 0xffffff800930e058, CS:  0x0000000000000008, SS:  0x0000000000000010
    Fault CR2: 0xffffff8088954000, Error code: 0x0000000000000002, Fault CPU: 0x0
    Backtrace (CPU 0), Frame : Return Address
    0xffffff8088953a60 : 0xffffff8009422f69
    0xffffff8088953ae0 : 0xffffff80094dc19e
    0xffffff8088953cb0 : 0xffffff80094f3606
    0xffffff8088953cd0 : 0xffffff800930e058
    0xffffff8088953e20 : 0xffffff7f89d8328c
    0xffffff8088953e40 : 0xffffff80098ae4b3
    0xffffff8088953ea0 : 0xffffff7f89d8324e
    0xffffff8088953ee0 : 0xffffff7f89d8320b
    0xffffff8088953ef0 : 0xffffff7f8ac17e92
    0xffffff8088953f20 : 0xf2c5636e49726574
    Unaligned frame
    Backtrace terminated-invalid frame pointer 0x75706d6fd0363169
          Kernel Extensions in backtrace:
             com.apple.driver.AppleSmartBatteryManager(161.0)[2F0217DE-BEE6-3307-8ECF-20625A FB40EA]@0xffffff7f8ac16000->0xffffff7f8ac1dfff
                dependency: com.apple.iokit.IOACPIFamily(1.4)[045D5D6F-AD1E-36DB-A249-A346E2B48E54]@0xfffff f7f89d76000
                dependency: com.apple.iokit.IOSMBusFamily(1.1)[BC540E75-A236-3ADC-A990-681066ABFBDC]@0xffff ff7f8a211000
             com.apple.driver.AppleSMC(3.1.6d1)[A9B9A2AE-AA23-3EB8-8D26-F91F90977405]@0xffff ff7f89d7f000->0xffffff7f89d8dfff
                dependency: com.apple.iokit.IOACPIFamily(1.4)[045D5D6F-AD1E-36DB-A249-A346E2B48E54]@0xfffff f7f89d76000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    13A603
    Kernel version:
    Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64
    Kernel UUID: 1D9369E3-D0A5-31B6-8D16-BFFBBB390393
    Kernel slide:     0x0000000009200000
    Kernel text base: 0xffffff8009400000
    System model name: MacBookPro9,2 (Mac-6F01561E16C75D06)
    System uptime in nanoseconds: 54278125375047
    last loaded kext at 53807267155297: com.apple.driver.AppleUSBTCKeyEventDriver          240.2 (addr 0xffffff7f8b2d7000, size 12288)
    last unloaded kext at 54212979737324: com.apple.driver.AppleUSBAudio          2.9.3f17 (addr 0xffffff7f8b21c000, size 303104)
    loaded kexts:
    com.Cycling74.driver.Soundflower          1.6.6
    com.apple.filesystems.afpfs          11.0
    com.apple.nke.asp-tcp          8.0.0
    com.apple.driver.AppleMikeyHIDDriver          124
    com.apple.driver.AGPM          100.14.11
    com.apple.driver.X86PlatformShim          1.0.0
    com.apple.driver.AppleHDA          2.5.2fc2
    com.apple.driver.AudioAUUC          1.60
    com.apple.filesystems.autofs          3.0
    com.apple.iokit.IOBluetoothSerialManager          4.2.0f6
    com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport          4.2.0f6
    com.apple.driver.AppleMikeyDriver          2.5.2fc2
    com.apple.driver.AppleBacklight          170.3.5
    com.apple.driver.AppleUpstreamUserClient          3.5.13
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AppleHWAccess          1
    com.apple.driver.AppleSMCPDRC          1.0.0
    com.apple.driver.AppleMCCSControl          1.1.12
    com.apple.driver.AppleThunderboltIP          1.0.10
    com.apple.driver.AppleIntelHD4000Graphics          8.1.8
    com.apple.driver.AppleIntelFramebufferCapri          8.1.8
    com.apple.driver.AppleSMCLMU          2.0.4d1
    com.apple.driver.AppleLPC          1.7.0
    com.apple.driver.SMCMotionSensor          3.0.4d1
    com.apple.driver.AppleUSBTCButtons          240.2
    com.apple.driver.AppleUSBTCKeyboard          240.2
    com.apple.driver.AppleIRController          325.7
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          35
    com.apple.iokit.SCSITaskUserClient          3.6.0
    com.apple.driver.XsanFilter          404
    com.apple.iokit.IOAHCIBlockStorage          2.4.0
    com.apple.driver.AppleUSBHub          650.4.4
    com.apple.driver.AirPort.Brcm4331          700.20.22
    com.apple.driver.AppleAHCIPort          2.9.5
    com.apple.driver.AppleSDXC          1.4.0
    com.apple.driver.AppleUSBEHCI          650.4.1
    com.apple.iokit.AppleBCM5701Ethernet          3.6.9b9
    com.apple.driver.AppleFWOHCI          4.9.9
    com.apple.driver.AppleUSBXHCI          650.4.3
    com.apple.driver.AppleSmartBatteryManager          161.0.0
    com.apple.driver.AppleACPIButtons          2.0
    com.apple.driver.AppleRTC          2.0
    com.apple.driver.AppleHPET          1.8
    com.apple.driver.AppleSMBIOS          2.0
    com.apple.driver.AppleACPIEC          2.0
    com.apple.driver.AppleAPIC          1.7
    com.apple.driver.AppleIntelCPUPowerManagementClient          216.0.0
    com.apple.nke.applicationfirewall          153
    com.apple.security.quarantine          3
    com.apple.driver.AppleIntelCPUPowerManagement          216.0.0
    com.apple.security.SecureRemotePassword          1.0
    com.apple.driver.DspFuncLib          2.5.2fc2
    com.apple.vecLib.kext          1.0.0
    com.apple.kext.triggers          1.0
    com.apple.iokit.IOSerialFamily          10.0.7
    com.apple.iokit.IOBluetoothHostControllerUSBTransport          4.2.0f6
    com.apple.iokit.IOAudioFamily          1.9.4fc11
    com.apple.kext.OSvKernDSPLib          1.14
    com.apple.driver.AppleHDAController          2.5.2fc2
    com.apple.iokit.IOHDAFamily          2.5.2fc2
    com.apple.driver.AppleSMBusPCI          1.0.12d1
    com.apple.iokit.IOBluetoothFamily          4.2.0f6
    com.apple.driver.AppleBacklightExpert          1.0.4
    com.apple.driver.X86PlatformPlugin          1.0.0
    com.apple.driver.AppleSMBusController          1.0.11d1
    com.apple.iokit.IOFireWireIP          2.2.5
    com.apple.iokit.IOSurface          91
    com.apple.iokit.IONDRVSupport          2.3.6
    com.apple.iokit.IOAcceleratorFamily2          98.7.1
    com.apple.AppleGraphicsDeviceControl          3.4.12
    com.apple.iokit.IOGraphicsFamily          2.3.6
    com.apple.driver.IOPlatformPluginFamily          5.5.1d27
    com.apple.driver.AppleSMC          3.1.6d1
    com.apple.driver.AppleUSBMultitouch          240.6
    com.apple.iokit.IOUSBHIDDriver          650.4.4
    com.apple.driver.AppleThunderboltDPInAdapter          2.5.0
    com.apple.driver.AppleThunderboltDPAdapterFamily          2.5.0
    com.apple.driver.AppleThunderboltPCIDownAdapter          1.4.0
    com.apple.driver.AppleUSBMergeNub          650.4.0
    com.apple.driver.AppleUSBComposite          650.4.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.6.0
    com.apple.iokit.IOBDStorageFamily          1.7
    com.apple.iokit.IODVDStorageFamily          1.7.1
    com.apple.iokit.IOCDStorageFamily          1.7.1
    com.apple.iokit.IOAHCISerialATAPI          2.6.0
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.6.0
    com.apple.driver.AppleThunderboltNHI          1.9.2
    com.apple.iokit.IOThunderboltFamily          2.8.5
    com.apple.iokit.IOUSBUserClient          650.4.4
    com.apple.iokit.IO80211Family          600.34
    com.apple.iokit.IOAHCIFamily          2.6.0
    com.apple.iokit.IOEthernetAVBController          1.0.3b3
    com.apple.driver.mDNSOffloadUserClient          1.0.1b4
    com.apple.iokit.IONetworkingFamily          3.2
    com.apple.iokit.IOFireWireFamily          4.5.5
    com.apple.iokit.IOUSBFamily          650.4.4
    com.apple.driver.AppleEFINVRAM          2.0
    com.apple.driver.AppleEFIRuntime          2.0
    com.apple.iokit.IOHIDFamily          2.0.0
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          278.10
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          7
    com.apple.driver.AppleKeyStore          2
    com.apple.driver.DiskImages          371.1
    com.apple.iokit.IOStorageFamily          1.9
    com.apple.iokit.IOReportFamily          21
    com.apple.driver.AppleFDEKeyStore          28.30
    com.apple.driver.AppleACPIPlatform          2.0
    com.apple.iokit.IOPCIFamily          2.8
    com.apple.iokit.IOACPIFamily          1.4
    com.apple.kec.corecrypto          1.0
    com.apple.kec.pthread          1

    I have since removed Soundflower and am testing this further. If anyone has ideas other than this, I'm all ears.

  • Boot Camp Installation: Definition of, and insights into "External Drives"?

    I'm recovering from a logic board failure. One casualty was that I lost my prior Boot Camp installation of Windows on my main internal hard drive. :-( Wondering if I can install Windows anywhere other than the main internal hard drive so I can maximize space on my OSX main internal drive?
    From what I've gathered, installing Windows 7 Boot Camp is very difficult (and perhaps impossible?) on an external hard drive. However, what's not entirely clear is what constitutes an "external drive".
    Questions:
    1. Can I install a bootable installation of Windows 7 using Boot Camp (obviously not running OSX in this scenario) on either the:
         A) Data Doubler 7,200 drive
    or
         B) Express Card 34 SSD drive
    2. Can I also install Parallels (on the main internal OSX drive), then while in OSX launch (a much slower) Windows from location A or B?
    Context:
    1.  On a late 2011 MBP 17' (version 8,3), I've replaced the stock hard drive (7,200 rpm) with a much faster OWC SSD Drive. (Awesome upgrade, btw!)
    2. The internal apple dvd device was removed and the stock hard drive was inserted in this location using OWC Data Doubler. (Also, very nice.) An extra challenge here is that the dvd drive is now an external device. I have a Windows 7 install disc, but I'm not sure if it will be recognized during the installation process?
    3. This model MBP has an ExpressCard 34 slot, for which I can buy an SSD drive. Never used this slot and have read mixed reports on boot ability.
    Any and all insights greatly appreciated!

    Yoüf wrote:
    Many thanks for the helpful response, Loner T.  I think I've got it. To install Windows through BCA on the Optibay drive, I temporarily move it to the main SATA bay. I can then temporarily put the DVD drive back in the Optibay. So here's a question: In doing this, I would no longer have an OSX boot drive (since I'm temporarily removing my OSX boot SSD). It's been a while since I used BCA, so my memory is fuzzy (sorry), but does the BCA process need a working OSX install on the drive in the SATA bay?
    The SSD with OSX boot is normally (for your specific scenario) kept in an external enclosure (USB/FW/TB) to boot from and run BC and partition the disk in the main SATA bay.
    You mention that modifying the BC info.plist causes issues. I lost you a little here. Using the method you describe (move the Optibay drive to the SATA location, run BCA to install Windows, then move the drive back to the Optibay location), does the BC info.plist need to be modified or not?  If yes, a few more details would be welcomed. If not, what prompted this thought?
    If you have a functional Optical drive and the designated Windows-to-be in the proper bays, the BC info.plist modifications are unnecessary, and can cause other grief, and are best avoided.
    Thanks also for the bleeptobleep post. It says to use a USB3/Thunderbolt external drive (which I do have); however, my MBP (version 8,3) only has USB2 ports. I realize that a USB2 port will read a USB3 external drive, but was wondering if this limitation is a deal breaker for a bootable Windows system, or if it just means that things will be really, really, tragically slow due to low transfer rates. Any idea on this aspect?
    USB3 can cause problems for Windows 7 installer, bot not as many issues for Windows 8+. It is better to stick to USB2, but you are correct it will be slow. OSX can boot and will use RAM much more aggressively, unless it has to go back to the USB (2/3) when things may give you a beach ball. Windows 7/8 are less friendly for caching the whole OS and applications in RAM, and may be slower. A TB connection is much faster (TB2 even better).
    BTW: Bummer that the ExpressCard slot can't work for booting into Windows. That would be pretty slick. I've seen some older posts by folks who were once able to do this, but seemingly only with early versions of OSX. Apparently newer OSX versions either did away with this feature, or seriously complicated the process. Would love to find a workaround if one exists.
    You can test it, but may have some issues finding storage for ECards.
    (Dumb question: on this forum, how are you threading comments into a quoted block of text? Are you using HTML or is there some easier way?)(((
    Under the "Reply" bar at the top, there is an icon with a "quote" and a "speech" bubble, which is used to quote posts. You can either quote from a previous post, or select a line (or more) of text and click on that icon.

  • Completion Insight not working correctly when using Enterprise User Security (EUS) logon

    This is a pre existing issue we've experienced with SQL Developer, though I've only just worked out what is causing the issue it is present in previous versions of the tool, up to the current 4.0.EA2.
    We experience issues with the Completion Insight functionality of SQL Developer.
    When we log into a database using Enterprise User Security i,e authenticating against OID, the schema of the database account is prefixed to any reference to public synonyms, ie all user_%, all_%, dba_% and v$% views.
    When I change the authentication of the database account back to normal database authentication the schema prefix correctly isn't shown. It simply suggests the synonym name of the views.
    An example of this is as follows when attempting to query the DBA_TABLES view:
    The database account is ORADBA and has DBA privs.
    The EUS user that is mapped to the ORADBA schema is dbutler.
    The ORADBA user is configured to authenticate externally (against OID).
    I login with my dbutler directory credentials:
    If I start typing:
    select * from dba_tabl
    The object name is suggested as ORADBA.dba_tables
    If I change the authentication of the ORADBA account back to database authentication, the prefix is no longer present.
    i.e If I start typing:
    select * from dba_tabl
    The object name is suggested as dba_tables

    If you're not using DB 10.2 this is the "expected" behavior for the DB. See also metalink note 351170.1 "Enterprise Users Can Connect to a Database when the OID Account is Disabled"
    regards,
    --Olaf                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Code completion(insight) not working in SQL Developer Version 2.1.1.64

    I recently downloaded SQL developer Version 2.1.1.64. However the code completion feature is not working automatically. I have checked the Automatically complete code in SQL worsheet checkbox under Tools->Preferences-> Code Editor-> Completion Insight.
    Strangely, I get the code completion pop up window when I explicitly press the completion insight shortcut(Ctrl + Space).
    Please help.
    Thanks and Regards.

    Hi, I am getting the following logs :
    Code completion time = 1015
    *...?aux tok2?, parse time = 63
    InsightableOracleDatabase.fetch() time = 360
    Code completion time = 844
    Finished parsing = 0
    *...?aux tok2?, parse time = 62
    InsightableOracleDatabase.fetch() time = 344
    Code completion time = 812
    Finished parsing = 0
    *...?aux tok2?, parse time = 63
    InsightableOracleDatabase.fetch() time = 359
    Code completion time = 891
    Finished parsing = 0
    Thanks

  • Code insight not working in sql developer 1.1.0.23

    i just downloaded today. insight options all checked in preferences section. popup time set to less than a second. i get nothing to work in sql worksheet or while modifying a package body.

    Hello,
    You should see things from this side sometimes ;-) It's a small team, working hard, very focused! Yes, there is indeed a sense of urgency and we are testing a patch SQL Developer 1.1 at the moment. There is always the battle between wanting to get an updated release to you, the community, quickly, and delaying to ensure what you get is good.
    Code insight, performance and many other issues have been addressed in this patch.
    As for your other point, we want the tool to be lightweight, easy to install, easy to use with a clear user interface. Perhaps there'll be a new battle when adding features, but that's the goal.
    Regards
    Sue

  • Code Insight not working properly - 9.0.3. preview

    We are having some problems with Code Insight on the 9.0.3 preview version of JDeveloper. We have a couple of libraries which regularly change so when a new version comes along we simply overwrite the old one (they are saved in <JDEV_HOME>\jlib. In 9.0.2 all we needed to do was exit and restart JDeveloper and the new classes could be seen in Code Insight. This doesn't seem to be the case now although my code compiles OK. We thought that there might be a cache of some sort related to these libraries and what we've found is a folder under <JDEV_HOME>\lib called ojpd. There appears to be a file for each library in here. We renamed
    the ones related to our libraries and this fixed our problems, but a new version was created. It seems to us that JDeveloper should be checking the modified date of any of these libraries and if so create a new 'ojpd' file. Is this a known bug?
    Thanks
    Ian

    JDeveloper actually checks the number of bytes in a .jar file that it has stored parse data for. I believe there was a bug in the preview release involving this check. This bug has since been fixed.
    To work around it in the preview you can delete the ojpd files corresponding to the archives you have changed. The files will be named after the archive, with a hash of the unique part of their path appended.
    These files are only built for archives that are included in libraries, and reside under Oracle Home (the directory containing the jdev directory), or the User Home.

  • Merge Into works in SQL, fails in PL/SQL

    Database is 9i (Oracle9i Enterprise Edition Release 9.2.0.5.0)<br>
    <br>
    The 9i documentation--PL/SQL User's Guide and Reference
    Release 2 (9.2)--makes it seem like this is part of the PL/SQL language, but the compiler disagrees.<br>
    <br>
    Anyone else encounter this?<br>
    <br>
    Test case:<br>
    create table kev(d date, n number);<br><br>
    Table created.<br>
    <br>
    ..it works in SQL...<br>
    MERGE INTO kev k<br>2 USING ( SELECT 1 n, sysdate d from dual ) s<br>
    3 ON ( k.n = s.n )<br>
    4 WHEN MATCHED THEN<br>
    5 UPDATE<br>
    6 SET k.d = s.d<br>
    7 WHEN NOT MATCHED THEN<br>
    8 INSERT (n,d)<br>
    9 VALUES (s.n, s.d);<br>
    <br>
    1 row merged.<br>
    <br>
    ..but not in PL/SQL...<br>
    begin<br>2 MERGE INTO kev k<br>
    3 USING ( SELECT 1 n, sysdate d from dual ) s<br>
    4 ON ( k.n = s.n )<br>
    5 WHEN MATCHED THEN<br>
    6 UPDATE<br>
    7 SET k.d = s.d<br>
    8 WHEN NOT MATCHED THEN<br>
    9 INSERT (n,d)<br>
    10 VALUES (s.n, s.d);<br>
    11 end;<br>
    12 /<br>
    MERGE INTO kev k<br>
    *<br>
    ERROR at line 2:<br>
    ORA-06550: line 2, column 7:<br>
    PLS-00103: Encountered the symbol "INTO" when expecting one of the following:
    := . ( @ % ; <a SQL statement><br>
    <br>
    Thanks.

    Answer
    There are indeed DB parameters conflicting with the MERGE statement. The DB I am working on is for Oracle Applications. Apparently, although the applications are certified to run on current databases, the underlying code base has not really been brought up, and users are forced into some backward compatibility constraints. So I am stuck until we get our application upgraded from 11.5.7 to something better.
    Hope this helps someone else.
    Kevin
    From the database initialization parameters:
    # Events
    # Events should not be set unless directed by Oracle Support,
    # or by instruction as per the Applications documentation.
    # The following events should be set for PL/SQL backward
    # compatibility.
    # These events should only be used if you are using Oracle
    # Applications release 11.5.7. For later releases (i.e. 11.5.8
    # or higher), you should remove these events.
    event="10932 trace name context level 32768"
    event="10933 trace name context level 512"
    event="10943 trace name context level 16384"

Maybe you are looking for