Creating an outline from a rule line? Can you do that in InDesign?
I want to outline a 12 pt stroked rule line in an InDesign document.
Piece of cake in Illustrator but can this be done in InDesign?
Hi Thomas,
As long as the line is strictly horizontal or vertical, the following script will do the trick:
//ConvertRuleToBox.jsx
//An InDesign CS3 JavaScript
//Converts the selected rule to a frame.
main();
function main(){
if(app.selection.length != 0){
if(app.selection[0].constructor.name == "GraphicLine"){
var myGraphicLine = app.selection[0];
var myFillColor = myGraphicLine.strokeColor;
var myPointA = myGraphicLine.paths.item(0).pathPoints.item(0);
var myPointB = myGraphicLine.paths.item(0).pathPoints.item(1);
if((myPointA.anchor[1] == myPointB.anchor[1])||(myPointA.anchor[0] == myPointB.anchor[0])){
var myBounds = app.selection[0].visibleBounds;
myGraphicLine.paths.item(0).entirePath = [
myBounds[1],
myBounds[0]
myBounds[1],
myBounds[2]
myBounds[3],
myBounds[2]
myBounds[3],
myBounds[0]
myGraphicLine.paths.item(0).pathType = PathType.CLOSED_PATH;
myGraphicLine.strokeWeight = 0;
myGraphicLine.fillColor = myFillColor;
else{
alert("Please select a horizontal or vertical graphic line and try again.");
else{
alert("Please select a graphic line and try again.");
If the line is at an angle, it'll take a more complicated script.:-)
Thanks,
Ole
Similar Messages
-
Hi, My IMac Superdrive has gone bust and i need to re-install Adobe CS5.5 design premium middle east version. I have the original version DVD with me. But i am unable to install. Can i create an USB installation drive from the DVD or can you please send me a link to download the Middle east version of Adobe CS 5.5 design premium. After downloading i can enter the product key which i had bought. appreciate if anybody can offer a solution urgently. All my jobs are held up. thanks
Download CS5.5 products
Mylenium -
How to create a simple idoc in practice? can you provide an example?
how to create a simple idoc in practice? can you provide an example with full source code?
Try with the follwoing steps
Sending System(Outbound ALE Process)
Tcode SALE ³ for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ¡V Create Model View
Tcode BD82 ¡V Generate partner Profiles & Create Ports
Tcode BD64 ¡V Distribute the Model view
This is Receiving system Settings
Receiving System(Inbound ALE )
Tcode SALE ³ for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ¡V Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 ¡V Idoc List for inbound status codes
Message Type MATMAS
Tcode BD10 ¡V Send Material Data
Tcode WE05 ¡V Idoc List for watching any Errors
1)a Goto Tcode SALE
Click on Sending & Receiving Systems-->Select Logical Systems
Here Define Logical Systems---> Click on Execute Button
go for new entries
1) System Name : ERP000
Description : Sending System
2) System Name : ERP800
Description : Receiving System
press Enter & Save
it will ask Request
if you want new request create new Request orpress continue for transfering the objects
B) goto Tcode SALE
Select Assign Client to Logical Systems-->Execute
000--> Double click on this
Give the following Information
Client : ERP 000
City :
Logical System
Currency
Client role
Save this Data
Step 2) For RFC Creation
Goto Tcode SM59-->Select R/3 Connects
Click on Create Button
RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
give the information for required fields
RFC Destination : ERP800
Connection type: 3
Description
Target Host : ERP000
System No:000
lan : EN
Client : 800
User : Login User Name
Password:
save this & Test it & RemortLogin
3)
Goto Tcode BD64 -- click on Change mode button
click on create moduleview
short text : xxxxxxxxxxxxxx
Technical Neme : MODEL_ALV
save this & Press ok
select your just created modelview Name :'MODEL_ALV'.
goto add message type
Model Name : MODEL_ALV
sender : ERP000
Receiver : ERP800
Message type :MATMAS
save & Press Enter
4) Goto Tcode BD82
Give Model View : MODEL_ALV
Partner system : ERP800
execute this by press F8 Button
it will gives you sending system port No :A000000015(Like)
5) Goto Tcode BD64
seelct the modelview
goto >edit>modelview-->distribute
press ok & Press enter
6)goto Tcode : BD10 for Material sending
Material : mat_001
Message Type : MATMAS
Logical System : ERP800
and Execute
7)goto Tcode : BD11 for Material Receiving
Material : mat_001
Message Type : MATMAS
and Execute --> 1 request idoc created for message type Matmas
press enter
Thanks & regards
Sreenivas
Here Master Idoc set for Messge type MATMAS-->press Enter
1 Communication Idoc generated for Message Type
this is your IDOC
Take a look at this guide.
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/ale/configuration.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapdevelopment.co.uk/training
http://www.sappro.com/downloads/OneClientDistribution.pdf
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
Create The Extension Segment
Transaction: WE31
The first step in extending an IDoc is to create the new segments that will go into that IDoc. There are some rules that you need to follow when creating the segments:
- The name of each segment type must start with Z1
- For each field in the segment you need to define a field name and a
data element.
- The data element for the segment structure must be of data type CHAR.
How to create new segments:
Run the segment maintenance transaction WE31.
Type your new segment name, and click on Create.
Define the fields of your segment:
Field name
Data Element for the field (from the ABAP dictionary).
Do not change the Export length!
Save the segment
Run Segment -->Check to check the segment for consistency.
Release the segment for transport. Select Edit -->Set Release. Note that the Release column now has a check mark.
Create the Extension IDoc Type
Transaction: WE30
After you create the segments to be added to the extension type, you can create the extension type itself. Execute transaction WE30, enter the extension name, select Extension type, and click Create. You now have three options:
Create new type: Does not refer to other extension types
Create copy: Copies info from an extension type that already exists
Create successor: Extends an extension type from a previous release
of R/3. You can only have one version of an extension type for
each release.
Enter the Basic IDoc type that this extension type will extend.
The screen now shows the structure of the IDoc type you used as
a reference.
Position the cursor on one of the segments and click Create. This will insert an extension segment as a child of the selected segment.
NOTE: A segment cannot appear more than once in an IDoc type! You must control the use of duplicate segments with the segment attributes (the next screen).
The segment attribute screen appears. Enter the information and save.
Extension segments should not be mandatory (for future upgrades), and will need to have minimum and maximum number of instances defined. This answers the question, for each instance of the parent segment, how many instances of the child segment may we have?
You can press the Segment Editor pushbutton to view or change the segment definition.
Create the new Message Type
You can only use an extension IDoc type by assigning it to a message type. You can create a new message type for this.
First the message type itself needs to be created.
Transaction: WE81
Create a new entry and save. Use SAP established customer naming conventions (good form is to start with a Z and retain the rest of the related SAP message type, so, for example, MATMAS becomes ZMATMAS).
After creating the message type, associate it with the corresponding Basic IDoc Type and Extension Type. This relationship is used when IDocs are sent to or received from a partner to determine what segments are valid and what the hierarchy for those segments is.
Transaction: WE82
Create a new entry and enter the Message type, Basic IDoc type, Extension type, and Release, and save your data. Note: the release assignment is not valid for prior SAP releases.
One message type can be associated with many basic IDoc types; however, you need a one-to-one relationship for distribution via ALE.
regards,
srinivas
*reward for useful answers*</b> -
Hi, can anyone tell me if I can have more than one iTunes account on the same PC. I've just bought my wife an iPad2 and want to create a separate account for her. Can I do that on the same PC as mine? Thanks.
I would advise that you not set up a second Apple ID. It's really not necessary - having two Apple IDs won't affect how iTunes works with your iPads - and will just complicate matters. Each iPad will be treated independently and can be set to sync only the items you want on that particular iPad. If you really want to keep the two iPads separate, set up different iTunes libraries and have only those items you want on the related iPad in that library, rather than a different Apple ID. If you plan not to use a computer and just download directly to the iPads, you can again choose what apps and content each iPad gets.
But answering your specific question, you can have content from up to five iTunes Store accounts on any one computer or iPad. To create a new iTunes Store account, you'll need a different email address, and from there you just create the account the same way you did the first one.
Regards. -
Artistic filters have disappeared from my CS2. Can you help me retreive them? Thank you!
Have you deleted your prefs?
From the Photoshop help files:
Restore all preferences to default settings
Do one of the following:
Press and hold Alt+Control+Shift (Windows) or Option+Command+Shift (Mac OS) as you start Photoshop. You are prompted to delete the current settings.
(Mac OS only) Open the Preferences folder in the Library folder, and drag the Adobe Photoshop CS Settings folder to the Trash.
New Preferences files are created the next time you start Photoshop.
If that does not work reinstall. -
When I sync my photos to iPhoto from my iPhone 4S it like saves about 200 on my phone. I really don't like that because they're like really old and stay the same... Can you take that setting off? Or just make it you most recent pictures instead? It's really annoying because they're like year old pics
it had to do with Maverick/Aperture not supporting the same date formats as before in Smart Albums when I upgraded.
Smart albums based on dates have always been problematic, if you use smart settings that require a date string to be entered. How the date string will be interpreted, will depend on your settings in the System Preferences > Language&Text > Advanced > Dates formats and the "Region".
It is much safer to use "Calendar" rules in Aperture instead of "Date" rules with date-strings. Calendar rules will remain valid, if the region settings are changed in the System preferences. -
How many lines can you have on a nation wide talk and text plan?
How many lines can you have on a nation wide talk and text plan?
A max of five lines is allowed on the Nationwide Talk & Text family plan.
-
HT1553 my macbook pro is frozen and does not move from loading screen. Can you help?
my macbook pro is frozen and does not move from loading screen. Can you help?
Call Apple Support and schedule a appointment for a hardware check, or take it into a Apple Store.
We can't help you with that problem.
Good Luck -
The photo is gone in the text message. Gone. No thumbnail...it doesn't exist anymore. How do you fix that? Can you fix that? Can you ever get the photo to show up again? I stumpted the guy on the phone with this problem. I need some help from anyone who has experienced this problem and might have a solution! Thanks in advance!
This happened to me also, a few days ago... I went to look at pics that were sent from just one person, all the other photos that people texted are there during same time period. It is only this one contacts several photos that disappeared... There is an arrow when I click on it it goes to a blank page?!? Have you received any feedback or answers?? Did your photos that are missing come from only one person or multiple? If you have any information that might help let me know!!! I really want them back!! Thanks much!
-
I got a new computer and need to re-install it, and remove it from my old, how can I do that?
Install Lightroom the same way you did the first time. Then follow these instructions on how to move your collection of images and your catalog.
How do I move Lightroom to a new computer? | The Lightroom Queen -
When using the migrate tool to migrate from windows to mac, can you use ethernet to connect the computers to each other? In the Migration tool, I was only given the option of choosing the computer when it appeared on the same network, and didn't see an option to connect them to each other. Even though they're both connected to the same network with a wired connection, the migration is painfully slow.
Yes. The following quotation is from About Windows Migration Assistant
These are the preferred network connections, in order:
Use a CAT6-certified Ethernet cable that is in good condition to connect the Ethernet port of the PC directly to the Ethernet port of the Mac or Ethernet adaptor (USB or Thunderbolt). You shouldn't use an Ethernet cable that has any kinks in it or is missing connector tabs.
Use CAT6-certified Ethernet cables that are in good condition to connect the Mac and PC to your home network router/hub/switch. You shouldn't use an Ethernet cable that has any kinks in it or is missing connector tabs.
For wireless, use the fastest wireless signal possible (802.11n 5Ghz). Try to have the PC, Mac, and the wireless access point all in the same room close to each other. -
I want to upgrade my ram from 4GBs to 8GBs, can you help me?
Dear Apple company,
I have a Macbook 5,4, but I want to upgrade its RAM from 4GBS to 8GBs, can you help me this quest?
Thanks,
Trung DucThis is a customer forum, and not Apple folks. If you wish official or formal Apple assistance, please call Apple directly or visit your local Apple store, or check directly with an Apple reseller.
I don't immediately see a MacBook5,4 around, but I do see a Apple MacBook Pro Core 2 Duo 2.53 GHz 15" model MC118LL/A Mid-2009, and that configuration does reportedly support up to 8 GB of memory per the Apple Specs.
Apple might not stock or offer memory upgrades that far back (but do ask them), though I'd expect various third-party memory providers will likely still have some 4 GB 1066 MHz SO-DIMM DDR3 memory sticks around.
But if yours is really a MacBook5,4 model here — the closest I can find is a MacBook5,2 — then ignore this. -
Had problem with my hotmail account and had to change my password. Ever since then, my default e-mail account set up to hotmail doesn't work...it sends from gmail. How can I correct that?
On your iPhone you need to change your password in 2 places:
- Incoming Mail Server and
- Outgoing Mail Server
To get to the password entry for the Outgoing Mail Server you have to tap on cell smtp.live.com and again on the second view. -
do you need an AirPrint printer to print from an iPad or can you print using any wifi enabled printer?
How to Print from Your iPad: Summary of Printer and Printing Options
http://ipadacademy.com/2012/03/how-to-print-from-your-ipad-summary-of-printer-an d-printing-options
Print from iPad / iPhone without AirPrint
http://ipadhelp.com/ipad-help/print-from-ipad-iphone-without-airprint/
How to Enable AirPrint on a Mac and Use Any Printer
http://ipadhelp.com/ipad-help/how-to-use-airprint-with-any-printer/
iPad Power: How to Print
http://www.macworld.com/article/1160312/ipad_printing.html
Check out these print apps for the iPad.
Print Utility for iPad ($3.99) http://itunes.apple.com/us/app/print-utility-for-ipad/id422858586?mt=8
Print Agent Pro for iPad ($5.99) http://itunes.apple.com/us/app/print-agent-pro-for-ipad/id421782942?mt=8 Print Agent Pro can print to many non-AirPrint and non-wireless printers on your network, even if they are only connected to a Mac or PC via USB.
FingerPrint turns any printer into an AirPrint printer
http://reviews.cnet.com/8301-19512_7-57368414-233/fingerprint-turns-any-printer- into-an-airprint-printer/
Cheers, Tom -
When usinf Mac Address Book and you have entered the information for one contact from a company, how can you duplicate the card so you can add another person from same company?
I'm afraid the LU suffix is a new one on me.
As long as you have all of the content in your library then that remove and sync warning shouldn't cause any loss of data, but it shouldn't be happening every time. It may pay to take the following steps to reset the connection between the two,
Backup device.
Restore as a new device.
Restore the backup made earlier.
Again, this assumes all content on the device is in your library. If that isn't the case see Recover your iTunes library from your iPod or iOS device first.
tt2
Maybe you are looking for
-
Connecting my Macbook Pro!
Hello everyone! So, I am going to be purchasing a new television once I graduate this may for my apartment...an HDTV .. they are getting cheaper by the minute! Anyway, I have movies on iTunes and such that I want to be able to watch easily and other
-
Acrobat X Pro will not start Creative Suite 6
Hi, I installed Adobe Creative Suite 6 Design Standard on a laptop with Win7 64bit and it worked. After 4 weeks now, all programs are working (Photoshop® CS6, Illustrator® CS6, ...) except Acrobat® X Pro. The first 4 weeks it worked also, but 4 weeks
-
Discount Code for Single Product
Is it possible to create a discount code for just a single product? I know I can do it for a single catalog - but hoping I can do it on single products, too.
-
Referancing objects in the level above the movie clip
i want to referance objects in the level above the movie clip that i have the AS in. what i mean is that i have a movie clip on the stage, and that movie clip has some actionscript in it, and that AS needs to refer to an object on the main stage, ho
-
Problem in Account assignment category in PR - URGENT
Dear all, I am creating PR having document type is NB(standard), but i am getting error message while checking it.which is "Account assignment mandatory for material 10194 (enter acc. ***. cat.)", Message no. ME062. I do n't want to make mandatory fo