Adding Hyperlink to Control
I am new to Flex 2. I have downloaded and in the process of
reading the Adobe Documentation on using Flex 2 (Getting Started
with Flex 2, and Using Flex 2). Could someone direct me to an area
of documentation on the technique for adding a hyperlink to a
control? For example, how do you add a navigate to URL to a button?
Thanks.
Tom
Flex has a LinkButton which presents itself as bold-faced
text (you can change that with styles). When you mouse-over it
highlights; clicking the mouse generates a click event:
<mx:LinkButton label="Adobe" click="navigateToURL(new
URLRequest('
http://www.adobe.com'))" />
If you look closely you'll see that there are single quotes
around the url address.
Similar Messages
-
How do I fix "could not be added to AVI control" error?
How do I fix "could not be added to AVI control" error? I get this error when loading a file via the Clip/Insight Player.
Hello acacord,
are you working with an AVI using the Indeo codec? On Windows XP, after
installing the service pack 2, files using this particular codec cannot
be played if they are placed in the temporary Windows folder. This is
due to Windows restrictions, not to CLIP.
If you run a cip file in CLIP, it would unpack all its content
(including the AVI) to that temp folder and play the video from there -
which is not possible.
With the current version, all CLIP examples are using the Radius codec
instead ov the Indeo. As you can see ich you make a test with one of
the example projects - it is working well.
So in your case, just use a different codec than the Indeo.
Ingo Schumacher
Systems Engineer Sound&VibrationNational Instruments Germany -
Adding Hyperlinks to photos in iWeb
Using a photo template in iWeb, I am having trouble adding hyperlinks to photos as well as to the 'captions' beneath the photos... is adding hyperlinks simply not possible in a photo template or available only on selected templates?
Appreciate any help.Try this old technic:
http://discussions.apple.com/thread.jspa?messageID=4888047� -
Adding hyperlinks to Flash Executable files
I'm using a demo version of Flash 5 to see if I'd like to
invest in a copy of Flash. I added hyperlinked text to to a flash
movie I produced, and when I uploaded the html added to a webpage,
when I click on the hyperlink it successfully takes me to the
correct website. However, when I try clicking on the executable
file version of the same flash movie, published at the same time,
although I get the usual little hand when the put the cursor over
the hyperlink I'm not taken to any webpage.
Can anyone tell me what's going wrong?HI
You need to use FlashJester JStart
http://jstart.flashjester.com
Download a FREE evaluation copy and try it.
Regards
FlashJester Support Team
e. - [email protected]
w. - www.flashjester.com
"This has been one of the most impressive and thoroughly
pleasant
experiences of customer support I have ever come across -
astounding!"
Director - hedgeapple -
Adding hyperlinks to objects in 3D PDF
Hi everyone,
I'm trying to figure out if 3D PDF has the capability to import a number of individual machine models (made in SolidWorks) to create a 3D layout of a facility, and then make it so people viewing this layout can click (or doubleclick) on a machine and have that open a web page (or another .pdf file)...are there javascript routines that get called when one of the objects is clicked/doubleclicked? If so, can that script be used to open up a url?
Any help would be appreciated,
Thanks,
Jon FournierOn second thought, here is the an example code for adding hyperlinks to objects. It will be very tedious to do this for a huge number of parts. If metadata could be stored (no such luck) in the u3d file, this process would be very easy.
- Greg
http://www.immdesign.com
The u3d file and pdf example are available using the links:
http://www.immdesign.com/templates/hyperlink.pdf
http://www.immdesign.com/templates/robotHand.u3d
Parts of the code below were given to me by Grayson Lang.
The code below must be added as a document level javascript
use the menu - Advanced->Javascript->Document Javascript...
// -------- Start of Document Script
initialize3D = function ()
var a3d = getAnnots3D(0)[0];
var c3d = a3d.context3D;
if ( a3d.activated )
app.clearInterval( timeout );
c3d.runtime.doc = this;
c3d.runtime.app = app;
var timeout = app.setInterval( "initialize3D()", 200 );
// -------- End of Document Script
// -------- Start of 3D Script
// Save this code in as a .js file and use it as the default
// script when inserting the u3d file into your PDF file
// ugly code to add hyperlinks on selection of an object
// this will only work with URLs and will not work for
// just openning any old file
// format for the hyperlink array -
// hLinks["the object's name"] = "file URL"
var hLinks = new Array;
hLinks["fingertip-1"] = "http://www.immdesign.com"
hLinks["fingertip-2"] = "http://www.myroombud.com"
hLinks["fingertip-3"] = "http://www.adobe.com"
function onSelection( objName ) {
if ( typeof( hLink = eval( "hLinks['" + objName + "']" ) ) != 'undefined' ) {
if (runtime.app) { runtime.app.launchURL(hLink); }
// ack! we have to create our own "pick" function since there is no way
// to get the selected object from the Acrobat pick right now
var downX = -999999999999;
var downY = -999999999999;
var mouseDown = 0;
myMouseHandler = new MouseEventHandler();
myMouseHandler.onMouseDown = true; //this prop is true by default
myMouseHandler.onMouseUp = true; //this prop is true by default
myMouseHandler.onMouseMove = true;
myMouseHandler.reportAllTargets = false;
myMouseHandler.onEvent = function(event)
// capture mouse down location
if ( event.isMouseDown ) {
downX = event.mouseX
downY = event.mouseY
mouseDown = 1;
else {
// check if mouse up is the same location as mouse down
if ( event.isMouseUp ) {
if ( downX == event.mouseX && downY == event.mouseY ) {
if ( event.hits.length ) {
objName = event.hits[0].target.name;
onSelection( objName );
downX = -999999999999;
downY = -999999999999;
mouseDown = 0;
//Register the handler and turn the mule on
runtime.addEventHandler(myMouseHandler);
// ------ End of 3D Script -
Can anyone help with advise on how to add a hyperlink to text
in Captivate 4. The hyperlinks from PowerPoint seem, to work, but I
can't see a way to add a hyperlink in the text field to an external
website.Hi
Ok I was trying to record it, not working
Make sure that you've copied or saved the pdf files are in the web site folder first
1 insert text,
2 with this text, create a fake link, blue and underline
3 click on Click box in the tools box
4 resize the click box over the fake link, I only keep the hint Type hint here (I deleted the 2 others) and I type Click on the link, in French Cliquez sur le lien
5 click box is still selected, then in the left menu select Action tab
6 In drop-down menu On success select Open url or file
7 Click to browse, click on file or type the url
8 Click on the drop down menu (arrow), click and select New so that way it will opens in a New browser window.
When you export in swf
You will have, at the end of the exportation, to copy paste manually the files in the web folder where is the swf file.
Now we have a new problem. I didn't have this problem with all the projects published, but it happened once. Also, once on the server, the link would not open for that reason, see this blog. Still working on it.
http://sorcererstone.wordpress.com/2009/06/19/when-captivate-links-don t/
sophie
Date: Mon, 6 Sep 2010 19:21:40 -0600
From: [email protected]
To: [email protected]
Subject: Adding hyperlinks to CP4 text
Can someone provide me to the steps of adding hyperlinks
to CP4?
> -
Adding hyperlinks to word report generated using Report Generation Toolkit (RGT)
Hi All,
I am generating a word report using LabVIEW RGT. I would like to add Hyperlinks to the files in the local PC to the word report. I found few links which explain adding hyperlinks to Excel report but not word report.
Please help me with this.
Anandelamaran Duraisamy,
Senior Project Engineer,
Soliton Technologies (P) Ltd,
www.solitontech.com
Solved!
Go to Solution.Hi Srikrishna,
Thanks for your effort to reply. I think you are suggesting it for Excel report.
It seems that we can use the below shown VI to add Hyperlinks to a word report,
I initially thought it will only work for HTML reports.
Anandelamaran Duraisamy,
Senior Project Engineer,
Soliton Technologies (P) Ltd,
www.solitontech.com -
Adding Hyperlinks to other projects (Merged)
I am running into an issue with adding Hyperlinks to other projects. I have several projects that I have merged into one Master project. I have generated all the child projects into their corresponding Merged Project folders in the master file. All I am trying to do is link one project to another. So in "Child Project A" I have a hyperlink to "Child Project B". I am linking to a "File" which is Project B's HTML file in the Master Project (Merged Folder). When I do this, I get a message in project A that:
"This action will create an external link to the help system. The link may not function when the help system is moved to other systems. Create link anyway?"
So I create the link and generate Project A, but when I generate the Master Project, the link does not work. How do I fix this? Links that I have to pages within a project work just fine, but not when linked externally even though all the projects linked have been merged within the Master Project.My link is showing in the HTML like this:
<a href="../../../MasterMerge/mergedProjects/ChildProject2/ChildProject2.htm">test link</a>
Where "MasterMerge" is the name of the folder that I have given to generate the master project to. I was expecting RoboHelp to convert my absolute path to a relative path that looks like this:
<a href="../ChildProject2/ChildProject2.htm">test link</a>
as you suggested. I can't figure out why it is changing my absolute path to a relative path that is so long..and still the link is not working. The work-around for this is that I go into the HTML and just paste in my absolute path. I don't want to continue doing this.
Note that my actual path looks something like this:
Q:\QA\Application Documentation\MasterMerge\mergedProjects\ChildProject2\ChildProject2.htm
Do I have too many folders? If so, I'm not sure what to do about this since my project needs to reside on a specific drive and folder at work that other departments don't have access to.
Thanks for responding! I'm just so frustrated with this because it seems the little details are causing me the most trouble. -
Adding Hyperlinks to text on a Summary Sheet in Powerpoint
Hi
I have a slide show that features No buttons, for questions 1- 10, If a user clicks a No button it prints a row of text with help for that particular topic.
Im using vba to generate the wording and code for the summary page, see below
Code for the No button is below
Sub No1(button As Shape)
If button.Fill.ForeColor.RGB <> RGB(128, 100, 162) Then
button.Fill.ForeColor.RGB = RGB(128, 100, 162)
Else
button.Fill.ForeColor.RGB = RGB(255, 255, 255) ' default white colour
End If
q1Answered = False
If q1Answered = False Then
numIncorrect = numIncorrect + 1
answer1 = "1. Answer to question 1 - Click Here for Further Help" & vbCr 'ADDED
End If
End Sub
Code for the summary page is below
Sub SummarySlide1() 'Summary Page for Create ADDED
Dim printableSlide As Slide
Dim homeButton As Shape
Dim printButton As Shape
Set printableSlide = _
ActivePresentation.Slides.Add(Index:=summarySlideNumber1, _
Layout:=ppLayoutText)
printableSlide.Shapes(1).TextFrame.TextRange.Font.Size = 9
printableSlide.Shapes(1).TextFrame.TextRange.Text = _
vbCr & vbCr & vbCr & userName & _
vbCr & "The following areas have been highlighted as one(s) which need development"
printableSlide.Shapes(2).TextFrame.TextRange.Font.Size = 8.5
printableSlide.Shapes(2).TextFrame.TextRange.Text = _
answer1 & vbCr & answer2 & vbCr & answer3 & vbCr & answer4 & vbCr & answer5 & vbCr & _
answer6 & vbCr & answer7 & vbCr & vbCr & answer8
ActivePresentation.SlideShowWindow.View.GotoSlide 40
MsgBox " Please Remember to Print Your Results before you leave this Page "
ActivePresentation.Saved = True
End Sub
So what you end up with on the summary sheet is all the NO's the user has clicked
for example
1. Answer to question 1 - Click Here for Further Help
What i'd like to do is turn the click here part in this text into a hyperlink to another web page
Is there a way to do this using vba?
Any help would be appreciated
Thanks
JinksHi Jinks,
For this requirement, you could add a textbox with text: Click here, then use
Hyperlink Object to add click action.
With ActivePresentation.Slides(1).Shapes(3) _
.ActionSettings(ppMouseClick)
.Action = ppActionHyperlink
.Hyperlink.Address = "http://www.microsoft.com"
End With
Regards
Starain
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Adding Hyperlinks in Report shuould take action in PDF Output
Hi All,
I had a requirement with reports
Explanation of the requirement.
I had a report aaa.rdf which gives a (one)employee monthly details.
which need to be output in PDF.
now the requuirement is
I had added labels "next-month" and "previous-month" labels at either side of report title.
I need the code to kept in these labels such that when this report is executed and taken into PDF file, when user
user clicks on the "next-month" or "previous-month" in that PDF file, the action to take is it should re-ran the same report(aaa.rdf) and should display the output in PDF in the same window but now the output should show the
coressponding next-month or previous-month results respectively of that employee.
please let me know if this make sense.
please guide for the above requirement.
this is very very urgent your help will be appreciated.
Thanks in advance
RRMHi,
it is not too late ....
It's possible to add such Hyperlinks to the pdf-Output of a report.
With use of the built-in rw.set_hyperlink('hyperlink') in a format trigge you can realize that. "hyperlink" is for example then something like:
'/reports/rwservlet?destype=cache&desformat=pdf&report=drilldetail.jsp&userid=scott/tiger@josi&p_deptno='||:deptno
In your case it's a call to the same report you run before and you had to set your month-parameter in the call depending your current month (next or previous).
With srw.set_hyperlink_attrs('string') it's possible to add additional attributes like for example
srw.set_hyperlink_attrs('target=_new')
which opens a new browser window.
This works for HTML & PDF.
Regards
Rainer -
Adding Hyperlink to Video Made in Final Cut Pro
I created a 10 second which incorporates my logo flash by the screen and concludes with a fade in of two different banners:
one leading to a commercial side of my work and another leading to personal.
I want to somehow export this video and import it into ActionScript and place a distinguished hyperlink over each banner. Any suggestions my genius Adobe Family?
Someone's got it en the bag! Hey, I appreciate any help I can get -NickThanks for the terminology. Yes I guess it is banding on my BRD and it displays the proper gradient when I play directly out from FCP. Sequence preset is DV NTSC 48 kHz. Capture Preset is DVCPRO HD - 1080i60 48 kHz. I let FCP select the settings when I brought in my 1st bit of HD video from my camera (via IMovie: I couldn't find a way to get in directly). My video is from the new Sony NEX (1080i). I'm sorry if I didn't answer your question re: format. I'm not very techy. I didn't understand "like noise added or in 10-bit." Thanks for your help!
-
Adding hyperlink in Infopath custom list which opens pdf document available in document library
Hi,
I have a custom list(modified in InfoPath 2010) and a document library having 2 pdf documents.
In the Custom list, i have used the attachment option for another field.
How to create a link in the InfoPath list, which when clicked opens the corresponding pdf from the document library?
How to achieve this?
Thank youHi Venkatzeus,
From your description, you have a list and attachments for the list are uploaded to a document library. To display the hyperlink in InfoPath form, you can directly use 2 Hyperlink controls. And give the document' URL in this control using formula.
I’m not sure how you upload the list item attachments to another document library. But make sure you have made a connection between the list item and attachments in document library. Here is an example.
ListTitle ID
Item1 1
Item2 2
Pass the ID to the document library when we create the attachment.
Document Name ItemID
attachment1 for item1 1
attachment2 for item1 1
attachment3 for item2 2
attachment4 for item1 1
attachment5 for item2 2
So here, we can see attachment1, attachment2, attachment4 are item1’s attachments and attachment3, attachment5 are item2’s attachments, because of ItemID.
1. Create a new column for document library, named it DocumentURL.
2. Create a workflow and set to start when new item is created automatically with following action.
Set DocumentURL = http://server/topsite[%Current Item:URL Path%].
3. Custom list form.
1) Add a data connection to receiver data from document library.
2) Insert document library connection as repeating section.
3) Add a hyperlink control within the repeating section (Insert > Hyperlink).
4) Select DocumentURL as the data source for Link To and Display options.
4. Add a formatting rule to the repeating section control.
If ItemID in document data connection is not equal to ID in Main data connection, then hide this control.
5. Done.
Let me know if you have any question.
Thanks & Regards,
Emir
Emir Liu
TechNet Community Support -
JTextPane: Problem adding hyperlinks & images
Hi,
I have a problem and I just can't figure out how to solve it.
I need to implement a simple Editor for HTML files. Lucky for me, most of the functionality i need is already provided by swing, but i still need to add images and hyperlinks to my document. Especially, i need to be able to select some text, click on a button and turn it into a hyperlink. If an image is within the selected range, then the image should be included in the hyperlink as well (just as you would expect it to be).
Adding images works so far, using this code (i'll take care of actually loading the image when the rest works).
JEditorPane editor = getEditor( e );
HTMLDocument doc = (HTMLDocument) getStyledDocument( editor );
MutableAttributeSet attr = new SimpleAttributeSet();
attr.addAttribute( StyleConstants.NameAttribute, HTML.Tag.IMG );
attr.addAttribute( HTML.Attribute.SRC, "p.gif" );
try {
doc.insertString( editor.getCaretPosition(), " ", attr );
} catch (BadLocationException e1) {
e1.printStackTrace();
}But when i try to do the same with HTML.Tag.A and HTML.Attribute.HREF, the selected text disappears from the code (it is still visible in the JTextPane, though) and is replaced by . I just don't seem to get the whole AttributeSet mechanism or which attributes need to be set to which values.
I have seriously been stuck on this stuff for over one day now, and went through half a million tutorials, but can't figure it out - and i can't imagine that it is that complicated to do something like that.
By the way, I don't care whether or not you can click on the link in the JTextPane. The whole application is just for editing purposes and the document's content will be uploaded to a webserver at a later point.
I hope there's somebody who can help me out here.
Thanks in advance,
ak87Doesn't anyone have a hint for me here?
-
Adding Hyperlink to content within RTE in SharePoint 2013
Hi,
We are using the default RTE provided by SP 2013. We need to provide hyperlink within the content added in the RTE. Please suggest a way to do this.
Thanks.
AteebHi Ateeb,
As I understand, you would like to add hyperlink to content edited in rich text editor.
I create a page in SharePoint 2013, then the page content is in rich text editor. I can directly add a hyperlink, such as
http://www.bing.com, then click space, it will turn blue and to be marked as a hyperlink here.
If you would like to edit this hyperlink, you could move your cursor among this link, then a Link tab will appear. Or you could select Edit Source under Format Text tab, then you will find hyperlink displayed as:
<p>
<a href="http://www.bing.com/">http://www.bing.com</a>
</p>
You could edit the source code directly per your requirements.
Regards, -
Adding hyperlinks to text via spreadsheet
Hi
I have built a 52 page product document, and now have been asked to produce a PDF version with Hyperlinks on all the 300+ product names.
The client is able to supply a spreadsheet of all the product names and URL in columns (XLS). Is there a way to find the Product Name in the doc and add the URL in to the hyperlinks panel.
thanks
ShaneHi Mark
I've tried swapping in your script but it breaks in cs5.
From my knowledge of applescript, find and replace now has a findType, eg. --findType is "text", "grep", or "glyph" (this sets the type of find/change operation to use).
I've attached the FindChangeByList script below as this must use this method…
--FindChangeByList.applescript
--An InDesign CS5 AppleScript
--Loads a series of tab-delimited strings from a text file, then performs a series
--of find/change operations based on the strings read from the file.
--The data file is tab-delimited, with carriage returns separating records.
--The format of each record in the file is:
--findType<tab>findProperties<tab>changeProperties<tab>findChangeOptions<tab>description
--Where:
--<tab> is a tab character
--findType is "text", "grep", or "glyph" (this sets the type of find/change operation to use).
--findProperties is a properties record (as text) of the find preferences.
--changeProperties is a properties record (as text) of the change preferences.
--findChangeOptions is a properties record (as text) of the find/change options.
--description is a description of the find/change operation
--Very simple example:
--text {find what:"--"} {change to:"^_"} {include footnotes:true, include master pages:true, include hidden layers:true, whole word:false} Find all double dashes and replace with an em dash.
--More complex example:
--text {find what:"^9^9.^9^9"} {applied character style:"price"} {include footnotes:true, include master pages:true, include hidden layers:true, whole word:false} Find $10.00 to $99.99 and apply the character style "price".
--All InDesign search metacharacters are allowed in the "find what" and "change to" properties.
--For more on InDesign scripting, go to http://www.adobe.com/products/indesign/scripting/index.html
--or visit the InDesign Scripting User to User forum at http://www.adobeforums.com
tell application "Adobe InDesign CS5"
--Set the user interaction level to allow InDesign to display dialog boxes and alerts.
set user interaction level of script preferences to interact with all
set myTextObjects to {text, text frame, insertion point, character, word, text style range, line, paragraph, text column, cell, table, row, column}
if (count documents) is not 0 then
if (count stories of active document) is not 0 then
set mySelection to selection
if (count mySelection) is not 0 then
if class of item 1 of mySelection is in myTextObjects then
if class of item 1 of mySelection is text frame then
set myObject to object reference of text 1 of item 1 of mySelection
else if class of item 1 of mySelection is insertion point then
set myObject to parent story of item 1 of mySelection
else
set myObject to item 1 of mySelection
end if
my myDisplayDialog(myObject, myTextObjects)
else
set myObject to active document
end if
else
set myObject to active document
my myFindChangeByList(myObject)
end if
else
display dialog ("The current document contains no text. Please open a document containing text and try again.")
end if
else
display dialog ("No documents are open. Please open a document and try again.")
end if
end tell
on myDisplayDialog(myObject, myTextObjects)
tell application "Adobe InDesign CS5"
if class of myObject is insertion point then
set myObject to parent story of myObject
end if
set myDialog to make dialog with properties {name:"FindChangeByList"}
tell myDialog
tell (make dialog column)
set myRangeButtons to make radiobutton group
tell myRangeButtons
make radiobutton control with properties {static label:"Entire document", checked state:true}
make radiobutton control with properties {static label:"Selected story"}
if class of myObject is in myTextObjects and class of myObject is not insertion point then
set myContents to contents of myObject
if myContents is not equal to "" then
make radiobutton control with properties {static label:"Selection", checked state:true}
end if
end if
end tell
end tell
end tell
set myResult to show myDialog
if myResult is true then
set myRange to selected button of myRangeButtons
destroy myDialog
if myRange is 0 then
set myObject to document 1
else if myRange is 1 then
if class of myObject is not story then
set myObject to parent story of myObject
end if
end if
my myFindChangeByList(myObject)
else
destroy myDialog
end if
end tell
end myDisplayDialog
on myFindChangeByList(myObject)
local myFile, myFileRef, myEOF, myFindType
tell application "Adobe InDesign CS5"
set myFile to my myFindFile("FindChangeSupport:FindChangeList.txt")
set myFileRef to open for access (myFile as alias)
set myEOF to get eof myFileRef
set myOldDelimiters to AppleScript's text item delimiters
--That's a tab character between the quotation marks in the next line.
set AppleScript's text item delimiters to {" "}
if myEOF > 0 then
--Delimiter is return--if you have trouble reading your find/change file, it's
--probably because your line end characters are not Mac OS line end characters.
set myText to read myFileRef using delimiter {return}
close access myFileRef
repeat with myCounter from 1 to (count myText)
set myLine to item myCounter of myText
if myLine starts with "text" or myLine starts with "grep" or myLine starts with "glyph" then
if word 1 of myLine is "text" or word 1 of myLine is "grep" or word 1 of myLine is "glyph" then
set {myFindType, myFindPreferences, myChangePreferences, myFindChangeOptions, myDescription} to text items of myLine
if myFindType is "text" then
my myFindText(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions)
else if myFindType is "grep" then
my myFindGrep(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions)
else if myFindType is "glyph" then
my myFindGlyph(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions)
end if
end if
end if
end repeat
end if
set AppleScript's text item delimiters to myOldDelimiters
end tell
end myFindChangeByList
on myFindText(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions)
tell application "Adobe InDesign CS5"
--Clear the find text/change text preferences before each find/change operation.
set find text preferences to nothing
set change text preferences to nothing
set myScript to "tell application \"Adobe InDesign CS5\"" & return & "set properties of find text preferences to " & myFindPreferences & return
set myScript to myScript & "set properties of change text preferences to " & myChangePreferences & return
set myScript to myScript & "set properties of find change text options to " & myFindChangeOptions & return
set myScript to myScript & "end tell" & return
do script myScript language applescript language
tell myObject
set myFoundItems to change text
end tell
--Clear the find text/change text preferences after each find/change operation.
set find text preferences to nothing
set change text preferences to nothing
end tell
end myFindText
on myFindGrep(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions)
tell application "Adobe InDesign CS5"
--Clear the find grep/change grep preferences before each find/change operation.
set find grep preferences to nothing
set change grep preferences to nothing
set myScript to "tell application \"Adobe InDesign CS5\"" & return & "set properties of find grep preferences to " & myFindPreferences & return
set myScript to myScript & "set properties of change grep preferences to " & myChangePreferences & return
set myScript to myScript & "set properties of find change grep options to " & myFindChangeOptions & return
set myScript to myScript & "end tell" & return
do script myScript language applescript language
tell myObject
set myFoundItems to change grep
end tell
--Clear the find grep/change grep preferences after each find/change operation.
set find text preferences to nothing
set change text preferences to nothing
end tell
end myFindGrep
on myFindGlyph(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions)
tell application "Adobe InDesign CS5"
--Clear the find glyph/change glyph preferences before each find/change operation.
set find glyph preferences to nothing
set change glyph preferences to nothing
set myScript to "tell application \"Adobe InDesign CS5\"" & return & "set properties of find glyph preferences to " & myFindPreferences & return
set myScript to myScript & "set properties of change glyph preferences to " & myChangePreferences & return
set myScript to myScript & "set properties of find change glyph options to " & myFindChangeOptions & return
set myScript to myScript & "end tell" & return
do script myScript language applescript language
tell myObject to change glyph
--Clear the find glyph/change glyph preferences after each find/change operation.
set find text preferences to nothing
set change text preferences to nothing
end tell
end myFindGlyph
on myFindFile(myFindFileName)
tell application "Adobe InDesign CS5"
try
set myScript to active script
on error
set myScript to path to me
end try
end tell
tell application "Finder"
set myScript to file myScript
set myParentFolder to (container of myScript) as string
set myFileName to myParentFolder & myFindFileName
set myResult to exists myFileName
if myResult is true then
else
set myFileName to choose file with prompt "Locate your find/change file"
end if
end tell
return myFileName
end myFindFile
thanks
shane
Maybe you are looking for
-
Sales return -vat G/L account
hai gurus, Iam here discusing about a sales return process. I have a scenario like the client sells 1000 nos of goods ,among that 10 comes as returns. i will refeer to billing document and create a sales return order now quality says among 10 nos of
-
ICal events are imported in the wrong calendar
Hello, I'm using iCloud for business as a temporary solution before moving to a more professional and stable tool. Still, I'm confronted with annoying problems that are just making my work more difficult. I'm posting here hoping that somebody would f
-
Here we go again... Install errors
Hello, I'm going mad about it. After trying an update (from 10.4.6 to 10.4.9 directly from the dmg, not from software update) I had to re-boot my system and now it's not working anymore. First of all, I've tried to boot from the Tiger DVD and I've us
-
Hi, I am trying to archive files from a SharePoint 2010 document library by moving them to another library that's a dedicated archive/folder/library. The files to be moved are selected based on their modified date column value that should range betwe
-
Library Filter behavior in Lr3 RTM
I upgraded to Lr3, and am pretty excited to be using the new version. There are a few minor issues I noticed relating to my workflow process, the biggest being the following: In Lr2.x I was able to click a folder in the Dev module, and the Lib Filter