Is there any way to configure iBooks to open an external link (Spotify app) when clicking on a link like "spotify:track:78nySCOb8jDsRufLOyai8r" ?

Surprisingly, clicking on an external link such as "spotify:track:78nySCOb8jDsRufLOyai8r" opens the Spotify app on mobile devices with iOS 7.0.3 but not on computers with Mac OS X 10.9...

thanks for your help.
I may have been confusing a "acrobat bookmark" and a bookmark in a word file that is converted to a pdf and ends up being a
link of the type:
"Go to a page in this document"
which I do not want in my array vs
a link of the action type:
"Open a web link"
Which I do want
John
My code, note how I have to skip pages with "Go to a page in this document" links depending on the document, I would like to use the same code for each document and skip over the "Go to a page in this document" links :
global.ilinkindex = 1; 
global.aLinkquads = [ [0, 1, 1, 0, 0],
       [0, 0, 0, 0, 0] ];
function GetLinkArray()
global.ilinkindex = 1;
var iTotalLinks=0;
// for ( var p = 0; p < this.numPages - 8 ; p++)                   // end before bookmarks for each page of the file x.pdf
//  for ( var p = 0; p < this.numPages; p++)                     // for each page of the file
for ( var p = 23; p < this.numPages; p++)                     // start after bookmarks for each page of the file y.pdf
  var cropbox = this.getPageBox("Crop", p);
  var alinksonpage = this.getLinks(p, cropbox);            // get array of links on page
  for ( var ll = 0; ll < alinksonpage.length; ll++)
   var linkquads = alinksonpage[ll].rect;     // get link Quads
   linkquads[4] = p;          // add page number to link Quads array
    global.aLinkquads[global.ilinkindex] = linkquads; // add quads to global link Quads array
    global.ilinkindex++;
iTotalLinks = global.aLinkquads.length - 1;
global.ilinkindex = 1;
app.alert("Number of Links in Document is " + iTotalLinks );

Similar Messages

  • Is there any way to configure storage queue message encoding for Web Job's QueueTrigger?

    We have a web job that listens to Azure storage queue via QueueTrigger. The queue messages are not encoded when they are added to the queue:
    CloudStorageAccount account = CloudStorageAccount.Parse("...");
    CloudQueueClient client = account.CreateCloudQueueClient();
    CloudQueue queue = client.GetQueueReference("test1");
    queue.EncodeMessage = false;
    queue.AddMessage(new CloudQueueMessage("hello world"));
    And in the web job, we use the below method to listen to the queue.
    public static Task ProcessQueueMessageAsync([QueueTrigger("test1")]string message)
    And the web job crashes when it gets a message, with the below output. Unfortunately we cannot control the encode setting of the coming messages. So, our question is, is there any way to configure queue message encoding for Web Job's QueueTrigger?
    Thank you for any help and/or suggestion.
    Found the following functions:
    WebJobTest1.Functions.ProcessQueueMessageAsync
    Job host started
    Unhandled Exception: System.FormatException: Invalid length for a Base-64 char array or string.
    at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength)
    at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)
    at System.Convert.FromBase64String(String s)
    at Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage.get_AsString()
    at Microsoft.Azure.WebJobs.Host.Storage.Queue.StorageQueueMessage.get_AsString()
    at Microsoft.Azure.WebJobs.Host.Queues.StorageQueueMessageExtensions.TryGetAsString(IStorageQueueMessage message)
    at Microsoft.Azure.WebJobs.Host.Queues.QueueCausalityManager.GetOwner(IStorageQueueMessage msg)
    at Microsoft.Azure.WebJobs.Host.Queues.Listeners.QueueTriggerExecutor.<ExecuteAsync>d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.Azure.WebJobs.Host.Queues.Listeners.QueueListener.<ProcessMessageAsync>d__11.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at Microsoft.Azure.WebJobs.Host.Timers.BackgroundExceptionDispatcher.<>c__DisplayClass1.<Throw>b__0()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()
    Press any key to continue . . .

    Hi,
    Thanks for posting here.
    I am not too sure if the storage queue messages can be encoded before the webjob listens to it.
    I am currently researching to gather more information with regards to your request.
    I shall revert back to you with an update at the earliest.
    Sincerely appreciate your patience.
    Regards,
    Shirisha Paderu

  • My one year old disabled my iphone 5 so i need to "connect it to itunes" as the screen directs. I know how to do this with my laptop but it says i will be doing a factory reset. is there any way to get my phone open without losing everything?

    Long story short, my one year old disabled my iphone5 and I need to "connect to itunes" as the screen instructs. I went through the steps and it says that I will be doing a factory reset and I will lose everything. Is there any way to get my phone open without losing everything?? I'm mainly concerned about my pictures and videos.

    Once the Device is in Recovery Mode... it is too late to save anything...
    To minimise loss... after the successful Recovery... Restore from the most recent Backup...
    See Restore from Backup here
    http://support.apple.com/kb/ht1766

  • Is there any way to pull in movies from an external HD if my internal is full

    Is there any way to pull in movies from an external HD if my internal is full?

    I can make PHONE CALLS from my iPhone 6 on my MacBook???
    (And then, I assume, my iPad?)

  • Is there any way to make my iPod Touch 4G to run faster? When I bought it, it was turbocharged! But now it seems to get a bit slower... Thanks in advance for any help

    Is there any way to make my iPod Touch 4G to run faster? When I bought it, it was turbocharged! But now it seems to get a bit slower... Thanks in advance for any help

    Periodically delete all apps from the recently-used bar (double clickHome button) and power off and then back on the iPod. With iOS 5, the iPod uses more memory (do not confuse with storage) and periodically you have to reclaim memory for use.

  • Is there any way to delete text messages from the external screen of an LG EnV3?

    The internal screen of my phone doesn't work, so I've been texting from the external key pad. But my inbox has gotten full and I can't receive texts anymore. Is there any way to delete texts using only the external screen of the EnV3?

    It was awhile ago and I'm not totally sure, but I think this was discussed and the conclusion was that you can't delete texts using the external screen of the Env3. **Edit  (Found one thread: http://community.vzw.com/t5/Messaging-Text-Picture-IM-etc/No-option-to-delete-text-messages-from-front-of-LG-enV3/m-p/43042#M1684 )  It came up in one other thread that I could find and the solution was to use the internal, and similar steps were given - the only difference was using the OK for Menu and #2 for Messages, rather than the left soft key for Messages.  vWhatever works... 
    What you CAN do, is open the flip, left soft key (which is the Messages menu), and there are several options - these are the text messaging ones -
    1. New Message
    2. Inbox (#)
    3. Sent (#)
    4 Drafts (#)
    Press the right soft key (options) and your choices are:
    1.Erase Inbox
    2.Erase Sent
    3.Erase Drafts
    4.Erase All
    If you choose Erase All, then OK - it will erase all except unread messages, and locked messages. If you choose any of the numbers, then hit OK, it will erase ALL in that category, read or not, so I would choose Option 4 to erase all but the unread.
    HTH, and post back if you have further questions...

  • Is there any way to find my stolen iPod without find my iPhone app

    Is there any way to find my stolen ipod without find my iPhone app.

    No app is required.                                               
    - If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
    - You can also wipe/erase the iPod and have the iPod play a sound via iCloud.
    - If not shown, then you will have to use the old fashioned way, like if you lost a wallet or purse.
    - Change the passwords for all accounts used on the iPod and report to police
    - There is no way to prevent someone from restoring the iPod (it erases it) using it.
    - Apple will do nothing without a court order                                                        
    Reporting a lost or stolen Apple product                                               
    - iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number

  • I have a MacBook Pro, I recently bought a microsof word for it but its in spanish, since all my work its done in English, it there any way I an adapt a dictionary so it gives me suggestions when i write?

    I have a MacBook Pro, I recently bought a microsof office for it,  but its in spanish, since all my work its done in English, it there any way I an adapt a dictionary so it gives me suggestions when i write?

    Your Mac already has a Spanish and an English Dictionary.
    May be you only need to select them.
    Open Dictionary.app and under preferences select the languages you need.

  • HT4059 Is there any way to read ibooks in my itunes library from my PC?

    I have an ipad2 but would also like to be able to read purchased books on my PC (XP). Itunes does display the books I've purchased but I haven't been able to figure out how to read them using the PC. Is there any way to do this or is this just a 'feature' that apple thinks will make me a 'fan'?
    Thanks,
    monty4135

    Thanks roaminggnome... I was afraid of that. Sigh... The corporate understanding of what's 'proprietary' vs. what is flexible and useful amazes me. Especially when they express amazement and outrage over market loss when someone else comes along with a product which does this. That's usually when they go to congress for a 'law' to protect their corporate butts. Anyway, thanks for your help.
    monty4135

  • In Firefox 3.6.10 I was able to go forward and backwards between pages without the page defaulting to the top of the page. Is there any way to prevent the page from automatically moving to the top when using the forwards and back buttons in Firefox Four?

    I like to be able to navigate backwards and forwards without having to scroll down and find where I was previously. In Firefox Four, when using the forwards and back buttons, the page will automatically return to the top of the page. Is there any way to change this setting in Firefox Four to prevent it from doing that?

    Thanks for the response. No Time Machine, but I probably have a backup from a few months ago on an external hard drive. :/ I guess it'd have useful history, but not if it overwrote the last 3 months or so of Awesome Bar, that might not be so great.

  • Is there any way for my ipad to piggyback the internet from my iphone when i am not in a wifi area... The guy at the ATT

    Is there any way for my ipad to piggyback the internet from my iphone without having to purchase a "plan" from ATT&T....The guy at the store said that I had to purchase a new plan with "so much" GB per month and loose my unlimited amount that I am grandfathered into with my current plan... any thoughts?

    Unfortuneatly, you would have to give up your unlimited plan. In the US you would have to get the 2GB plan for $25 and add the teathering plan for $20 more.  The teathering plan would give you another 2GB of data for a total 4GB.

  • Is there any way to connect an iPhone to an external hard drive without the use of a computer?

    Hello All,
    I am planning to travel to Central America, and I want to take pictures with my iPhone. I only have 8 GB memory, so I wanted to take my 1 TB WD Mac External Hard Drive with me on the trip. Is there any way I can connect my iPhone directly to the external hard drive, without the use of a computer? Thanks in advance!

    The external hard drive has only one input port which is usb, so you can only use usb here. Also try considering online storage.

  • My husband and I are separated, but still using the same App Store account.  Is there any way I can create a new account but keep the apps (and, more importantly, the data in those apps)?

    I have budgeting and home management apps that contain lots of data and I would like to retain these apps and the data when we split our App Store accounts.  Is there any way to do that? I don't want to have to go and buy the apps again - this includes all the kids' games that we bought on the account.

    PrettyPettyThings wrote:
    Thanks.  Well I retain the data if I purchase the app again?
    That depends on the app and where the app's data are stored. I think if you back up the phone, delete the app, purchase it again using your Apple ID, then restore the backup you will get your data back. But I cannot guarantee it.

  • Help..is there any way to locate if u didn't load find my app

    Help..is there any way to locate if u didn't load the find my app?

    for the find my iphone(ipod/ipad) app the device would have to be connected to a wifi network for you to be able to find it but since you didn't there is no way to find now if it was stolen i highly recommend going to the police and give them information on the ipod touch ( serial number, make, model, gig size)

  • Is there any way to stop websites from auto-playing their content (music/videos) when the page loads?

    Certain websites have ads or content that plays music or videos and they are not always easily found to turn off. This also slows down my connection as it is constantly streaming or buffering and I have no way of stopping it. Is there any way that I can disable the websites from automatically playing their content?

    Is there any other options for this?
    I don't want to block the audio/video, and I do use ad-blocker... However, it's just really annoying when I "open link in new tab" for something I want to look at a little later. Especially if I open several at once, I get multiple tabs playing audio and/or video, and sometimes it takes a while to figure out which tab is doing what...
    The issue is I don't want to "block" them -- I just don't want them to play until either the tab is "activated" by clicking on it, or better yet, to only play when I click on the audio/video link.
    Thanks!
    DroidLuvr

Maybe you are looking for

  • What is diff b/w reuse_alv_grid_display and reuse_alv_grid_display_lvc

    Hi everbody, what is diff b/w reuse_alv_grid_display and reuse_alv_grid_display_lvc. can u give a dteils on it . Regards, Priya

  • Vendor return for multiple material doc

    hi experts we have created a po of multiple line items... vendor has delivered each line item with different excise invoice.. each time we receive the material with respect to po, material document is created which is different for all line items. if

  • ABAP Runtime Error CONVT_NO_NUMBER

    Dear all, I am calling transaction F-02 for posting G/L Account from an FM. I tried with the Header Data and Account and Cost Centre but it says ABAP Runtime Error CONVT_NO_NUMBER. I undersood that its because of the Number interpretation and coded a

  • Exception while trying to write xml file

    When I try to write my DOM tree to an XML file a get the following exception form the transformer.transform() function call: Exception in thread "AWT-EventQueue-0" java.lang.AbstractMethodError: org.apache.crimson.tree.XmlDocument.getXmlStandalone()Z

  • About This Mac screen in Lion still that of Snow Leopard

    I recently wiped my MBP's drive, installed Lion and migrate all my apps and data manually. After I got settled in I remebererd Lion was supposed to have this fancy new "About This Mac" screen. I was very disappointed to find my system does not have i