Applescript: How to know who called this handler?

Hi - I have a script that is called by an OSX application (EyeTV calls "on recordingDone()" in the file "RecordingDone.scpt" when a TV show is done recording).
I've heavily modified the called script. I also have an "on run{}" handler in the script so it can be run from the desktop for testing and other purposes.
Within the "on recordingDone()" handler, how can I tell whether the OSX application (EyeTV) called the routine, or whether I've invoked the routine from my "on run{}" handler? I want to initialize variables differently in each case but can't figure out how to do so.
Thanks,
chico

You can try this code:
-- get the app name
set currApp to name of current application
-- get the app path
set currAppPath to path to current application
This should give you the name and path of the application that is executing the script (though frankly I've never experimented with it to see if it does what it's supposed to do).

Similar Messages

  • In April 3o,2012 and May 9,2012 some purchases of $38.75 and $24.51 were made and they were not made by me because i never spend that much. Thing is that on February 7,2012 my ipod was stolen and i havn´t gotten it back since, i need to know who did this!

    In April 3o,2012 and May 9,2012 some purchases of $38.75 and $24.51 were made and they were not made by me because i never spend that much. Thing is that on February 7,2012 my ipod was stolen and i havn´t gotten it back since, i know have a new ipod and have made some purchases but never that much. I need to know who did this !!!!!!

    The most immediate thing you need to do is to call your credit card company and report the unauthorized charges. Your card company can contact Apple if they need additional information.
    Next, log into your iTunes Store account and see if the purchases are reflected in the Purchase History. If they are, immediately change the password to your iTunes Store account, making sure it's not something easily guessed or looked up. Then go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report the issue to the iTunes Store. Whether or not they'll do anything for you I don't know, particularly if you didn't change the password after your iPod was stolen.
    If the charges are not reflected in the Purchase History, then it's most likely a fraudulent charge to your credit card directly rather than an unauthorized purchase through your iTunes Store account in which case it will be up to your bank to handle.
    Regards.

  • How to know who Deleted Item or Business Partner

    Hi all!
    In SAP B1, we have change log to track who updated information for Item master or Business Partner
    In case, one Item is deleted by user. How to know and control this.
    Thanks!

    Hi ,
    This query could help you in case of BP, Try it:
    SELECT CardCode,cardname,Deleted,usersign FROM ACRD T0 WHERE T0.[Deleted] ='Y'
    Same in the case of AITM.
    Thanks
    Ashutosh

  • Can you tell me  how to know who deleted the user?

    Hi
    In my system, one user ID was deleted,
    Can I know who deleted  this User ID?
    Is there any table or Function Module to know it ?
    Regards,

    Hi,
    i think There is no way to find the user who deleted the user id.For more details see the link below:
    http://sap.ittoolbox.com/groups/technical-functional/sap-basis/how-to-find-deleted-sap-jobs-1815715.
    Regards,
    Rahul

  • How to know a call is hitting our CallManager?

           How to know a call is hitting our CallManager?

    Hi,
    please provide topology and protocols.
    best way is to check debugs and traces using called and calling number.
    you need to follow few steps,
    check call is coming to your network first on end point like MGCP/H323 gateway or CUBE
    then check you have proper config to relay that to CUCM
    then check respective debugs on device for same
    see what message you get in debugs for call clearance
    hear what promt is played if call is not hitting the number as CUCM and Service provider has different promts.
    then check CUCM traces for that call
    Hope this helps.
    Please rate helpful.

  • How to Know who Deleted Your Share Folder Data in Windows Server 2008

    Dears,
    I have Windows Server for file server and share folder, I have created some shred folders for our departments, based on their request I put specific names belong to department into share folders those users only has access for the share folder, for some unknown
    reason some one has deleted all the data inside share folder in the file server, my question is how can I monitor or know who is deleted the information inside share folder because I have more than one user it has access on the share folder, is there any way
    to know that like log files or any other solutions? thanks in advance..
    Thanks.

    Auditing access of shared folder will show you : who deleted shared folder data.
    You can follow below steps :
    Open Group Policy Editor by typing gpedit.msc to Start menu's search field or Run dialog window and hit Enter.
    Go to Local Computer Policy > Computer Configuration > Windows Settings > Security Settings > Local Policies Audit Policy, double click to open Audit Object Access.
    Please refer to below links :http://roberttechnicalblog.blogspot.in/2010/02/auditing-shared-folder.html
    And, http://www.sevenforums.com/tutorials/123362-audit-log-access-shared-folders.html
    Meanwhile, you can also have a look at this proficient application(http://www.fileserverauditor.com/) which looks an exact solution to accomplish auditing task in windows server. It will notify you about all
    changes made in windows server by sending a customized emails with real time alerts so that you can take required action while need in your working environment.

  • ISA5.0 How to know Function called in SAP for ISA.

    Hello everybody,
    I need to know what are the functions called in SAP to get the information or to create the sales document order.
    How could i do to see the functions called?
    Please.
    I'm on Internet Sales 5.0 and i have an ECC6.0 for the backend.
    Thanks

    hi,
    There is no standard process to know the Called Function Module on particualr action.
    The only way most of the developers follow is to see the Log files which displays the Function Module called.
    The other way is you have to debug the class files to know.
    Regards,
    Sateesh Chandra

  • How to know who last changed a sapscript form

    Hello experts,
    Our QA server was recently refreshed and we are currently checking if our sapscript program is latest one. How can we know who last changed it? Also, can we also know if a certain DEVK has been transported to QAS? Thanks a lot!

    sapscript header have information regading changes..
    for request u  can check on stms in qa server.
    also check table for request.
    like E070,E071,E07*

  • How to know who did a Transport request?

    Hey guys!
    Does anybody know how can i find the user who imported a transport request? I checked the log but i could not find it.

    Hi Eduardo,
    What is your SAP version? I found it is not possible for 4.6C, but I have a 4.70 x 2.00 system on Web AS 6.20 (I believe also upward) and it is possible to see there.
    Please do the following:
    1. Call STMS.
    2. Go to 'import overview'.
    3. Enter one of the buffer you want to see the log.
    4. On the menu 'Goto' --> 'tp System Log'.
    There you can see who imported the requests.
    Regards,
    Agoes

  • Please help : how to know the caller ?

    Hi,
    suppose servlet 'C' can be called by servlet 'A' and servlet 'B'.
    How can servlet 'C' know by which servlet it has been called ? Is there something foreseen in HttpServletRequest ?
    Thanks,
    Javamad.

    If it needs to know that -- and in a good design it should not need to know that -- you could store something in the session object to indicate it.

  • We want to know who print this paper

    Dear Sir ,
    Kindly ,In our company we have a 3 kind of printer to  network and one is local
    The network are  HP Color LaserJet 3600n  &HP LaserJet 4250n and local is HP LaserJet P2015
    Our CEO ask IT manager if we can make every printer when they print make a mark or symbol for each printer for example  for it department  when I print the printer  by default print a paper and last of paper make a code  : RUH020  and all of department same thing with another code for each department
    Simply, we want to know which department print this paper .
    Finally, I hope you help me with that issue .
    Best Regards
    Ali Alhetela

    as i understand you want to put a form of watermark on the printouts form each printer.
    i would suggest you research into adding a watermark into a driver configuration, im not sure thats possible but if you go though the driver settings it may give you this option, this is a change you would need to make on the print server as the local drivers would be editable by the users who would be able to remove the watermark.

  • How to know who has created a particular record in the data base table

    Hi All...
    Can any one tell me how to track the information about who has entered the records in to the data base table....
    Thanks in advance...

    You could check the Created By and Created On fields if your tables contains these fields.
    OR
    You could check the table DBTABLOG if table logging is enabled for the table
    OR
    You could check the Change document tables CDHDR and CDPOS.
    -Kiran
    Please mark useful answers

  • What is this for? I made no request for anything to Adobe.  Let me know who did this: Your Adobe ID: edited Your Case Number:0213119567 Case Description:download link    This email is in response to support case

    I made no request that would generate a case number.  Can you tell me who did?
    Your Adobe ID: <removed by moderator>
    Your Case Number:0213119567
    Case Description:download link
    This email is in response to support case #0213119567 submitted by M Inez Traylor.

    Good day M Inez,
    Did you contact Adobe last week for assistance in downloading the educational version of Acrobat 9 Pro for Windows after a hard drive crash? That is what this case was in reference to.
    The email you received was an automatic reminder from our system as they case hadn't quite closed out yet.
    -David
    P.S. - I edited out your email address from both your thread title and the body of your post to help protect your privacy.

  • What hardware to buy - how to know? will this work?

    we have an external vendor needing to run ovm 3 and want to buy :
    dell r810 servers
    emc vnx 5300/5500 FC sans
    to do so...
    how can they be sure that this works with ovm3?
    what is oracles recommendation when buying? to use the cert list? (its tiny)
    the storage plugin being worked on for emc i hear about... will it work with vnx or is it only for the v expensive vmax range?
    Regards

    Hi Avi et al,
    in the latest SR oracle are basically saying i cannot expect things to work as the san is not certified but can you help me find out what storage is certified??
    this list http://linux.oracle.com/pls/apex/f?p=117:1:4099242689982579::NO:RP::
    doesnt contain storage...
    (not even your own pillar or zfs)
    where is the cert storage list that my kit is not on?
    thanks

  • Receiving a call (how to know the call from) city

    Hi, I would like to know if it's possible when you receive a call to be able to know the city of the number calling from like iphone does.
    thank you for you help
    Solved!
    Go to Solution.

    I've noticed that my phone doesn't do that either. I'm coming from a galaxy s2 on boost mobile. My old phone didn't do it for a while until I got an update from 4.0 to 4.1. It was then built into the operating system. So, unless you go with the recommendation of downloading an app, then I'm guessing that it won't be available..
    Unless BlackBerry decides to include it in a future update.. which I'd be a fan of!

Maybe you are looking for

  • On execute query a save message appears

    hi, i have an item which is enabled only when enter_query is pressed. a number is given in that item which then populates the rest of the items of the same datablock when execute_query is pressed. now if i change the item/number then the message appe

  • Hints FIRST_ROWS and order by not working together

    Hi, We are facing an issue like we are using hint FIRST_ROWS with a query which have a order by clause, if we are giving both together it is not working and if we remove either order by or hint it is working SELECT /*+FIRST_ROWS*/ * FROM (SELECT MYRO

  • How do I airplay photos from lightroom mobile?

    How do I airplay photos from Lightroom mobile?

  • Apple Push Notification Portal

    Hi All I hope someone know the answer to our problem. We are trying to get a new Apple Push Certificate, but when we try to upload the our csr file we get the following error {"ErrorCode":-80013,"ErrorMessage":"Invalid Certificate Signing Request","E

  • Driver/Test/Configure computers not working

    I've VS2013 Premium and Driver Kit 8.1 installed. I can successfully build my WDM driver. In order to test and deploy on a VM, I'd like to use the "Configure computers" option. From the main menu "Driver / Test Configure computers..." it pops up an e