Jump to content

Asu

Members
  • Posts

    63
  • Joined

  • Last visited

FileMaker Experience

  • Skill Level
    Intermediate
  • FM Application
    18

Platform Environment

  • OS Platform
    Mac
  • OS Version
    11

Recent Profile Visitors

2,158 profile views

Asu's Achievements

Enthusiast

Enthusiast (6/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Hello - Im looking for solution to this problem: If [text style of selection = X ] then A else B. There does not seem to be an obvious way to get text style of selection. So I tried this workaround: If ( TextStyleAdd ( Middle ( Get ( ActiveFieldContents ) ; Get ( ActiveSelectionStart ) ; Get ( ActiveSelectionSize ) ) ; HighlightYellow ) ; "1"; "0") thinking that if the selection is styled as in the TextStyleAdd expression then it would evaluate as TRUE but it doesn't work. Is there any way? Thanks.
  2. Thanks. Your help is always much appreciated. "Evaluate" is even less logical than "quote" but, it is what it is :)
  3. Hello, I hope this is a simple question: Is there a reverse of the "Quote()" function, that would turn a calculated AppleScript in FM back to a straight AppleScript? I have a very complex calculated AppleScript that I need to retest. Thanks.
  4. Thanks, I started to think that I should have run the AS separately on the M1 and I posted the question prematurely. The problem is that all data in the AS comes form FM. I still think that FM is unable to trigger something AS-related.
  5. Hello, I have a database that I run on 3 different computers, all with Mac OS 11.2. FMpro is 18.0.3.317. A script uses an AppleScript that opens a browser. The AppleScript invokes System Events and contains a "do shell script" step. On all computers, FMPro, Script Editor Script Menu are "allowed to control computer" in System Prefs. In the other 2 computes, with the Intel chips, the script runs flawlessly but it stumbles on the M1. M1 vs Intel is the only difference between there 3 setups. I know that v18 is not officially supported with Big Sur but the programs runs perfectly well. Any suggestions would be appreciated.
  6. It took a while to realize that your instruction was to be taken very literally: FIRST you check the box and THEN you move the items. It worked. Thanks.
  7. Hello all, I have an embarrassingly simple question but I can't find the answer to it: Let's say I have single-table, single-layout file with 10 items. I have 1 A, 2 Bs, 3 Cs, 4 Ds. There is a summary field "itemcount" which does what it says. Sorting by "item" I get A 1 B B 2 C C C 3 D D D D 4 I want to to export the 4 itemcount fields as in: 1 2 3 4 So far with any permutation of the setting in the Sort and Export windows I get this: 10 10 10 10 10 10 10 10 10 10 What are the correct settings to achieve what I need? Thanks (PS: I may ned the "Complete Idiot's Guide" version, sorry...)
  8. Hello, the following is the essence of a problem I need to resolve. The code is AppleScript display dialog "Hello \"world\" " This code needs to run in FMP18 as a calculated applescript. I tried: Perform AppleScript [display dialog \"Hello "world" \"] Perform AppleScript [display dialog \"Hello \""world"\" \"] Perform AppleScript [display dialog \"Hello "\"world"\" \"] Perform AppleScript [display dialog \"Hello \""world\"" \"] and other permutations of 1 backslash and 2 quotation marks cause the calculation to be unsavable b/o error. Perform AppleScript [display dialog \"Hello \"world\" \"] results in "A identifier can’t go after this “"”." -- after the calculation is saved. (Yes, "A identifier") Perform AppleScript [display dialog \"Hello \"\"world\"\" \"] results in A “"” can’t go after this “"”. -- after the calculation is saved and an error message of -2740. Can anyone help me please?
  9. I'm not sure what the reason would be for intending this behavior. It is clearly an annoying behavior. The only workaround is to insert an unstyled character in front of the selection, make the change then remove the extra character.
  10. I have a button script that changes the size of a selection in a text field. This is it: Insert Calculated Result [ TextSize ( Middle ( Get ( ActiveFieldContents ) ; Get ( ActiveSelectionStart ) ; Get ( ActiveSelectionSize ) ) ; $size ) ] A problem with this is that if the selection begins with styled characters (bold, underlined, etc) then the entire resized area becomes styled. If there is at least 1 unstyled character before the first styled one, then all styled and unstyled characters remain as they were. What is missing from the calculation?
  11. Not true: https://community.filemaker.com/thread/113191
  12. A google search reveals that FMP not recognizing modifier keys is at least a decade old problem. It's hard to resist making some kind of a comment but I will resist. At any rate, it seems that restarting the computer, at least on a Mac, resolves the problem, (until it pops up again). My question is this: Is it understood what is it in the restarting process that corrects the problem, and if it is, is it something that can be imitated with some kind of script, command, etc? Thanks
  13. Well I would think it would decrypt it then pass in on to another app. But if I'm not mistaken, I understand what you are saying so thank you for your suggestion Asu
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.