• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how to debug scripts that use dropped items?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to debug scripts that use dropped items?


  • Subject: Re: how to debug scripts that use dropped items?
  • From: Graff <email@hidden>
  • Date: Tue, 02 Dec 2003 21:42:24 -0500

I know there are better ways to go about it but I've been adding "display dialog" statements in order to stop execution and display any variables.

Something like:
display dialog "I'm here 1"
or
display dialog "The file dropped was: " & ((name of file theDroppedFile) as text)

Seems to work great for me.

- Ken

On Dec 2, 2003, at 9:17 PM, Mark Dawson wrote:

If I create a script that accepts drops, how do I debug it? In my script, I've added log "I'm here 1" type outputs, but after dropping a folder onto the created script app, nothing shows up in the events log (10.2.8).
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >how to debug scripts that use dropped items? (From: Mark Dawson <email@hidden>)

  • Prev by Date: how to debug scripts that use dropped items?
  • Next by Date: How do I use Finder & find documentation?
  • Previous by thread: how to debug scripts that use dropped items?
  • Next by thread: Re: how to debug scripts that use dropped items?
  • Index(es):
    • Date
    • Thread