Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppleScript property set are not responded to in App #14

Open
jasonferrier opened this issue Jun 12, 2020 · 0 comments
Open

AppleScript property set are not responded to in App #14

jasonferrier opened this issue Jun 12, 2020 · 0 comments

Comments

@jasonferrier
Copy link

Summary

When the application properties are set via AppleScript, the application does not reflect them in the UI or the audio.

Noisy App

About shows v1.3, but I downloaded the "1.5" version from the zip file from this repository. The version number does not seem to have been bumped with the latest release / linked Zip. (#13)

Steps to reproduce

When launching the app, I manually select White and adjust the volume slider pretty low.

Running the following AppleScript, I see that I can read the Application properties correctly:

tell application "Noisy"
	get noise type
	get noise volume
end tell

result:

tell application "Noisy"
	get noise type
		--> white
	get noise volume
		--> 9
end tell

Then, I use the following AppleScript to set the properties:

tell application "Noisy"
	set noise type to pink
	set noise volume to 20
end tell

Then I run the first AppleScript from above to ensure that the properties are set:

tell application "Noisy"
	get noise type
	get noise volume
end tell

result:

tell application "Noisy"
	get noise type
		--> pink
	get noise volume
		--> 20
end tell

At no point did the Noisy application change the noise type from white to pink, nor did the volume increase from 9 to 20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant