Can anyone help me out w/ a simple question?
I need a little help getting this to work. This is my first script so go easy on me! 8)
I looked at the forums but being that this is my first script it's still too difficult to decipher everything. In my document that's already open I want the script to make a text box of 50 pixels (for example) and insert my text inside it. Here's what I have...
// Create new text layer
var artLayerRef = activeDocument.artLayers.add()
artLayerRef.kind = LayerKind.TEXT
// Make text BOX on text layer
TextType.PARAGRAPHTEXT.width = 50
// Add text to text layer
var textItemRef = artLayerRef.textItem
textItemRef.contents = "My Text Here. My Text Here. My Text Here"
// End
artLayerRef = null
textItemRef = null
It places the text but doesn't put it in a text box. It's just a line of text that extends off of the page. Anybody know what I can do?
Thanks you!
Hi Mike, even setting unit values don't seem to work so have to resort back to the 72ppi
var res=activeDocument.resolution;
var artLayerRef = activeDocument.artLayers.add()
artLayerRef.kind = LayerKind.TEXT
var textItemRef = artLayerRef.textItem
// Make text BOX on text layer
textItemRef.kind = TextType.PARAGRAPHTEXT;
textItemRef.width = 50/(res/72); //width in pixels
textItemRef.height = 100/(res/72);//height in pixels
// Add text to text layer
textItemRef.contents = "My Text Here. My Text Here. My Text Here."
Similar Messages
-
can anyone help me out?
i loaded a 25$ itunes card today i just use my itunes account on a new device it is asking for a security question, i put the right answers but it keeps on saying it was incorrect..
so i log inn my email and password and go to appleid.apple.com now i was transfered to the recovery section when i was about to reset my question security i was about to open my yahoo mail the problem is i cant access my yahoo mail anymore also it was locked due to inactivity for so long.. so i decided to make a new email address but my problem is the apple support is keep on sending my recovery on my old email address thats why my 25$ is stocked inside my account i cant used it.
i tried send a message to apple supports and they just replying me an article message or article guide to access but it doesnt help... as i said i cant access my old email address so how can i reset my recovery security questions...
i hope apple supports help me with this matter you can verify your system that i always use itunes card to buy items on my game named Party in my dorm..
<Email Edited by Host>Go here:
https://getsupport.apple.com/GetproductgroupList.action
ask for assistance. -
Im not able to use facetime at all. Do some countries have restrictions. Can anyone help me out ? I use a Mac Book pro retina display with OSx Mountain lion.
FaceTime for Mac: Troubleshooting FaceTime
-
I have my itunes stored on my external hard drive of my IMac.
I have started to put my Digital Copies to my IMac with external hard drive, then on my MacBook Pro I can see the movies, but if I close out my IMac, I can't access my movies on my laptop???
Can anyone help me out here? Thanks.I have my itunes stored on my external hard drive of my IMac.
I have started to put my Digital Copies to my IMac with external hard drive, then on my MacBook Pro I can see the movies, but if I close out my IMac, I can't access my movies on my laptop???
Can anyone help me out here? Thanks. -
hey guys,i tried to install the latest version of itunes but when i try to open it,it just comes up windows error 2 apple application support was not found,can anyone help me out and tell me what i need to do pls ?
If you run into the "another installation" message even after the reboot of the PC (which is an excellent idea by HTP ProXy), reregistering your Windows Installer Service is worth a try.
First, launch a command prompt as an administrator. In your Start search, type cmd then right-click on the cmd that comes up and select "Run as administrator".
At the command prompt:
Type %windir%\system32\msiexec.exe /unregister and hit enter.
Type %windir%\syswow64\msiexec.exe /unregister and hit enter.
Type %windir%\system32\msiexec.exe /regserver and hit enter.
Type %windir%\syswow64\msiexec.exe /regserver and hit enter.
Restart the PC and try another reinstalll. -
Hi there can anyone help me out. I have Apple TV and I am trying to connect wirelessly through a zyxel wireless hotspot gateway, I know a tad extreme but a friend had one free, anyway I can find the router but no Internet connection?
The only people who can possibly assist you with this is Apple Customer Relations, call your local Apple contact number and ask for Customer Relations then explain your situation clearly and politely (be firm but don't rant).
You might want to investiage what the local laws are regarding defective goods and 'fit for use' definitions on warranties etc. Consumer Protection can be a useful tool to use or bargain with if needed ... -
i have lost all my notes saved on my iphone after syncing it. and my default mailbox is gmail. notes were very important. and now i dont know how to get them back. can anyone help me out please? thanks in advance.
Try this ..
On your Mac open System Preferences > iCloud
Deselect the box next to: Notes
Then reselect it.
Give iCloud a few minutes to re sync the data.
Other than that, try Time Machine > http://pondini.org/TM/15m.html -
I'am getting an update error when am trying to upgrade to newer version (4.3.2)..the error message content shows that i tunes could not back up the i pod,because the back up was corrupt or not compatible with ipod..can anyone help me out to fix this issue
Hi,
Try here: http://support.apple.com/kb/HT1808.
Hope this helps!
---likeabird--- -
Can anyone help me out? My Iphone 4S's mic wont work after ios 6 upgrade
Can anyone help me out? My Iphone 4S's mic wont work when Im making a call and I can hear them, but when I turn on the speaker option, they can hear me. It wont work with Siri either. Can anyone give me any suggestions? I've already tried rebooting the phone. I tried doing a restore from backup but should i do a full restore? Thanks
Restore your device as NEW. Before you add any apps to it (other than the ones that come with iOS 6), try out the phone. If it still doesn't work, you'll need to go to Apple for phone replacement.
-
I am stuck. I can not figure out how to get the microsoft office that is on my (admin) profile dock onto the dock for the other users on my mac. Can anyone help me out?
ebony --
So, when you open your main Applications folder, there is no Office app there?
It's in your Users>Applications folder? -
Can anyone help me out? This happens when i try and submit an epub file, i haven't had this before. "iTunes producer error 3000 character content of element "file_name" invalid."
This is the full messageYou really need to put your codes between the
[\code] tags
see http://forum.java.sun.com/features.jsp#Formatting
for more infoCode tags might make it look a little better, but there's still too darn much code. We're volunteers, after all. It'd be a lot of work to review all of this stuff. Can you demonstrate your problem with something smaller? Learn out how to do a combo box with just a page or two and then appy that to your big problem. That's how I'd do it. - MOD -
I just got an iPhone 4S model number MD439LL/A still have the box that it came in along with other info. I can not find Siri. I have looked in settings>general and settings>general>restrictions. Can anyone help me out?
That model is an iPhone 4, not a 4S.
http://support.apple.com/kb/HT3939 -
TS3694 i can't restore my iphone 4..keep error 3194 can anyone help me out?
i can't restore my iphone 4..keep error 3194 can anyone help me out?
If you experience this issue on a Mac, disconnect third-party devices, hubs, spare cables, displays, reset the SMC, and then try to restore.
If you are using a Windows computer, remove all USB devices and spare cables other than your keyboard, mouse, and the device, restart the computer, and try to restore.
If that does not resolve the issue, try the USB issue-resolution steps and articles listed for Error 1604 above.
If the issue persists, it may be related to conflicting security software.
From Here > http://support.apple.com/kb/TS3694 -
AirPort can"t be installed on this disk. The version of Mac OS X on this volume is not supported. Can anyone help me out?
Can you clarify what exactly you are trying to do that generates this message?
IF....you might be trying to install AirPort Utility on your Mac....you already have the most recent version on your Mac.....and you cannot install an earlier version than you already have.
Check Finder > Applications > Utilities > AirPort Utility -
I have 3 hidden folders on my thumb drive, I am unble to see them in my MAC, can anyone help me out.
How do you know that they are there?
Maybe you are looking for
-
Firefox Will Not Open Any Websites
Well, no one seems to be able to address this. My Explorer is working fine, but after updating my Firefox, it's as dead as a door nail. You know, I first started using Firefox because Explorer just wasn't stable. And for awhile, Firefox was the answe
-
Disappointed in Verizon and it's service
Duplicate post - please see: Re: Diamond Wireless and Verizon Partnership Extorting Customers Message was edited by: Admin Moderator
-
Quick time failed to initialize. error #-2095??????
i have been trying to fix this problem for months now and i cant get my itunes to come up it says this every time i try to. i have tryed to reintall in many times and it says error. PLEASE HELP
-
I have a 20-page document scanned as a tiff file, then saved into database as a blob. When I use 9i form to display this item, only first page shows up. Can anyone tell me how to display the entire document in 9i Form? Thanks in advance!
-
Wrt54g2 Internet speed decreased by 54 times
hi im am currently using a wrt54g2 v 1.0 wireless router, and it runs at a range of 54-1 mbps. Usually its okay for the first few hours after a reboot, running at the sppeed 36-54 mbps, but after few more hours it drops to 5-1 mbps...... i have call