Is there a script to create a button to set an activated frame to document size + bleed?
Please see my question above. Thanks in advance!
Here is a script that creates a script that creates a button that sets an activated frame to document size + bleed.
Why do you need a script to create a button that sets an activated frame to document size + bleed? You might as well have a script that sets an activated frame to document size + bleed, because you already need to double-click the script that sets an activated frame to document size + bleed and so there is no need to show another button that you can click to set an activated frame to document size + bleed in that.
theScript = 'var w = new Window("dialog", "Reframe");\n'+
'w.b = w.add("button", undefined, "Click me!");\n'+
'w.b.onClick = function(){ w.close(3); };\n'+
'if (w.show() == 3)\n'+
'{\n'+
'dp = app.activeDocument.documentPreferences;\n'+
'app.selection[0].geometricBounds = [\n'+
'app.layoutWindows[0].activePage.bounds[0]-dp.documentBleedTopOffset,\n'+
'app.layoutWindows[0].activePage.bounds[1]-dp.documentBleedBottomOffset,\n'+
'app.layoutWindows[0].activePage.bounds[2]+dp.documentBleedInsideOrLeftOffset,\n'+
'app.layoutWindows[0].activePage.bounds[3]+dp.documentBleedOutsideOrRightOffset];\n'+
writeFile = new File (app.activeScript.parent+'/new script.jsx');
writeFile = writeFile.saveDlg( 'Save script', File.fs == "Windows" ? "Script:*.jsx,All files:*.*" : function(file) { return file instanceof Folder || (!(file.hidden) && file.name.match(/\.jsx$/i)); } );
if (writeFile != null && writeFile.open("w"))
writeFile.encoding = "utf8";
writeFile.write (theScript);
writeFile.close();
Similar Messages
-
Is there a way to create a button that links to a website?
Is there a way to create a button that links to a website?
I was reading up that it's possible to this with menus, and tracks but can you do it with a button and how?
I am hoping to create a button that people viewing my discs on a computer can click on the link and their web browser will pop up and take them to a website.
Any help is appreciated.
Thanks.
-Frakydvd@ccess questions are being asked once a week on this forum, so I'll repeat why it's useless:
- Mac users have to enable the feature in the preferences of DVD Player in order to for the links to work.
- PC users have to install a small application on their PC, and they have to reboot the PC in order for the links to work.
- On top of this, it's still unreliable, and may not work on some computers.
It's a dog: Don't use it. -
I am saving data read from FieldPoint to a .txt file. Is there a way to create a button on the front panel so that when the user pushes this button it automatically opens the .txt folder in notepad? I want to bypass the user having to find the file in the computer in order to open it.
Hi jem,
I suggest that you break this up into three seperate questions and re-post to this list. That way you get more ideas from others that may have better insites than myself.
Re:the sysexec
The Sysexec will allow you to execute a dos command. This is the equivalent of going to
Start>>>Run
What you should do is find the proper DOS command sysntax that is required to open a text file in notepad or your favorite editor. Once you know what a good DOS command is, you should pass that string to the Sysexec.VI. The Sysexec has an input that allows you to choose if the code waits for the command to complete or if it should just start the program and let it run in the background. Sysexec will open its own window to run the command you speci
fiy.
Ben
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
Is there a way to create a button to make an entire page visible or hidden in an Acrobat XI form?
Note that Reader (11 or otherwise) cannot show/hide pages that are templates. Reader 11 can spawn new pages from templates and delete any spawned pages, however. It also supports spawning a template by overlaying it on an existing page.
The UI in Acrobat 11 for making a page a template and setting its visibility is found under: Tools > Document Processing > Page Templates
Here are some links to the JavaScript documentation: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.1216.html
http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_Dev_Templates.80.2.html
Note that some of this information is outdated with respect to Reader 11. -
How & where to use Java script to create new button in object detail page
Hi All,
I want to create "New/Add button" in object detail page. If i am not wrong i need to use java script for that but could you please let me know how & where to use Java script to create new button in object detail page in CRMOD.
Thanks in advance.
Regards,
ManishAny related object on the detail page should have an "Add" or "New" or both buttons by default - This is vanilla functionality and will do the required action.
If you want to modify this behaviour and do something tricky you will potentially have to go for javascript. You should add the javascript on a custom web tab on that Object.
Admin --> Application Customization --> Contact -->Contact Web Applet
Now, add your javascript in the code area, after you select the type = HTML for this web applet, expose this web applet on the Contact detail layout and your javascript will be invoked whenever this page is loaded.
Check this online document to see how javascript can be embedded in CRM on Demand http://helponmyproject.com/TTOCOD/
Cheers!
Royston -
Is there a script to create a next page button
I have a PDF that I need to create next and previous page buttons on. There is no option in the actions menu. Is there a java script I can run to make this happen. I am using Acrobat 9 Pro and I do not know javascript at all.
Thanks TomHi tommy_boy56
You didn't go far enough.
Acrobat 9 has that function built in.
Click on OK to create a button.
Name it NextPage.
Then go under properties/options.
Then under labels type Next Page.
Then under actions select mouse down.
Execute Menu Item.
Then choose add.
Then select View>Go To>Next Page
Then select OK.
Do the same for Previous Page or whatever else you want.
Once you have the "Next Page" and "Previous Page" in place just copy both and paste on each page.
Ron -
Is there a way to create a button that works the same as the ImageField?
I am trying to create a button that acts like the ImageField tool. I want to be able to click on the button and it will direct me to browse for my photo that I want to attach.
I am using LiveCycle. (I am a nooby and have limited skills when it comes to script)
The ImageField function is to complex of a function for the use on my IPAD (PDF Expert APP). I can create a photo button using Adobe Form Creater and it works fine with the below script:
event.target.buttonImportIcon ();
This is a mouseup Action Event.
My form that has been created in LiveCycle works perfectly on my IPad, except the photos. If I can simplify the function of the photos to act more like the Adobe Form Creater tool, then perhaps it will all work together.
Any ideas, or is this just a waste of time? I have created the form over using Adobe Form Creater, but it has some limitations that make it not function as nice as LiveCycle's form.
ThanksNot in Acrobat unless your image is already in the PDF format.
This is a feature of forms created with LiveCycle Designer. -
Is there a way to create a button for the tool bar that will View a page in "No Style'?
I guess what I'm asking is...Is there a way to make a customized button for the toolbar that will allow me to change the view on a webpage to 'No Style' as listed under the view menu. If so, How can I do this?
Try this add-on: <br />
https://addons.mozilla.org/en-US/firefox/addon/custom-buttons/ -
I need to set up a postscript file for my book to take it to print but I can set up the print settings for 11 by 17 in. paper. Is there a way to get around this?
I am using a mac with cs6.Is your print service provider requiring a PostScript file? Normally, they would require PDF with any reasonably modern workflow.
The print to PostScript Printer and Device Independent option is very limited. If there is a particular device your print service provider is using and requires PostScript for, they should be providing a particular PPD for you and thus, allow you to customize the PostScript for that device.
- Dov -
I would like to have a "Request #" automatically assigned to a form. Is there any way to do that?
We currently don't support this type of field. You can vote for this feature request here: http://forums.adobe.com/ideas/1047
We use this to help prioritize our work.
Randy -
Is there a way to create an email button to multiple addresses within a PDF?
I have to regularly update a list of committee members and their email addresses which is then sent to all of the members.
Does anyone know if there a way of creating a button for each of the committees in the list which, when clicked, creates an email to all the members contained within that committee? I will need to add up to 14 email addresses to the one button. I need to know this because the various members in the committees are fed up of copying and pasting all the email addresses into their email messages.
I am now using Acrobat XI but I still can't figure out if this is even possible. If not a button, is there some other way of being able to launch an email to multiple addresses within a PDF?
Thanks in advance for any help.Not really. But you can combine the data from multiple forms into a single (new) spreadsheet via Tools - Forms - More Form Options - Merge Data Files into Spreadsheet...
-
How do You create menu buttons that move up and down with a remote?
I have six menu items that are linked to their proper locations. When I simulated it a Hand moves over the proper choice then when I click there we go.
But on the DVD simulator you can't navigate. I thought maybe I would bring in one of the templates to use their buttons I can't get my images to replace theirs. Any help appreciated.
JeromeTake a look here to make sure buttons are being set properly
http://dvdstepbystep.com/buttons07m.php
And download the movie if you like
I create a button, then set the text and include highlights
I then create another button, then set the text and the include highlights
I then click on the menu and go to the inspector to see colors
RED Normal
BLUE Selected
YELLOW Activated
In simulater I then use the remote control and CANNOT navigate through the buttons
I stop Simulator and then use Auto Assign Buttons Now Command, then relaunch Simulator and get the remote control to work
Make sure to link the button to the track you want to go to.
I thought the issue is that you cannot navigate the buttons with the remote control? If you only have one button on the screen, it will always be selected (Yellow in your project as described)
If it is flashing Megenta and nothing happens, it means a target has not been set (or somehow you are targeting the menu again)
So the only two condiitions you will see is yellow or magenta. -
Create new child accounts under an active account with transactions
Hi experts,
I've searched on the forums but could't get to a definitive conclusion.
Is there a way to create new child accounts under an active account with transactions?
I have an account 6226 with transactions.
The customer would like to divide this account in 4 new accounts:
62261, 62262, 62263, 62264.
B1 gives an error when I try to change the account to title which is undestandable but I imagine that should be a way to do this beacause with time the customers needs can change...
Thanks everyone!Hi,
Welcome you post on the forum.
B1 has only one level for active account. You can get the definitive conclusion that it is not possible to have child active account.
Thanks,
Gordon -
Is there a way to create scripts to use tmconfig...
Is there a way to create a script to execute tmconfig and change CLOPTS parameters
for a particular server?
Here is what I would like to accomplish. Want to set "-r" option to a limited
number of servers, on an as needed basis. I do not want to bring down the environment
and update the ubbconfig file. The support people are not familiar with tmconfig.
So, I would like to create a script to turn the "-r" option on when needed and
restart only those servers and then turn it off once the debufgging is done.
Is there any command other than tmconfig, which I could use to accomplish this?
JamesIf you've got perl on your machine, you can download the tuxedo perl module and
write perl scripts to call tuxedo services. There's also a tuxedo::admin module
at cpan now.
"james mathew" <[email protected]> wrote:
>
I am sorry Roopesh. ud worked with the command 'ud32 with -Ctpsysadm
-Utpsysadm
first time when I tried, I used our tuxedo admin id instead of 'tpsysadm'.
When
tried with 'tpsysadm' it worked.
Thanks a lot.
James
"james mathew" <[email protected]> wrote:
I tried the options, but didn't help. By the way, I cannot find anydescription
on "-C" option in the reference guide.
I tried to use a client program, similar to ud, which is developed locally
to
test the services.
When I send request to '.TMIB' service, the client never gets any reply
back.
The input userd is
service_name .TMIB
TA_OPERATION GET
TA_CLASS T_SERVER
In the ULOG, I see the following error messages.
120543.DEV_DB_SRV2!BBL.543.606.0: LIBTMIB_CAT:133: ERROR: Fielded buffer
access
error 2
120543.DEV_DB_SRV2!BBL.543.606.0: LIBTUX_CAT:6031: ERROR: Unable topre-process
buffer before tranmission. Error code(12/3474)
120543.DEV_DB_SRV2!BBL.543.606.0: LIBTUX_CAT:1286: ERROR: tpreturn could
not send
reply TPESYSTEM - internal system error
I have FIELDTBLS include 'tpadm' and FLDTBLDIR include '%TUXDIR%\udataobj'
What is causing the above errors.
"roopesh" <[email protected]> wrote:
run ud32 with -Ctpsysadm -Utpsysadm .
"james mathew" <[email protected]> wrote:
Thanks Sccott. Using ud32 is what I should do.
Now, I have a problem in using ud32 because the environment uses user
authentication.
I am not able to use ud32 due to logon failures. I am getting LIBTUX_CAT
errors
6311, 6247 and 6234.
I do not know what value am I supposed to provide for "application
specific
authentication
data". I think the environment variable TPIDATA stands for the samething.
Any help is appreciated.
Regards
james
Scott Orshan <[email protected]> wrote:
For scripting, you should use ud32 to call the MIB.
james mathew wrote:
Is there a way to create a script to execute tmconfig and change
CLOPTS
parameters
for a particular server?
Here is what I would like to accomplish. Want to set "-r" option
to
a limited
number of servers, on an as needed basis. I do not want to bring
down
the environment
and update the ubbconfig file. The support people are not familiarwith tmconfig.
So, I would like to create a script to turn the "-r" option on
when
needed and
restart only those servers and then turn it off once the debufggingis done.
Is there any command other than tmconfig, which I could use to
accomplish
this?
James -
I am trying to create a button in flash that will allow the user to click on the button and 4 separate images show up at the same time. I can get the images to appear when I click the button but they will not stay on the screen. I need to know what code I use to make the images stay once the button is clicked, then I need to know exactly where I place that code. It does not appear to be possible to add the action code to the buttons layer since each time I add a new layer I just get another "up" "over" "down" and "hit" line.
Thank you in advance
APIt is not clear how you are trying to realize this from your description. If you are trying to create this within a button symbol it will not work. Explain your approach and if there is code involved, show what you have so far.
Maybe you are looking for
-
Unit Testing with Microsoft Sharepoint Emulators and Fakes with Visual Studio 2013
Hi All, I have created Test Project and now creating Test cases for Sharepoint. I found a link on MSDN which suggests using Fakes framework but it supports VS2012 and I am using Visual Studio 2013. So how can I use it with VS2013 or is there any othe
-
Issue with the Internal sales Order
Hi We are trying to populate the customer information in the internal sales orders. We are updating the Customer_ID, Customer_Number, Customer_name information on the iface header table...and we are submitting the Order Import concurrent program...ev
-
Hi, I jumped from 06 to 11 so faces is a new things for me. I tried to search for a way to re-run the face detection after matching 500+ photos. Is there a way to use existing database to work on the rest of the photos? Thanks in advance. Cheers,
-
Hi, I am using WebI Report using BW Query. I don't see some Formulas in Universe which is there in BEx Query. Did anybody face the same problem before?
-
Since updating my windows 7 to the latest version, my itouch notes are not synchronising properly. Will only update from Outlook to Itouch but not the other way round. Any suggestions?