Question about "activated" status

Hi again!
Got another question regarding Applescript studio app. Most apps I notice if you close their window and the app allows itself to stay open, by double clicking the icon or clicking the dock icon it would reopen that window. But I notice that if you would close the window and "activate" the app by Expose or -tab that some apps will reopen the window and some won't...make sense? So I guess my question is how would I make the app reopen its main window that was closed if you would click it's icon, but not if it was reactived in Expose???
Thanks,
Reg

From some quick experiments it looks to me like "will become active" and "activated" are going to get called any time your app is activated regardless of whether it's due to command-tab or clicking the dock icon. So if you're only wanting to open an new window on a dock click I don't know how you could really use either of those and be able to tell what caused your app to be actived.
On the other hand it appears that "should open untitled" may do what you're wanting. It appears that "should open untitled" gets called if your app does not have any open windows and it gets activated by a click on the dock icon. It does not seem to get called if you switch to your app using command-tab. Nor does it get called following a dock icon click if you already have a window open.
It also does not get called if your app does have a window and you switch to it by clicking the window in Expose. Is it even possible to switch to an app through Expose if the app does not have any windows to click on?
I'm not sure what other circumstances could cause "should open untitled" to be called so you may have to experiment with it some more.
Steve

Similar Messages

  • Question about activating iPhone

    I'm getting a iPhone soon, and have a question about activation. Is a credit card or debit card required during activation?

    The credit card is used to setup an iTunes Store account, Small tip. Set one up before activation to cut down on activation setup time.
    You can remove the credit card info off your iTunes account after it is setup. It is simply used for when you want to purchase music, videos, etc. off the iTunes Store.
    If you do not have a credit or debit card, Try going down to your local Walmart or Drug store, Some of these places sell Fillable Credit cards. You can buy the cheapest one they have and use it for Setup of the account. And simply refill it if you need more money for any purchases.

  • Question about EMCTL status dbconsole

    Good morning,
    I am using Windows XP SP2 and 11gR1. I have an installation with 2 homes, db_1 is home to DBCASID and OCP11GSID, db_2 is home to ORCLSID. All are the same Oracle version, namely, 11gR1.
    I have set the EM services to start manually. I initially started the service for ORCLSID then stopped it and, started the service for DBCASID which started uneventfully. The services were started and stopped using EMCTL by setting the ORACLE_SID to the proper values, in addition, since those instances are in different homes, I switched the PATH as necessary to point to their respective homes.
    When I issue the commands:
    E:\Oracle\app\Private\product\11.1.0\db_1\BIN>set oracle_sid=dbcasid
    E:\Oracle\app\Private\product\11.1.0\db_1\BIN>emctl status dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
    https://OrahostB.john.local:5500/em/console/aboutApplication
    Oracle Enterprise Manager 11g is not running.It reports the service as not running. Windows shows the service is running and in addition to that I have successfully started EM for the instance and used it to browse the state of various elements that make up the database.
    As I type this, the address in IE that I am currently looking at is:
    https://orahostb.john.local:5500/em/console/database/storage/tablespace?target=dbca&type=oracle_database&pageName=/database/storage/tablespace/showSegments&cancelURL=/em/console/database/storage/tablespace%3Foname%3DEXAMPLE%26event%3Dview%26otype%3DTABLESPACE%26target%3Ddbca%26type%3Doracle_database&oname=EXAMPLE&otype=TABLESPACE&processId2=1284272607223which proves the service is running and fully functional.
    The question is: Why is emctl reporting the service as not running when it is most definitely running ? Any ideas ?
    Thank you for your help,
    John.

    Dear 440bx - 11gR2,
    I had the same problem and the enterprise manager is running. The agent is not running on your situation but the enterprise manager itself is running.
    When you type emctl start dbconsole it keeps printing dots (.) and saying the dbconsole can not be started. Actually the dbconsole is started but the agent is not.
    Please type;
    emctl status dbconsoleHere is my output (enterprise manager is running);
    vals1:/home/oracle#emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
    https://10.6.104.171:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is not running.
    Logs are generated in directory /oracle/product/10.2.0/db_1/vals1_optprod/sysman/logThe error messages are;
    vals1:/oracle/product/10.2.0/db_1/vals1_optprod/sysman/log#tail emagent.trc
    2010-09-12 23:18:12 Thread-10 ERROR vpxoci: Error setting timeout for queue reader
    2010-09-12 23:18:12 Thread-10 ERROR recvlets.aq: unable to build queue agent for oracle_database optprod
    2010-09-12 23:18:25 Thread-53460 ERROR ssl: nzos_Handshake failed, ret=29024
    2010-09-12 23:18:25 Thread-53460 ERROR http: 12: Unable to initialize ssl connection with server, aborting connection attempt
    2010-09-12 23:18:25 Thread-53460 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://10.6.104.171:1158/em/upload/: retStatus=-1
    2010-09-12 23:18:25 Thread-53460 ERROR ssl: nzos_Handshake failed, ret=29024
    2010-09-12 23:18:25 Thread-53460 ERROR http: 12: Unable to initialize ssl connection with server, aborting connection attempt
    2010-09-12 23:18:25 Thread-53460 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://10.6.104.171:1158/em/upload/: retStatus=-1
    2010-09-12 23:18:35 Thread-10 ERROR vpxoci: Error setting timeout for queue reader
    2010-09-12 23:18:35 Thread-10 ERROR recvlets.aq: unable to build queue agent for oracle_database optprodI have never seen such error and i believe that your error is something like that. Please see metalink for further information or create an SR call.
    vals1:/oracle/product/10.2.0/db_1/vals1_optprod/sysman/log#tail emdctl.trc
    2010-09-12 23:15:26 Thread-1 ERROR ssl: nzos_Handshake failed, ret=29024
    2010-09-12 23:15:26 Thread-1 ERROR http: 6: Unable to initialize ssl connection with server, aborting connection attempt
    2010-09-12 23:16:59 Thread-1 ERROR ssl: nzos_Handshake failed, ret=29024
    2010-09-12 23:16:59 Thread-1 ERROR http: 6: Unable to initialize ssl connection with server, aborting connection attempt
    2010-09-12 23:17:55 Thread-1 ERROR ssl: nzos_Handshake failed, ret=29024
    2010-09-12 23:17:55 Thread-1 ERROR http: 6: Unable to initialize ssl connection with server, aborting connection attempt
    2010-09-12 23:18:31 Thread-1 ERROR ssl: nzos_Handshake failed, ret=29024
    2010-09-12 23:18:31 Thread-1 ERROR http: 6: Unable to initialize ssl connection with server, aborting connection attempt
    2010-09-12 23:20:03 Thread-1 ERROR ssl: nzos_Handshake failed, ret=29024
    2010-09-12 23:20:03 Thread-1 ERROR http: 6: Unable to initialize ssl connection with server, aborting connection attemptPlease read the following thread because it may help you out;
    OEM "emagent.trc" showing errors for ssl
    If you need some more information please see and post the trace files.
    Regards.
    Ogan

  • The question about activity allocation

    business scenario:
    1, The sole purpose is to capture costs,  use KB21N for activity allocation.
    Question: in WBS or netwok activity. there is no relevant work time.
    Please explain me all the steps to be required.
    Thanks in advance

    Hi,
    I under stood as follows.
    You want to capture actual cost in PS. For this you need to have Work centers.
    Assign the same to internal actvities. Release the activity and confirm the same.
    In SAP, Standard report, you get No hours Actuals, Planed... etc. Check in CN41, CN71 and execute the Project. Check the field selection, there you get the details you required.
    Hope my understanding is correct.
    Regards
    N.Raju

  • Questions about activation locks? Help?

    Okay so I bought an iphone 5 off kijiji and everything is fine so far but I have a few questions. It says "SIM required" and I don't have a SIM card yet as I'm getting one next week. I'm not sure if it's activation locked. My questions is Does the activation lock alert pop up before it asks for SIM? Or after when I've put in my SIM?
    Hopefully that makes sense because I don't have a SIM yet and I don't know how else to check if its activation locked. Please reply.

    It checks for activation lock when you attempt to activate the phone with a SIM card in it.

  • Question about activation key for pre-installed software after hard drive failure.

    I had a hard drive failure on my MacBook Pro last week and had it replaced by Apple.  When I restored my computer with a Time Machine backup, Office 2011 wants an activation key to start up again.  Problem is, I had Office pre-installed when I bought my MacBook by Apple.  Where do I get the activation key to get it working again?
    Thanks
    Q

    Do you still have the signons.sqlite and key3.db files from the IT setup?
    You can find the sync account password and the sync (recovery) key in the password manager on computers where a sync account with a specific e-mail address has been set up.
    Look for:
    * chrome://weave (Mozilla Services Password)
    * chrome://weave (Mozilla Services Encryption Passphrase)

  • Question about activation

    Hey, i just got my 16gb white iphone 3g and right now i know the servers are over loaded and what not, but when i plug in my iphone it says "NO SIM CARD INSTALLED Insert an unlocked and VALID sim to activate iPhone."
    but, it has the sim card in there that AT&T gave me... is this normal?

    nevermind! i got it activated and synced!

  • Question about Active Directory Configuration

    Hi All,
    Portal Version : EP7.0 SP7
    We want to configure Active directory as a Portal UME store.
    We have 7 Domain controllers in the domain xyz.com. They are spread across locations. I assume, by default domain controller will have global catalog defined.
    So in LDAP configuration, whether we to use Global Catalog (Port: 3268) to connect to ADS or LDAP connection(Port:389)?
    I am not clear, when Global Catalog connection is defined to bind ADS to Portal UME?
    Any suggestion?
    Thanks & Regards,
    Gowri

    Hi Gowri,
    It will work fine if you connect through port 389.
    Can you please explain it in detail that How you have spread your domain controllers / your forest hierarchy?
    Check if this helps.
    Thanks,
    Mittal

  • Question about safari status bar

    Hi All,
    I have a web application , mainpage contained an iframe . the Page in iframe will set data to status bar . And mainpage will scan status bar by a timer to get the update info . All the flow was controlled by JavaScript .
    It works fine with IE , but for Safari , i saw the status bar was updated and the data is correct , but window.status alway be empty .
    Did anyone know how to get the data ? if Safari can show the correct data in status bar , it should mean the browser contains the data , right?

    BTW , the version number of my Safari is 5.0.1

  • Question about activation of iPhone 3G

    hello,
    I actually have an iPhone 3G bought in the UK (Pay&Go with O2). This iPhone is sim locked on O2 Uk.
    My question is: If I buy another Pay&Go UK O2 Sim Card and restore my iPhone, will this sim card be able to activate my iPhone?
    Thanks in advance.

    The gps on the original Iphone was not actually GPS. It was just a set of maps that you could search just like yahoo maps and google maps. later on they added a find me feature which brought up your approximate location according to cell phone towers but it would not follow you as you went along. The new Iphone has true GPS that will track you as you move.

  • Question about active queue and related msg of Nets.Messaging server 4.15

    I have Netscape Messaging Server 4.15 Patch 7 (buil
    t Sep 11 2001). I see that the number of messages in active queue viewed as number of file (ls -l queue/messages | wc -l) doesn't matches with the number of messages that I see in Mailbox-deliver as showed by sendmail -bp command.
    Why?
    Very often number of file are few hundred, when the emulator of sendmail shows only twenty-thirty messages.
    And I see that the messages in active queue (if I open them with commands like more, view...) are all for local domains on server, so mailbox-deliver.
    There are sometimes a lot of messages of months ago...
    Thank you very much
    Best Regards
    Marco

    I have Netscape Messaging Server 4.15 Patch 7 (buil
    t Sep 11 2001). I see that the number of messages in active queue viewed as number of file (ls -l queue/messages | wc -l) doesn't matches with the number of messages that I see in Mailbox-deliver as showed by sendmail -bp command.
    Why?
    Very often number of file are few hundred, when the emulator of sendmail shows only twenty-thirty messages.
    And I see that the messages in active queue (if I open them with commands like more, view...) are all for local domains on server, so mailbox-deliver.
    There are sometimes a lot of messages of months ago...
    Thank you very much
    Best Regards
    Marco

  • The question about activity confirm

    business scenario:
    1,now there is an activity. when confirm, we hope the activity cost(work * hour) and other cost (for example: gas and other cost)  is confirmed together.
    Please explain me all the steps to be required.
    Thanks in advance

    Like someone has already explained above, these are your options:
    1. Create a blended activity type rate that includes all these costs. Let's say the unit for rate is hour, you could have a base rate, then 10% for Overhead (water + electricity, etc...). That way, when you confirm an activity, you will have all the costs taken care of. However, here all your costs will goto a single cost element.
    2. Create separate network activities for each cost type, here you could use different cost elements.
    3. Use the costing sheet to calculate overhead costs and allocate to different activities.
    4. If your sole purpose is to capture costs, you could make journal entries (FB50) periodically on your network activities or WBS elements for that matter. You could also do KB21N for activity allocation.
    Basically, you will need to explain your scenario better. It all depends on the level of detail you are looking for and the amount of processing you are willing to do to get that.
    Reply back with your thoughts or reward points.
    Regards,
    Venkat.

  • "Simple" question about Activity Monitor

    When Activity Monitor displays percentages, is that percentages relative to what else is running, or is that percentage of the CPU's processing capacity? Something that is using up 30-40% of the CPU's processing capacity is a lot more intense than something that is using 30-40% of the CPU's activity AMONGST the other threads running.
    So which is it? Percentage of the CPU's processing CAPABILITY or percentage of what the processor is chewing on right now - regardless of how much more it could chew on.
    This will help us decide if our current xserve (1G, 1CPU, G4) is adequate for our needs or we're constantly maxing out the processor and need to look for a faster server. I don't want to replace an older, but still adequate system just because newer is obviously faster.

    It's entirely possible for a process to use more than 100% of a CPU.
    In the case of a dual-CPU machine you could use up to 200% (100% x 2 CPUs).
    In the case of a quad-core machine (2 x dual-core CPUs) you could see up to 400% (100% x 4 cores).
    An 8-core server could see up to 800%
    You see, the 100% mark is based on each CPU core, not all cores combined. I guess that wasn't clear in my earlier response.

  • Question about POWERPLAY status on Satellite A100-192

    I have an Satellite A100-192 notebook with Mobility Radeon X1600 card.
    In POWERPLAY Status it always shown as the adapter is "plugged in", also when I use the laptop with battery and the current profile is "Optimal Performance".
    So what is the problem?

    Hi
    I see on the picture that the Power Play in not enabled.
    In my opinion you can use either the Toshiba power saver or the ATI power play options.
    The same happens with Windows own power options. This options are disabled and dont work if the Toshiba power saver is installed on the OS.
    Ok, this is only my opinion and if you want you can test it.

  • Question about Activity Reports

    Hi,
    I tried to use Activity Reports on our Portal to find out the each instance is doing, but the iView does data aggregation. Does anyone know how can we obtain statistics on dialog instance's activities? I was hoping the report would give me details on
    1. how many requests did the instance server during a specified time frame
    2. what activities did the instance do during a specified time frame
    Many thanks in advance.

    Hi Voon,
    The details regarding the Dialog Instance that you require can be attained by the following activities -
    Dialog Overview Monitor - You can use this monitor to check the most important values for the SAP dialog system and the number of users logged on, broken down by application server.
    Features include -
    1) Dialog Response Time
    2) Network Time
    3) Standardized Response Time
    4) Users Logged on.
    This is detailed information regarding the same -
    [Dialog Overview Monitor|http://help.sap.com/saphelp_nw04/helpdata/en/31/d7843b43c8e937e10000000a11402f/content.htm]
    Also there is an "Dialog Per Application Server Monitor" --
    [Dialog Per Application Server Monitor|http://help.sap.com/saphelp_nw04/helpdata/en/9e/08443c4a082335e10000000a114084/content.htm]
    Entire System Monitor --
    http://help.sap.com/saphelpnw04/helpdata/en/9c/f78b3ba19dfe47e10000000a11402f/frameset.htm_
    Reward points if helpful
    Regards,
    Shailesh Nagar

Maybe you are looking for

  • My Media Won't Play in iTunes or on my Apple TV (Except Music)

    I am unable to play content in my library, whether purchased from iTunes or whether it is a media file of my own that I have added...be it purchased, obtained from a friend or stripped from a DVD using Handbrake or Wondershare Ultimate Video Converte

  • Null value in Composite Primary key

    Hi, I have a requirement where I need to identify each record based on 4 columns. I though that I could achieve the same by imposing a composite primary key based on all the 4 columns. But any one of the column can be null at anytime. Can I still imp

  • How to build dynamic select query

    Using the ZCO_SETTLE_CHK-REC_FIELD and DISTRIBUTION_RULE-KONTY write a dynamic select single query <table>-<field name> e.g. <COAS>- <AUART> on the <table> e.g. <COAS>. If the DISTRIBUTION_RULE-KONTY is u2018ORu2019, then use DISTRIBUTION_RULE-AUFNR

  • Change EP host name

    Hello: Is it possible to change the host name in the portal server? hostA.domain.com -> hostBCDE.domain.com What do I need to change in configuration after the name change? Thank you

  • Closing Open Items

    Forum, How would i go about closing an 'Open' AR / AP Invoice within 8.81? Right clicking on the header does not give me a 'close' option, nor is available for selection with the 'Data' menu? Regards, Juan