Applescript (in Xcode): set text in label (in window) to .....
Hello,
How do you change the text of a label (in a window) in Xcode, with AppleScript?
I use Xcode, but inside my app I use Xcode. Applescript studio actually, only it's isn't called like that anymore.
It's also called applescriptobjc...
Example:
I have a label, containing the text "Hello" in my main window.
Next to it, is a button. I want that button connected to an applescript action, like:
on thebuttonclicked_(aNotification)
set thelabel1 to "Bye!"
end thebuttonclicked_
Please help,
Isaiah v. Hunen
P.S. Is there a way to also use the text of the label, like;
on thebuttonclicked_(aNotification)
display dialog thelabel1
end thebuttonclicked_
AppleScript Studio was deprecated in Snow Leopard - the new framework (AppleScriptObjC) is quite a bit different. One of the main differences is the way that user interface objects are referred to.
Typically, in your project you would create an outlet property for the label and connect that to the UI item. This outlet would then be used with the desired NSTextField methods (a label is just a text field that looks a little different).
property theLabel1 : missing value -- connect to the label text field
on thebuttonclicked_(aNotification)
theLabel1's setStringValue_("Bye!")
display dialog theLabel1's stringValue() as text
end thebuttonclicked_
Bindings can also be used to bind the value of the text field to a property.
Similar Messages
-
Setting text item delimiters in Cocoa-Applescript App
Does anyone know of a problem with text item delimiters in a Cocoa-Applescript App. This is in Xcode 4.5.2 and Mountain Lion
the following code seems to fail to set the text item delimeter to + when I run it in Coca-AppleScript
-- TSTAppDelegate.applescript
-- Test Text item Delimiters
-- Created by Frank Caggiano on 12/22/12.
-- Copyright (c) 2012 Frank Caggiano. All rights reserved.
script TSTAppDelegate
property parent : class "NSObject"
on applicationWillFinishLaunching_(aNotification)
-- Insert code here to initialize your application before any files are opened
tstTxtDel()
end applicationWillFinishLaunching_
on applicationShouldTerminate_(sender)
-- Insert code here to do any housekeeping before your application quits
return current application's NSTerminateNow
end applicationShouldTerminate_
on tstTxtDel()
set text item delimiters to "+"
set d to "-s http://www.nietzschefamilycircus.com"
set r to do shell script "curl " & d & " | ~/Desktop/try.pl"
display dialog "r is " & r
set rr to every text item of r
display dialog "rr " & rr
display dialog "curl " & first text item of rr & " -o "
end
end script
However if you put the tstTstDel() function in the Applescript editor it works as expected.
The try.pl script is
#!/usr/bin/perl
$s ="";
while (<>) {
$s .= $_;
$s =~ m{class="comic"(.*)<div class="footer">}si;
($link, $caption,$jj) = ($1 =~ m{<img src="(.*)" alt=.*class="quote">(.*)(</div>.*</div>)}si);
print $link, "+", $caption, "\n";
I know this worked in the past. The Coca-Applescript app was written at least as far back as Snow Leopard. The site I am parsing changed their format and I was updating the app as a means to learn the new Coca-Applescript environment.
Any help appreciatedOK found it, I needed to use
set Applescript's text item delimiters to "+"
instead of just
set text item delimiters to "+"
I suppose it is a scoping thing. -
[AS] Access Text Frame Labels in CS5
Hello Everyone,
I am updating a CS2 InDesign AppleScript to CS5 and finding an issue accessing the text frame labels. In CS2 the script below would set the variable x to the contents of the text frame "bob", unfortunately, this script not longer works in CS5.
tell application "Adobe InDesign CS2"
set x to contents of text frame "bob" of active document
end tell
The documentation tells users how to insert text, but not access it. If anyone has an idea of how to do this in CS5 I would appreciate it.Got it!
tell application "Adobe InDesign CS5"
tell active document
set x to contents of item 1 of all page items whose label is "bob"
end tell
end tell -
Hi,
I have a rather unusual project and don't know if I should use AppleScript or Xcode. I'm a bit used to applescript but don't know Xcode at all.
*Here is the main idea and goal :*
I have a mac mini which has a mediaplayer which runs video and such for digital signage.
That mac mini is connected to a USB Internet key (Roger's RocketStick). Everything works fine but I need to click on connect each time for it to connect on the internet and I must disconnect each night for the mac to shut down. Plus, I need to start the player and shut it off too. This is really a pain in the......
*Current setup* (+works okay but has alot of bugs that I can't put my finger on+)
I'm working with a script I did using automator and AppleScript, LogIn items for the startup script and iCal for shutdown times which then activates the shutdown script.
I thought I was pretty clever doing it this way, but sometimes for reasons unknown, the mac gets confused and loads both shutdown and startup scripts on bootup and hangs.
Guess on what type of code to use? Or do you have a better solution than what I'm doing.kpott wrote:
Anyway, the piece of software Roger's gave with their Internet USB key can't connect by itself, you must click on the connect button when their software boots or else it just finds the signal and waits for your command. I guess this was done intentionally by their part to save on bandwidth use.
You need to click a button. AppleScript can do this & is done all the time.
See the script below.
Get the scripting setup right then
Might be simple as:
keystroke return
The problem I'm getting is that I usually get the "Finder canceled "Shutdown"...." error message when the mac mini boots. "Shutdown" is the name of my script. This only happens sometimes, which is my biggest frustration. The method I'm using isn't stable.
Rename your script. The name is confusing. Something like myShutdown.
This is why I'm trying to look into a better way to work this out. I'm using Energy Saver to schedule the power on process and login items to start the script. The reason why I'm using iCal is to shutdown the computer using a script. I couldn't get the mac to start a script while Shutdown was initialized using the Energy Saver feature. PLUS, only to make things worst, on sundays, the mac must shutdown earlier in the day.
Interesting...
Remember you need to enable assistive devices.
This lets applications software access screen elements.
blue apple > system perferences > universal access > enable assistive devices
-- Write a message into the event log.
Run this program from the Script Editor. Click on the Event Log tab at the
bottom of the screen.
log " --- Starting on " & ((current date) as string) & " --- "
set the_item_ref to choose file with prompt "Select an html, text, or some other file Safari will display."
-- Activate
activate application "Safari"
-- Open the URL
tell application "Safari"
open the_item_ref
-- print
-- System Events interacts with the current active applications.
tell application "System Events"
tell process "Safari"
-- Your simulating typing on the keyboard. You need to allow time
-- for the application to run. It's always a guess about delay in seconds.
delay 3
-- Be sure your printer is up & running before printing.
keystroke "p" using command down
delay 3
keystroke return
delay 10
keystroke "w" using command down
end tell
end tell
end tell -- of Safari -
Having problems setting text to a JLabel!!
HI *.*,
i'm having problems setting text to a JLabel.
i have a JFrame with a JPanels and on the JPanel i have a JLabel.
I have a text field wihich is used to input text.
So, i'm using textField.getText() to read the text of the text field and setText() to write it to the Label.
but setText() isn't displaying the text on the label.
I'm using NetBeans as an ide
Does anyone have any ideas??Here is some code
public class AddClass extends JFrame implements ActionListener{
public AddClass() {
initComponents();
}//end of 1st constructor with initComp
//initComponents
private void initComponents() {
getContentPane().setLayout(new java.awt.GridLayout(3, 1));
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
prodPanel.setLayout(new java.awt.GridLayout(1, 3));
prodPanel.setBackground(new java.awt.Color(255, 255, 255));
prodPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createEtchedBorder(), "Production", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Arial", 1, 12)));
westPanel.setLayout(new java.awt.GridLayout(6, 0));
westPanel.setBackground(new java.awt.Color(255, 255, 255));
westPanel.add(westLab1);
westLab2.setBackground(new java.awt.Color(255, 255, 255));
westLab2.setFont(new java.awt.Font("Arial", 1, 36));
westLab2.setForeground(new java.awt.Color(0, 204, 0));
westLab2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
westLab2.setIcon(new javax.swing.ImageIcon("C:\\icontexto-webdev-bullet-048x048.png"));
westLab2.setText("MQ 35");
westLab2.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT);
westLab2.setIconTextGap(10);
westLab2.setInheritsPopupMenu(false);
westPanel.add(westLab2);
westPanel.add(westLab3);
westPanel.add(westLab4);
westPanel.add(westLab5);
prodPanel.add(westPanel);
setJMenuBar(menuBar);
setTitle("Broker Monitor");
this.setSize(700, 700);
BrokerWindowCloser brkWindowCloser = new BrokerWindowCloser();
this.addWindowListener(brkWindowCloser);
pack();
// setVisible(true);
}//end of initComponents
public AddClass(String st) {
initComponents();
westLab6.setVisible(true);
// System.out.println("in broker " + st);
westLab6.setText(st);
System.out.println(st);
westLab6.setBackground(new java.awt.Color(255, 255, 255));
westLab6.setFont(new java.awt.Font("Arial", 1, 36));
westLab6.setForeground(new java.awt.Color(0, 204, 0));
westLab6.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
westLab6.setIcon(new javax.swing.ImageIcon("C:\\PNG\\icontexto-webdev-bullet-048x048.png"));
westLab6.setEnabled(true);
westLab6.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT);
westLab6.setIconTextGap(15);
westLab6.setInheritsPopupMenu(false);
westPanel.add(westLab6);
// this.validate();
westPanel.repaint();
public void actionPerformed(ActionEvent ae) {
Object source = ae.getSource();
if(source == exitMI) {
System.exit(0);
}//end of if exitMI
if(source == addMI){
new AddMQ_1_1();
if(source == removeMI){
new RemoveMQ_1();
}//end of actionPerformed
class BrokerWindowCloser extends WindowAdapter {
public void windowClosing(WindowEvent we) {
}//end of windowcloserclass
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new AddClass().setVisible(true);
}//end of main
}// End of variables declaration
public void addButtonActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
Object source = evt.getSource();
if(source == addButton){
System.out.println("here");
String st = mqNameJTF.getText();
Broker1 br = new Broker1(st);
AddClass adc = new AddClass(st);
this.repaint();
this.dispose();
}//end of if addButton
}//end addButtonActionPerformed -
Set a field label by conditions, in a Search Query
Dear all ADF buddies,
Can I set a field label by conditions? Say: if UserRole=A then Label = A; else Label = B;
The problem is those field labels are not attribute of JSP, they are inside a Search Query. Thus the label text are defined in the table EO, which I cant find any place in JDeveloper to set custom expression.
Any one know how?
=)
James FanHi Frank, thank you for replying.
Tried to amend the ViewRowImpl.java and added those related functions. It didn't get called while rendering the Search Query fields, but only after.
Any way to do this on the EO side? I think it s more likely that the Search Query dialog is reading label value directly from the EO
I found there are AttributeDefImpl or AttributeHints in the EntityImpl.java. Are there examples to show how to override these classes?
James
Edited by: 1003858 on 2013年5月6日 上午2:34 -
Applescript in Xcode Saving Preferences
Ok I am writing a simple applescript based xcode application but I can't figure out how to save these properties:
property fade_speed : true
property fade_on : false
property the_choice : false
property first_run : true
... between launches of the application which controls itunes. I want the user to be able to set preferences of if they want itunes to fade between songs every time they click the next or previous buttons or not to fade and to have a dialog pop up the first time they open the app and "the_choice" is their favorite playlist which they can play by clicking a button. How can I have these settings saved so that the user does not have to set them up each time?
Im using the latest version of Mac OS 10.5.7 and the latest version of Xcode.Properties do not persist between runs in AppleScript Studio like they do in a regular AppleScript. To save your preferences, etc., use the user defaults.
-
Set Text of Container to HTML not working
I have a div tag named "theAnswer" on a page. When the user
clicks the "Submit" button, I want some text to appear inside the
div that has HTML formatting.
The HTML code for the text I want to appear is below:
You are correct! We are committed to conducting
business with
the highest degree of integrity, complying with legal
standards and
regulations and serving others with respect, fairness and
caring. Click here for <a
href="javascript:;"
onClick="MM_openBrWindow('../docs/
Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=575')">More
Info</a> or click Continue.
After I put in the Behavior to "Set Text > Set Text of
Container to", choose the correct Div tag, and paste the above into
the "New HTML" field, when I click the Submit button, I get the
following appearing in the div "theAnswer" exactly how it appears
below as text without it being actual formatted HTML.
You are correct! We are committed to conducting
business with
the highest degree of integrity, complying with legal
standards and
regulations and serving others with respect, fairness and
caring. Click here for <a
href="javascript:;"
onClick="MM_openBrWindow('../docs/
Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=575')">More
Info</a> or click Continue.
It's not formatted as HTML, it just comes out exactly what
the coding is. Why?!Let's see the page, please.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Jim Rehmann" <[email protected]> wrote in
message
news:g6a3in$dv4$[email protected]..
>I have a div tag named "theAnswer" on a page. When the
user clicks the
> "Submit" button, I want some text to appear inside the
div that has HTML
> formatting.
>
> The HTML code for the text I want to appear is below:
>
> You are correct! We are committed to
conducting business with
> the highest degree of integrity, complying with legal
standards and
> regulations and serving others with respect, fairness
and
> caring. Click here for <a
href="javascript:;"
> onClick="MM_openBrWindow('../docs/
>
>
Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=57?5')"
>>More
> Info</a> or click Continue.
>
>
> After I put in the Behavior to "Set Text > Set Text
of Container to",
> choose
> the correct Div tag, and paste the above into the "New
HTML" field, when I
> click the Submit button, I get the following appearing
in the div
> "theAnswer"
> exactly how it appears below as text without it being
actual formatted
> HTML.
>
>
> You are correct! We are committed to
conducting business with
> the highest degree of integrity, complying with legal
standards and
> regulations and serving others with respect, fairness
and
> caring. Click here for <a
href="javascript:;"
> onClick="MM_openBrWindow('../docs/
>
>
Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=57?5')"
>>More
> Info</a> or click Continue.
>
> It's not formatted as HTML, it just comes out exactly
what the coding is.
> Why?!
>
> -
Getting error while trying to set text for form value field in oaf
Hi ALL,
When i am trying to set text for a form value type field it is giving null pointer exception, please help me out.
I tried below way.
OAFormValueBean containlineid=(OAFormValueBean)webBean.findChildRecursive("item11");
containlineid.setText(pageContext,"test");
ThanksHI Keerthi,
I am able to set and get the value now, i am able to see the data in my log window, but in my page it is erroring out, giving null pointer exception.
after commenting the two lines setting and getting value page is running fine, so any clue on this, please check the below code.
public class XXDPECONTAINLINESCO extends OAControllerImpl
public static final String RCS_ID="$Header$";
public static final boolean RCS_ID_RECORDED =
VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
* Layout and page setup logic for a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
OARawTextBean startDIVTagRawBean =
(OARawTextBean) webBean.findChildRecursive("DivStart");
System.out.println("debhorizontal"+ startDIVTagRawBean);
// addScrollBarsToTable(pageContext, webBean,"DivStart", "DivEnd", true , "400",true,"400");
* Procedure to handle form submissions for form elements in
* a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
String preplenish = pageContext.getParameter("item1");
String pworkorder = pageContext.getParameter("item2");
String pdmr = pageContext.getParameter("item4");
String punloading = pageContext.getParameter("item6");
String prrnum=pageContext.getParameter("item16");
String pworknum=pageContext.getParameter("item14");
String pdtr=pageContext.getParameter("item13");
Serializable param[] = {preplenish,pworkorder,pdmr,punloading,prrnum,pworknum,pdtr};
OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
if(pageContext.getParameter("item11")!=null)
if(am !=null)
am.invokeMethod("getSearchData",param);
if (pageContext.getParameter("item30") != null) {
String recout = (String)am.invokeMethod("getSelectedData");
System.out.println("deb multi select test"+recout);
System.out.println("1111test1"+pageContext.getParameter("item32"));
OAFormValueBean containlineid=(OAFormValueBean)webBean.findChildRecursive("item32");
System.out.println("1111test2"+pageContext.getParameter("item32"));
//containlineid.setValue(pageContext,recout);
System.out.println("1111"+pageContext.getParameter("item32"));
/// System.out.println("22222"+containlineid.getValue(pageContext));
containlineid.setValue(pageContext,recout);
containlineid.getValue(pageContext);
System.out.println("1111test3"+pageContext.getParameter("item32"));
--------------Error it is giving in the page as----------------
Exception Details.
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at _OA._jspService(_OA.java:71) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) ## Detail 0 ## java.lang.NullPointerException at xxdpe.oracle.apps.ak.xxdpecontain.webui.XXDPECONTAINLINESCO.processFormRequest(XXDPECONTAINLINESCO.java:123) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.beans.layout.OAMessageComponentLayoutBean.processFormRequest(Unknown Source
Thnaks -
How to change the text of label dynamically
Hi all,
I have done a dynpro program.It requires to implement the dynamically display the label text, for example: there is a label, sometimes, we want to display "Purchase Order" and sometimes we want to display "Sales Order". Can anyone tell me how to change the text of label according to my requirements? thanks in advance!Hi Wei,
AS of now you will not be able to change the Text Field ( Label ) dynamically or at runtime. This is a limitation.Refer to this link:
http://help.sap.com/saphelp_nw04/helpdata/en/e4/2adbef449911d1949c0000e8353423/frameset.htm
But, there is a way around.
You can make a text field Visible / Invisible based on your program logic. So, based on what you want, you can process a module which will take care of that.
Have a look at these DEMO Code. You can have a good idea to implement the logic.
DEMO_DYNPRO_MODIFY_SCREEN - Demonstration of Dynamic Screen Modifications
Thanks,
Samantak. -
How do I GET the 'set text of container' behavior in DW CS3 if it's missing?
I'm building a site using CSS in DW CS3 (bought in May 2006) that has some photo gallery pages where a large image changes per thumbnails to its right that are clicked. The thumbnails are in their divs and the wished-for big image should appear in a larger div to the left. I've read in other postings here that I can use Behaviors panel > Set Text > Set text to container to do this, but this behavior is missing in my Set Text submenu. How do I add this behavior there?
Also, how do I not only create this 'on click' behavior, but have the thumbnail image change to a 'HIT' state like a rollover would?
(P.S. - posted this yesterday, slightly different heading, but it didn't appear today)
Thanks for your help --Check this location in windows C:\Program Files\Adobe\Adobe Dreamweaver CS5\configuration\Behaviors\Actions\Set Text
If this Set Text folder is not there it means that the behavior did not get installed. So you might need to reinstall DW CS3. -
Set text of container in DW CS3
I'm building a site using CSS in DW CS3 (bought in May 2006) that has some photo gallery pages where a large image changes per thumbnails to its right that are clicked. The thumbnails are in their divs and the wished-for big image should appear in a larger div to the left. I've read in other postings here that I can use Behaviors panel > Set Text > Set text to container to do this, but this behavior doesn't appear in my Set Text submenu. How do I add this behavior there?
Also, how do I not only create this 'on click' behavior, but have the thumbnail image change to a 'HIT' state like a rollover would?
Thanks for your help --Check this location in windows C:\Program Files\Adobe\Adobe Dreamweaver CS5\configuration\Behaviors\Actions\Set Text
If this Set Text folder is not there it means that the behavior did not get installed. So you might need to reinstall DW CS3. -
I have tried to find ways around this, but i must set text into a panel. but there is no .setText(), like there is for text fields. So how would i set text into a TextArea?
BTW: what i am trying to do is be able to constatly add things without replacing what has been put up there.
thank youBigDaddyLoveHandles wrote:
sys5 wrote:
I have tried to find ways around this, but i must set text into a panel. but there is no .setText(), like there is for text fields. So how would i set text into a TextArea?
BTW: what i am trying to do is be able to constatly add things without replacing what has been put up there.
thank youCould it be that you are not aware of the documentation?
http://java.sun.com/javase/6/docs/api/
By the way, JTextArea does have a setText method, but it replaces the current text with the given text. It sounds like you want to use ---- but wait, it's better if you find that out yourself. Big hint: it's the first method listed on JTextArea's API page.
edit: too late!If he wasn't aware of the documentation, he probably would have tried using setText(), and found that it worked. That he thought it didn't exist suggests that he looked at the API but only looked in the method summary area, and not below at the "methods inherited from..." sections.
(sorry to ruin your surprise) -
Need help with Set Text behavior
In Dreamweaver CS3/Mac, I am creating a disjointed rollover
that is initiated by rolling over an image. I need it to swap two
images and hopefully set text in two divs. I want this to happen on
rollover and not on click. I don't want it to restore on mouse out.
The images are no problem but I can't seem to make this happen for
the text. Is this possible? Any help? Thanks.http://murraytestsite.com/carneros.html
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"LB:Monroe" <[email protected]> wrote in
message
news:fsp2da$l1$[email protected]..
> Thanks for your response. You can view the page under
construction at:
>
http://www.monroest.com/tlcd/
>
> As one rolls over a square (image file) in the top bar,
the following is
> to
> occur:
> the large image swaps (simple swap image)
> the caption text changes (text, not an image)
> the text to the right of the image changes (text, not an
image)
> the background color of the text div (currently light
gray) changes
> (property
> change?)
> on some of them, the text color of the long text block
changes (property
> change?)
http://www.monroest.com/tlcd
> -
I have set text size to Auto but it starts too small
I have created a form in Acrobat Pro 9, and set text size to Auto in all fields.
I know it is limited to the height of the field, but one of the fields is a block for multi-line paragraghs. Size is set to Auto, font to Times Roman. When I open the file in Reader to test it, it looks like it's starting at 12 points. It goes down from there as the whole block is filled with text, but I'd like it to start at around 18.
Advice?as I mentioned, this one field is a block for multi-line paragraghs. It's one, large text block, taking up the bottom half of the form, so that users can input multiple paragraphs of text (they're telling their story). Some people will write a lot, some less. That's why I set it to Auto, so that the shorter stories would be in larger text, but longer stories will still shrink to fit.
It works, but I want to know if their is a way to get the text to start out at a larger font size before auto-sizing-to-fit. I mean, Something is telling the font to start at 12 point...
Should I attach the form to this discussion? (How do I do that?)
Maybe you are looking for
-
Print to PC only Printer from Win Lap. through Mac w/airport extreme?
I've got an airport extreme connected to a mac g4 via ethernet, i can't add the printer i have(a dell 1100) to the mac in the printer utility, does that mean there is no way to print to the printer wirelessly from my PC laptop. I've got the PC to see
-
Blank screen after 'slide to setup'
Hi After a restore and update to iOS 7.0.4 via iTunes from 6.1.3, I am now stuck at the slide to set up screen, when swiping the screen just goes black and cannot proceed. The device is visible in iTunes, phone number etc. But can't use the phone...
-
Database tables for Special GL - down payment
As per my knowledge All vendor open items or with BSAK database table All vendor cleared items or with BSIK database table All customer open items or with BSAD database table All customer cleared items or with BSID database table
-
Why is my battery life so short?
I bought a brand new battery but only get about 2hrs of life out of it. I've gone through the support pages and tips for improving battery life, but it hasn't changed. Can anyone help me with this?
-
SQL * PLUS WORKSHEET wrapping
I am using the SQL*Plus: Release 8.1.6.0.0 and the query gives us a wrapping results which is so hard to read and takes awhile to execute.