Is there more beautiful way to get reference for next para?
I have insertion point in some paragraph.
Now i need to know para style of some next paras.
I use this huge construction:
Set mPara0 = myInd.Selection.Item(1).Paragraphs.Item(1) 'para inder cursor
Set mPara3 = mPara0.InsertionPoints.Item(-1).Paragraphs.Item(1) 'third para
Set mPara3 = mPara3.InsertionPoints.Item(-1).Paragraphs.Item(1)
Set mPara5 = mPara3.InsertionPoints.Item(-1).Paragraphs.Item(1) 'fifth para
Set mPara5 = mPara5.InsertionPoints.Item(-1).Paragraphs.Item(1)
ParaName3 = mPara3.Paragraphs.Item(1).AppliedParagraphStyle.Name
ParaName5 = mPara5.Paragraphs.Item(1).AppliedParagraphStyle.Name
Is there some other way?
Thanks.
I'd like very much to compare speed, but couldn't use "index" property.
This line wrote err:
Set ParaName3 = myInd.Selection.ParentTextFrames.Item(1).Paragraphs.Index(mIndex + 2)
cause "index" property is inside item with some number in parent obj, which number i do not know. Or i have to check every item, and compare its index number with current para (i think it's enough stupid way). Give a hint, pls.
because there is no .Index(mIndex + 2) function
if you want to refer to Nth paragraph - you need to use .Paragraphs.Item(mIndex + 2) or just .Paragraphs(mIndex + 2)
and I think getting NextParagraph by refering to last InsertionPoint in current is the best method
and you can't refer to next paragraph by increasing current pargraph's index
if you will write:
mIndex = myPara.Index
and you will then try to write
Set myNextPara = myStory.Paragraphs.Item(mIndex + 1)
this will not return next paragraph - it will return paragraph with index of first character from mIndex paragraph + 1
robin
www.adobescripts.co.uk
Similar Messages
-
I have reset my macair because of another software issue I cannot solve. It solved my issue but now I noticed that iPhoto and iMovie are missing and if I searched it in the appstore it is not free. I check the updates, it is also not there. Help please.
Hi Loca Latte,
This might help:
http://offers.adobe.com/en/na/audition/offers/audition_dlc.html
- Dave -
after this new itunes and ios7 update all my music is off my ipod touch unless i download them one artist at a time, i have over 3500 songs in there. really? is there no easier way to get my music back into my ipod? like a download all button? thanks.
thanks for the reply. guess i'll have to do that. apple, not really happy with what you've done with this latest update. have not been able to enjoy my music in my car since the update. most of us dont mind changes that progress timely, but this was much more than just a progression. this was a complete change. and not a good one, at all. thanks to the two people that replied. appreciate it.
-
Is there an easy way to get rid of duplicates in your music library?
Is there an easy way to get rid of duplicates in your music library?
Apple's official advice is here... HT2905 - How to find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls.
Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created. If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin. Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership.See this thread for background and please take note of the warning to backup your library before deduping.
(If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
tt2 -
I was recently burglarized and lost a bunch of Apple products. Is there a way to get receipts for items purchased with my Apple ID?
Yes if you go to http://store.apple.com/ on the top right under the search it will say "Account" or your first name. You will click or tap that and you will click "check order status" sign in. After you do that in the middle by the order date and number it will say "print invoices" and as long as your item(s) have been ship you will be able to see and print your invoice receipts. you can view items purchased in the last 18 months.
-
Is there any other way to get Adobe Captivate help?
Hi guys,
is there any other way to get Adobe Captivate specific help? I've posted a question twice with no help, it's very specific, so no one here might actually know the solution. I'm wondering though, since the chat is obviously not for Captivate users with product or service questions.
Is there a tech team I can somehow contact? We really need an answer to the problem.
Thanks,
Nat
P.S. I'll post the problem again here:
We publish mp4 training videos as HTML5 content and have the problem that we need to restrict the player to only play/pause.
Adobe Captivate 7 works fantastic for us on almost all devices, many Androids, many browsers, and even on iPad. Captivate, after adding the video as a multi-slide video to one slide and publishing it as HTML5 content, only lets the student play and pause the video - just what we need.
But then we test it on iPhone and the iPhone's internal quicktime player recognizes the mp4 video and kicks in, gives the student all the functions they want, totally overrides the HTML5 published Captivate restricted playback options.
Is there ANY way we can get around that? Any function or box we haven't checked before publishing the HTML5 content?
We would even be happy, if the video wouldn't play on iPhone - just as long as they can't use it to fast forward to the end of the video.
Does anyone here know how to bypass the internal iPhone 5 player?
Thanks,
NatBy the way, I have updated to the newest Captivate 7 version and am using iOS version 7.0.4.
Again, it's fine on iPad, but not on iPhone 5. -
Sometimes when I copy a CD into iTunes all of the songs do not show y up in one album, but mutiple albums, all with the same name. Is there an easy way to get all of the songs into one album.
Generally adding a common album artist will fix things.
tt2 -
Apple says my epson perfection 1240u scanner is no longer supported with 10.7.
Is there an alternative way to get it to work?Download updates from the manufacturers pages:
http://www.epson.com/cgi-bin/Store/support/supDetail.jsp?oid=14549&BV_UseBVCooki e=yes&infoType=Downloads&platform=OSF_M_… -
Is there any possible ways to get the MAC address?
Hi guys:
I am writing servlets on the server side. Is there any possible ways to get the MAC address when a HTTP request come in? Thank you very much for any helps.
all the best!It is usually impossible to get the MAC address of the maker of a HTTP request in any programming language or system.
At best, you can get the MAC of the closest intervening router, firewall, whatever.
Are you sure you mean the MAC address? MAC looks like this: 8:ab:f0:0:71:bb:90 (Ethernet), or 01-23-45-67-89-ab (Token Ring), etc, depending on your network type.
In contrast, an IP address looks like this: 209.249.116.195. If you want the IP address, check out the javadoc for HttpServletRequest and ServletRequest. Caveat: load balancers, web caches, proxy servers, etc will mask the "true" peer's address. Don't do anything silly like try to use the IP address for security or authentication. -
My cousin told me there was a way to get free apps and that he could do it but what he really did was try to refund all my apps, the apps are gone from the history but no money has come back for me to even get the apps back, is this permanent?
Yup!!
Got what you deserved!
Do not try and rip off or steal from people or companies.
You have good cousin, there!(sarcasm) -
I have purchased a new iPad2 and I was wondering if there is a way to get iPod content onto this new device. I am having difficulty finding any information on this kind of transfer and I am not sure if it is even possible. Just not looking forward to loosing my progress in games and information in notes and other apps. Thanks
Have you been syncing the iPod with iTunes? Then you just connect the iPad and set it up through iTunes and sync any content you want onto it.
http://support.apple.com/kb/ht1386
In terms of games/apps. If they are not universal (you will see a + symbol next to them) or made for iPad (you would see an HD in the name, usually) then they won't look good on an iPad as those apps will open in a iPod sized window, giving you the option to enlarge. -
Is there any free way to get music i lost back if it's not synced to my computer?
is there any free way to get music i lost back if it's not synced to my computer?
In a word. No.
-
Hi there, my phone was recently stolen and I'm gutted that I haven't backed my photos up on iCloud. Only my contact can be accessed. Is there any possible way of getting my photos back?
Often when plugging a device into a computer (which has not been discussed if this has ever happened) one will be given the auto play option of transferring photos/data from the mobile device to the computer. Did you ever transfer the photos from your device to a computer?
-
Hi! I 've a problem with my ipad mini. Does anyone know if there is a way to get out from recovery mode without reinstall iOS?
Many thanks Deggie! I think my iPad has a big problem because is not possible to restore it....I downloaded the most upgraded version of iOS but when I try to restore an error message occurs (4005)......
-
I want to download a previously purchased album that had an "error" and isn't complete. I have an older Mac and don't have iCloud. Surely there is some way to get the music I paid for!
Hi,
See this http://support.apple.com/kb/ht2519
Jim
Maybe you are looking for
-
What to do when I lost my iPod touch?
What do I do when my daughter lost her iPod touch?
-
Hi all, I am in a scenario where i pick three files in BPM with correlations properly defined and input files also comply to the correlations. After i pick these 3 files a transformation step comes and finally a send step to send to an output file. W
-
Barcode scanning and displaying other details on the screen
Hi All, I have a requirement to replace the existing leagacy which has a POS functionality screen with SAP Screen. Currently the leagcy does the following function. When the user scan the Barcode of the product, other details of that are reflected an
-
My igoogle homepage does not fit properly on my screen
I use igoogle homepage and the layout does not fit. It is minimized currently to get the "firefox tab" at the top but the left side is only half visible.
-
Session state replication taking time to replicate in weblogic cluster
I have a application fully serialized code with WEB-INF/lib containing the below configs with Unicast communication. <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "ht