• 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
App freezing on setting display flags
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

App freezing on setting display flags


  • Subject: App freezing on setting display flags
  • From: Brian Christmas <email@hidden>
  • Date: Fri, 12 Sep 2014 09:51:29 +1000

G'day scripters

I've just finished setting some of my tables to only display when a particular flag is set, but the button that calls the handler that sets the flag is freezing ,and the tables don't display.

The button displayed the tables if clicked a second time, and from then on, everything worked fine. Only caused trouble on the first click. So, I tried adding the

tell windowMain to displayIfNeeded()
and the App completely froze up.


If I add a 'display dialog' to the handler (as shown), then I can get a crash report, which is…

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000022

I haven't the foggiest idea of what's going on, so if anyone can advise me, and suggest a remedy, I'de be most appreciative.

Regards

Santa


on toggleshowTheAdvertisementsAndPromotionsField_(sender)
my setTheAdvertisementsMoveArrows()
my setThePromotionsMoveArrows()
set my showTheAdvertisementsAndPromotionsField to not my showTheAdvertisementsAndPromotionsField
set my showTheAandPFieldSupportsFlag to my showTheAdvertisementsAndPromotionsField
set my showTheAdvertisementsAndPromotionsField to my showTheAdvertisementsAndPromotionsField
try
display dialog my showTheAandPFieldSupportsFlag as text
tell windowMain to displayIfNeeded()
on error errmsg number errnum
my thereHasBeenAnError("toggleshowTheAdvertisementsAndPromotionsField_", errmsg, errnum, 0, 0)
end try
end toggleshowTheAdvertisementsAndPromotionsField_

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: do shell script quoting help
  • Next by Date: Reading a .plist file is freezing my App! Why please?
  • Previous by thread: Re: This array controller code should be simple, do why doesn't it work?
  • Next by thread: Reading a .plist file is freezing my App! Why please?
  • Index(es):
    • Date
    • Thread