ThomaStudios Posted September 10, 2019 Posted September 10, 2019 I have been using FM17Adv for some time. I am on a MacPro 12-core tower and I had been running macOS Sierra. All the internal scripts I had in one database worked perfectly. I recently updated to High Sierra and now I am getting script errors I don't understand. And this is from the same exact file I used previously. I have one script where I want it to open a folder in Dropbox so I can access files there. But I am getting this error: Can’t make "Dropbox" into type integer. Then I get a -1700 error dialog immediately after that. Can anyone explain how I can fix this. I have not been able to find anything online. The script is a native AppleScript, and I suspect that has something to do with this. Here is the script: tell application "Finder" activate open folder " Pieces 2011" of folder "Teaching Material" of folder "Dropbox" of " ThomaStudios 4TB" select Finder window 1 set position of Finder window 1 to {2877, 167} end tell Thanks. J D Thomas ThomaStudios
comment Posted September 10, 2019 Posted September 10, 2019 7 minutes ago, ThomaStudios said: The script is a native AppleScript Are you able to run the same script from the Script Editor application?
ThomaStudios Posted September 10, 2019 Author Posted September 10, 2019 Good question. I hadn't thought about trying that. Hmm. I did just now run the script and got the same two errors. Any advice?
comment Posted September 10, 2019 Posted September 10, 2019 16 minutes ago, ThomaStudios said: Any advice? Sorry, I don't know. But it's clearly unrelated to Filemaker. Try perhaps: https://www.macscripter.net/
ThomaStudios Posted September 11, 2019 Author Posted September 11, 2019 Thanks for that link. I didn't find much there however and they didn't have any search function. But it did start me thinking about things and I remembered that I can just record a new script from within SE, so I did. The syntax was quite a bit different from my original script, so I plugged that into my FM file and got everything to work once again. Thanks for your direction.
Recommended Posts
This topic is 2146 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now